mock

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Req

type Req struct {
	Topic string
	Key   string
	Value any
}

type St

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

func New

func New(lg logger.Lite, testing bool) *St

func (*St) Clean

func (m *St) Clean()

func (*St) PullAll

func (m *St) PullAll() []Req

func (*St) SendJson

func (m *St) SendJson(topic, key string, value any) error

func (*St) SendManyJson

func (m *St) SendManyJson(topic, key string, value []any) error

Jump to

Keyboard shortcuts

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