cm

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: May 3, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const ContextKeyID ctxKeyMessaging = 0

Variables

This section is empty.

Functions

func Message

func Message(ctx context.Context, format string, a ...interface{})

func Messages

func Messages(ctx context.Context) []string

Types

type M

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

func (*M) Message

func (m *M) Message(format string, a ...interface{})

func (*M) Messages

func (m *M) Messages() []string

type Messenger

type Messenger interface {
	Message(format string, a ...interface{})
	Messages() []string
}

func NewMessenger

func NewMessenger() Messenger

Jump to

Keyboard shortcuts

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