archaius

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2024 License: Apache-2.0 Imports: 12 Imported by: 1

Documentation

Index

Constants

View Source
const EgressYaml = "egress.yaml"

EgressYaml egress yaml file name

Variables

This section is empty.

Functions

func GetEgressRule

func GetEgressRule() map[string][]*config.EgressRule

GetEgressRule get egress rule

func SetEgressRule

func SetEgressRule(rule map[string][]*config.EgressRule)

SetEgressRule set egress rule

Types

type Egress

type Egress struct {
}

Egress is cse Egress service

func (*Egress) FetchEgressRule

func (r *Egress) FetchEgressRule() map[string][]*config.EgressRule

FetchEgressRule return all rules

func (*Egress) Init

func (r *Egress) Init(op egress.Options) error

Init init egress config

func (*Egress) SetEgressRule

func (r *Egress) SetEgressRule(rr map[string][]*config.EgressRule)

SetEgressRule set rules

Jump to

Keyboard shortcuts

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