Documentation
¶
Index ¶
- Constants
- type Module
- func (m *Module) GetFile(_ 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(_ context.Context, group string, hash []byte, suffix string, data []byte) filestore.Error
- func (m Module) Route(s *http.Server) error
- func (m *Module) SetServer(s *http.Server)
- func (m *Module) WrapInMiddlewares(h http.Handler) http.Handler
Constants ¶
View Source
const (
QueryToken = "token"
)
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.