Documentation ¶ Index ¶ Variables type CloseFunc type DaoConfig type DaoField type DaoT func (d *DaoT[C, D]) Close() error func (d *DaoT[C, D]) Config() any func (d *DaoT[C, D]) Set() Constants ¶ This section is empty. Variables ¶ View Source var DaoFieldType = reflect.TypeOf((*DaoField)(nil)).Elem() Functions ¶ This section is empty. Types ¶ type CloseFunc ¶ type CloseFunc func() error type DaoConfig ¶ type DaoConfig[D any] interface { Build() (*D, CloseFunc) } type DaoField ¶ type DaoField interface { Config() any Init() error io.Closer } type DaoT ¶ type DaoT[C DaoConfig[D], D any] struct { Conf C Client *D // contains filtered or unexported fields } func (*DaoT[C, D]) Close ¶ func (d *DaoT[C, D]) Close() error func (*DaoT[C, D]) Config ¶ func (d *DaoT[C, D]) Config() any func (*DaoT[C, D]) Set ¶ func (d *DaoT[C, D]) Set() Source Files ¶ View all Source files dao_field.go template.go Directories ¶ Show internal Expand all Path Synopsis apollo badger buntdb duckdb elastic v7 elasticsearch v7 v8 etcd flightsql gormdb common mysql postgres sqlite groupcache grpc influxdb kafka log loki mail mqtt nacos nsq pebble redis ristretto rocksdb server viper Click to show internal directories. Click to hide internal directories.