server

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: Apache-2.0, MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListenAndServe

func ListenAndServe(addr string, service storage.Service) error

ListenAndServe creates a new indexing service HTTP server, and starts it up.

func NewHandler

func NewHandler(id principal.Signer) func(http.ResponseWriter, *http.Request)

NewHandler displays version info.

func NewServer

func NewServer(service storage.Service) (*http.ServeMux, error)

NewServer creates a new storage node server.

Types

This section is empty.

Jump to

Keyboard shortcuts

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