httpserver

package
v0.0.0-...-c565109 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2025 License: Apache-2.0 Imports: 36 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(
	log *log.Logger,
	authLog *log.Logger,
	jwtManager *auth.JWTManager,
	oauthManager *oauth.Manager,
	appRunner *apprunner.AppRunner,
	websiteURL string,
	raffleSecretKey string,
	versionInterceptor *version.VersionInterceptor,
	signatureVerifier SignatureVerifier,
	daClient *ssoclient.SSOClient,
	ssoCookieStore *sessions.CookieStore,
	basicAuthChecker func(ip, username, password string) bool,
	pprofPassword string) (http.Handler, error)

Types

type HTTPServer

type HTTPServer struct {
	// contains filtered or unexported fields
}

func (*HTTPServer) AppbridgeJS

func (s *HTTPServer) AppbridgeJS(w http.ResponseWriter, r bunrouter.Request) error

func (*HTTPServer) ApplicationFile

func (s *HTTPServer) ApplicationFile(w http.ResponseWriter, r bunrouter.Request) error

func (*HTTPServer) ApplicationPage

func (s *HTTPServer) ApplicationPage(w http.ResponseWriter, r bunrouter.Request) error

func (*HTTPServer) OAuthCallback

func (s *HTTPServer) OAuthCallback(w http.ResponseWriter, r bunrouter.Request) error

func (*HTTPServer) RaffleInfo

func (s *HTTPServer) RaffleInfo(w http.ResponseWriter, r bunrouter.Request) error

func (*HTTPServer) RaffleTickets

func (s *HTTPServer) RaffleTickets(w http.ResponseWriter, r bunrouter.Request) error

func (*HTTPServer) VerifySignature

func (s *HTTPServer) VerifySignature(w http.ResponseWriter, r bunrouter.Request) error

type SignatureVerifier

type SignatureVerifier interface {
	VerifySignature(ctx context.Context, processID string, signature []byte, submissionMethod string) error
}

Jump to

Keyboard shortcuts

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