Documentation ¶
Index ¶
- func GetPassword() passwordStruct
- func JeffsRouter() *mux.Router
- func Logger(inner http.Handler, name string) http.Handler
- func ReadPasswordFile(nodeName string, passwordString string)
- func StartHTTPServer(nodeIP string, nodeWebPort string)
- func WritePasswordFile(nodeName string, passwordString string)
- type Message
- type Route
- type Routes
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadPasswordFile ¶
ReadPasswordFile - Reads the password hash from a file and puts in struct
func StartHTTPServer ¶
StartHTTPServer - Start the WebServer
func WritePasswordFile ¶
WritePasswordFile - Writes the password hash to a file and puts in struct
Types ¶
type Message ¶
type Message struct {
Data string `json:"data"`
}
Message takes incoming JSON payload for writing data
Click to show internal directories.
Click to hide internal directories.