comm

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MoLingConfigKey contextKey = "moling_config"
	MoLingLoggerKey contextKey = "moling_logger"
)

MoLingConfigKey is a context key for storing the version of MoLing

Variables

View Source
var (
	ErrConfigNotLoaded = errors.New("config not loaded, please call LoadConfig() first")
)

Functions

func InitTestEnv

func InitTestEnv() (zerolog.Logger, context.Context, error)

InitTestEnv initializes the test environment by creating a temporary log file and setting up the logger.

Types

type MoLingServerType

type MoLingServerType string

Jump to

Keyboard shortcuts

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