Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Add ¶
func Add(configs ...*specs.OutboundConfig) []error
Add pushes given configs to repository.
func Items ¶
func Items() []*specs.OutboundConfig
Items returns items in globalRepository repository.
Types ¶
type Repository ¶
type Repository map[[32]byte]*specs.OutboundConfig
Repository contains specs.OutboundConfig.
func (*Repository) Add ¶
func (r *Repository) Add(config *specs.OutboundConfig) error
Add pushes single config entry to Repository.
func (*Repository) Items ¶
func (r *Repository) Items() []*specs.OutboundConfig
Items returns all items inside repository.
Click to show internal directories.
Click to hide internal directories.