util

package
v0.1.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 8, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const DateTimeFormat = "2006-01-02 15:04:05"

DateTimeFormat unified in the program.

Variables

This section is empty.

Functions

func GetMasterProxy added in v0.1.3

func GetMasterProxy() *types.ProxyServer

construct a new *types.ProxyServer instance from the `conf.Args.Network.MasterProxyAddr` string.

func Now

func Now() string

Now returns date time in the format of "2006-01-02 15:04:05"

func Rot13

func Rot13(str string) string

Rot13 Cipher obscures the characters in a string by rotating characters 13 places in the alphabet. Other characters are not changed.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL