Documentation ¶
Index ¶
- type HttpStore
- func (store *HttpStore) Allowed() eris.AllowOps
- func (store *HttpStore) Close() (err error)
- func (store *HttpStore) Drop(ref eris.Ref) error
- func (store *HttpStore) Get(ctx context.Context, chunk []byte, ref eris.Ref) (err error)
- func (store *HttpStore) Has(ctx context.Context, ref eris.Ref, chunkSize int) (present bool)
- func (store *HttpStore) Put(ctx context.Context, chunk []byte, ref eris.Ref) error
- type StoreHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttpStore ¶
type HttpStore struct {
// contains filtered or unexported fields
}
type StoreHandler ¶
HTTP handler for serving ERIS blocks If Decode is true then clients may request decoded data.
func (StoreHandler) ServeHTTP ¶
func (handler StoreHandler) ServeHTTP(w http.ResponseWriter, req *http.Request)
Click to show internal directories.
Click to hide internal directories.