MCPcopy Create free account

hub / github.com/One-com/gone / functions

Functions816 in github.com/One-com/gone

↓ 1 callersFunctiondefaultDecoderConfig
defaultDecoderConfig returns default mapstructure.DecoderConfig with support of time.Duration values & string slices
hugorm/unmarshal.go:36
↓ 1 callersMethodderegister
deregister removes a meter from the list and keeps the list without empty slots.
metric/flusher.go:200
↓ 1 callersMethoddoing
()
log/gonelog.go:374
↓ 1 callersMethoddoingCode
()
log/gonelog.go:369
↓ 1 callersMethoddoingTime
()
log/gonelog.go:364
↓ 1 callersFunctiondupCloseOnExec
wrappers around UNIX fcntl to dup() with close-on-exec
sd/file.go:426
↓ 1 callersMethodenvBindings2configMap
(bindings map[string][]string)
hugorm/env.go:74
↓ 1 callersFunctionfcntl
(fd int, cmd int, arg int)
sd/file.go:430
↓ 1 callersFunctionfilterComments
(data []byte)
jconf/config.go:48
↓ 1 callersMethodfind
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 callersMethodfixupChildren
Ensure that children of the placeholder ph are connected to the specified logger.
log/manager.go:111
↓ 1 callersFunctionfmtSyntaxError
Find out where a Syntax Error occurred in the JSON string
jconf/config.go:89
↓ 1 callersMethodformatHeader
(buf *[]byte, level syslog.Priority, t time.Time, name string, file string, line int)
log/format.go:348
↓ 1 callersFunctiongetBuffer
()
log/format.go:70
↓ 1 callersMethodgetDoneChan
()
daemon/ctrl/ctrl.go:97
↓ 1 callersMethodgetEnv
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 callersMethodgetLogger
(name string)
log/manager.go:51
↓ 1 callersFunctiongetPoolEvent
(l syslog.Priority, name string, msg string)
log/event.go:22
↓ 1 callersFunctionhandleConn
(conn net.Conn, quit chan struct{})
sd/testbin/sdtest.go:11
↓ 1 callersMethodhandleShutdown
(listener net.Listener, stop chan chan int, kill, exited chan struct{})
http/graceful/graceful.go:225
↓ 1 callersMethodhelp
(w io.Writer, hcmd, qcmd string)
daemon/ctrl/ctrl.go:510
↓ 1 callersMethodinherit
()
sd/file.go:174
↓ 1 callersFunctioninitSimpleSubModule
(cfg SubConfig)
jconf/subconfig_test.go:41
↓ 1 callersFunctioninitSubModuleNoPointer
(cfg SubConfig)
jconf/subconfig_test.go:47
↓ 1 callersFunctioninitYAML
()
hugorm/hugorm_test.go:188
↓ 1 callersFunctionioActivityTimeout
(c *conn, enable bool)
netutil/reaper/conn.go:97
↓ 1 callersFunctionisIdempotent
http://www.iana.org/assignments/http-methods/http-methods.xhtml
http/vtransport/vtransport.go:53
↓ 1 callersMethodisMatching
Test whether an inherited file descriptor fulfills a series of tests
sd/filetests.go:25
↓ 1 callersFunctionisSameUnixAddr
(a1, a2 net.Addr)
sd/filetests.go:521
↓ 1 callersMethodisSet
()
netutil/reaper/conn.go:116
↓ 1 callersFunctionloadConfig
(cfg string)
example.go:72
↓ 1 callersFunctionloadConfig
(cfg string)
daemon/ctrl/example/main.go:22
↓ 1 callersFunctionlocalPath
()
netutil/reaper/nettest_test.go:158
↓ 1 callersMethodlogFromCaller
Do log() but with calldepth and with output()
log/gonelog.go:131
↓ 1 callersMethodmanageConnections
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 callersFunctionmarshalKeyvals
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 callersMethodmarshalWriter
Marshal a map into Writer.
hugorm/hugorm.go:352
↓ 1 callersFunctionmerge
(dst map[string]interface{}, k, v interface{})
log/json.go:82
↓ 1 callersFunctionmyHandlerFunc
----------------- The actual server ----------------------
example.go:24
↓ 1 callersFunctionmyHandlerFunc
(s *Server, cfg string, revision int)
daemon/ctrl/example/server.go:23
↓ 1 callersFunctionnet2sotypeUnix
(nett string)
sd/filetests.go:483
↓ 1 callersFunctionnewAccessLogCommand
(logger srv.LoggerFunc)
daemon/ctrl/example/accesslog.go:92
↓ 1 callersFunctionnewHTTPServer
(handler http.HandlerFunc)
example.go:30
↓ 1 callersFunctionnewHTTPServer
(cfg string, rev int)
daemon/ctrl/example/server.go:52
↓ 1 callersFunctionnewLocalListener
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 callersFunctionnewManager
(l *Logger)
log/manager.go:40
↓ 1 callersFunctionnewPlaceholder
(l *Logger)
log/manager.go:26
↓ 1 callersMethodnewRoundTripContext
(first int)
http/vtransport/upstream/rr/rrupstream.go:333
↓ 1 callersFunctionnewServerControlCommand
(s *Server)
daemon/ctrl/example/server.go:126
↓ 1 callersFunctionnewState
()
sd/file.go:64
↓ 1 callersFunctionnonblockHack
The Go (<1.11) net package sets the socket blocking.
sd/nonblockhack_10.go:11
↓ 1 callersFunctiononSignalExit
----------------- Signal handling ----------------------
example.go:97
↓ 1 callersFunctiononSignalExit
----------------- Signal handling ----------------------
daemon/ctrl/example/main.go:47
↓ 1 callersFunctiononSignalReload
()
example.go:108
↓ 1 callersFunctiononSignalReload
()
daemon/ctrl/example/main.go:58
↓ 1 callersFunctiononSignalRespawn
()
example.go:114
↓ 1 callersFunctiononSignalRespawn
()
daemon/ctrl/example/main.go:64
↓ 1 callersFunctionoutput
(l *log.Logger, msg string)
log/api_test.go:11
↓ 1 callersMethodoutput
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 callersMethodparent
()
log/swapper_15.go:94
↓ 1 callersFunctionpostBuildLogLine
(buf []byte, recorder rrwriter.RecordingResponseWriter)
http/handlers/accesslog/accesslog.go:159
↓ 1 callersFunctionpreBuildLogLine
(buf []byte, req *http.Request, ts time.Time)
http/handlers/accesslog/accesslog.go:115
↓ 1 callersFunctionputBuffer
(b *buffer)
log/format.go:75
↓ 1 callersMethodputConn
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 callersMethodreset
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 callersMethodrundyn
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 callersFunctionsafeError
(err error)
log/json.go:112
↓ 1 callersFunctionsafeMul
(a, b uint)
hugorm/util.go:135
↓ 1 callersFunctionsafeString
(str fmt.Stringer)
log/json.go:98
↓ 1 callersFunctionsearchMap
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 callersFunctionserve
(l net.Listener, elogbuf io.Writer)
http/handlers/accesslog/alog_test.go:51
↓ 1 callersFunctionserve
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 callersMethodsetFalse
()
netutil/reaper/conn.go:118
↓ 1 callersMethodsetFlusher
(*flusher)
metric/meter.go:31
↓ 1 callersMethodsetInterval
(d time.Duration)
metric/flusher.go:67
↓ 1 callersMethodsetListener
Potentially wrap the listener in any server TLS config.
http/gonesrv/server.go:114
↓ 1 callersMethodsetTrue
()
netutil/reaper/conn.go:117
↓ 1 callersFunctionsignalHandler
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 callersMethodstart
------------------------ internal ---------------------------------------
daemon/srv/server.go:167
↓ 1 callersMethodstartServer
Launch a specific server - does not block
daemon/srv/server.go:209
↓ 1 callersMethodstop
()
daemon/srv/server.go:194
↓ 1 callersFunctionsubexps
(line []byte)
log/stdgw.go:124
↓ 1 callersFunctiontestableNetwork
TestableNetwork reports whether network is testable on the current platform configuration.
netutil/reaper/nettest_test.go:171
↓ 1 callersMethodtryClose
()
netutil/reaper/conn.go:172
↓ 1 callersFunctionuitoa
Convert unsigned integer to decimal string.
sd/filetests.go:452
↓ 1 callersFunctionuserHomeDir
()
hugorm/util.go:124
↓ 1 callersMethodwithEnvPrefix
(in string)
hugorm/env.go:48
↓ 1 callersFunctionwriteLog
(w io.Writer, buf []byte)
http/handlers/accesslog/accesslog.go:169
FunctionALERT
--- level logger stuff ALERT - Requests the default logger to create a log event
log/root.go:48
FunctionALERTok
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
FunctionAddConfigFile
------------------------------------------------------------------------------
hugorm/hugorm.go:217
FunctionAddConfigMap
AddConfigMap appends the configuration from the map given as a constant config source
hugorm/hugorm.go:325
FunctionAdhocCount
-------------------------------------------------------------- AdhocCount creates an ad-hoc counter metric event at the default client. If flush is tr
metric/client.go:338
FunctionAdhocGauge
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
FunctionAdhocSample
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
FunctionAdhocSetMember
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
FunctionAdhocTime
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
MethodApplyHandlerOptions
(opt ...HandlerOption)
log/swapper.go:123
FunctionAutoColoring
AutoColoring turns on coloring for the default logger if the output Writer is connected to a TTY
log/root.go:41
MethodAutoColoring
AutoColoring swaps in a equivalent handler doing AutoColoring if possible
log/swapper.go:113
← previousnext →301–400 of 816, ranked by callers