Documentation ¶
Index ¶
- func StringSliceToFloat64Slice(slice []string) []float64
- func StringSliceToInt64Slice(slice []string) []int64
- func StringSliceToUInt64Slice(slice []string) []uint64
- type Option
- func WithAuth(auth string) Option
- func WithConnection(host string, port int) Option
- func WithDB(db int) Option
- func WithDialTimeout(timeout time.Duration) Option
- func WithLimit(minIdle, maxIdle int) Option
- func WithReadTimeout(timeout time.Duration) Option
- func WithWriteTimeout(timeout time.Duration) Option
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StringSliceToInt64Slice ¶
Types ¶
type Option ¶
type Option func(*Service)
func WithConnection ¶
func WithDialTimeout ¶
func WithReadTimeout ¶
func WithWriteTimeout ¶
Click to show internal directories.
Click to hide internal directories.