Documentation ¶
Overview ¶
Package utils provides miscellaneous utilities and cert generation routines for Rhine.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BinDir = func() string { ex, err := os.Executable() if err != nil { panic(err) } return filepath.Clean(filepath.Dir(ex) + "/") }()
BinDir contains the directory in which executable executed is in ending with a forward slash.
Functions ¶
func GenerateCA ¶
GenerateCA generates a new key-pair and saves it to the path specified.
func GetOutboundIP ¶
func GetOutboundIP() string
GetOutboundIP gets preferred outbound ip of this machine.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package gamedata provides Arknights gamedata lookup datastructures parsed from https://github.com/Kengxxiao/ArknightsGameData.
|
Package gamedata provides Arknights gamedata lookup datastructures parsed from https://github.com/Kengxxiao/ArknightsGameData. |
Click to show internal directories.
Click to hide internal directories.