exposure-notifications-server: github.com/google/exposure-notifications-server/internal/debugger Index | Files

package debugger

import "github.com/google/exposure-notifications-server/internal/debugger"

Package debugger is a server-side debugger component that displays debug information about the system. It is not designed to be deployed in production scenarios.

Index

Package Files

config.go debugger.go handler_debug.go server.go

type Config Uses

type Config struct {
    AuthorizedApp authorizedapp.Config
    Database      database.Config
    KeyManager    keys.Config
    SecretManager secrets.Config
    Storage       storage.Config

    Port string `env:"PORT, default=8080"`
}

Config represents the configuration and associated environment variables.

func (*Config) AuthorizedAppConfig Uses

func (c *Config) AuthorizedAppConfig() *authorizedapp.Config

func (*Config) BlobstoreConfig Uses

func (c *Config) BlobstoreConfig() *storage.Config

func (*Config) DatabaseConfig Uses

func (c *Config) DatabaseConfig() *database.Config

func (*Config) KeyManagerConfig Uses

func (c *Config) KeyManagerConfig() *keys.Config

func (*Config) SecretManagerConfig Uses

func (c *Config) SecretManagerConfig() *secrets.Config

type Server Uses

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

Server is the debugger server.

func NewServer Uses

func NewServer(config *Config, env *serverenv.ServerEnv) (*Server, error)

NewServer makes a new debugger server.

func (*Server) Routes Uses

func (s *Server) Routes(ctx context.Context) *http.ServeMux

Package debugger imports 23 packages (graph). Updated 2020-09-27. Refresh now. Tools for package owners.