handler

package
v0.0.0-...-3bfe646 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 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 Config

type Config struct {
	// Users is identity and access management service
	Users users.Identity
	// Cluster implements cluster-level BLOB storage
	Cluster blob.Objects
	// Local implements local BLOB storage (used by peers to
	// exchange BLOBs)
	Local blob.Objects
}

Config is a config for HTTP handler

type Server

type Server struct {
	httprouter.Router
	// contains filtered or unexported fields
}

Server is HTTP server implementing BLOB storage over HTTP

func New

func New(cfg Config) (*Server, error)

New returns new instance of HTTP BLOB server

Jump to

Keyboard shortcuts

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