Documentation ¶
Index ¶
- type Module
- func (m *Module) GetFile(ctx context.Context, group string, hash []byte, suffix string) ([]byte, filestore.Error)
- func (m *Module) GetPresignedURL(ctx context.Context, group string, hash []byte, suffix string) (*url.URL, filestore.Error)
- func (*Module) Name() string
- func (*Module) ProcessError(err error) filestore.Error
- func (m *Module) PutFile(ctx context.Context, group string, hash []byte, suffix string, data []byte) filestore.Error
- func (*Module) Route(_ *http.Server) error
- func (*Module) SetServer(_ *http.Server)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Module ¶
type Module struct {
// contains filtered or unexported fields
}
func (*Module) GetPresignedURL ¶
func (*Module) ProcessError ¶
ProcessError replaces any known values with our own db.Error types.
Click to show internal directories.
Click to hide internal directories.