mock

package
v4.0.0-beta5 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2022 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterMockConfig

func RegisterMockConfig() error

Types

type MockStore added in v4.0.1

type MockStore struct {
	configx.Values
}

func (*MockStore) Lock added in v4.0.1

func (m *MockStore) Lock()

func (*MockStore) Save added in v4.0.1

func (m *MockStore) Save(s string, s2 string) error

func (*MockStore) Unlock added in v4.0.1

func (m *MockStore) Unlock()

func (*MockStore) Watch added in v4.0.1

func (m *MockStore) Watch(opts ...configx.WatchOption) (configx.Receiver, error)

type Receiver

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

func (*Receiver) Next

func (r *Receiver) Next() (interface{}, error)

func (*Receiver) Stop

func (r *Receiver) Stop()

Jump to

Keyboard shortcuts

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