MCPcopy Create free account

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

Functions816 in github.com/One-com/gone

MethodAutoColoring
AutoColoring asks the current Handler to test if there's a TTY attached to an output and if so, apply coloring to the formatter.
log/gonelog.go:160
MethodAutoColoring
Generate options to create a new Handler
log/format.go:139
FunctionBenchmarkFlxPrintln
Similar using flxformatter
log/benchmarks_test.go:28
FunctionBenchmarkGoStdPrintln
Performance of the standard library to compare
log/benchmarks_test.go:10
FunctionBenchmarkItoa
(b *testing.B)
log/compat_test.go:162
FunctionBenchmarkParallelFlxPrintln
similar but with flxformatter
log/benchmarks_test.go:61
FunctionBenchmarkParallelGoStdPrintln
Try standard lib in parallel
log/benchmarks_test.go:39
FunctionBenchmarkParallelMinDEBUGok
Using DEBUGok() which will not be logged. - showing how cheap debug log statements can be.
log/benchmarks_test.go:105
FunctionBenchmarkParallelMinERRORok
Using ERRORok() to log
log/benchmarks_test.go:89
FunctionBenchmarkParallelMinPrintln
standard API with minimal mode
log/benchmarks_test.go:75
FunctionBenchmarkParallelStdPrintln
similar but with gonelog
log/benchmarks_test.go:50
FunctionBenchmarkStdPrintln
Similar with gonelog using stdformatter
log/benchmarks_test.go:19
FunctionBuffer
Buffer sets the package size with which writes to the underlying io.Writer (often an UDPConn) is done.
metric/sink/statsd/statsd.go:35
FunctionBurstFailGrace
BurstFailGrace sets a duration for counting multiple errors as one. This prevents backend servers which in case of an isolated incidence will kill mul
http/vtransport/upstream/rr/rrupstream.go:195
FunctionCRIT
CRIT - Requests the default logger to create a log event
log/root.go:57
FunctionCRITok
CRITok - If the default Logger is logging at the requested level a function creating such a log event will be returned.
log/root.go:114
FunctionCaseSensitive
(sensitive bool)
hugorm/hugorm.go:184
MethodClone
Clone returns a clone of the current handler for tweaking and swapping in
log/format.go:117
MethodClone
Clone returns a clone of the current handler for tweaking and swapping in
log/json.go:18
MethodClose
A special Close() to not close request bodies, if they have not been read but only remember to do so later. - so requests can be retried
http/vtransport/body.go:25
MethodClose
Close closes the connection.
netutil/reaper/conn.go:158
MethodClose
Close closes the net.Conn and discards it as broken.
netutil/pool/conn.go:18
MethodClose
()
netutil/pool/channel.go:133
MethodClose
()
daemon/server.go:112
MethodClose
()
daemon/legacy.go:90
FunctionConfig
AllKeys returns all keys holding a value, regardless of where they are set. Nested keys are returned with a v.keyDelim separator func AllKeys() []stri
hugorm/hugorm.go:406
FunctionConfigFile
(format, name string)
hugorm/hugorm.go:190
FunctionConfigurator
Configurator gives Run() a ConfigFunc. This is the only mandatory RunOption (except you when you use the legacy InstantiateServers() option and supply
daemon/run.go:70
FunctionControlSocket
ControlSocket is an option to provude a systemd socket name and/or a path for the daemon control socket. Providing "","" disables the control socket.
daemon/run.go:85
FunctionDEBUG
DEBUG - Requests the default logger to create a log event
log/root.go:102
FunctionDEBUGok
DEBUGok - If the default Logger is logging at the requested level a function creating such a log event will be returned.
log/root.go:129
FunctionDebug
Debug prints all configuration registries for debugging purposes.
hugorm/hugorm.go:457
MethodDec
Dec decreased the counter by the supplied value
metric/counter.go:46
MethodDec
Dec will decrement the gauge value
metric/gauge.go:71
MethodDec
Dec decrements the counter by the given amount.
metric/gauge.go:104
FunctionDecLevel
DecLevel - Decrease the log level of the default Logger
log/root.go:139
FunctionDecodeHook
DecodeHook returns a DecoderConfigOption which overrides the default DecoderConfig.DecodeHook value, the default is: mapstructure.ComposeDecodeHookFu
hugorm/unmarshal.go:28
FunctionDefault
Default returns the default Logger - which is also the root of the name hierarchy.
log/root.go:16
FunctionDefault
Default returns the default metric Client
metric/client.go:44
MethodDelete
(key string)
http/vtransport/vtransport_test.go:69
MethodDescription
()
example.go:68
MethodDescription
Description implements a default textual description for a Server objects describing what it's up to.
http/server.go:125
MethodDescription
Description implement gone/daemon/srv.Descripter interface.
http/gonesrv/server.go:57
MethodDescription
Description implement gone/daemon/srv.Descripter interface.
daemon/ctrl/ctrl.go:127
MethodDialContext
DialContext implements a DialContext function like *net.Dialer
netutil/reaper/dialer.go:54
MethodDoingCodeInfo
DoingCodeInfo returns whether the Logger is currently recording file/line info for all log events
log/gonelog.go:332
MethodDoingPrintLevel
********** methods returning the current config ************/ DoingPrintLevel returns whether a log.Println() would actually generate a log event wit
log/gonelog.go:297
MethodDoingTime
DoingTime returns whether the Logger is currently timestamping all events on creation
log/gonelog.go:326
FunctionERROR
ERROR - Requests the default logger to create a log event
log/root.go:66
FunctionERRORok
ERRORok - If the default Logger is logging at the requested level a function creating such a log event will be returned.
log/root.go:117
FunctionEnvPrefix
(pfx string)
hugorm/hugorm.go:178
MethodError
Error returns the formatted configuration error.
hugorm/hugorm.go:47
MethodError
Error returns the formatted configuration error.
hugorm/configfile.go:20
MethodEvWrite
(e Event, b []byte)
log/writers.go:47
MethodEvWrite
(e Event, p []byte)
log/writers.go:119
FunctionEventCallback
EventCallback can be set to notify the application about changes to the upstream pool. This can be used for logging when a server is quarantined.
http/vtransport/upstream/rr/rrupstream.go:233
FunctionEventWriter
EventWriter creates a dummy EvWriter from an io.Writer
log/writers.go:143
FunctionExampleDefaultSubConfig
()
jconf/subconfig_test.go:370
FunctionExampleGetLogger
()
log/api_test.go:146
FunctionExampleHandler
()
log/api_test.go:159
FunctionExampleLogable
()
log/logable_test.go:18
FunctionExampleMinimal
----------------------------------------------------------------
log/api_test.go:31
FunctionExampleNew
Compatible with std lib
log/api_test.go:47
FunctionExampleNew
()
metric/sink/statsd/simple_test.go:11
FunctionExampleNewClient
()
metric/metric_test.go:12
FunctionExampleNewLogger
()
log/api_test.go:55
FunctionExampleNewMinFormatter
()
log/api_test.go:38
FunctionExampleOutput
()
log/api_test.go:15
FunctionExampleParseInto
()
jconf/config_test.go:28
FunctionExampleServer_Serve
()
http/graceful/graceful_test.go:116
FunctionExampleSetPrintLevel
()
log/api_test.go:116
FunctionExampleSubConfig
()
jconf/subconfig_test.go:53
FunctionExampleWith
()
log/api_test.go:130
MethodExhausted
()
http/vtransport/upstream/rr/rrupstream.go:32
FunctionExit
Exit tells Run() to exit. If graceful is true, Run() will wait for all servers to nicely cleanup.
daemon/run.go:430
FunctionExitGracefulWithTimeout
ExitGracefulWithTimeout is like Exit(true), but has a timeout to fall back to the effect of Exit(false)
daemon/run.go:440
FunctionFatal
Fatal - Compatible with the standard library
log/root.go:195
FunctionFatalf
Fatalf - Compatible with the standard library
log/root.go:206
MethodFatalf
Fatalf compatible with the standard lib logger
log/compat.go:32
FunctionFatalln
Fatalln - Compatible with the standard library
log/root.go:218
MethodFatalln
Fatalln compatible with the standard lib logger
log/compat.go:40
MethodFatalln
(v ...interface{})
log/interfaces.go:27
FunctionFileKey
FileKey sets the key for the file and line field. By default, it's "file".
log/stdgw.go:50
FunctionFlags
Flags - Compatible with the standard library
log/root.go:170
MethodFlags
*****************************************************************************/ Functions for manipulating the stored handler in std lib compatible way
log/swapper.go:61
MethodFlags
--- These functions have been delegated to the swapper, since some of them might need to replace the handler. If these functions have no meaning for t
log/compat.go:103
MethodFlags
()
log/format.go:134
FunctionFloat64FromUint64
Float64FromUint64 creates a Float64 Numeric64 from a uint64 value.
metric/num64/numeric64.go:38
FunctionFlush
Flush calls Flush() on the default client.
metric/client.go:213
MethodFlush
()
http/rrwriter/responselogger.go:108
MethodFlush
()
metric/sink.go:45
MethodFlush
()
metric/sink/statsd/statsd.go:151
FunctionFlushInterval
FlushInterval returns a configuration option for a metrics Client. Provide this to NewClient or to Register*
metric/moptions.go:18
MethodFlushReading
FlushReading - flush as much as possible.
metric/event.go:57
MethodFlushReading
FlushReading to implement Meter interface
metric/gauge.go:44
MethodFlushReading
FlushReading sends the gauge value to the sink
metric/gauge.go:82
MethodFlushReading
FlushReading sends the current gauge value to the Sink
metric/gauge.go:136
FunctionFromFloat64
FromFloat64 creates a Numeric64 from a Float64
metric/num64/numeric64.go:33
FunctionFromInt64
FromInt64 creates Numeric64 from an int64
metric/num64/numeric64.go:28
FunctionFromUint64
FromUint64 creates a Numeric64 from a uint64
metric/num64/numeric64.go:23
← previousnext →401–500 of 816, ranked by callers