receiver

package
v0.0.0-...-28ca6ac Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const APIEndPoint = "/"

APIEndPoint for token handling

Variables

This section is empty.

Functions

func NewHTTPHandler

func NewHTTPHandler(log logr.Logger, client client.Client) http.Handler

NewHTTPHandler returns a new HTTP handler for the greeter.

Types

type HTTPController

type HTTPController struct {
	Logger logr.Logger
	Client client.Client
}

HTTPController collects the greeting use cases and exposes them as HTTP handlers.

func NewHTTPController

func NewHTTPController(log logr.Logger, client client.Client) *HTTPController

NewHTTPController returns a new HTTPController instance.

Jump to

Keyboard shortcuts

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