package
Version:
v0.0.0-...-10435be
Opens a new window with list of versions in this module.
Published: Sep 6, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
Forwards []*Forward `mapstructure:"forwards,omitempty" json:"forwards,omitempty"`
}
type Forward struct {
Src string `mapstructure:"src,omitempty" json:"src,omitempty"`
Target string `mapstructure:"target,omitempty" json:"target,omitempty"`
Network string `mapstructure:"network,omitempty" json:"network,omitempty"`
}
type Service interface {
RegisterOnConfigChange(name string, f func())
GetForwards() []*Forward
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.