Documentation ¶
Index ¶
Constants ¶
View Source
const CLIENTID_LENGTH = uuid.UUID_LENGTH
CLIENTID_LENGTH is the length of Client IDs
View Source
const ENTITYID_LENGTH = uuid.UUID_LENGTH
ENTITYID_LENGTH is the length of Entity IDs
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EntityID ¶
type EntityID string
EntityID type
func MustEntityID ¶
MustEntityID assures a string to be EntityID
type StringList ¶
type StringList []string
StringList is a list of string (slice)
func (*StringList) Append ¶
func (sl *StringList) Append(elem string)
Append add the string to the end of StringList
func (*StringList) Find ¶
func (sl *StringList) Find(s string) int
Find get the index of string in StringList, returns -1 if not found
func (*StringList) Remove ¶
func (sl *StringList) Remove(elem string)
Remove removes the string from StringList
Click to show internal directories.
Click to hide internal directories.