Documentation
¶
Index ¶
- Variables
- func Copy(dst io.Writer, src io.Reader) (written int64, err error)
- func EnableProfiling(enabled bool)
- func FormatURL(s string) (string, error)
- func GenerateJwtToken(key []byte) (string, error)
- func KDF(password string, salt []byte, keySize int) []byte
- func NewTimeoutConn(conn net.Conn, timeout time.Duration) *timeoutConn
- func NextNonce(nonce []byte)
- func NowInMills() int64
- func PrintVersion()
- func Stringify(v interface{}) string
- func ValidateJwtToken(tokenString string, key []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Name = "@isayme/tox" Version = "unknown" BuildTime = "unknown" GitRevision = "unknown" )
version info
Functions ¶
func EnableProfiling ¶
func EnableProfiling(enabled bool)
func GenerateJwtToken ¶
func NewTimeoutConn ¶
NewTimeoutConn create timeout conn
func NowInMills ¶
func NowInMills() int64
func ValidateJwtToken ¶
Types ¶
This section is empty.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.