Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GCPServiceInterface ¶
type GCPServiceInterface interface { Delete(context.Context, *storage.ObjectHandle) error Get(context.Context, *storage.ObjectHandle) ([]byte, error) Upload(context.Context, *storage.ObjectHandle, multipart.File) (*url.URL, error) }
GCPServiceInterface interface
var ( // GCPService exported gcp service GCPService GCPServiceInterface = &gcpService{} )
type ImageServiceInterface ¶
type ImageServiceInterface interface {
Upload(multipart.File, multipart.FileHeader) (string, int, error)
}
ImageServiceInterface interface
var ( // ImageService exported image service ImageService ImageServiceInterface = &imageService{} )
Click to show internal directories.
Click to hide internal directories.