Documentation ¶
Index ¶
Constants ¶
View Source
const (
SERVER = "server"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server interface { component.Component // Host returns server host Host() string // Port returns server port Port() int // Address returns the server address Address() string // RegistryTags returns server registry tags RegistryTags() []string // GetMetdata returns the server metadata GetMetadata(key string) interface{} // AddRegistryTags appends new tags to the existing tags slice AddRegistryTags(tags ...string) // Get string identifier of the server String() string }
Server interface for implementing custom servers
Click to show internal directories.
Click to hide internal directories.