localmap

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetGlobal

func SetGlobal(key, val string)

func SetGlobalByMap

func SetGlobalByMap(val map[string]string)

Types

type LocalMap

type LocalMap struct {
	Error error
	Code  int
	// contains filtered or unexported fields
}

func LocalMapInit

func LocalMapInit() *LocalMap

func (*LocalMap) End

func (l *LocalMap) End()

func (*LocalMap) Finish added in v0.0.3

func (l *LocalMap) Finish()

func (*LocalMap) Get

func (l *LocalMap) Get(key string) string

func (*LocalMap) GetLocalMap added in v0.0.3

func (l *LocalMap) GetLocalMap() map[string]string

func (*LocalMap) Set

func (l *LocalMap) Set(key, val string)

func (*LocalMap) SetError

func (l *LocalMap) SetError(err error, key string)

func (*LocalMap) Start

func (l *LocalMap) Start()

func (*LocalMap) WaitFinish added in v0.0.3

func (l *LocalMap) WaitFinish() bool

Jump to

Keyboard shortcuts

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