mongo

package
v0.0.0-...-ccaf0b9 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewStore

func NewStore(ctx context.Context) (group.Store, error)

Types

type Group

type Group struct {
	CreatedAt time.Time `bson:"created_at"`
	mgo.Index `bson:"-"`
	GroupID   string        `bson:"group_id"`
	Name      string        `bson:"name"`
	ID        bson.ObjectID `bson:"_id"`
	Disable   bool          `bson:"disable"`
}

func NewGroup

func NewGroup() *Group

func (*Group) GetId

func (s *Group) GetId() any

func (*Group) IsDisabled

func (p *Group) IsDisabled() bool

func (*Group) SetId

func (s *Group) SetId(id any)

func (*Group) Validate

func (*Group) Validate() error

Jump to

Keyboard shortcuts

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