samplerouter

package
v0.0.0-...-cbba30a Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SampleRouter

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

func (*SampleRouter) Init

func (sr *SampleRouter) Init()

Initialize the sample HTTP Router

func (*SampleRouter) Route

func (sr *SampleRouter) Route(writer http.ResponseWriter, request *http.Request)

Route traffic to specified endpoints

Jump to

Keyboard shortcuts

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