hostrequest

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 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
	Tenant    *store.AtlassianHost
}

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