handler

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 25, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConfig

func NewConfig(gateway *gateway.Config, endpoint *endpoint.Config, meta *meta2.Config) http.Handler

NewConfig creates config handler

func NewStatus

func NewStatus(version string, meta *meta2.Config) http.Handler

NewStatus creates a status handler

func NewView

func NewView(URI string, meta *meta2.Config, lookup func(location string) (*view.View, error)) http.Handler

NewView creates view handler

Types

type Config

type Config struct {
	Gateway  *gateway.Config
	Endpoint *endpoint.Config
	Meta     *meta2.Config
}

Jump to

Keyboard shortcuts

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