forked from daBONDi/go-rest-wol
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconst.go
More file actions
26 lines (18 loc) · 1.26 KB
/
const.go
File metadata and controls
26 lines (18 loc) · 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
//All Global Constants and Program Default Values
package main
//DefaultHTTPPort defines the Default HTTP Port to listen
const DefaultHTTPPort int = 8080
//DefaultComputerFilePath define the Default File Path to search for the Computer List
const DefaultComputerFilePath string = "computer.csv"
//DefaultComputerFilePathEnvironmentName define the Name of the Enviroment Variable where we should look for a Path
const DefaultComputerFilePathEnvironmentName string = "WOLFILE"
//DefaultHTTPPortEnvironmentVariableName define the Name of the Environment Variable what TCP Port we should use for the Webserver
const DefaultHTTPPortEnvironmentVariableName string = "WOLHTTPPORT"
//DefaultComputerUsernameEnvironmentName define the Name of the Enviroment Variable where we should look for a Username
const DefaultComputerUsernameEnvironmentName string = "WOLUSER"
//UsernameForShutdown define the Username on the Remote computer
const UsernameForShutdown string = "user"
//DefaultComputerPasswordEnvironmentName define the Name of the Enviroment Variable where we should look for a Username
const DefaultComputerPasswordEnvironmentName string = "WOLPWD"
//PasswordForShutdown define the Username on the Remote computer
const PasswordForShutdown string = "password"