Documentation
¶
Index ¶
- func ListenAndServe(addr string, storageSvc storage.Service, retrievalSvc retrieval.Service, ...) error
- func NewHandler(id principal.Signer) http.Handler
- func NewServer(storageSvc storage.Service, retrievalSvc retrieval.Service, options ...Option) (*echo.Echo, error)
- type BuildInfo
- type Option
- type ServerInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListenAndServe ¶
func ListenAndServe(addr string, storageSvc storage.Service, retrievalSvc retrieval.Service, options ...Option) error
ListenAndServe creates a new storage node HTTP server, and starts it up.
func NewHandler ¶
NewHandler displays version info.
Types ¶
type Option ¶ added in v0.0.14
type Option = func(c *serverConfig)
func WithUCANRetrievalServerOptions ¶ added in v0.0.14
func WithUCANRetrievalServerOptions(options ...ucanretrieval.Option) Option
func WithUCANServerOptions ¶ added in v0.0.14
type ServerInfo ¶ added in v0.0.12
Click to show internal directories.
Click to hide internal directories.