Help us shape the future of Go! Take the 2026 Go Developer Survey

mocks

package
v0.8.15 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeOSSClient

type FakeOSSClient struct {
	mock.Mock
}

func (*FakeOSSClient) GetObjectBase64Content added in v0.6.3

func (t *FakeOSSClient) GetObjectBase64Content(bucket string, object *oss.Object) (string, error)

func (*FakeOSSClient) GetObjectCachedURL

func (t *FakeOSSClient) GetObjectCachedURL(bucket string, object *oss.Object) string

func (*FakeOSSClient) GetObjectSignedURL

func (t *FakeOSSClient) GetObjectSignedURL(bucket string, object *oss.Object, expires time.Time) string

func (*FakeOSSClient) GetObjectURL

func (t *FakeOSSClient) GetObjectURL(bucket string, object *oss.Object) string

func (*FakeOSSClient) UploadImageFromBase64

func (t *FakeOSSClient) UploadImageFromBase64(_ *beeorm.Engine, bucket, image, extension string) oss.Object

func (*FakeOSSClient) UploadImageFromFile

func (t *FakeOSSClient) UploadImageFromFile(_ *beeorm.Engine, bucket, localFile string) oss.Object

func (*FakeOSSClient) UploadObjectFromBase64

func (t *FakeOSSClient) UploadObjectFromBase64(_ *beeorm.Engine, bucket, content, extension string) oss.Object

func (*FakeOSSClient) UploadObjectFromFile

func (t *FakeOSSClient) UploadObjectFromFile(_ *beeorm.Engine, bucket, localFile string) oss.Object

Jump to

Keyboard shortcuts

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