server

package
v0.0.0-...-caedbbb Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	Handler *chi.Mux

	io.Closer
	// contains filtered or unexported fields
}

func NewServer

func NewServer(blobStore blobstore.BlobStore,
	metadataStore metadatastore.MetadataStore,
	narServeCompression string,
	priority int,
) *Server

func (*Server) Close

func (s *Server) Close() error

func (*Server) RegisterNarHandlers

func (s *Server) RegisterNarHandlers()

func (*Server) RegisterNarinfoHandlers

func (s *Server) RegisterNarinfoHandlers()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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