restfulext

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2022 License: MulanPSL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAuthItem

func GetAuthItem(route *restful.Route) *iam.AuthItem

func GetLogFilter

func GetLogFilter(route *restful.Route) *iam.LogFilter

func GetRoute

func GetRoute(i *invocation.Invocation) (*http.Request, *restful.Route, error)

Types

type Container

type Container struct {
	ServeMux *http.ServeMux
	// contains filtered or unexported fields
}

Container holds a collection of WebServices and a http.ServeMux to dispatch http requests. The requests are further dispatched to routes of WebServices using a RouteSelector

Jump to

Keyboard shortcuts

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