timeoutsupport

package
v0.14.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Module = &bootstrap.Module{
	Name:       "timeout",
	Precedence: security.MinSecurityPrecedence + 10,
	Options: []fx.Option{
		fx.Provide(security.BindTimeoutSupportProperties),
		fx.Provide(provideTimeoutSupport),
	},
}

Functions

func Use

func Use()

Types

type RedisTimeoutApplier

type RedisTimeoutApplier struct {
	// contains filtered or unexported fields
}

func NewRedisTimeoutApplier

func NewRedisTimeoutApplier(client redis.Client) *RedisTimeoutApplier

func (*RedisTimeoutApplier) ApplyTimeout

func (r *RedisTimeoutApplier) ApplyTimeout(ctx context.Context, sessionId string) (valid bool, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL