service

package
v0.0.0-...-ba645fd Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountService

type AccountService struct {
}

func NewAccountService

func NewAccountService() *AccountService

func (*AccountService) Account

func (svc *AccountService) Account(ctx context.Context, accountID string) (*identity.Account, error)

func (*AccountService) AccountCount

func (svc *AccountService) AccountCount(ctx context.Context, opt *identity.FindAccountOptions) (int, error)

func (*AccountService) Accounts

func (*AccountService) CreateAccount

func (svc *AccountService) CreateAccount(ctx context.Context, account *identity.Account) error

func (*AccountService) LockAccount

func (svc *AccountService) LockAccount(ctx context.Context, app string, accountID string) error

func (*AccountService) UnlockAccount

func (svc *AccountService) UnlockAccount(ctx context.Context, app string, accountID string) error

func (*AccountService) UpdateAccountPassword

func (svc *AccountService) UpdateAccountPassword(ctx context.Context, accountID string, newPassword string) error

Jump to

Keyboard shortcuts

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