Documentation
¶
Index ¶
- func HandlerAddSubscription(ctx *context.Context) http.HandlerFunc
- func HandlerCancelSubscription(ctx *context.Context) http.HandlerFunc
- func HandlerGetQuota(ctx *context.Context) http.HandlerFunc
- func HandlerGetQuotas(ctx *context.Context) http.HandlerFunc
- func HandlerGetSubscription(ctx *context.Context) http.HandlerFunc
- func HandlerGetSubscriptionsForAddress(ctx *context.Context) http.HandlerFunc
- func RegisterRoutes(r *mux.Router, ctx *context.Context)
- type RequestAddSubscription
- type RequestCancelSubscription
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandlerAddSubscription ¶
func HandlerAddSubscription(ctx *context.Context) http.HandlerFunc
func HandlerCancelSubscription ¶
func HandlerCancelSubscription(ctx *context.Context) http.HandlerFunc
func HandlerGetQuota ¶
func HandlerGetQuota(ctx *context.Context) http.HandlerFunc
func HandlerGetQuotas ¶
func HandlerGetQuotas(ctx *context.Context) http.HandlerFunc
func HandlerGetSubscription ¶
func HandlerGetSubscription(ctx *context.Context) http.HandlerFunc
func HandlerGetSubscriptionsForAddress ¶
func HandlerGetSubscriptionsForAddress(ctx *context.Context) http.HandlerFunc
Types ¶
type RequestAddSubscription ¶
type RequestAddSubscription struct { Memo string `json:"memo"` To string `json:"to"` Coin string `json:"coin"` ID uint64 `json:"id"` Denom string `json:"denom"` }
func NewRequestAddSubscription ¶
func NewRequestAddSubscription(r *http.Request) (*RequestAddSubscription, error)
func (*RequestAddSubscription) Validate ¶
func (r *RequestAddSubscription) Validate() error
type RequestCancelSubscription ¶
type RequestCancelSubscription struct {
Memo string `json:"memo"`
}
func NewRequestCancelSubscription ¶
func NewRequestCancelSubscription(r *http.Request) (*RequestCancelSubscription, error)
func (*RequestCancelSubscription) Validate ¶
func (r *RequestCancelSubscription) Validate() error
Click to show internal directories.
Click to hide internal directories.