userservice

package
v0.0.0-...-caa7b66 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2021 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

func New

func New(db boil.ContextExecutor) *Service

New Service

func (Service) Autenticate

Autenticate autenticate

func (Service) Delete

func (svc Service) Delete(ctx context.Context, username string) (err error)

Delete user

func (Service) Get

func (svc Service) Get(ctx context.Context, username string) (u userscontracts.User, err error)

Get Get

func (Service) Save

func (svc Service) Save(ctx context.Context, user userscontracts.User) (err error)

Save user

func (Service) Update

func (svc Service) Update(ctx context.Context, user userscontracts.User) (err error)

Update Update

Jump to

Keyboard shortcuts

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