Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ThreeKing2018/goutil
/ types & classes
Types & classes
56 in github.com/ThreeKing2018/goutil
⨍
Functions
502
◇
Types & classes
56
↓ 5 callers
FuncType
FuncJob
A wrapper that turns a func() into a cron.Job
cronjobs/cron/cron.go:97
↓ 1 callers
TypeAlias
UnsupportedConfigError
表示遇到不受支持配置格式
config/error.go:6
↓ 1 callers
TypeAlias
byTime
byTime is a wrapper for sorting the entry array by time (with zero time at the end).
cronjobs/cron/cron.go:60
↓ 1 callers
TypeAlias
configReadError
config/error.go:18
Struct
Check
check/check.go:10
Struct
Client
Client is a wrapper around the etcd client
config/backend/etcdv3/aaa.go:100
Struct
Config
config/backend/config.go:3
Struct
ConstantDelaySchedule
ConstantDelaySchedule represents a simple recurring duty cycle, e.g. "Every 5 minutes". It does not support jobs more frequent than once a second.
cronjobs/cron/constantdelay.go:7
Struct
Cron
Cron keeps track of any number of entries, invoking the associated func as specified by the schedule. It may be started, stopped, and the entries may
cronjobs/cron/cron.go:18
Interface
Croner
cronjobs/cron.go:9
Struct
DummyJob
cronjobs/cron/cron_test.go:27
Struct
Entry
Entry consists of a schedule and the func to execute on that schedule.
cronjobs/cron/cron.go:42
Interface
Getaddr
udp没有连接的概念所以这个地址随便写一个就行了
goaddr/getaddr.go:14
Interface
Getvalue
config/get_viper.go:10
Struct
GoTime
time/gotime.go:9
Interface
ILog
使用string是为了减少使用Spintf
golog/ilog.go:8
Interface
Job
Job is an interface for submitted cron jobs.
cronjobs/cron/cron.go:30
Struct
Job
cronjobs/job.go:9
TypeAlias
Level
日志级别
golog/conf/default.go:4
Struct
Log
golog/plugins/zaplog/zaplog.go:12
TypeAlias
NotFoundConfigError
config/error.go:12
Interface
Operater
config/operating.go:12
FuncType
Option
func(*Options)
golog/conf/option.go:3
Struct
Options
golog/conf/option.go:5
Struct
Paginator
paginator/paginator.go:12
TypeAlias
ParseOption
Configuration options for creating a parser. Most options specify which fields should be included, while others enable features. If a field is not inc
cronjobs/cron/parser.go:15
Struct
Parser
A custom Parser that can be configured.
cronjobs/cron/parser.go:47
FuncType
RemoveCheckFunc
比原生增加了一个删除job的方式 参考https://github.com/george518/PPGo_Job 删除job的检查函数,返回true则删除
cronjobs/cron/cron.go:13
Struct
Response
为了解决循环导入的问题,才单独建立一个包
config/backend/resp/resp.go:5
Interface
Schedule
The Schedule describes a job's duty cycle.
cronjobs/cron/cron.go:35
Struct
ServerSSH
cronjobs/task.go:35
Struct
SpecSchedule
SpecSchedule specifies a duty cycle (to the second granularity), based on a traditional crontab specification. It is computed initially and stored as
cronjobs/cron/spec.go:7
Interface
StoreClient
type KVPair struct { key string value []byte } type KVPairs []*KVPair Response represents a response from a backend store. A Store is a K/V store
config/backend/backend.go:23
Struct
Task
cronjobs/task.go:19
Struct
TaskLog
cronjobs/tasklog.go:17
Struct
TaskLogMana
cronjobs/tasklog.go:26
Struct
ValidateBankCard
three_service/bank.go:12
Interface
Viperable
config/viper.go:17
Struct
Watch
A watch only tells the latest revision
config/backend/etcdv3/aaa.go:18
Struct
ZeroSchedule
cronjobs/cron/cron_test.go:380
TypeAlias
backend
golog/init.go:11
Struct
bounds
bounds provides a range of acceptable values (plus a map of name to value).
cronjobs/cron/spec.go:12
Struct
client
config/backend/etcd/etcd.go:13
Struct
client
config/backend/file/file.go:8
Struct
client
config/backend/etcdv3/etcdv3.go:12
Struct
conf
config/ini/ini.go:5
Struct
conf
config/gotoml/gotoml.go:12
Struct
conf
* SetConfigFile(cnofigfile string) //设置配置文件 ReadConfig(in io.Reader, c map[string]interface{}) error //读取配置文件 WriteConfig(v interface{}) error
config/json/json.go:17
Struct
configParseError
ConfigParseError denotes failing to parse configuration file.
config/error.go:25
Struct
cronjob
cronjobs/cron.go:17
Struct
etcdResolver
register/resolver.go:18
Struct
getaddr
goaddr/getaddr.go:17
Struct
test
good/yilaizhurou.go:27
Struct
testJob
cronjobs/cron/cron_test.go:273
TypeAlias
unsupportedRemoteProviderError
UnsupportedRemoteProviderError denotes encountering an unsupported remote provider. Currently only etcd and Consul are supported.
config/error.go:36
Struct
viper
config/viper.go:36