upload

package
v0.0.0-...-7c3836c Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2019 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImgInfo

type ImgInfo struct {
	Type   string
	Base64 string
	Path   string
}

func (*ImgInfo) Base64ToFile

func (im *ImgInfo) Base64ToFile() (rep RepImgInfo, err error)

func (*ImgInfo) GetName

func (im *ImgInfo) GetName() (name string, path string)

type RepImgInfo

type RepImgInfo struct {
	Name      string
	PathLong  string
	PathSmall string
	Postfix   string
	Width     int
	Height    int
}

type SopImg

type SopImg interface {
	Base64ToFile(info ImgInfo) error
}

Jump to

Keyboard shortcuts

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