Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var PrivilegedKinds = T{ kind.EncryptedDirectMessage, kind.GiftWrap, kind.GiftWrapWithKind4, kind.ApplicationSpecificData, kind.Deletion, }
Functions ¶
func IsPrivileged ¶
Types ¶
type T ¶
func FromIntSlice ¶
func (T) Contains ¶
Contains returns true if the provided element is found in the kinds.T.
Note that the request must use the typed kind.T or convert the number thus. Even if a custom number is found, this codebase does not have the logic to deal with the kind so such a search is pointless and for which reason static typing always wins. No mistakes possible with known quantities.
Click to show internal directories.
Click to hide internal directories.