MCPcopy Create free account

hub / github.com/daoshenzzg/go-web-demo / types & classes

Types & classes71 in github.com/daoshenzzg/go-web-demo

↓ 5 callersTypeAliasDuration
Duration be used toml unmarshal string time, like 1s, 500ms.
library/time/time.go:37
↓ 2 callersTypeAliasCode
A Code is an int error code spec.
library/ecode/ecode.go:44
↓ 2 callersTypeAliasTime
Time be used to MySql timestamp converting.
library/time/time.go:11
StructApp
app/demo-api/internal/conf/conf.go:32
TypeAliasArgs
Args is a helper for constructing command arguments from structured values.
library/cache/redis/scan.go:486
InterfaceArrayEncoder
ArrayEncoder is a strongly-typed, encoding-agnostic interface for adding array-like objects to the logging context. Of note, it supports mixed-type ar
library/log/internal/core/encoder.go:88
InterfaceArrayMarshaler
ArrayMarshaler allows user-defined types to efficiently add themselves to the logging context, and to selectively omit information which shouldn't be
library/log/internal/core/encoder.go:71
FuncTypeArrayMarshalerFunc
ArrayMarshalerFunc is a type adapter that turns a function into an ArrayMarshaler.
library/log/internal/core/encoder.go:77
StructBuffer
Buffer is a thin wrapper around a byte slice. It's intended to be pooled, so the only way to construct one is via a Pool.
library/log/internal/core/buffer.go:14
StructClient
Client is http client.
library/net/http/client.go:50
StructClient
Client is the framework's client side instance, it contains the ctx, opt and interceptors. Create an instance of Client, by using NewClient().
library/net/rpc/client.go:40
StructClientConfig
ClientConfig is http client conf.
library/net/http/client.go:40
StructClientConfig
library/net/rpc/client.go:30
InterfaceCodes
Codes ecode error interface which has a code & message.
library/ecode/ecode.go:33
StructConfig
Config client settings.
library/cache/redis/redis.go:15
StructConfig
Config mysql config.
library/database/sql/mysql.go:9
StructConfig
Config mysql config.
library/database/orm/orm.go:17
StructConfig
Config log config.
library/log/log.go:13
StructConfig
Config broker config.
library/net/netutil/breaker/breaker.go:11
StructConfig
app/demo-api/internal/conf/conf.go:19
StructDB
DB database.
library/database/sql/sql.go:35
StructDao
Dao struct
app/demo-api/internal/dao/dao.go:13
FuncTypeDurationEncoder
A DurationEncoder serializes a time.Duration to a primitive type.
library/log/internal/core/encoder.go:171
InterfaceEncoder
Encoder is a format-agnostic interface for all log entry marshalers. Since log encoders don't need to support the same wide range of use cases as gene
library/log/internal/core/encoder.go:155
StructEncoderConfig
An EncoderConfig allows users to configure the concrete encoders supplied by zapcore.
library/log/internal/core/encoder.go:132
TypeAliasError
Error represents an error returned in a command reply.
library/cache/redis/redis.go:48
StructField
Field is for encoder
library/log/internal/core/field.go:28
TypeAliasFieldType
FieldType represent D value type
library/log/internal/core/field.go:12
StructFileHandler
FileHandler .
library/log/file.go:27
StructFileWriter
FileWriter create file log writer
library/log/internal/filewriter/filewriter.go:20
StructGin
library/render/render.go:9
StructGroup
Group represents a class of CircuitBreaker and forms a namespace in which units of CircuitBreaker.
library/net/netutil/breaker/breaker.go:24
InterfaceHandler
Handler is used to handle log events, outputting them to stdio or sending them to remote services. See the "handlers" directory for implementations.
library/log/handler.go:50
StructHandlers
Handlers a bundle for hander with filter function.
library/log/handler.go:72
StructHttpClient
app/demo-api/internal/conf/conf.go:43
StructJSON
JSON common json struct.
library/render/render.go:21
TypeAliasLevel
Level of severity.
library/log/level.go:4
StructMySQL
app/demo-api/internal/conf/conf.go:39
InterfaceObjectEncoder
ObjectEncoder is a strongly-typed, encoding-agnostic interface for adding a map- or struct-like object to the logging context. Like maps, ObjectEncode
library/log/internal/core/encoder.go:15
InterfaceObjectMarshaler
ObjectMarshaler allows user-defined types to efficiently add themselves to the logging context, and to selectively omit information which shouldn't be
library/log/internal/core/encoder.go:55
FuncTypeObjectMarshalerFunc
ObjectMarshalerFunc is a type adapter that turns a function into an ObjectMarshaler.
library/log/internal/core/encoder.go:61
FuncTypeOption
Option filewriter option
library/log/internal/filewriter/option.go:33
StructPool
Pool.
library/cache/redis/redis.go:10
StructPool
A Pool is a type-safe wrapper around a sync.Pool.
library/log/internal/core/pool.go:6
StructPool
library/net/rpc/pool.go:15
InterfacePrimitiveArrayEncoder
PrimitiveArrayEncoder is the subset of the ArrayEncoder interface that deals only in Go's built-in types. It's included only so that Duration- and Tim
library/log/internal/core/encoder.go:108
InterfaceRender
Render render log output
library/log/pattern.go:13
StructRow
Row row.
library/database/sql/sql.go:57
StructRows
Rows rows.
library/database/sql/sql.go:88
StructService
Service struct
app/demo-api/internal/service/service.go:10
StructStdoutHandler
StdoutHandler stdout log middleware
library/log/stdout.go:13
StructStmt
Stmt prepared stmt.
library/database/sql/sql.go:106
StructStudent
app/demo-api/internal/model/student.go:7
StructStudent
app/demo-api/api/student.go:3
StructTeacher
app/demo-api/internal/model/teacher.go:7
FuncTypeTimeEncoder
A TimeEncoder serializes a time.Time to a primitive type.
library/log/internal/core/encoder.go:168
StructTx
Tx transaction.
library/database/sql/sql.go:49
TypeAliasVerbose
Verbose is a boolean type that implements Info, Infov (like Printf) etc.
library/log/level.go:7
Structconn
conn database connection
library/database/sql/sql.go:43
StructfieldSpec
library/cache/redis/scan.go:248
StructgreeterServer
server is used to implement helloworld.GreeterServer.
library/net/rpc/client_test.go:19
StructjsonEncoder
library/log/internal/core/json_encoder.go:37
TypeAliaslogFilter
library/log/log.go:82
Structoption
library/log/internal/filewriter/option.go:21
StructormLog
library/database/orm/orm.go:24
Structpattern
library/log/pattern.go:66
StructrotateItem
library/log/internal/filewriter/filewriter.go:38
Structs
app/demo-api/docs/docs.go:152
StructstructSpec
library/cache/redis/scan.go:254
StructswaggerInfo
app/demo-api/docs/docs.go:141
StructwrapFile
library/log/internal/filewriter/filewriter.go:97