collector

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2021 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadGzip

func ReadGzip(body io.ReadCloser) ([]byte, error)

ReadGzip .

func ReadRequestBody

func ReadRequestBody(req *http.Request) ([]byte, error)

ReadRequestBody .

func ReadRequestBodyReader

func ReadRequestBodyReader(req *http.Request) (io.Reader, error)

ReadRequestBodyReader .

Types

type Authenticator

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

func NewAuthenticator added in v1.4.0

func NewAuthenticator(opts ...Option) *Authenticator

type Option added in v1.4.0

type Option func(authenticator *Authenticator)

func WithConfig added in v1.4.0

func WithConfig(cfg *config) Option

WithConfig with config

func WithLogger added in v1.4.0

func WithLogger(l logs.Logger) Option

WithLogger with Logger

func WithValidator added in v1.4.0

func WithValidator(v authentication.Validator) Option

WithValidator with validator

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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