client

package
v0.0.0-...-2b514f4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 20, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudFlareService

type CloudFlareService interface {
	UploadImage(imageBytes []byte, filename string) (*UploadImageResponse, error)
	DeleteImage(cloudFlareID uuid.UUID) error
}

func NewCloudFlareService

func NewCloudFlareService(i *do.Injector) (CloudFlareService, error)

type UploadImageResponse

type UploadImageResponse struct {
	ID  uuid.UUID
	URL string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL