You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
golog/const.go

39 lines
843 B

package golog
import "go.dtapp.net/goip"
// GinClient 框架日志
type GinClient struct {
ipService *goip.Client // IP服务
slog struct {
status bool // 状态
client *SLog // 日志服务
}
}
// GinClientFun 框架日志驱动
type GinClientFun func() *GinClient
// GinClientConfig 框架日志配置
type GinClientConfig struct {
IpService *goip.Client // IP服务
}
// GinCustomClient 框架自定义日志
type GinCustomClient struct {
ipService *goip.Client // IP服务
slog struct {
status bool // 状态
client *SLog // 日志服务
}
}
// GinCustomClientFun 框架自定义日志驱动
type GinCustomClientFun func() *GinCustomClient
// GinCustomClientConfig 框架自定义日志配置
type GinCustomClientConfig struct {
IpService *goip.Client // IP服务
CurrentIp string // 当前IP
}