Documentation ¶
Index ¶
- type Content
- type Mongodb
- func (db *Mongodb) GetContent(id string) (Content, error)
- func (db *Mongodb) GetStream(id string) (Stream, error)
- func (db *Mongodb) Init() error
- func (db *Mongodb) InsertContent(content Content) (string, error)
- func (db *Mongodb) InsertStream(stream Stream) (string, error)
- func (db *Mongodb) UpdateStreamStatus(id string, status string) error
- func (db *Mongodb) UpdateStreamUrl(id string, url string) error
- type Stream
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mongodb ¶
type Mongodb struct {
// contains filtered or unexported fields
}
func NewMongodb ¶
func NewMongodb() *Mongodb
func (*Mongodb) UpdateStreamStatus ¶
Click to show internal directories.
Click to hide internal directories.