server

package
v0.0.0-...-86b2471 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2022 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

func NewServer

func NewServer(opts ServerOptions) (*Server, error)

func (*Server) ServeHTTP

func (s *Server) ServeHTTP(w http.ResponseWriter, req *http.Request)

type ServerOptions

type ServerOptions struct {
	AccessControlList        []*config.AccessControlListElement
	AccessTokenAuthenticator *serviceauthaccesstoken.Authenticator
	GCEAuthenticator         *serviceauthgce.Authenticator
	ClientAuthEnabled        bool
	GoModuleService          servicegomodule.Service
	IdentityStore            serviceauth.IdentityStore
	Realm                    string
	SumDatabaseProxy         *config.SumDatabaseProxy
	Transport                http.RoundTripper
}

Directories

Path Synopsis
git

Jump to

Keyboard shortcuts

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