Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetChannelPB ¶
GetChannelPB gets the proto message equivalence from a channel model
func NewChannelAPIServer ¶
NewChannelAPIServer is factory for creating channel APIs
Types ¶
type Channel ¶
type Channel struct { Title string `gorm:"type:varchar(50);not null"` Description string `gorm:"type:text;not null"` OwnerID string `gorm:"type:varchar(50);not null"` Subscribers int32 `gorm:"type:int(10);not null"` gorm.Model }
Channel is a bulk channel
func GetChannelDB ¶
GetChannelDB gets the database model of a channel proto message
Click to show internal directories.
Click to hide internal directories.