service

package
v2.18.2 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2024 License: MIT Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service added in v2.16.0

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

func New

func New(storeService auth.Storage, authService auth.Provider) Service

func (Service) Check added in v2.16.0

func (s Service) Check(ctx context.Context, old, new model.User) error

func (Service) CheckRights added in v2.16.0

func (s Service) CheckRights(ctx context.Context, id uint64) error

func (Service) Create added in v2.16.0

func (s Service) Create(ctx context.Context, user model.User) (model.User, error)

func (Service) Delete added in v2.16.0

func (s Service) Delete(ctx context.Context, user model.User) error

func (Service) Get added in v2.16.0

func (s Service) Get(ctx context.Context, ID uint64) (model.User, error)

func (Service) Update added in v2.16.0

func (s Service) Update(ctx context.Context, user model.User) (model.User, error)

Jump to

Keyboard shortcuts

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