identify

package
v0.0.0-...-041f4c2 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2020 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

@Description @Author renjingneng @CreateTime 2020/8/13 21:20

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Identify

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

func NewIdentify

func NewIdentify() *Identify

func (*Identify) FetchFileExt

func (thisService *Identify) FetchFileExt(fileName string) string

func (*Identify) GetInfoByToken

func (thisService *Identify) GetInfoByToken(token string) (map[string]string, error)

func (*Identify) SaveToLocal

func (thisService *Identify) SaveToLocal(fileHeader *multipart.FileHeader) string

func (*Identify) StoreInfoByToken

func (thisService *Identify) StoreInfoByToken(token string, info map[string]string, ttl time.Duration) error

Jump to

Keyboard shortcuts

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