Documentation ¶
Index ¶
- Constants
- func GetRequestId(ctx *gin.Context) string
- type Env
- func (e *Env) InfluxDBClient() *influxdb2.Client
- func (e *Env) Logger() *Logger
- func (e *Env) OSSClient() *OSSClient
- func (e *Env) SetInfluxDBClient(client *influxdb2.Client)
- func (e *Env) SetLogger(logger *Logger)
- func (e *Env) SetOSSClient(client *OSSClient)
- func (e *Env) SetTablestoreClient(client *TablestoreClient)
- func (e *Env) TablestoreClient() *TablestoreClient
- type InfluxDBClient
- type Logger
- type OSSClient
- type TablestoreClient
Constants ¶
View Source
const (
RequestIdKey = "X-Request-Id"
)
Variables ¶
This section is empty.
Functions ¶
func GetRequestId ¶ added in v0.1.5
Types ¶
type Env ¶
type Env struct {
// contains filtered or unexported fields
}
func (*Env) InfluxDBClient ¶
func (*Env) SetInfluxDBClient ¶
func (*Env) SetOSSClient ¶
func (*Env) SetTablestoreClient ¶
func (e *Env) SetTablestoreClient(client *TablestoreClient)
func (*Env) TablestoreClient ¶
func (e *Env) TablestoreClient() *TablestoreClient
type InfluxDBClient ¶
type InfluxDBClient struct {
// contains filtered or unexported fields
}
type TablestoreClient ¶
type TablestoreClient struct { TableName string Client *tablestore.TableStoreClient }
Click to show internal directories.
Click to hide internal directories.