multi

package
v0.4.7 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotServer = fmt.Errorf("not server")
)

Functions

func NewMultiWithConfig

func NewMultiWithConfig(conf *Config) (once.Once, error)

Types

type Config

type Config struct {
	Multi []once.Once
}

type Multi

type Multi struct {
	// contains filtered or unexported fields
}

func NewMulti

func NewMulti(multi []once.Once) *Multi

func (*Multi) Do

func (m *Multi) Do(ctx context.Context) error

Jump to

Keyboard shortcuts

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