modelstructures

package
v0.0.0-...-f2ae4e3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 19, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Channel

type Channel structures.Channel

func (Channel) ToModel

func (c Channel) ToModel() *model.UserChannel

type ChannelRole

type ChannelRole structures.ChannelRole

func (ChannelRole) ToModel

func (c ChannelRole) ToModel() model.ChannelRole

type Color

type Color structures.Color

func (Color) ToModel

func (c Color) ToModel() int

type Emote

type Emote structures.Emote

func (Emote) ToModel

func (e Emote) ToModel() *model.UserChannelEmote

type GlobalRole

type GlobalRole structures.GlobalRole

func (GlobalRole) ToModel

func (g GlobalRole) ToModel() model.GlobalRole

type Member

type Member structures.Member

func (Member) ToModel

func (m Member) ToModel() *model.UserMembership

type Message

type Message structures.Message

func (Message) ToModel

func (m Message) ToModel() *model.ChatMessage

type MessageEmote

type MessageEmote structures.MessageEmote

func (MessageEmote) ToModel

func (m MessageEmote) ToModel() *model.ChatMessageEmote

type Stream

type Stream structures.Stream

func (Stream) ToModel

func (s Stream) ToModel() *model.Stream

type TwitchAccount

type TwitchAccount structures.TwitchAccount

func (TwitchAccount) ToModel

func (t TwitchAccount) ToModel() *model.UserTwitchAccount

type User

type User structures.User

func (User) ToModel

func (u User) ToModel(authed *structures.User) *model.User

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL