Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MultiServer ¶
type MultiServer struct {
// contains filtered or unexported fields
}
MultiServer struct that represents a multiserver.
func NewMultiServer ¶
func NewMultiServer() *MultiServer
NewMultiServer returns a new multiserver with default options.
func NewMultiServerWithConfigPath ¶
func NewMultiServerWithConfigPath(path string) (*MultiServer, error)
NewMultiServerWithConfigPath returns a new multiserver with options from config path.
func NewMultiServerWithOptions ¶
func NewMultiServerWithOptions(options *Options) *MultiServer
NewMultiServerWithOptions returns a new multiserver with options.
type Options ¶
Options struct that represents multiserver options
func NewOptions ¶
NewOptions returns options from config file or environment vars.
func NewOptionsWithPath ¶
NewOptions returns options from config path.
Click to show internal directories.
Click to hide internal directories.