Documentation ¶
Index ¶
- Constants
- Variables
- type Daemonize
- func (cmd *Daemonize) Description() string
- func (cmd *Daemonize) Execute(args ...interface{}) error
- func (cmd *Daemonize) FlagSet() *flag.FlagSet
- func (cmd *Daemonize) Help()
- func (cmd *Daemonize) Name() string
- func (cmd *Daemonize) ParseCmd(args ...string) error
- func (cmd *Daemonize) Usage() string
- type Run
- type Undaemonize
Constants ¶
View Source
const ( In direction = iota + 1 Out )
View Source
const DefaultConfig = "/etc/uhppoted/uhppoted-tunnel.toml"
View Source
const DefaultLockfile = ""
View Source
const MAX_RETRIES = -1
View Source
const MAX_RETRY_DELAY = 5 * time.Minute
View Source
const (
SERVICE = `uhppoted-tunnel`
)
View Source
const UDP_TIMEOUT = 5 * time.Second
Variables ¶
View Source
var DAEMONIZE = Daemonize{ // contains filtered or unexported fields }
View Source
var ErrLabel = errors.New("invalid label")
View Source
var RUN = Run{ // contains filtered or unexported fields }
View Source
var UNDAEMONIZE = Undaemonize{ // contains filtered or unexported fields }
Functions ¶
This section is empty.
Types ¶
type Daemonize ¶
type Daemonize struct {
// contains filtered or unexported fields
}
func (*Daemonize) Description ¶
type Undaemonize ¶
type Undaemonize struct {
// contains filtered or unexported fields
}
func (*Undaemonize) Description ¶
func (cmd *Undaemonize) Description() string
func (*Undaemonize) Execute ¶
func (cmd *Undaemonize) Execute(args ...interface{}) error
func (*Undaemonize) FlagSet ¶
func (cmd *Undaemonize) FlagSet() *flag.FlagSet
func (*Undaemonize) Help ¶
func (cmd *Undaemonize) Help()
func (*Undaemonize) Name ¶
func (cmd *Undaemonize) Name() string
func (*Undaemonize) Usage ¶
func (cmd *Undaemonize) Usage() string
Click to show internal directories.
Click to hide internal directories.