Add rove package for the client api

This commit is contained in:
Marc Di Luzio 2020-05-29 23:05:00 +01:00
parent b76fd1003c
commit 60cbf8b8d0

20
pkg/rove/rove.go Normal file
View file

@ -0,0 +1,20 @@
package rove
type Connection struct {
address string
}
func NewConnection(address string) *Connection {
return &Connection{
address: address,
}
}
// ServerStatus is a struct that contains information on the status of the server
type ServerStatus struct {
Ready bool `json:"ready"`
}
func (c *Connection) Status() ServerStatus {
return ServerStatus{}
}