Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAccount ¶
func GetAccount(sid string) (global.AccountTable, error)
func MakeGetAccountEndpoint ¶
func MakeGetAccountEndpoint(api AccountApi) endpoint.Endpoint
Types ¶
type AccountApi ¶
type AccountSvr ¶
type AccountSvr struct { }
func (AccountSvr) GetAccount ¶
func (AccountSvr) GetAccount(sid string) (balance int64, err error)
type Handler ¶
type Handler struct {
GetAccountHandler grpctransport.Handler
}
func (Handler) GetAccount ¶
func (h Handler) GetAccount(ctx context.Context, req *pro.GetAccountReq) (*pro.GetAccountRes, error)
Click to show internal directories.
Click to hide internal directories.