Documentation
¶
Index ¶
- type ApiService
- type Client
- func (c *Client) AddDestination(dst Destination) error
- func (c *Client) CreateService(svc Service) error
- func (c *Client) DeleteDestination(dst Destination) error
- func (c *Client) DeleteService(id string) error
- func (c *Client) GetService(id string) (*Service, error)
- func (c *Client) GetServices() ([]*Service, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiService ¶
type ApiService struct {
// contains filtered or unexported fields
}
func NewAPI ¶
func NewAPI() ApiService
func (ApiService) Serve ¶
func (as ApiService) Serve()
type Client ¶
type Client struct {
Addr string
}
func (*Client) AddDestination ¶
func (*Client) CreateService ¶
func (*Client) DeleteDestination ¶
func (*Client) DeleteService ¶
func (*Client) GetService ¶
func (*Client) GetServices ¶
Click to show internal directories.
Click to hide internal directories.