Documentation
¶
Index ¶
- type AccountServerHandler
- func (as *AccountServerHandler) CreateAccount(ctx context.Context, req *account.CreateAccountReq) (*account.CreateAccountRes, error)
- func (as *AccountServerHandler) GetAccountInfo(ctx context.Context, req *account.AccountInfoReq) (*account.AccountInfoRes, error)
- func (as *AccountServerHandler) GetUserInfo(ctx context.Context, req *account.UserInfoReq) (*account.UserInfoRes, error)
- func (as *AccountServerHandler) UpdateAccountInfo(ctx context.Context, req *account.UpdateAccountInfoReq) (*empty.Empty, error)
- func (as *AccountServerHandler) UpdateUserInfo(ctx context.Context, req *account.UpdateUserInfoReq) (*account.UpdateUserInfoRes, error)
- type Handler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountServerHandler ¶
type AccountServerHandler struct { *Handler // contains filtered or unexported fields }
func NewAccountServerHandler ¶
func NewAccountServerHandler(server *Handler, repo repository.AccountRepository) *AccountServerHandler
func (*AccountServerHandler) CreateAccount ¶
func (as *AccountServerHandler) CreateAccount(ctx context.Context, req *account.CreateAccountReq) (*account.CreateAccountRes, error)
func (*AccountServerHandler) GetAccountInfo ¶
func (as *AccountServerHandler) GetAccountInfo(ctx context.Context, req *account.AccountInfoReq) (*account.AccountInfoRes, error)
func (*AccountServerHandler) GetUserInfo ¶
func (as *AccountServerHandler) GetUserInfo(ctx context.Context, req *account.UserInfoReq) (*account.UserInfoRes, error)
func (*AccountServerHandler) UpdateAccountInfo ¶
func (as *AccountServerHandler) UpdateAccountInfo(ctx context.Context, req *account.UpdateAccountInfoReq) (*empty.Empty, error)
func (*AccountServerHandler) UpdateUserInfo ¶
func (as *AccountServerHandler) UpdateUserInfo(ctx context.Context, req *account.UpdateUserInfoReq) (*account.UpdateUserInfoRes, error)
Click to show internal directories.
Click to hide internal directories.