Help us shape the future of Go! Take the 2026 Go Developer Survey

registry

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	StorageDirectory string
	Port             uint16
}

func (Config) ToRegistryConfiguration

func (c Config) ToRegistryConfiguration() (*configuration.Configuration, error)

type Registry

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

func NewRegistry

func NewRegistry(cfg Config) (*Registry, error)

func (Registry) Address

func (r Registry) Address() string

func (*Registry) ListenAndServe

func (r *Registry) ListenAndServe() error

Jump to

Keyboard shortcuts

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