Documentation ¶
Index ¶
- func AddCmdFlags(f *flag.FlagSet)
- func Help() string
- type Consul
- func (c *Consul) CacheCreate() bool
- func (c *Consul) CacheDelete(id string)
- func (c *Consul) CacheLoad(host string) error
- func (c *Consul) CacheLookup(id string) *registry.Service
- func (c *Consul) CacheMark(id string)
- func (c *Consul) Deregister() error
- func (c *Consul) Register(service *registry.Service)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCmdFlags ¶ added in v0.3.0
Types ¶
type Consul ¶
type Consul struct {
// contains filtered or unexported fields
}
func (*Consul) CacheLookup ¶ added in v0.3.0
CacheLookup()
Click to show internal directories.
Click to hide internal directories.