Search Apps Documentation Source Content File Folder Download Copy Actions Download State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

definition source realm

Functions 7

func DeleteAll

crossing Action
1func DeleteAll(cur realm)
source

DeleteAll removes all definitions so an administrator can reload the catalog.

func Get

Action
1func Get(key string) []map[string]string
source

Get returns ordered field records. An empty list means the key is absent; stored definitions always contain at least one field.

func GetField

Action
1func GetField(key, fieldKey string) map[string]string
source

GetField includes "value" even when it is empty. An empty map means absent.

func SetDefinitions

crossing Action
1func SetDefinitions(cur realm, keys, values string)
source

SetDefinitions accepts URL-escaped keys and query-encoded field objects as paired comma-separated strings, so MsgCall can pass a batch without realm DTOs.

Types 1

type Field

struct
1type Field struct {
2	Key   string
3	Value string
4}
source

Imports 11

Source Files 7