Documentation ¶
Index ¶
- func RegisterAccountRPC() error
- type AccountRPC
- func (t *AccountRPC) DeleteByID(username string, reply *models.Account) (err error)
- func (t *AccountRPC) GetAll(_, reply *[]models.Account) (err error)
- func (t *AccountRPC) GetByID(username string, reply *models.Account) (err error)
- func (t *AccountRPC) Register(args *shared.RegisterParam, reply *models.Account) (err error)
- func (t *AccountRPC) Verify(args *shared.VerifyParam, reply *models.Account) (err error)
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) 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)
Click to show internal directories.
Click to hide internal directories.