Documentation ¶
Index ¶
- func CheckRegStatus(regfile string) bool
- func EncodePayload(proto []byte) string
- func ExecCommand(mode string, args string) string
- func GenAddResult(uuid string, result string) string
- func GenAddResultRaw(uuid string, result string) []byte
- func GenCheckin(regFile string, obfText string) string
- func GenCheckinRaw(regFile string, obfText string) []byte
- func GenRegister(interval int, delta int, regFile string, obfText string) string
- func GenRegisterRaw(interval int, delta int, regFile string, obfText string) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckRegStatus ¶
CheckRegStatus is the exported version of registration status check
func EncodePayload ¶
EncodePayload is the exported version of the marshal'd protobuf to base64 encoder
func ExecCommand ¶
ExecCommand will pass each action to appropriate handler
func GenAddResult ¶
GenAddResult returns the b64 of the "result add" payload
func GenAddResultRaw ¶
GenAddResultRaw returns the raw MCS bytes of the "result add" payload
func GenCheckin ¶
GenCheckin returns the b64 of the "check in" payload
func GenCheckinRaw ¶
GenCheckinRaw returns the raw MCS bytes of the "check in" payload
func GenRegister ¶
GenRegister returns b64 of the registration payload
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.