module

package
v0.0.0-...-46d220a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 29, 2018 License: Apache-2.0 Imports: 9 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	EnvOpenEdgeHostOS      = "OPENEDGE_HOST_OS"
	EnvOpenEdgeMasterAPI   = "OPENEDGE_MASTER_API"
	EnvOpenEdgeModuleMode  = "OPENEDGE_MODULE_MODE"
	EnvOpenEdgeModuleToken = "OPENEDGE_MODULE_TOKEN"
)

all env keys

View Source
const Version = "version"

Version the version of this binary

Variables

This section is empty.

Functions

func Load

func Load(confObject interface{}, conf string) error

Load load a module config

func PrintUsage

func PrintUsage()

PrintUsage prints usage

func Wait

func Wait()

Wait waits until module exit

Types

type Flags

type Flags struct {
	Config string
	Help   bool
}

Flags command-line flags

func ParseFlags

func ParseFlags(defaultConfigPath string) (*Flags, error)

ParseFlags parses the command-line flags

type Module

type Module interface {
	Start() error
	Close()
}

Module module interfaces

Directories

Path Synopsis
function

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL