accountmanager

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2020 License: Apache-2.0 Imports: 6 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
}

Service is the account manager service.

func NewService

func NewService(fetcher backend.Fetcher, ruler backend.Ruler) *Service

NewService creates a new account service.

func (*Service) Lock

func (s *Service) Lock(ctx context.Context, req *pb.LockAccountRequest) (*empty.Empty, error)

Lock locks an account.

func (*Service) Unlock

func (s *Service) Unlock(ctx context.Context, req *pb.UnlockAccountRequest) (*empty.Empty, error)

Unlock unlocks an account.

Jump to

Keyboard shortcuts

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