mongo

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mongo

type Mongo struct {
	// contains filtered or unexported fields
}

Mongo contains functions for channel-stats-history mongodb.

func New

func New(db *mongo.Database) *Mongo

New to create new channel-stats-history mongodb.

func (*Mongo) Create

func (m *Mongo) Create(ctx context.Context, data entity.ChannelStats) (int, error)

Create to create channel stats.

Jump to

Keyboard shortcuts

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