Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Root = kit.NewRouter(httptransport.Group("/traffic"))
Functions ¶
This section is empty.
Types ¶
type BatchRemoveTrafficLimit ¶
type BatchRemoveTrafficLimit struct { httpx.MethodDelete trafficlimit.CondArgs }
BatchRemoveTrafficLimit Remove TrafficLimit by Given Conditions
type CreateTrafficLimit ¶
type CreateTrafficLimit struct { httpx.MethodPost trafficlimit.CreateReq `in:"body"` }
type GetTrafficLimit ¶
type GetTrafficLimit struct { httpx.MethodGet TrafficLimitID types.SFID `in:"path" name:"trafficLimitID"` }
func (*GetTrafficLimit) Output ¶
func (r *GetTrafficLimit) Output(ctx context.Context) (interface{}, error)
func (*GetTrafficLimit) Path ¶
func (r *GetTrafficLimit) Path() string
type ListTrafficLimit ¶
type ListTrafficLimit struct { httpx.MethodGet trafficlimit.ListReq }
func (*ListTrafficLimit) Output ¶
func (r *ListTrafficLimit) Output(ctx context.Context) (interface{}, error)
func (*ListTrafficLimit) Path ¶
func (r *ListTrafficLimit) Path() string
type RemoveTrafficLimit ¶
type RemoveTrafficLimit struct { httpx.MethodDelete TrafficLimitID types.SFID `in:"path" name:"trafficLimitID"` }
RemoveTrafficLimit Remove TrafficLimit by TrafficLimit ID
func (*RemoveTrafficLimit) Output ¶
func (r *RemoveTrafficLimit) Output(ctx context.Context) (interface{}, error)
func (*RemoveTrafficLimit) Path ¶
func (r *RemoveTrafficLimit) Path() string
type UpdateTrafficLimit ¶
type UpdateTrafficLimit struct { httpx.MethodPut TrafficLimitID types.SFID `in:"path" name:"trafficLimitID"` trafficlimit.UpdateReq `in:"body"` }
func (*UpdateTrafficLimit) Output ¶
func (r *UpdateTrafficLimit) Output(ctx context.Context) (interface{}, error)
func (*UpdateTrafficLimit) Path ¶
func (r *UpdateTrafficLimit) Path() string
Click to show internal directories.
Click to hide internal directories.