Documentation
¶
Index ¶
- func New(log *log.Logger, authLog *log.Logger, jwtManager *auth.JWTManager, ...) (http.Handler, error)
- type HTTPServer
- func (s *HTTPServer) AppbridgeJS(w http.ResponseWriter, r bunrouter.Request) error
- func (s *HTTPServer) ApplicationFile(w http.ResponseWriter, r bunrouter.Request) error
- func (s *HTTPServer) ApplicationPage(w http.ResponseWriter, r bunrouter.Request) error
- func (s *HTTPServer) OAuthCallback(w http.ResponseWriter, r bunrouter.Request) error
- func (s *HTTPServer) RaffleInfo(w http.ResponseWriter, r bunrouter.Request) error
- func (s *HTTPServer) RaffleTickets(w http.ResponseWriter, r bunrouter.Request) error
- func (s *HTTPServer) VerifySignature(w http.ResponseWriter, r bunrouter.Request) error
- type SignatureVerifier
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
Click to show internal directories.
Click to hide internal directories.