router

package
v0.5.11 Latest Latest
Warning

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

Go to latest
Published: May 7, 2021 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 Router

type Router struct {
	S *mux.Router
	// contains filtered or unexported fields
}

Router represents Meshery router

func NewRouter

func NewRouter(ctx context.Context, h models.HandlerInterface, port int) *Router

NewRouter returns a new ServeMux with app routes.

func (*Router) Run

func (r *Router) Run() error

Run starts the http server

Jump to

Keyboard shortcuts

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