server

package
v0.0.0-...-d23ef4a Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2018 License: MIT Imports: 4 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterAccountRPC

func RegisterAccountRPC() error

Types

type AccountRPC

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

func (*AccountRPC) DeleteByID

func (t *AccountRPC) DeleteByID(username string, reply *models.Account) (err error)

func (*AccountRPC) GetAll

func (t *AccountRPC) GetAll(_, reply *[]models.Account) (err error)

func (*AccountRPC) GetByID

func (t *AccountRPC) GetByID(username string, reply *models.Account) (err error)

func (*AccountRPC) Register

func (t *AccountRPC) Register(args *shared.RegisterParam, reply *models.Account) (err error)

func (*AccountRPC) Verify

func (t *AccountRPC) Verify(args *shared.VerifyParam, reply *models.Account) (err error)

Jump to

Keyboard shortcuts

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