Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct { api.DefaultService // contains filtered or unexported fields }
API defines a query API
type Environment ¶
type Environment struct { Addresses []string `json:"addresses" yaml:"addresses"` Certificate string `json:"certificate" yaml:"certificate"` CertificateFingerprint string `json:"certificate_fingerprint" yaml:"certificate_fingerprint"` CertificateKey string `json:"certificate_key,omitempty" yaml:"certificate_key,omitempty"` Server string `json:"server" yaml:"server"` ServerPid int `json:"server_pid" yaml:"server_pid"` ServerVersion string `json:"server_version" yaml:"server_version"` ServerClustered bool `json:"server_clustered" yaml:"server_clustered"` ServerName string `json:"server_name" yaml:"server_name"` }
Environment defines the server environment for the daemon
type Option ¶
type Option func(*options)
Option to be passed to Connect to customize the resulting instance.
func WithLogger ¶
WithLogger sets the logger on the option
type Server ¶
type Server struct { Environment Environment `json:"environment" yaml:"environment"` Config map[string]interface{} `json:"config" yaml:"config"` }
Server represents the structure for the server
type ServerUpdate ¶
type ServerUpdate struct {
Config map[string]interface{} `json:"config" yaml:"config"`
}
ServerUpdate represents what can be changed when updating the server information
Click to show internal directories.
Click to hide internal directories.