Documentation ¶
Index ¶
Constants ¶
View Source
const ( APP = "Bastion" VER = "0.0.3" DESC = "Utility for temporary access limitation to server" )
View Source
const ( MAIN_DURATION = "main:duration" MAIN_URL = "main:url" MAIN_PATH = "main:path" SERVER_IP = "server:ip" SERVER_PORT = "server:port" SERVER_NAME = "server:name" LOG_DIR = "log:dir" LOG_FILE = "log:file" LOG_PERMS = "log:perms" LOG_LEVEL = "log:level" SCRIPT_BEFORE = "script:before" SCRIPT_IN = "script:in" SCRIPT_OUT = "script:out" SCRIPT_END = "script:complete" )
Daemon info
View Source
const ( OPT_CONFIG = "c:config" OPT_NO_COLOR = "nc:no-color" OPT_HELP = "h:help" OPT_VER = "v:version" )
Options
View Source
const BASTION_MARKER = "/root/.bastion"
BASTION_MARKER path to file with info about bastion mode
View Source
const PID_FILE = "bastion.pid"
Pid info
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BastionMarker ¶
Click to show internal directories.
Click to hide internal directories.