MCPcopy Create free account

hub / github.com/daoshenzzg/go-web-demo / functions

Functions418 in github.com/daoshenzzg/go-web-demo

↓ 1 callersMethodgetBuf
()
library/log/internal/filewriter/filewriter.go:342
↓ 1 callersFunctiongetJSONEncoder
()
library/log/internal/core/json_encoder.go:20
↓ 1 callersMethodhandle
handle returns a new unary client interceptor for OpenTracing\Logging\LinkTimeout.
library/net/rpc/client.go:50
↓ 1 callersFunctionisInternalKey
(k string)
library/log/pattern.go:133
↓ 1 callersFunctionnewJSONEncoder
(cfg EncoderConfig, spaced bool, buf *Buffer)
library/log/internal/core/json_encoder.go:62
↓ 1 callersMethodprepare
(query string)
library/database/sql/sql.go:278
↓ 1 callersMethodprepared
(query string)
library/database/sql/sql.go:290
↓ 1 callersMethodput
(buf *Buffer)
library/log/internal/core/pool.go:30
↓ 1 callersFunctionputJSONEncoder
(enc *jsonEncoder)
library/log/internal/core/json_encoder.go:24
↓ 1 callersFunctionreadAll
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 callersMethodrecovery
recovery return a client interceptor that recovers from any panics.
library/net/rpc/recovery.go:13
↓ 1 callersFunctionroute
(e *gin.Engine)
app/demo-api/internal/server/http/http.go:52
↓ 1 callersMethodsafeAddByteString
safeAddByteString is no-alloc equivalent of safeAddString(string(s)) for s []byte.
library/log/internal/core/json_encoder.go:371
↓ 1 callersMethodsetBreakerConfig
setBreakerConfig set breaker configuration atomic if not set
library/net/netutil/breaker/breaker.go:102
↓ 1 callersMethodsize
()
library/log/internal/filewriter/filewriter.go:102
↓ 1 callersMethodwrite
(p []byte)
library/log/internal/filewriter/filewriter.go:106
MethodAddArray
(key string, arr ArrayMarshaler)
library/log/internal/core/json_encoder.go:70
MethodAddArray
Logging-specific marshalers.
library/log/internal/core/encoder.go:17
MethodAddBinary
(key string, val []byte)
library/log/internal/core/json_encoder.go:80
MethodAddBinary
Built-in types.
library/log/internal/core/encoder.go:21
MethodAddBool
(key string, val bool)
library/log/internal/core/json_encoder.go:89
MethodAddByteString
(key string, val []byte)
library/log/internal/core/json_encoder.go:84
MethodAddComplex64
(k string, v complex64)
library/log/internal/core/json_encoder.go:247
MethodAddDuration
(key string, val time.Duration)
library/log/internal/core/json_encoder.go:99
MethodAddFlat
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
MethodAddFloat32
(k string, v float32)
library/log/internal/core/json_encoder.go:248
MethodAddInt
(k string, v int)
library/log/internal/core/json_encoder.go:249
MethodAddInt16
(k string, v int16)
library/log/internal/core/json_encoder.go:251
MethodAddInt32
(k string, v int32)
library/log/internal/core/json_encoder.go:250
MethodAddInt8
(k string, v int8)
library/log/internal/core/json_encoder.go:252
MethodAddObject
(key string, obj ObjectMarshaler)
library/log/internal/core/json_encoder.go:75
MethodAddObject
(key string, marshaler ObjectMarshaler)
library/log/internal/core/encoder.go:18
MethodAddReflected
(key string, obj interface{})
library/log/internal/core/json_encoder.go:123
FunctionAddStudent
@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
MethodAddStudent
AddStudent
app/demo-api/internal/dao/student.go:44
MethodAddTime
(key string, val time.Time)
library/log/internal/core/json_encoder.go:146
MethodAddUint
(k string, v uint)
library/log/internal/core/json_encoder.go:253
MethodAddUint16
(k string, v uint16)
library/log/internal/core/json_encoder.go:255
MethodAddUint32
(k string, v uint32)
library/log/internal/core/json_encoder.go:254
MethodAddUint8
(k string, v uint8)
library/log/internal/core/json_encoder.go:256
MethodAddUintptr
(k string, v uintptr)
library/log/internal/core/json_encoder.go:257
MethodAppendArray
Logging-specific marshalers.
library/log/internal/core/encoder.go:97
MethodAppendBool
AppendBool appends a bool to the underlying buffer.
library/log/internal/core/buffer.go:41
MethodAppendByteString
([]byte)
library/log/internal/core/encoder.go:111
MethodAppendComplex128
for UTF-8 encoded bytes
library/log/internal/core/encoder.go:112
MethodAppendComplex64
(v complex64)
library/log/internal/core/json_encoder.go:258
MethodAppendComplex64
(complex64)
library/log/internal/core/encoder.go:113
MethodAppendDuration
Time-related types.
library/log/internal/core/encoder.go:93
MethodAppendFloat32
(v float32)
library/log/internal/core/json_encoder.go:260
MethodAppendFloat32
(float32)
library/log/internal/core/encoder.go:115
MethodAppendInt
(v int)
library/log/internal/core/json_encoder.go:261
MethodAppendInt
AppendInt appends an integer to the underlying buffer (assuming base 10).
library/log/internal/core/buffer.go:30
MethodAppendInt16
(v int16)
library/log/internal/core/json_encoder.go:263
MethodAppendInt16
(int16)
library/log/internal/core/encoder.go:119
MethodAppendInt32
(v int32)
library/log/internal/core/json_encoder.go:262
MethodAppendInt32
(int32)
library/log/internal/core/encoder.go:118
MethodAppendInt64
(int64)
library/log/internal/core/encoder.go:117
MethodAppendInt8
(v int8)
library/log/internal/core/json_encoder.go:264
MethodAppendInt8
(int8)
library/log/internal/core/encoder.go:120
MethodAppendObject
(ObjectMarshaler)
library/log/internal/core/encoder.go:98
MethodAppendReflected
(val interface{})
library/log/internal/core/json_encoder.go:213
MethodAppendReflected
AppendReflected uses reflection to serialize arbitrary objects, so it's slow and allocation-heavy.
library/log/internal/core/encoder.go:102
MethodAppendString
AppendString writes a string to the Buffer.
library/log/internal/core/buffer.go:25
MethodAppendTime
(time.Time)
library/log/internal/core/encoder.go:94
MethodAppendUint
(v uint)
library/log/internal/core/json_encoder.go:265
MethodAppendUint
AppendUint appends an unsigned integer to the underlying buffer (assuming base 10).
library/log/internal/core/buffer.go:36
MethodAppendUint16
(v uint16)
library/log/internal/core/json_encoder.go:267
MethodAppendUint16
(uint16)
library/log/internal/core/encoder.go:125
MethodAppendUint32
(v uint32)
library/log/internal/core/json_encoder.go:266
MethodAppendUint32
(uint32)
library/log/internal/core/encoder.go:124
MethodAppendUint64
(uint64)
library/log/internal/core/encoder.go:123
MethodAppendUint8
(v uint8)
library/log/internal/core/json_encoder.go:268
MethodAppendUint8
(uint8)
library/log/internal/core/encoder.go:126
MethodAppendUintptr
(v uintptr)
library/log/internal/core/json_encoder.go:269
MethodAppendUintptr
(uintptr)
library/log/internal/core/encoder.go:127
FunctionBenchmarkBuffers
(b *testing.B)
library/log/internal/core/buffer_test.go:44
FunctionBenchmarkDo
(b *testing.B)
library/net/http/client_test.go:174
FunctionBenchmarkFileWriter
(b *testing.B)
library/log/internal/filewriter/filewriter_test.go:207
FunctionBenchmarkGroupDo
(b *testing.B)
library/net/netutil/breaker/breaker_test.go:82
FunctionBenchmarkGrpc
(b *testing.B)
library/net/rpc/client_test.go:83
FunctionBenchmarkGrpcBreaker
(b *testing.B)
library/net/rpc/client_test.go:137
FunctionBool
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
FunctionByteSlices
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
FunctionBytes
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
FunctionChanSize
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
MethodClone
()
library/log/internal/core/json_encoder.go:271
MethodClone
Clone copies the encoder, ensuring that adding fields to the copy doesn't affect the original.
library/log/internal/core/encoder.go:160
MethodClose
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
MethodClose
Close closes the write and read database, releasing any open resources.
library/database/sql/sql.go:208
MethodClose
Close closes the statement.
library/database/sql/sql.go:333
MethodClose
Close log middleware
library/log/file.go:76
MethodClose
Close close resource.
library/log/handler.go:99
MethodClose
Close stdout loging
library/log/stdout.go:41
MethodClose
Close close file writer
library/log/internal/filewriter/filewriter.go:268
MethodClose
Close close the resource.
app/demo-api/internal/service/service.go:31
MethodClose
Close close the resource.
app/demo-api/internal/dao/dao.go:51
MethodEncode
(buf *Buffer, fields ...Field)
library/log/internal/core/json_encoder.go:285
FunctionEpochTimeEncoder
EpochTimeEncoder serializes a time.Time to a floating-point number of seconds since the Unix epoch.
library/log/internal/core/encoder.go:175
FunctionEqual
Equal equal a and b by code int.
library/ecode/ecode.go:90
MethodError
()
library/cache/redis/redis.go:50
← previousnext →201–300 of 418, ranked by callers