input

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 9, 2020 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpInput

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

func NewHttpInput

func NewHttpInput(options HttpInputOptions, processors *common.Processors) *HttpInput

func (*HttpInput) SetupCors added in v0.0.5

func (h *HttpInput) SetupCors(w http.ResponseWriter, r *http.Request)

func (*HttpInput) Start

func (h *HttpInput) Start(wg *sync.WaitGroup)

type HttpInputOptions

type HttpInputOptions struct {
	URL              string
	Listen           string
	Cors             bool
	Tls              bool
	Cert             string
	Key              string
	Chain            string
	ExternalHost     string
	OidcEnabled      bool
	OidcClientId     string
	OidcClientSecret string
	OidcConfigURL    string
	OidcLoginURL     string
	OidcLogoutURL    string
	OidcCallbackURL  string
	OidcDefaultURL   string
	OidcScopes       string
	RateSuffixURL    string
}

type HttpOidc

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

func NewHttpOidc

func NewHttpOidc(options *HttpInputOptions) *HttpOidc

type RequestsRate added in v0.0.6

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

type ResponseLogger added in v0.0.6

type ResponseLogger struct {
	http.ResponseWriter
	// contains filtered or unexported fields
}

func (*ResponseLogger) Write added in v0.0.6

func (r *ResponseLogger) Write(b []byte) (int, error)

Jump to

Keyboard shortcuts

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