golib

package
v0.0.0-...-8eb0397 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2023 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

View Source
const (
	FGEBase = 10000
)

Variables

This section is empty.

Functions

func Log

func Log(format string, a ...interface{}) (n int, err error)

func MD5Sum

func MD5Sum(source string) (hash string)

Types

type ErrorCode

type ErrorCode int
const (
	EInternalError ErrorCode = 5*FGEBase + iota // value --> 0

)
const (
	ErrClientError ErrorCode = 4*FGEBase + iota // value --> 0
)

客户端请求错误 40000+iota

func (ErrorCode) Error

func (f ErrorCode) Error() string

func (ErrorCode) String

func (f ErrorCode) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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