Documentation
¶
Index ¶
- func CompressGzip(f string) string
- func Concat(splitcode string, args ...string) string
- func CounterZeroNumber(length int) string
- func Decrypt(ciphertext string) string
- func Encrypt(plaintext string) string
- func Get(url string, headers map[string]string, transport PHttp) ([]byte, string, int, string, error)
- func GetCurrentTime(loc *time.Location, val string) time.Time
- func GetFormatTime(loc *time.Location, layout string) string
- func GetIpAddress(c *fiber.Ctx) string
- func GetTomorrow(loc *time.Location, day time.Duration, layout string) time.Time
- func GetTrxID(loc *time.Location) string
- func GetUniqId(loc *time.Location) string
- func GetYesterday(loc *time.Location, day time.Duration, layout string) time.Time
- func HttpClient(p PHttp) *http.Client
- func HttpDial(url string, t time.Duration) error
- func HttpDial2(url string, t time.Duration) bool
- func MakeLogger(s Setup) *logrus.Logger
- func Post(url string, headers map[string]string, body []byte, transport PHttp) ([]byte, string, int, string, error)
- func ReduceWords(words string, start int, length int) string
- func SigHandler(obj SigCH)
- func Throw(up Exception)
- type Block
- type Exception
- type MyFormatter
- type PHttp
- type Setup
- type SigCH
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompressGzip ¶ added in v0.9.6
func CounterZeroNumber ¶ added in v0.3.6
func Get ¶ added in v0.1.7
func Get(url string, headers map[string]string, transport PHttp) ([]byte, string, int, string, error)
@return param : respBody, response.Status, response.StatusCode, strlog, err
func GetIpAddress ¶
func GetTomorrow ¶ added in v0.9.6
func GetYesterday ¶ added in v0.9.6
func HttpClient ¶ added in v0.1.7
HttpClient (time.Duration, time.Duration, bool)
func MakeLogger ¶
func Post ¶ added in v0.1.7
func Post(url string, headers map[string]string, body []byte, transport PHttp) ([]byte, string, int, string, error)
@return param : respBody, response.Status, response.StatusCode, strlog, err
func SigHandler ¶
func SigHandler(obj SigCH)
Types ¶
type MyFormatter ¶
type MyFormatter struct{}
Click to show internal directories.
Click to hide internal directories.