Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AliRocketMQSettingS ¶
type AliRocketMQSettingS struct { BusinessName string RegionId string AccessKey string SecretKey string InstanceId string HttpEndpoint string }
AliRocketMQSettingS defines for aliyun RocketMQ queue
type GPoolSettingS ¶ added in v1.2.4
type MongoDBSettingS ¶
type MysqlSettingS ¶
type MysqlSettingS struct { Host string UserName string Password string DBName string Charset string PoolNum int // 不建议继续使用,应使用 MaxIdle 和 MaxActive。 MaxIdle int MaxOpen int Loc string ConnMaxLifeSecond int MultiStatements bool ParseTime bool }
MysqlSettingS defines for connecting mysql.
type QueueAMQPSettingS ¶
type QueueAliAMQPSettingS ¶
type QueueAliAMQPSettingS struct { AccessKey string SecretKey string AliUid int EndPoint string VHost string DefaultQueue string ResultBackend string ResultsExpireIn int Exchange string ExchangeType string BindingKey string PrefetchCount int }
QueueAliAMQPSettingS defines for aliyun AMQP queue
type QueueRedisSettingS ¶
type QueueRedisSettingS struct { Broker string DefaultQueue string ResultBackend string ResultsExpireIn int }
QueueRedisSettingS defines for redis queue.
type QueueServerSettingS ¶
QueueServerSettingS defines what queue server needs.
type RedisSettingS ¶
type RedisSettingS struct { Host string Password string PoolNum int // 不建议继续使用,应使用 MaxIdle 和 MaxActive。 MaxIdle int MaxActive int IdleTimeout int DB int }
RedisSettingS defines for connecting redis.
type ServerSettingS ¶
ServerSettingS defines for grpc server.
Click to show internal directories.
Click to hide internal directories.