Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/One-com/gone
/ functions
Functions
816 in github.com/One-com/gone
⨍
Functions
816
◇
Types & classes
173
↓ 1 callers
Function
defaultDecoderConfig
defaultDecoderConfig returns default mapstructure.DecoderConfig with support of time.Duration values & string slices
hugorm/unmarshal.go:36
↓ 1 callers
Method
deregister
deregister removes a meter from the list and keeps the list without empty slots.
metric/flusher.go:200
↓ 1 callers
Method
doing
()
log/gonelog.go:374
↓ 1 callers
Method
doingCode
()
log/gonelog.go:369
↓ 1 callers
Method
doingTime
()
log/gonelog.go:364
↓ 1 callers
Function
dupCloseOnExec
wrappers around UNIX fcntl to dup() with close-on-exec
sd/file.go:426
↓ 1 callers
Method
envBindings2configMap
(bindings map[string][]string)
hugorm/env.go:74
↓ 1 callers
Function
fcntl
(fd int, cmd int, arg int)
sd/file.go:430
↓ 1 callers
Function
filterComments
(data []byte)
jconf/config.go:48
↓ 1 callers
Method
find
find a key (in it's path form) in the config. Fall back to flag default values if flagDefault==true find is always case sensitive.
hugorm/internals.go:32
↓ 1 callers
Method
fixupChildren
Ensure that children of the placeholder ph are connected to the specified logger.
log/manager.go:111
↓ 1 callers
Function
fmtSyntaxError
Find out where a Syntax Error occurred in the JSON string
jconf/config.go:89
↓ 1 callers
Method
formatHeader
(buf *[]byte, level syslog.Priority, t time.Time, name string, file string, line int)
log/format.go:348
↓ 1 callers
Function
getBuffer
()
log/format.go:70
↓ 1 callers
Method
getDoneChan
()
daemon/ctrl/ctrl.go:97
↓ 1 callers
Method
getEnv
getEnv is a wrapper around os.Getenv which replaces characters in the original key. This allows env vars which have different keys than the config obj
hugorm/env.go:59
↓ 1 callers
Method
getLogger
(name string)
log/manager.go:51
↓ 1 callers
Function
getPoolEvent
(l syslog.Priority, name string, msg string)
log/event.go:22
↓ 1 callers
Function
handleConn
(conn net.Conn, quit chan struct{})
sd/testbin/sdtest.go:11
↓ 1 callers
Method
handleShutdown
(listener net.Listener, stop chan chan int, kill, exited chan struct{})
http/graceful/graceful.go:225
↓ 1 callers
Method
help
(w io.Writer, hcmd, qcmd string)
daemon/ctrl/ctrl.go:510
↓ 1 callers
Method
inherit
()
sd/file.go:174
↓ 1 callers
Function
initSimpleSubModule
(cfg SubConfig)
jconf/subconfig_test.go:41
↓ 1 callers
Function
initSubModuleNoPointer
(cfg SubConfig)
jconf/subconfig_test.go:47
↓ 1 callers
Function
initYAML
()
hugorm/hugorm_test.go:188
↓ 1 callers
Function
ioActivityTimeout
(c *conn, enable bool)
netutil/reaper/conn.go:97
↓ 1 callers
Function
isIdempotent
http://www.iana.org/assignments/http-methods/http-methods.xhtml
http/vtransport/vtransport.go:53
↓ 1 callers
Method
isMatching
Test whether an inherited file descriptor fulfills a series of tests
sd/filetests.go:25
↓ 1 callers
Function
isSameUnixAddr
(a1, a2 net.Addr)
sd/filetests.go:521
↓ 1 callers
Method
isSet
()
netutil/reaper/conn.go:116
↓ 1 callers
Function
loadConfig
(cfg string)
example.go:72
↓ 1 callers
Function
loadConfig
(cfg string)
daemon/ctrl/example/main.go:22
↓ 1 callers
Function
localPath
()
netutil/reaper/nettest_test.go:158
↓ 1 callers
Method
logFromCaller
Do log() but with calldepth and with output()
log/gonelog.go:131
↓ 1 callers
Method
manageConnections
Manage open connections stop makes the manager exit once connections have dried out them selves (since a closed listener will no longer generate add e
http/graceful/graceful.go:282
↓ 1 callers
Function
marshalKeyvals
No reason to create another byte.Buffer when we already have one. So let's pass it to a custom version of MarshalKeyvals()
log/format.go:309
↓ 1 callers
Method
marshalWriter
Marshal a map into Writer.
hugorm/hugorm.go:352
↓ 1 callers
Function
merge
(dst map[string]interface{}, k, v interface{})
log/json.go:82
↓ 1 callers
Function
myHandlerFunc
----------------- The actual server ----------------------
example.go:24
↓ 1 callers
Function
myHandlerFunc
(s *Server, cfg string, revision int)
daemon/ctrl/example/server.go:23
↓ 1 callers
Function
net2sotypeUnix
(nett string)
sd/filetests.go:483
↓ 1 callers
Function
newAccessLogCommand
(logger srv.LoggerFunc)
daemon/ctrl/example/accesslog.go:92
↓ 1 callers
Function
newHTTPServer
(handler http.HandlerFunc)
example.go:30
↓ 1 callers
Function
newHTTPServer
(cfg string, rev int)
daemon/ctrl/example/server.go:52
↓ 1 callers
Function
newLocalListener
NewLocalListener returns a listener which listens to a loopback IP address or local file system path. Network must be "tcp", "tcp4", "tcp6", "unix" or
netutil/reaper/nettest_test.go:133
↓ 1 callers
Function
newManager
(l *Logger)
log/manager.go:40
↓ 1 callers
Function
newPlaceholder
(l *Logger)
log/manager.go:26
↓ 1 callers
Method
newRoundTripContext
(first int)
http/vtransport/upstream/rr/rrupstream.go:333
↓ 1 callers
Function
newServerControlCommand
(s *Server)
daemon/ctrl/example/server.go:126
↓ 1 callers
Function
newState
()
sd/file.go:64
↓ 1 callers
Function
nonblockHack
The Go (<1.11) net package sets the socket blocking.
sd/nonblockhack_10.go:11
↓ 1 callers
Function
onSignalExit
----------------- Signal handling ----------------------
example.go:97
↓ 1 callers
Function
onSignalExit
----------------- Signal handling ----------------------
daemon/ctrl/example/main.go:47
↓ 1 callers
Function
onSignalReload
()
example.go:108
↓ 1 callers
Function
onSignalReload
()
daemon/ctrl/example/main.go:58
↓ 1 callers
Function
onSignalRespawn
()
example.go:114
↓ 1 callers
Function
onSignalRespawn
()
daemon/ctrl/example/main.go:64
↓ 1 callers
Function
output
(l *log.Logger, msg string)
log/api_test.go:11
↓ 1 callers
Method
output
Unconditionally logs an event Some logging goes through here to keep the same number of stackframes for all calls to let newEvent() know how to do cod
log/gonelog.go:126
↓ 1 callers
Method
parent
()
log/swapper_15.go:94
↓ 1 callers
Function
postBuildLogLine
(buf []byte, recorder rrwriter.RecordingResponseWriter)
http/handlers/accesslog/accesslog.go:159
↓ 1 callers
Function
preBuildLogLine
(buf []byte, req *http.Request, ts time.Time)
http/handlers/accesslog/accesslog.go:115
↓ 1 callers
Function
putBuffer
(b *buffer)
log/format.go:75
↓ 1 callers
Method
putConn
put puts the connection back to the pool. If the pool is full or closed, conn is simply closed. A nil conn will be rejected.
netutil/pool/channel.go:104
↓ 1 callers
Method
reset
Reset closes all non-active files and all returned listeners/packetconns/files and makes the current active files available again
sd/file.go:148
↓ 1 callers
Method
rundyn
A go-routine which will flush at adjustable intervals and doesn't exit if interval is zero. This is used for the defaultFlusher of the Client
metric/flusher.go:87
↓ 1 callers
Function
safeError
(err error)
log/json.go:112
↓ 1 callers
Function
safeMul
(a, b uint)
hugorm/util.go:135
↓ 1 callers
Function
safeString
(str fmt.Stringer)
log/json.go:98
↓ 1 callers
Function
searchMap
searchMap recursively searches for a value for path in source map. Returns nil if not found. Note: This assumes that the path entries and map keys are
hugorm/util.go:255
↓ 1 callers
Function
serve
(l net.Listener, elogbuf io.Writer)
http/handlers/accesslog/alog_test.go:51
↓ 1 callers
Function
serve
serve implements the main logic of handling the list of running servers. First let then Listen(). if no error, then start all by calling Serve() Then
daemon/server.go:130
↓ 1 callers
Method
setFalse
()
netutil/reaper/conn.go:118
↓ 1 callers
Method
setFlusher
(*flusher)
metric/meter.go:31
↓ 1 callers
Method
setInterval
(d time.Duration)
metric/flusher.go:67
↓ 1 callers
Method
setListener
Potentially wrap the listener in any server TLS config.
http/gonesrv/server.go:114
↓ 1 callers
Method
setTrue
()
netutil/reaper/conn.go:117
↓ 1 callers
Function
signalHandler
Allocate a 1-buffered channel for each signal and do a select over all channels - has to use reflect for dynamic numbers of select cases.
signals/signals.go:22
↓ 1 callers
Method
start
------------------------ internal ---------------------------------------
daemon/srv/server.go:167
↓ 1 callers
Method
startServer
Launch a specific server - does not block
daemon/srv/server.go:209
↓ 1 callers
Method
stop
()
daemon/srv/server.go:194
↓ 1 callers
Function
subexps
(line []byte)
log/stdgw.go:124
↓ 1 callers
Function
testableNetwork
TestableNetwork reports whether network is testable on the current platform configuration.
netutil/reaper/nettest_test.go:171
↓ 1 callers
Method
tryClose
()
netutil/reaper/conn.go:172
↓ 1 callers
Function
uitoa
Convert unsigned integer to decimal string.
sd/filetests.go:452
↓ 1 callers
Function
userHomeDir
()
hugorm/util.go:124
↓ 1 callers
Method
withEnvPrefix
(in string)
hugorm/env.go:48
↓ 1 callers
Function
writeLog
(w io.Writer, buf []byte)
http/handlers/accesslog/accesslog.go:169
Function
ALERT
--- level logger stuff ALERT - Requests the default logger to create a log event
log/root.go:48
Function
ALERTok
ALERTok - If the default Logger is logging at the requested level a function creating such a log event will be returned.
log/root.go:111
Function
AddConfigFile
------------------------------------------------------------------------------
hugorm/hugorm.go:217
Function
AddConfigMap
AddConfigMap appends the configuration from the map given as a constant config source
hugorm/hugorm.go:325
Function
AdhocCount
-------------------------------------------------------------- AdhocCount creates an ad-hoc counter metric event at the default client. If flush is tr
metric/client.go:338
Function
AdhocGauge
AdhocGauge creates an ad-hoc gauge metric event at the default client. If flush is true, the sink will be instructed to flush data immediately
metric/client.go:344
Function
AdhocSample
AdhocSample creates an ad-hoc histogram metric event at the default client. If flush is true, the sink will be instructed to flush data immediately
metric/client.go:356
Function
AdhocSetMember
AdhocSetMember generates an ad-hoc set membership event with the default client. If flush is true, the sink will be instructed to flush data immediate
metric/client.go:362
Function
AdhocTime
AdhocTime creates an ad-hoc timer metric event at the default client. If flush is true, the sink will be instructed to flush data immediately
metric/client.go:350
Method
ApplyHandlerOptions
(opt ...HandlerOption)
log/swapper.go:123
Function
AutoColoring
AutoColoring turns on coloring for the default logger if the output Writer is connected to a TTY
log/root.go:41
Method
AutoColoring
AutoColoring swaps in a equivalent handler doing AutoColoring if possible
log/swapper.go:113
← previous
next →
301–400 of 816, ranked by callers