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