Documentation ¶
Index ¶
- type App
- func WithLogger(logger *types.Logger) App
- func WithLoggerDir(dir string) App
- func WithLoggerLogTimeout(t time.Duration) App
- func WithLoggerSendTimeout(t time.Duration) App
- func WithMode(mode string) App
- func WithName(name string) App
- func WithServer(s *types.Server) App
- func WithServerAddr(addr string) App
- func WithServerReadTimeout(t time.Duration) App
- func WithServerShutDownTimeout(t time.Duration) App
- func WithServerWriteTimeout(t time.Duration) App
- func WithSession(s *types.Session) App
- func WithSessionClientFunc(fn func() *redis.Client) App
- func WithSessionExpiration(expiration int64) App
- func WithSessionKey(key string) App
- func WithSessionKeyPrefix(keyPrefix string) App
- func WithSign(s *types.Sign) App
- func WithSignDev(dev string) App
- func WithSignExpiration(expiration int64) App
- func WithSignKey(key string) App
- func WithSignSecretKey(secretKey string) App
- func WithSignTimeKey(timeKey string) App
- func WithVersion(ver *types.Version) App
- func WithVersionKey(key string) App
- func WithVersionLatest(latest string) App
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
func WithLogger ¶
func WithLoggerDir ¶
func WithLoggerLogTimeout ¶
func WithLoggerSendTimeout ¶
func WithServer ¶
func WithServerAddr ¶
func WithServerReadTimeout ¶
func WithServerWriteTimeout ¶
func WithSession ¶
func WithSessionClientFunc ¶
func WithSessionExpiration ¶
func WithSessionKey ¶
func WithSessionKeyPrefix ¶
func WithSignDev ¶
func WithSignExpiration ¶
func WithSignKey ¶
func WithSignSecretKey ¶
func WithSignTimeKey ¶
func WithVersion ¶
func WithVersionKey ¶
func WithVersionLatest ¶
Click to show internal directories.
Click to hide internal directories.