Documentation ¶
Index ¶
- Constants
- Variables
- func BlockHandler() echo.HandlerFunc
- func Callers(skip int) []uintptr
- func ChangeErr2Grpc(err error) error
- func CmdlineHandler() echo.HandlerFunc
- func EncodeXMLFromMap(w io.Writer, m map[string]string, rootname string) (err error)
- func EncodeXmlToMap(xmlStr string) map[string]string
- func GenWxSign(data url.Values, key string) string
- func GenerateSpanID(addr string) string
- func GetClientIP(c echo.Context) string
- func GetLocalIP() net.IP
- func GoroutineHandler() echo.HandlerFunc
- func HeapHandler() echo.HandlerFunc
- func IndexHandler() echo.HandlerFunc
- func Ip2Long(ip string) (uint32, error)
- func Md5(str string) string
- func MutexHandler() echo.HandlerFunc
- func ProfileHandler() echo.HandlerFunc
- func RemoveRepByLoop(slc []int) []int
- func StackInfo(stack []uintptr) string
- func StackInfoAll() string
- func StringJoin(a []int, split string) string
- func SymbolHandler() echo.HandlerFunc
- func ThreadCreateHandler() echo.HandlerFunc
- func TimeGetBirthday(idCard string, separator string) (birthday string, err error)
- func TraceHandler() echo.HandlerFunc
- func Wrap(e *echo.Echo)
- func WrapGroup(prefix string, g *echo.Group)
Constants ¶
View Source
const ( TimeFormatDate_ = "2006-01-02" TimeFormatDate = "20060102" TimeFormatTime = "15:04:05" TimeFormatDateTime = "2006-01-02 15:04:05" TimeLongFormat = "20060102150405" TimeFormatUTCDateTime = "2006-01-02T15:04:05Z" )
Variables ¶
View Source
var BeijingLocation = time.FixedZone("Asia/Shanghai", 8*60*60)
Functions ¶
func BlockHandler ¶
func BlockHandler() echo.HandlerFunc
func ChangeErr2Grpc ¶
func CmdlineHandler ¶
func CmdlineHandler() echo.HandlerFunc
func EncodeXMLFromMap ¶
func GenerateSpanID ¶
func GetClientIP ¶
func GetLocalIP ¶
func GoroutineHandler ¶
func GoroutineHandler() echo.HandlerFunc
func HeapHandler ¶
func HeapHandler() echo.HandlerFunc
func IndexHandler ¶
func IndexHandler() echo.HandlerFunc
func MutexHandler ¶
func MutexHandler() echo.HandlerFunc
func ProfileHandler ¶
func ProfileHandler() echo.HandlerFunc
func RemoveRepByLoop ¶
func StringJoin ¶
func SymbolHandler ¶
func SymbolHandler() echo.HandlerFunc
func ThreadCreateHandler ¶
func ThreadCreateHandler() echo.HandlerFunc
func TimeGetBirthday ¶
*
- 从身份证号中获取生日
- @params idCard 身份证号
- @params separator 生日分隔符
- @return 生日
- @return 错误
func TraceHandler ¶
func TraceHandler() echo.HandlerFunc
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.