Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a client for the registry service.
func (*Client) Registry ¶
func (c *Client) Registry(option *RegistryOptions, creds *api.Credentials) error
Registry is used to register or unregister an application to the nats server
type NatsCredentials ¶
type NatsCredentials struct { Username string `json:"username"` CredsFileContent string `json:"creds"` }
NatsCredentials contains the credentials for the nats server.
type RegistryOptions ¶
type RegistryOptions struct {
// contains filtered or unexported fields
}
RegistryOptions is used to configure a Registry request
func Unregister ¶
func Unregister() *RegistryOptions
Unregister is used to configure an Unregister request
Click to show internal directories.
Click to hide internal directories.