endpoint

package
v0.0.0-...-e2e81c4 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type EndpointsProvider

type EndpointsProvider struct {
	OriginProvider OriginProvider
}

func (*EndpointsProvider) AcceptCollaboratorInvitationEndpointURL

func (p *EndpointsProvider) AcceptCollaboratorInvitationEndpointURL() *url.URL

func (*EndpointsProvider) BillingEndpointURL

func (p *EndpointsProvider) BillingEndpointURL(relayGlobalAppID string) *url.URL

func (*EndpointsProvider) BillingRedirectEndpointURL

func (p *EndpointsProvider) BillingRedirectEndpointURL(relayGlobalAppID string) *url.URL

type OriginProvider

type OriginProvider interface {
	Origin() *url.URL
}

type RequestOriginProvider

type RequestOriginProvider struct {
	HTTPHost  httputil.HTTPHost
	HTTPProto httputil.HTTPProto
}

func (*RequestOriginProvider) Origin

func (p *RequestOriginProvider) Origin() *url.URL

Jump to

Keyboard shortcuts

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