github.com/castai/kvisor@v1.7.1-0.20240516114728-b3572a2607b5/pkg/blobscache/types.go (about)

     1  package blobscache
     2  
     3  import "encoding/json"
     4  
     5  type PubBlobRequest struct {
     6  	Key  string          `json:"key"`
     7  	Blob json.RawMessage `json:"blob"`
     8  }
     9  
    10  type GetBlobRequest struct {
    11  	Key string `json:"key"`
    12  }
    13  
    14  type GetBlobResponse struct {
    15  	Blob json.RawMessage `json:"blob"`
    16  }