Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMockBlobsCacheClient ¶
func NewMockBlobsCacheClient() ia.CacheClient
func NewRemoteBlobsCacheClient ¶ added in v0.35.0
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 ¶ added in v0.35.0
func NewServer(log logrus.FieldLogger, cfg ServerConfig) *Server
func (*Server) RegisterHandlers ¶ added in v0.35.0
type ServerConfig ¶
type ServerConfig struct { }
Click to show internal directories.
Click to hide internal directories.