send

package
v2.0.65 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2024 License: Apache-2.0 Imports: 1 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ISendMsg added in v2.0.36

type ISendMsg interface {
	Format(level string) string
	GetTitle(level string) string
	GetUser() string
	GetTime() string
	GetContent() string
	GetMsg() string
}

type ISender

type ISender[T any] interface {
	String() string
	Info(ctx context.Context, msg T) (err error)
	Warn(ctx context.Context, msg T) (err error)
	Error(ctx context.Context, msg T) (err error)
}

Jump to

Keyboard shortcuts

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