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
Method
AutoColoring
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
Method
AutoColoring
Generate options to create a new Handler
log/format.go:139
Function
BenchmarkFlxPrintln
Similar using flxformatter
log/benchmarks_test.go:28
Function
BenchmarkGoStdPrintln
Performance of the standard library to compare
log/benchmarks_test.go:10
Function
BenchmarkItoa
(b *testing.B)
log/compat_test.go:162
Function
BenchmarkParallelFlxPrintln
similar but with flxformatter
log/benchmarks_test.go:61
Function
BenchmarkParallelGoStdPrintln
Try standard lib in parallel
log/benchmarks_test.go:39
Function
BenchmarkParallelMinDEBUGok
Using DEBUGok() which will not be logged. - showing how cheap debug log statements can be.
log/benchmarks_test.go:105
Function
BenchmarkParallelMinERRORok
Using ERRORok() to log
log/benchmarks_test.go:89
Function
BenchmarkParallelMinPrintln
standard API with minimal mode
log/benchmarks_test.go:75
Function
BenchmarkParallelStdPrintln
similar but with gonelog
log/benchmarks_test.go:50
Function
BenchmarkStdPrintln
Similar with gonelog using stdformatter
log/benchmarks_test.go:19
Function
Buffer
Buffer sets the package size with which writes to the underlying io.Writer (often an UDPConn) is done.
metric/sink/statsd/statsd.go:35
Function
BurstFailGrace
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
Function
CRIT
CRIT - Requests the default logger to create a log event
log/root.go:57
Function
CRITok
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
Function
CaseSensitive
(sensitive bool)
hugorm/hugorm.go:184
Method
Clone
Clone returns a clone of the current handler for tweaking and swapping in
log/format.go:117
Method
Clone
Clone returns a clone of the current handler for tweaking and swapping in
log/json.go:18
Method
Close
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
Method
Close
Close closes the connection.
netutil/reaper/conn.go:158
Method
Close
Close closes the net.Conn and discards it as broken.
netutil/pool/conn.go:18
Method
Close
()
netutil/pool/channel.go:133
Method
Close
()
daemon/server.go:112
Method
Close
()
daemon/legacy.go:90
Function
Config
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
Function
ConfigFile
(format, name string)
hugorm/hugorm.go:190
Function
Configurator
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
Function
ControlSocket
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
Function
DEBUG
DEBUG - Requests the default logger to create a log event
log/root.go:102
Function
DEBUGok
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
Function
Debug
Debug prints all configuration registries for debugging purposes.
hugorm/hugorm.go:457
Method
Dec
Dec decreased the counter by the supplied value
metric/counter.go:46
Method
Dec
Dec will decrement the gauge value
metric/gauge.go:71
Method
Dec
Dec decrements the counter by the given amount.
metric/gauge.go:104
Function
DecLevel
DecLevel - Decrease the log level of the default Logger
log/root.go:139
Function
DecodeHook
DecodeHook returns a DecoderConfigOption which overrides the default DecoderConfig.DecodeHook value, the default is: mapstructure.ComposeDecodeHookFu
hugorm/unmarshal.go:28
Function
Default
Default returns the default Logger - which is also the root of the name hierarchy.
log/root.go:16
Function
Default
Default returns the default metric Client
metric/client.go:44
Method
Delete
(key string)
http/vtransport/vtransport_test.go:69
Method
Description
()
example.go:68
Method
Description
Description implements a default textual description for a Server objects describing what it's up to.
http/server.go:125
Method
Description
Description implement gone/daemon/srv.Descripter interface.
http/gonesrv/server.go:57
Method
Description
Description implement gone/daemon/srv.Descripter interface.
daemon/ctrl/ctrl.go:127
Method
DialContext
DialContext implements a DialContext function like *net.Dialer
netutil/reaper/dialer.go:54
Method
DoingCodeInfo
DoingCodeInfo returns whether the Logger is currently recording file/line info for all log events
log/gonelog.go:332
Method
DoingPrintLevel
********** methods returning the current config ************/ DoingPrintLevel returns whether a log.Println() would actually generate a log event wit
log/gonelog.go:297
Method
DoingTime
DoingTime returns whether the Logger is currently timestamping all events on creation
log/gonelog.go:326
Function
ERROR
ERROR - Requests the default logger to create a log event
log/root.go:66
Function
ERRORok
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
Function
EnvPrefix
(pfx string)
hugorm/hugorm.go:178
Method
Error
Error returns the formatted configuration error.
hugorm/hugorm.go:47
Method
Error
Error returns the formatted configuration error.
hugorm/configfile.go:20
Method
EvWrite
(e Event, b []byte)
log/writers.go:47
Method
EvWrite
(e Event, p []byte)
log/writers.go:119
Function
EventCallback
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
Function
EventWriter
EventWriter creates a dummy EvWriter from an io.Writer
log/writers.go:143
Function
ExampleDefaultSubConfig
()
jconf/subconfig_test.go:370
Function
ExampleGetLogger
()
log/api_test.go:146
Function
ExampleHandler
()
log/api_test.go:159
Function
ExampleLogable
()
log/logable_test.go:18
Function
ExampleMinimal
----------------------------------------------------------------
log/api_test.go:31
Function
ExampleNew
Compatible with std lib
log/api_test.go:47
Function
ExampleNew
()
metric/sink/statsd/simple_test.go:11
Function
ExampleNewClient
()
metric/metric_test.go:12
Function
ExampleNewLogger
()
log/api_test.go:55
Function
ExampleNewMinFormatter
()
log/api_test.go:38
Function
ExampleOutput
()
log/api_test.go:15
Function
ExampleParseInto
()
jconf/config_test.go:28
Function
ExampleServer_Serve
()
http/graceful/graceful_test.go:116
Function
ExampleSetPrintLevel
()
log/api_test.go:116
Function
ExampleSubConfig
()
jconf/subconfig_test.go:53
Function
ExampleWith
()
log/api_test.go:130
Method
Exhausted
()
http/vtransport/upstream/rr/rrupstream.go:32
Function
Exit
Exit tells Run() to exit. If graceful is true, Run() will wait for all servers to nicely cleanup.
daemon/run.go:430
Function
ExitGracefulWithTimeout
ExitGracefulWithTimeout is like Exit(true), but has a timeout to fall back to the effect of Exit(false)
daemon/run.go:440
Function
Fatal
Fatal - Compatible with the standard library
log/root.go:195
Function
Fatalf
Fatalf - Compatible with the standard library
log/root.go:206
Method
Fatalf
Fatalf compatible with the standard lib logger
log/compat.go:32
Function
Fatalln
Fatalln - Compatible with the standard library
log/root.go:218
Method
Fatalln
Fatalln compatible with the standard lib logger
log/compat.go:40
Method
Fatalln
(v ...interface{})
log/interfaces.go:27
Function
FileKey
FileKey sets the key for the file and line field. By default, it's "file".
log/stdgw.go:50
Function
Flags
Flags - Compatible with the standard library
log/root.go:170
Method
Flags
*****************************************************************************/ Functions for manipulating the stored handler in std lib compatible way
log/swapper.go:61
Method
Flags
--- 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
Method
Flags
()
log/format.go:134
Function
Float64FromUint64
Float64FromUint64 creates a Float64 Numeric64 from a uint64 value.
metric/num64/numeric64.go:38
Function
Flush
Flush calls Flush() on the default client.
metric/client.go:213
Method
Flush
()
http/rrwriter/responselogger.go:108
Method
Flush
()
metric/sink.go:45
Method
Flush
()
metric/sink/statsd/statsd.go:151
Function
FlushInterval
FlushInterval returns a configuration option for a metrics Client. Provide this to NewClient or to Register*
metric/moptions.go:18
Method
FlushReading
FlushReading - flush as much as possible.
metric/event.go:57
Method
FlushReading
FlushReading to implement Meter interface
metric/gauge.go:44
Method
FlushReading
FlushReading sends the gauge value to the sink
metric/gauge.go:82
Method
FlushReading
FlushReading sends the current gauge value to the Sink
metric/gauge.go:136
Function
FromFloat64
FromFloat64 creates a Numeric64 from a Float64
metric/num64/numeric64.go:33
Function
FromInt64
FromInt64 creates Numeric64 from an int64
metric/num64/numeric64.go:28
Function
FromUint64
FromUint64 creates a Numeric64 from a uint64
metric/num64/numeric64.go:23
← previous
next →
401–500 of 816, ranked by callers