service

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2018 License: Apache-2.0 Imports: 2 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 (*UserService) AddUser

func (s *UserService) AddUser(user *entity.User) error

func (*UserService) DeleteUser

func (s *UserService) DeleteUser(id string) error

func (*UserService) GetUser

func (s *UserService) GetUser(id string) (*entity.User, error)

func (*UserService) Init

func (s *UserService) Init(repository bolt.Repository)

will inject BoltRepository that configured in github.com/hidevopsio/hiboot/pkg/starter/data/bolt

Jump to

Keyboard shortcuts

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