roles

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2022 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Provides = wire.NewSet(
	wire.Struct(new(Controller), "*"),
	wire.Struct(new(Service), "*"),
)

Functions

This section is empty.

Types

type Controller

type Controller struct {
	RolesService *Service
}

func (*Controller) In

func (x *Controller) In(r *route.RouterGroup)

type Service

type Service struct {
	Db *mongo.Database
}

func (*Service) FindByIds

func (x *Service) FindByIds(ctx context.Context, ids []primitive.ObjectID) (err error)

func (*Service) FindNamesByIds

func (x *Service) FindNamesByIds(ctx context.Context, ids []primitive.ObjectID) (names []string, err error)

Jump to

Keyboard shortcuts

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