Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IIptablesService ¶
type IIptablesService interface { Add(wgIface string, eth string) error Del(wgIface string, eth string) error }
func NewApiService ¶
func NewApiService() IIptablesService
func NewCmdService ¶
func NewCmdService() IIptablesService
type IptablesApiService ¶
type IptablesApiService struct{}
type IptablesCmdService ¶
type IptablesCmdService struct{}
Click to show internal directories.
Click to hide internal directories.