Versions in this module Expand all Collapse all v0 v0.1.1 Feb 5, 2019 v0.1.0 Feb 5, 2019 Changes in this version + type App struct + func NewApp(cfg *AppConfig) *App + func (app *App) Run(cfgCh chan *AppConfig, doneCh chan struct{}) + func (app *App) RunOnce() + type AppConfig struct + AllowedNetworks []string + ConfigCheckInterval time.Duration + IpChainName string + RestrictedPorts []string + func NewAppConfig(chainName string, ports, nets []string) *AppConfig