key

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DefaultKeyGenerator

type DefaultKeyGenerator struct {
	PartitionKey string
}

func NewKeyGenerator

func NewKeyGenerator(partitionKey string) *DefaultKeyGenerator

func (*DefaultKeyGenerator) Key

func (g *DefaultKeyGenerator) Key(req *http.Request) (string, error)

type KeyGenerator

type KeyGenerator interface {
	Key(req *http.Request) (key string, err error)
}

Jump to

Keyboard shortcuts

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