res

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// NodeJoin is published by s1 server when a new node joined the s1 network
	// and can be subscribed by any service who's interested in it.
	NodeJoin = "/s1-server/node/join"

	// NodeLeave is published by s1 server when a node left the s1 network
	// and can be subscribed by any service who's interested in it.
	NodeLeave = "/s1-server/node/leave"
)

public bus topics

Variables

This section is empty.

Functions

This section is empty.

Types

type Dictionary

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

Dictionary provides key-value based mappings, and support i18n.

func NewDictionary

func NewDictionary() *Dictionary

NewDictionary creates a dictionary.

func (*Dictionary) Load

func (d *Dictionary) Load()

Load loads kv mappings from file or db.

Jump to

Keyboard shortcuts

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