blobscache

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMockBlobsCacheClient

func NewMockBlobsCacheClient() ia.CacheClient

func NewRemoteBlobsCacheClient

func NewRemoteBlobsCacheClient(serverURL string) ia.CacheClient

Types

type GetBlobRequest

type GetBlobRequest struct {
	Key string `json:"key"`
}

type GetBlobResponse

type GetBlobResponse struct {
	Blob json.RawMessage `json:"blob"`
}

type PubBlobRequest

type PubBlobRequest struct {
	Key  string          `json:"key"`
	Blob json.RawMessage `json:"blob"`
}

type Server

type Server struct {
	// contains filtered or unexported fields
}

func NewServer

func NewServer(log *logging.Logger) *Server

func (*Server) RegisterHandlers

func (s *Server) RegisterHandlers(e *echo.Echo)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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