MCPcopy Create free account

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

Functions816 in github.com/One-com/gone

FunctionTestEmptyEnv_Allowed
(t *testing.T)
hugorm/hugorm_test.go:480
FunctionTestEmptyPrintCreatesLine
(t *testing.T)
log/compat_test.go:148
FunctionTestEmptyPrintCreatesLineKV
Test that Println() doesn't get k/v logging wrong
log/api_test.go:172
FunctionTestEnv
func TestRemotePrecedence(t *testing.T) { initJSON() remote := bytes.NewReader(remoteExample) assert.Equal(t, "0001", Get("id")) unmarshalReader(
hugorm/hugorm_test.go:431
FunctionTestEnvPrefix
(t *testing.T)
hugorm/hugorm_test.go:495
FunctionTestExport
(t *testing.T)
sd/sd_test.go:77
FunctionTestFileWith
(t *testing.T)
sd/sd_test.go:11
FunctionTestFlagAndPrefixSetting
(t *testing.T)
log/compat_test.go:91
FunctionTestFlushSink
(t *testing.T)
metric/sink_test.go:48
FunctionTestForget
(t *testing.T)
sd/sd_test.go:159
FunctionTestFull
(t *testing.T)
jconf/subconfig_test.go:161
FunctionTestIOActivityTimeout
(t *testing.T)
netutil/reaper/nettest_test.go:95
FunctionTestJSON
(t *testing.T)
log/json_test.go:21
FunctionTestJSON
(t *testing.T)
hugorm/hugorm_test.go:410
FunctionTestKeepaliveShutdown
(t *testing.T)
http/graceful/graceful_test.go:41
FunctionTestListenTCP
(t *testing.T)
sd/sd_test.go:220
FunctionTestLog
(t *testing.T)
http/handlers/accesslog/alog_test.go:13
FunctionTestMandatoryNilSubConfig
(t *testing.T)
jconf/subconfig_test.go:263
FunctionTestMultipleEnv
(t *testing.T)
hugorm/hugorm_test.go:456
FunctionTestOptionalNilSubConfig
(t *testing.T)
jconf/subconfig_test.go:311
FunctionTestOutput
(t *testing.T)
log/compat_test.go:81
FunctionTestOverrides
(t *testing.T)
hugorm/hugorm_test.go:344
FunctionTestReplaceNilSink
(t *testing.T)
metric/sink_test.go:11
FunctionTestServe
(t *testing.T)
http/graceful/graceful_test.go:25
FunctionTestSet
(t *testing.T)
metric/set_test.go:12
FunctionTestSocketActivation
(t *testing.T)
sd/activation_test.go:18
FunctionTestSubConfigNoPointer
(t *testing.T)
jconf/subconfig_test.go:95
FunctionTestSyntaxError
(t *testing.T)
jconf/subconfig_test.go:239
FunctionTestUTCFlag
(t *testing.T)
log/compat_test.go:124
FunctionTestUnmarshal
func TestAutoEnv(t *testing.T) { Reset() AutomaticEnv() testutil.Setenv(t, "FOO_BAR", "13") assert.Equal(t, "13", Get("foo_bar")) } func TestA
hugorm/hugorm_test.go:701
FunctionTestUnmarshaling
(t *testing.T)
hugorm/hugorm_test.go:351
FunctionTestYML
func TestAliases(t *testing.T) { RegisterAlias("years", "age") assert.Equal(t, 40, Get("years")) Set("years", 45) assert.Equal(t, 45, Get("age"))
hugorm/hugorm_test.go:404
FunctionTimeFormatOpt
TimeFormatOpt is a JSON Formatter Option to set timestamp formatting
log/json.go:41
FunctionTimestampKey
TimestampKey sets the key for the timestamp field. By default, it's "ts".
log/stdgw.go:45
MethodToggleAccessLog
(old, new io.Writer)
http/handlers/accesslog/loghandler.go:59
MethodType
()
hugorm/hugorm_test.go:262
MethodUnlockedSink
()
metric/sink/statsd/statsd.go:90
MethodUnmarshalJSON
UnmarshalJSON implements the stdlib encoding/json.Unmarshaler interface for Duration
jconf/duration.go:15
FunctionUnsetenv
Unsetenv unsets an environment variable for the duration of a test.
hugorm/internal/testutil/env.go:22
MethodUpdate
Update implements the VirtualUpstream interface.
http/vtransport/upstream/rr/rrupstream.go:268
MethodUsage
(cmd string, w io.Writer)
example.go:192
MethodUsage
(cmd string, w io.Writer)
daemon/ctrl/example/server.go:120
MethodUsage
(cmd string, w io.Writer)
daemon/ctrl/example/accesslog.go:40
MethodUsage
(cmd string, w io.Writer)
daemon/ctrl/example/main.go:147
MethodValue
Value returns the gauge value
metric/gauge.go:61
MethodValue
Value returns the gauge's current value.
metric/gauge.go:131
MethodValues
()
hugorm/configfile.go:29
MethodValues
()
hugorm/configfile.go:41
FunctionWARN
WARN - Requests the default logger to create a log event
log/root.go:75
FunctionWARNok
WARNok - If the default Logger is logging at the requested level a function creating such a log event will be returned.
log/root.go:120
FunctionWatchdogEnabled
WatchdogEnabled tell whether systemd asked us to enable watchdog notifications.
sd/notify.go:82
FunctionWith
With will create a sub-context K/V logger of the default logger with additional key/value context.
log/root.go:36
MethodWrite
Write implements http.ResponseWriter
http/rrwriter/responselogger.go:64
MethodWrite
(b []byte)
log/writers.go:50
MethodWrite
(b []byte)
log/writers.go:77
MethodWrite
Dummy method to allow a multiEvWriter to behave like an io.MultiWriter
log/writers.go:106
MethodWrite
Write implements io.Writer.
log/stdgw.go:19
MethodWrite
(p []byte)
log/stdgw.go:80
MethodWrite
(b []byte)
netutil/reaper/conn.go:148
FunctionWriteConfigTo
WriteConfig writes the current configuration to a file.
hugorm/hugorm.go:337
MethodWriteHeader
WriteHeader implements http.ResponseWriter
http/rrwriter/responselogger.go:75
FunctionWriterFunc
WriterFunc makes an io.Writer out of a function by calling it on Write()
log/writers.go:31
FunctionabsPathify
(inPath string)
hugorm/util.go:71
Methodalert
--- Internal level loggers (to return from *ok() functions) These are functionally equivalent to log() and output(), but bound to a specific level.
log/api.go:24
MethodappendNumber
(v interface{})
metric/sink/statsd/statsd.go:207
Methodapply
(h *Hugorm)
hugorm/hugorm.go:166
FunctionbindLazy
bindValues replaces all value elements (odd indexes) containing a Lazy with their generated value.
log/lazy.go:13
Methodclone
********************** lconfig operations *************************/
log/gonelog.go:338
FunctioncountOpenFds
func TestPid(t *testing.T) { fmt.Printf("PID %d\n", os.Getpid()) }
sd/sd_test.go:60
Methodcrit
(msg string, kv ...interface{})
log/api.go:28
Methoddebug
(msg string, kv ...interface{})
log/api.go:48
Methoderror
(msg string, kv ...interface{})
log/api.go:32
Methodinfo
(msg string, kv ...interface{})
log/api.go:44
Functioninit
()
example.go:135
Functioninit
()
http/handlers/accesslog/loghandler.go:18
Functioninit
()
sd/file.go:70
Functioninit
()
sd/notify.go:53
Functioninit
()
log/event.go:18
Functioninit
()
log/root.go:20
Functioninit
()
log/format.go:66
Functioninit
()
netutil/reaper/nettest_test.go:119
Functioninit
()
metric/client.go:38
Functioninit
()
hugorm/hugorm.go:59
Functioninit
()
daemon/run.go:45
Functioninit
()
daemon/ctrl/ctrl.go:45
Functioninit
()
daemon/ctrl/example/main.go:87
FunctioninsensitiviseMap
checked NB having both upper and lowercase versions of a key gives undefined results.
hugorm/util.go:49
Functionmain
---------------------------------------------------------------------------
example.go:158
Functionmain
()
sd/testbin/sdtest.go:28
Functionmain
()
metric/test/metrictest2.go:31
Functionmain
---------------------------------------------------------------------------
daemon/ctrl/example/main.go:115
MethodmergeFlatMap
mergeFlatMap merges the given maps, excluding values of the second map shadowed by values from the first map.
hugorm/internals.go:9
FunctionnewStringValue
(val string, p *string)
hugorm/hugorm_test.go:252
FunctionnonblockHack
The Go (<1.11) net package sets the socket blocking. No longer necessary per Go 1.11 release notes.
sd/nonblockhack_11.go:11
Methodnotice
(msg string, kv ...interface{})
log/api.go:40
FunctiononSignalDecLogLevel
()
example.go:124
FunctiononSignalDecLogLevel
()
daemon/ctrl/example/main.go:74
FunctiononSignalExitGraceful
()
example.go:102
FunctiononSignalExitGraceful
()
daemon/ctrl/example/main.go:52
FunctiononSignalIncLogLevel
()
example.go:119
← previousnext →701–800 of 816, ranked by callers