hostrequest

package
v0.0.0-...-b0efbaa Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HostRequest

type HostRequest struct {
	Addon     *gonnect.Addon
	ClientKey string
	// contains filtered or unexported fields
}

func FromRequest

func FromRequest(r *http.Request) (*HostRequest, error)

func (HostRequest) AsAddon

func (h HostRequest) AsAddon(req *http.Request) (*http.Request, error)

func (HostRequest) AsUser

func (h HostRequest) AsUser(req *http.Request, accountId string) (*http.Request, error)

Jump to

Keyboard shortcuts

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