Documentation ¶
Index ¶
- func CreateService(name, description, host, protocol string, port, timeout int64) (models.Service, error)
- func DeleteServiceWithId(id uint64) error
- func GetAllServices(dest *[]models.Service) error
- func GetServiceById(id uint64) (models.Service, error)
- func StreamServiceData(ws *websocket.Conn, timeout time.Duration, lastResponse time.Time, ...)
- func UpdateServiceWithId(id uint64, attr string, val interface{}) (models.Service, error)
- type ServiceProviderError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateService ¶
func DeleteServiceWithId ¶
func GetAllServices ¶
func StreamServiceData ¶
Types ¶
type ServiceProviderError ¶
type ServiceProviderError struct {
Message string
}
func (*ServiceProviderError) Error ¶
func (e *ServiceProviderError) Error() string
Click to show internal directories.
Click to hide internal directories.