Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/daoshenzzg/go-web-demo
/ functions
Functions
418 in github.com/daoshenzzg/go-web-demo
⨍
Functions
418
◇
Types & classes
71
↓ 1 callers
Method
getBuf
()
library/log/internal/filewriter/filewriter.go:342
↓ 1 callers
Function
getJSONEncoder
()
library/log/internal/core/json_encoder.go:20
↓ 1 callers
Method
handle
handle returns a new unary client interceptor for OpenTracing\Logging\LinkTimeout.
library/net/rpc/client.go:50
↓ 1 callers
Function
isInternalKey
(k string)
library/log/pattern.go:133
↓ 1 callers
Function
newJSONEncoder
(cfg EncoderConfig, spaced bool, buf *Buffer)
library/log/internal/core/json_encoder.go:62
↓ 1 callers
Method
prepare
(query string)
library/database/sql/sql.go:278
↓ 1 callers
Method
prepared
(query string)
library/database/sql/sql.go:290
↓ 1 callers
Method
put
(buf *Buffer)
library/log/internal/core/pool.go:30
↓ 1 callers
Function
putJSONEncoder
(enc *jsonEncoder)
library/log/internal/core/json_encoder.go:24
↓ 1 callers
Function
readAll
readAll reads from r until an error or EOF and returns the data it read from the internal buffer allocated with a specified capacity.
library/net/http/client.go:234
↓ 1 callers
Method
recovery
recovery return a client interceptor that recovers from any panics.
library/net/rpc/recovery.go:13
↓ 1 callers
Function
route
(e *gin.Engine)
app/demo-api/internal/server/http/http.go:52
↓ 1 callers
Method
safeAddByteString
safeAddByteString is no-alloc equivalent of safeAddString(string(s)) for s []byte.
library/log/internal/core/json_encoder.go:371
↓ 1 callers
Method
setBreakerConfig
setBreakerConfig set breaker configuration atomic if not set
library/net/netutil/breaker/breaker.go:102
↓ 1 callers
Method
size
()
library/log/internal/filewriter/filewriter.go:102
↓ 1 callers
Method
write
(p []byte)
library/log/internal/filewriter/filewriter.go:106
Method
AddArray
(key string, arr ArrayMarshaler)
library/log/internal/core/json_encoder.go:70
Method
AddArray
Logging-specific marshalers.
library/log/internal/core/encoder.go:17
Method
AddBinary
(key string, val []byte)
library/log/internal/core/json_encoder.go:80
Method
AddBinary
Built-in types.
library/log/internal/core/encoder.go:21
Method
AddBool
(key string, val bool)
library/log/internal/core/json_encoder.go:89
Method
AddByteString
(key string, val []byte)
library/log/internal/core/json_encoder.go:84
Method
AddComplex64
(k string, v complex64)
library/log/internal/core/json_encoder.go:247
Method
AddDuration
(key string, val time.Duration)
library/log/internal/core/json_encoder.go:99
Method
AddFlat
AddFlat returns the result of appending the flattened value of v to args. Maps are flattened by appending the alternating keys and map values to args
library/cache/redis/scan.go:505
Method
AddFloat32
(k string, v float32)
library/log/internal/core/json_encoder.go:248
Method
AddInt
(k string, v int)
library/log/internal/core/json_encoder.go:249
Method
AddInt16
(k string, v int16)
library/log/internal/core/json_encoder.go:251
Method
AddInt32
(k string, v int32)
library/log/internal/core/json_encoder.go:250
Method
AddInt8
(k string, v int8)
library/log/internal/core/json_encoder.go:252
Method
AddObject
(key string, obj ObjectMarshaler)
library/log/internal/core/json_encoder.go:75
Method
AddObject
(key string, marshaler ObjectMarshaler)
library/log/internal/core/encoder.go:18
Method
AddReflected
(key string, obj interface{})
library/log/internal/core/json_encoder.go:123
Function
AddStudent
@Summary 添加学生 @Produce json @Param studName query string true "学生姓名" @Param studAge query int true "年龄" @Param studSex query string true "性别" @Success
app/demo-api/internal/server/http/student.go:38
Method
AddStudent
AddStudent
app/demo-api/internal/dao/student.go:44
Method
AddTime
(key string, val time.Time)
library/log/internal/core/json_encoder.go:146
Method
AddUint
(k string, v uint)
library/log/internal/core/json_encoder.go:253
Method
AddUint16
(k string, v uint16)
library/log/internal/core/json_encoder.go:255
Method
AddUint32
(k string, v uint32)
library/log/internal/core/json_encoder.go:254
Method
AddUint8
(k string, v uint8)
library/log/internal/core/json_encoder.go:256
Method
AddUintptr
(k string, v uintptr)
library/log/internal/core/json_encoder.go:257
Method
AppendArray
Logging-specific marshalers.
library/log/internal/core/encoder.go:97
Method
AppendBool
AppendBool appends a bool to the underlying buffer.
library/log/internal/core/buffer.go:41
Method
AppendByteString
([]byte)
library/log/internal/core/encoder.go:111
Method
AppendComplex128
for UTF-8 encoded bytes
library/log/internal/core/encoder.go:112
Method
AppendComplex64
(v complex64)
library/log/internal/core/json_encoder.go:258
Method
AppendComplex64
(complex64)
library/log/internal/core/encoder.go:113
Method
AppendDuration
Time-related types.
library/log/internal/core/encoder.go:93
Method
AppendFloat32
(v float32)
library/log/internal/core/json_encoder.go:260
Method
AppendFloat32
(float32)
library/log/internal/core/encoder.go:115
Method
AppendInt
(v int)
library/log/internal/core/json_encoder.go:261
Method
AppendInt
AppendInt appends an integer to the underlying buffer (assuming base 10).
library/log/internal/core/buffer.go:30
Method
AppendInt16
(v int16)
library/log/internal/core/json_encoder.go:263
Method
AppendInt16
(int16)
library/log/internal/core/encoder.go:119
Method
AppendInt32
(v int32)
library/log/internal/core/json_encoder.go:262
Method
AppendInt32
(int32)
library/log/internal/core/encoder.go:118
Method
AppendInt64
(int64)
library/log/internal/core/encoder.go:117
Method
AppendInt8
(v int8)
library/log/internal/core/json_encoder.go:264
Method
AppendInt8
(int8)
library/log/internal/core/encoder.go:120
Method
AppendObject
(ObjectMarshaler)
library/log/internal/core/encoder.go:98
Method
AppendReflected
(val interface{})
library/log/internal/core/json_encoder.go:213
Method
AppendReflected
AppendReflected uses reflection to serialize arbitrary objects, so it's slow and allocation-heavy.
library/log/internal/core/encoder.go:102
Method
AppendString
AppendString writes a string to the Buffer.
library/log/internal/core/buffer.go:25
Method
AppendTime
(time.Time)
library/log/internal/core/encoder.go:94
Method
AppendUint
(v uint)
library/log/internal/core/json_encoder.go:265
Method
AppendUint
AppendUint appends an unsigned integer to the underlying buffer (assuming base 10).
library/log/internal/core/buffer.go:36
Method
AppendUint16
(v uint16)
library/log/internal/core/json_encoder.go:267
Method
AppendUint16
(uint16)
library/log/internal/core/encoder.go:125
Method
AppendUint32
(v uint32)
library/log/internal/core/json_encoder.go:266
Method
AppendUint32
(uint32)
library/log/internal/core/encoder.go:124
Method
AppendUint64
(uint64)
library/log/internal/core/encoder.go:123
Method
AppendUint8
(v uint8)
library/log/internal/core/json_encoder.go:268
Method
AppendUint8
(uint8)
library/log/internal/core/encoder.go:126
Method
AppendUintptr
(v uintptr)
library/log/internal/core/json_encoder.go:269
Method
AppendUintptr
(uintptr)
library/log/internal/core/encoder.go:127
Function
BenchmarkBuffers
(b *testing.B)
library/log/internal/core/buffer_test.go:44
Function
BenchmarkDo
(b *testing.B)
library/net/http/client_test.go:174
Function
BenchmarkFileWriter
(b *testing.B)
library/log/internal/filewriter/filewriter_test.go:207
Function
BenchmarkGroupDo
(b *testing.B)
library/net/netutil/breaker/breaker_test.go:82
Function
BenchmarkGrpc
(b *testing.B)
library/net/rpc/client_test.go:83
Function
BenchmarkGrpcBreaker
(b *testing.B)
library/net/rpc/client_test.go:137
Function
Bool
Bool is a helper that converts a command reply to a boolean. If err is not equal to nil, then Bool returns false, err. Otherwise Bool converts the rep
library/cache/redis/reply.go:202
Function
ByteSlices
ByteSlices is a helper that converts an array command reply to a [][]byte. If err is not equal to nil, then ByteSlices returns nil, err. Nil array ite
library/cache/redis/reply.go:282
Function
Bytes
Bytes is a helper that converts a command reply to a slice of bytes. If err is not equal to nil, then Bytes returns nil, err. Otherwise Bytes converts
library/cache/redis/reply.go:176
Function
ChanSize
ChanSize set internal chan size default 8192 use about 64k memory on x64 platfrom static, because filewriter has internal object pool, change chan siz
library/log/internal/filewriter/option.go:65
Method
Clone
()
library/log/internal/core/json_encoder.go:271
Method
Clone
Clone copies the encoder, ensuring that adding fields to the copy doesn't affect the original.
library/log/internal/core/encoder.go:160
Method
Close
Close closes the Rows, preventing further enumeration. If Next is called and returns false and there are no further result sets, the Rows are closed a
library/database/sql/sql.go:97
Method
Close
Close closes the write and read database, releasing any open resources.
library/database/sql/sql.go:208
Method
Close
Close closes the statement.
library/database/sql/sql.go:333
Method
Close
Close log middleware
library/log/file.go:76
Method
Close
Close close resource.
library/log/handler.go:99
Method
Close
Close stdout loging
library/log/stdout.go:41
Method
Close
Close close file writer
library/log/internal/filewriter/filewriter.go:268
Method
Close
Close close the resource.
app/demo-api/internal/service/service.go:31
Method
Close
Close close the resource.
app/demo-api/internal/dao/dao.go:51
Method
Encode
(buf *Buffer, fields ...Field)
library/log/internal/core/json_encoder.go:285
Function
EpochTimeEncoder
EpochTimeEncoder serializes a time.Time to a floating-point number of seconds since the Unix epoch.
library/log/internal/core/encoder.go:175
Function
Equal
Equal equal a and b by code int.
library/ecode/ecode.go:90
Method
Error
()
library/cache/redis/redis.go:50
← previous
next →
201–300 of 418, ranked by callers