Documentation ¶
Overview ¶
Package instance holds functions for creating a Marmot instance and methods for running the instance.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // SIP is the IP address to use for Stubby. By default, it listens on all // IP addresses. Use "localhost" if you just want just 127.0.0.1. SIP string // SPort is the port to use for the Stubby service. SPort int32 // MaxCrashses is the maximum number of plugin crashes to allow. MaxCrashes int // Insecure indicates that you are not going to be using transport encryption. // THIS IS A BAD IDEA EXCEPT FOR TESTS!!!!!! Insecure bool // CertFile and KeyFile are paths to a certificate or key file. CertFile, KeyFile string // Storage is the type of backend storage to use. Storage string // CogKV is the Key/Value storage for all Cogs. CogKV cogStorage.Reader }
Args are arguments to New().
type Instance ¶
type Instance struct {
// contains filtered or unexported fields
}
Instance holds an instance of a Marmot server.
Click to show internal directories.
Click to hide internal directories.