Documentation
¶
Index ¶
- Constants
- func CSVSet(set string) []string
- func FetchConfBlock(lines []string, begin, end string) []string
- func FetchConfKey(lines []string, target, def string) string
- func OTPGenerate(issuer, name string) (secret, text string, err error)
- func OTPValidate(code, secret string) (bool, error)
- func PrimaryIP() string
- func QRLink(text string) string
- func QRLinkCaoliao(text string) string
- func QRLinkGoogle(text string) string
- func Readline(def string) string
- func Rmtmp(path string)
- func SetOp(origin string, op string) string
- func StripConf(path string) (lines []string, err error)
- func Tmpfile(body string) string
Constants ¶
View Source
const (
TIMEFORMAT = "2006-01-02 15:04:05"
)
Variables ¶
This section is empty.
Functions ¶
func FetchConfBlock ¶
func FetchConfKey ¶
func OTPGenerate ¶
func OTPValidate ¶
func QRLinkCaoliao ¶
func QRLinkGoogle ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.