traffic_limit

package
v1.4.3-poc-rc2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 21, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

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

func (*BatchRemoveTrafficLimit) Output

func (r *BatchRemoveTrafficLimit) Output(ctx context.Context) (interface{}, error)

type CreateTrafficLimit

type CreateTrafficLimit struct {
	httpx.MethodPost
	trafficlimit.CreateReq `in:"body"`
}

func (*CreateTrafficLimit) Output

func (r *CreateTrafficLimit) Output(ctx context.Context) (interface{}, error)

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL