flag

package
v0.0.0-...-ae882e2 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2019 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Options struct {
	Host      string `short:"h" long:"host" description:"Bind host" env:"HOST" default:"0.0.0.0"`
	Port      int    `short:"p" long:"port" description:"Bind port" env:"PORT" default:"8080"`
	Secret    string `short:"s" long:"secret" description:"Secret token for accessing the gateway" env:"SECRET" default:""`
	Token     string `short:"t" long:"token" description:"LINE notify token" env:"TOKEN" default:""`
	Endpoint  string `long:"endpoint" description:"LINE notify endpoint" env:"ENDPOINT" default:"https://notify-api.line.me/api/notify"`
	Locale    string `long:"locale" description:"Locale of LINE message" env:"LOCALE" default:""`
	Templates string `long:"templates-path" description:"Path of message templates" env:"TEMPLATES_PATH" default:"./templates"`
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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