server

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2025 License: Apache-2.0, MIT Imports: 12 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, options ...server.Option) error

ListenAndServe creates a new storage node HTTP server, and starts it up.

func NewHandler

func NewHandler(id principal.Signer) http.Handler

NewHandler displays version info.

func NewServer

func NewServer(service storage.Service, options ...server.Option) (*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