store

package
v0.0.0-...-c7a45d2 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2019 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(path string, isLocal bool, cacheSize int)

Init 初始化接口,设置存储路径和类型

func Read

func Read(md5Code string, fileName *string, width, height int) ([]byte, error)

Read 读取图像文件接口

func Write

func Write(f multipart.File, md5 string, name string) error

Write 写入图像文件接口

Types

This section is empty.

Directories

Path Synopsis
interp
Package interp implements image interpolation.
Package interp implements image interpolation.

Jump to

Keyboard shortcuts

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