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 ¶ added in v0.95.4
FromString parses an input string and returns a corresponding CallFlag.
func (CallFlag) MarshalJSON ¶ added in v0.95.4
MarshalJSON implements the json.Marshaler interface.
func (CallFlag) MarshalYAML ¶ added in v0.98.2
MarshalYAML implements the YAML marshaler interface.
func (*CallFlag) UnmarshalJSON ¶ added in v0.95.4
UnmarshalJSON implements the json.Unmarshaler interface.
Click to show internal directories.
Click to hide internal directories.