Documentation
¶
Index ¶
- Variables
- func RemovalPNG() []byte
- type Config
- type Store
- func (s *Store) DeleteStaging(ctx context.Context, reservation domain.UploadReservation) error
- func (s *Store) InspectStaging(ctx context.Context, reservation domain.UploadReservation) (domain.UploadObject, error)
- func (s *Store) PresignPUT(ctx context.Context, reservation domain.UploadReservation) (domain.SignedPUT, error)
- func (s *Store) Promote(ctx context.Context, upload domain.Upload, token string) (string, error)
- func (s *Store) ReplacePublic(ctx context.Context, upload domain.Upload, body []byte) (string, error)
- func (s *Store) ValidateCORS(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
View Source
var StagingCORSOrigins = []string{
"http://localhost:46305",
"http://127.0.0.1:46305",
"http://localhost:46306",
"http://127.0.0.1:46306",
"http://tauri.localhost",
}
Functions ¶
func RemovalPNG ¶
func RemovalPNG() []byte
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) DeleteStaging ¶
func (*Store) InspectStaging ¶
func (s *Store) InspectStaging(ctx context.Context, reservation domain.UploadReservation) (domain.UploadObject, error)
func (*Store) PresignPUT ¶
func (*Store) ReplacePublic ¶
Click to show internal directories.
Click to hide internal directories.