key_value

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Room     = "room"
	Nickname = "nickname"
	Test     = "testkv"
)

Functions

This section is empty.

Types

type KVs

type KVs struct {
	Rooms    map[string]string `kvName:"room"`
	Nickname map[string]string `kvName:"nickname"`
	Tests    map[string]string `kvName:"testkv"`
}

func Initialize

func Initialize() (*KVs, error)

func (*KVs) LoadKVsFromSheet

func (kvs *KVs) LoadKVsFromSheet() error

func (*KVs) SaveToRedis

func (kvs *KVs) SaveToRedis() error

Jump to

Keyboard shortcuts

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