common

package
v0.0.0-...-1259710 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UnmarshalTips

func UnmarshalTips(msg *api.MsgData, detail proto.Message) error

Types

type ObjectStorage

type ObjectStorage interface {
	UploadImage(filePath string, onProgressFun func(int)) (string, string, error)
	UploadSound(filePath string, onProgressFun func(int)) (string, string, error)
	UploadFile(filePath string, onProgressFun func(int)) (string, string, error)
	UploadVideo(videoPath, snapshotPath string, onProgressFun func(int)) (string, string, string, string, error)
}

Jump to

Keyboard shortcuts

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