Documentation ¶
Overview ¶
Package handler implements methods for
Index ¶
- func InitBillingServer()
- type Handler
- func (h Handler) DeleteAccountUserid(ctx echo.Context, userid string) error
- func (h Handler) DeleteComputeunitUserid(ctx echo.Context, userid string, params apigen.DeleteComputeunitUseridParams) error
- func (h Handler) GetAccount(ctx echo.Context) error
- func (h Handler) GetAccountUseridBalance(ctx echo.Context, userid string) error
- func (h Handler) GetComputeunitGroupGroupName(ctx echo.Context, groupName string) error
- func (h Handler) GetComputeunitPrice(ctx echo.Context, params apigen.GetComputeunitPriceParams) error
- func (h Handler) GetComputeunitUserid(ctx echo.Context, userid string) error
- func (h Handler) GetComputeunitUseridComputeunitIdComputeunitId(ctx echo.Context, userid string, computeunitID string) error
- func (h Handler) PostAccountUserid(ctx echo.Context, userid string, params apigen.PostAccountUseridParams) error
- func (h Handler) PostAccountUseridBalance(ctx echo.Context, userid string, params apigen.PostAccountUseridBalanceParams) error
- func (h Handler) PostComputeunitUserid(ctx echo.Context, userid string, params apigen.PostComputeunitUseridParams) error
- func (h Handler) PutAccountUserid(ctx echo.Context, userid string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitBillingServer ¶
func InitBillingServer()
Types ¶
type Handler ¶
type Handler struct{}
func NewHandler ¶
func NewHandler() Handler
func (Handler) DeleteAccountUserid ¶
DeleteAccountUserid deletes specific user account.
func (Handler) DeleteComputeunitUserid ¶
func (h Handler) DeleteComputeunitUserid(ctx echo.Context, userid string, params apigen.DeleteComputeunitUseridParams) error
func (Handler) GetAccount ¶
GetAccount returns AccountInfo list json to clients.
func (Handler) GetAccountUseridBalance ¶
GetAccountUseridBalance returns specific user's balance.
func (Handler) GetComputeunitGroupGroupName ¶
func (Handler) GetComputeunitPrice ¶
func (h Handler) GetComputeunitPrice(ctx echo.Context, params apigen.GetComputeunitPriceParams) error
func (Handler) GetComputeunitUserid ¶
GetComputeunitUserid returns specific user's compute unit.
func (Handler) GetComputeunitUseridComputeunitIdComputeunitId ¶
func (Handler) PostAccountUserid ¶
func (h Handler) PostAccountUserid(ctx echo.Context, userid string, params apigen.PostAccountUseridParams) error
PostAccountUserid create new user's account.
func (Handler) PostAccountUseridBalance ¶
func (h Handler) PostAccountUseridBalance(ctx echo.Context, userid string, params apigen.PostAccountUseridBalanceParams) error
PostAccountUseridBalance modifies specific user's balance.
func (Handler) PostComputeunitUserid ¶
func (h Handler) PostComputeunitUserid(ctx echo.Context, userid string, params apigen.PostComputeunitUseridParams) error
func (Handler) PutAccountUserid ¶
PutAccountUserid updates specific user's account.
Click to show internal directories.
Click to hide internal directories.