storage

package
v0.0.0-...-84b6340 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConnectFirebase

func ConnectFirebase(ctx context.Context, serviceAccountKeyPath string) (*storage.Client, error)

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func NewHandler

func NewHandler(stg *storage.Client) *Handler

func (*Handler) AddImage

func (h *Handler) AddImage(ctx context.Context, name, folder, base64Image string) (string, error)

func (*Handler) DeleteFolder

func (h *Handler) DeleteFolder(ctx context.Context, folder string) error

func (*Handler) DeleteImage

func (h *Handler) DeleteImage(ctx context.Context, name, folder string) error

Jump to

Keyboard shortcuts

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