cache

package
v1.42.0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthRequestCache

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

func Start

func Start(conf Config) (*AuthRequestCache, error)

func (*AuthRequestCache) DeleteAuthRequest added in v0.20.0

func (c *AuthRequestCache) DeleteAuthRequest(_ context.Context, id string) error

func (*AuthRequestCache) GetAuthRequestByCode added in v0.20.0

func (c *AuthRequestCache) GetAuthRequestByCode(_ context.Context, code string) (*domain.AuthRequest, error)

func (*AuthRequestCache) GetAuthRequestByID

func (c *AuthRequestCache) GetAuthRequestByID(_ context.Context, id string) (*domain.AuthRequest, error)

func (*AuthRequestCache) Health

func (c *AuthRequestCache) Health(ctx context.Context) error

func (*AuthRequestCache) SaveAuthRequest

func (c *AuthRequestCache) SaveAuthRequest(_ context.Context, request *domain.AuthRequest) error

func (*AuthRequestCache) UpdateAuthRequest added in v0.20.0

func (c *AuthRequestCache) UpdateAuthRequest(_ context.Context, request *domain.AuthRequest) error

type Config

type Config struct {
	Connection types.SQL
}

Jump to

Keyboard shortcuts

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