Documentation ¶
Index ¶
Constants ¶
View Source
const ( SourceUnknown = "" SourceZBar = "zbar" )
Type of sources
View Source
const ( HTTPUnknown = HTTPMethod("") HTTPGET = HTTPMethod("GET") HTTPPOST = HTTPMethod("POST") )
Pre defined of the http methods
Variables ¶
View Source
var ( ErrUnknownOutput = errors.New("Config error: unknown type output") ErrUnknownSource = errors.New("Config error: unknown source") ErrUnknownLocation = errors.New("Config error: unknown location zbarcam") ErrUnknownHTTPMethod = errors.New("Config error: unknown http method") ErrUnknownHTTPUrl = errors.New("Config error: unknown http url") ErrEmptyHTTPKeyHdr = errors.New("Config error: empty apikey but use request header authorization") )
Errors for config
Functions ¶
This section is empty.
Types ¶
type Config ¶
A Config it setting of application from .zbarnet.json
func MustConfig ¶
MustConfig Load from file "path" in buffer []byte
Click to show internal directories.
Click to hide internal directories.