service

package
v1.18.0 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserService

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

func NewUserService

func NewUserService(repo repository.UserRepository) *UserService

func (*UserService) Duplicated

func (s *UserService) Duplicated(name string) error

func (*UserService) Login

func (s *UserService) Login(name, pwd string) (*model.User, error)

func (*UserService) Register

func (s *UserService) Register(name, pwd string) (*model.User, error)

Jump to

Keyboard shortcuts

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