traffic

package
v0.0.0-...-97dd610 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccesslogService

type AccesslogService struct{}

func (*AccesslogService) CreateOrUpdate

func (tm *AccesslogService) CreateOrUpdate(a *model.Accesslog) error

CreateOrUpdate create or update timeout rule

func (*AccesslogService) Delete

func (tm *AccesslogService) Delete(a *model.Accesslog) error

func (*AccesslogService) Search

func (tm *AccesslogService) Search(a *model.Accesslog) ([]*model.Accesslog, error)

type ArgumentService

type ArgumentService struct{}

func (*ArgumentService) CreateOrUpdate

func (tm *ArgumentService) CreateOrUpdate(a *model.Argument) error

CreateOrUpdate create or update timeout rule

func (*ArgumentService) Delete

func (tm *ArgumentService) Delete(a *model.Argument) error

func (*ArgumentService) Search

func (tm *ArgumentService) Search(a *model.Argument) ([]*model.Argument, error)

type GrayService

type GrayService struct{}

func (*GrayService) CreateOrUpdate

func (tm *GrayService) CreateOrUpdate(g *model.Gray) error

CreateOrUpdate create or update timeout rule

func (*GrayService) Delete

func (tm *GrayService) Delete(g *model.Gray) error

func (*GrayService) Search

func (tm *GrayService) Search(g *model.Gray) ([]*model.Gray, error)

type MockService

type MockService struct{}

func (*MockService) CreateOrUpdate

func (tm *MockService) CreateOrUpdate(m *model.Mock) error

CreateOrUpdate create or update timeout rule

func (*MockService) Delete

func (tm *MockService) Delete(m *model.Mock) error

func (*MockService) Search

func (tm *MockService) Search(m *model.Mock) ([]*model.Mock, error)

type RegionService

type RegionService struct{}

func (*RegionService) CreateOrUpdate

func (tm *RegionService) CreateOrUpdate(r *model.Region) error

CreateOrUpdate create or update timeout rule

func (*RegionService) Delete

func (tm *RegionService) Delete(r *model.Region) error

func (*RegionService) Search

func (tm *RegionService) Search(r *model.Region) ([]*model.Region, error)

type RetryService

type RetryService struct{}

func (*RetryService) CreateOrUpdate

func (tm *RetryService) CreateOrUpdate(r *model.Retry) error

CreateOrUpdate create or update timeout rule

func (*RetryService) Delete

func (tm *RetryService) Delete(r *model.Retry) error

func (*RetryService) Search

func (tm *RetryService) Search(r *model.Retry) ([]*model.Retry, error)

type TimeoutService

type TimeoutService struct{}

func (*TimeoutService) CreateOrUpdate

func (tm *TimeoutService) CreateOrUpdate(t *model.Timeout) error

CreateOrUpdate create or update timeout rule

func (*TimeoutService) Delete

func (tm *TimeoutService) Delete(t *model.Timeout) error

func (*TimeoutService) Search

func (tm *TimeoutService) Search(t *model.Timeout) ([]*model.Timeout, error)

type WeightService

type WeightService struct{}

func (*WeightService) CreateOrUpdate

func (tm *WeightService) CreateOrUpdate(p *model.Percentage) error

CreateOrUpdate create or update timeout rule

func (*WeightService) Delete

func (tm *WeightService) Delete(p *model.Percentage) error

func (*WeightService) Search

func (tm *WeightService) Search(p *model.Percentage) ([]*model.Percentage, error)

Jump to

Keyboard shortcuts

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