registry

package
v4.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Registry

type Registry struct {
	ListenAddress  string   `hcl:"listen,attr"`
	DatabaseType   string   `hcl:"db_type,attr"`
	DatabaseURL    string   `hcl:"db_url,attr"`
	AuthorizedKeys []string `hcl:"authorized_keys,attr"`
	// contains filtered or unexported fields
}

func NewRegistry

func NewRegistry(path string) (*Registry, error)

func (*Registry) Close added in v4.1.0

func (r *Registry) Close() error

func (*Registry) Init added in v4.1.0

func (r *Registry) Init() error

func (*Registry) Serve

func (r *Registry) Serve() error

func (*Registry) ServeHTTP added in v4.1.0

func (r *Registry) ServeHTTP(w http.ResponseWriter, req *http.Request)

Jump to

Keyboard shortcuts

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