registry

package module
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

README

Registry

A Golang, Cargo, and NPM Registry server for use within Loophole Labs projects

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrDisabled = errors.New("registry is disabled")
)

Functions

This section is empty.

Types

type Options

type Options struct {
	LogName       string
	Disabled      bool
	ListenAddress string
	GolangRoot    string
	CargoRoot     string
	NPMRoot       string
}

type Registry

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

func New

func New(options *Options, logger *zerolog.Logger) (*Registry, error)

func (*Registry) Start

func (d *Registry) Start() error

func (*Registry) Stop

func (d *Registry) Stop() error

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

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