Documentation

Overview

    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

    Constants

    This section is empty.

    Variables

    This section is empty.

    Functions

    This section is empty.

    Types

    type Config

    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

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

      func (*Config) BlobstoreConfig

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

      func (*Config) DatabaseConfig

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

      func (*Config) KeyManagerConfig

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

      func (*Config) SecretManagerConfig

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

      type Server

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

        Server is the debugger server.

        func NewServer

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

          NewServer makes a new debugger server.

          func (*Server) Routes

          func (s *Server) Routes(ctx context.Context) *mux.Router