cluster

package
v0.7.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 10, 2022 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustNew

func MustNew(opts ...Option) ronykit.Cluster

func New

func New(opts ...Option) (ronykit.Cluster, error)

Types

type Option

type Option func(cfg *config)

func WithAdvertisedURL

func WithAdvertisedURL(urls ...string) Option

func WithHeartbeat

func WithHeartbeat(t time.Duration) Option

func WithID

func WithID(id string) Option

func WithStore

func WithStore(cs ronykit.ClusterStore) Option

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL