Documentation ¶
Index ¶
Constants ¶
View Source
const ( ReadStates CallFlag = 1 << iota WriteStates AllowCall AllowNotify States = ReadStates | WriteStates ReadOnly = ReadStates | AllowCall All = States | AllowCall | AllowNotify NoneFlag CallFlag = 0 )
Default flags.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CallFlag ¶
type CallFlag byte
CallFlag represents a call flag.
func FromString ¶
FromString parses an input string and returns a corresponding CallFlag.
func (CallFlag) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface.
func (CallFlag) MarshalYAML ¶
MarshalYAML implements the YAML marshaler interface.
func (*CallFlag) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface.
Click to show internal directories.
Click to hide internal directories.