Documentation ¶ Index ¶ type Type func NewType(v uint8) Type func NewTypeByString(v string) Type func (t Type) String() string func (t Type) Value() uint8 Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Type ¶ type Type uint8 const ( TypeUndefined Type = 0 TypeTwitch Type = 1 TypeFacebook Type = 2 TypeYoutube Type = 3 TypeTwitter Type = 4 TypeDiscord Type = 5 TypeReddit Type = 6 TypeVk Type = 7 TypeSite Type = 8 ) func NewType ¶ func NewType(v uint8) Type func NewTypeByString ¶ func NewTypeByString(v string) Type func (Type) String ¶ func (t Type) String() string func (Type) Value ¶ func (t Type) Value() uint8 Source Files ¶ View all Source files type.go Click to show internal directories. Click to hide internal directories.