Documentation ¶
Index ¶
- func New(opts ...Option) (core.Service, error)
- type BuildCfg
- type Option
- func WithAuth(secret string) Option
- func WithBootstrapNodes(addrs ...string) Option
- func WithDebug() Option
- func WithFiles() Option
- func WithGRPC(nw string, id interface{}) Option
- func WithHTTP(port int) Option
- func WithLocker(lkr string, cfg map[string]string) Option
- func WithP2P(port int) Option
- func WithP2PPrivateKey(key crypto.PrivKey) Option
- func WithPrometheus(useLatency bool) Option
- func WithRepositoryRoot(path string) Option
- func WithServiceACL(acl map[string]string) Option
- func WithServices(services ...string) Option
- func WithStaticDiscovery(svcAddrs map[string]string) Option
- func WithTaskManager(min, max int) Option
- func WithTracing(name, host string) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option func(c *BuildCfg)
func WithBootstrapNodes ¶
func WithP2PPrivateKey ¶
func WithPrometheus ¶
func WithRepositoryRoot ¶
func WithServiceACL ¶
func WithServices ¶
func WithStaticDiscovery ¶
func WithTaskManager ¶
func WithTracing ¶
Directories ¶
Path | Synopsis |
---|---|
Package core defines the core abstractions provided by msuite library
|
Package core defines the core abstractions provided by msuite library |
modules
|
|
Click to show internal directories.
Click to hide internal directories.