Documentation ¶
Overview ¶
@Description @Author renjingneng @CreateTime 2020/8/13 21:20
Index ¶
- type Identify
- func (thisService *Identify) FetchFileExt(fileName string) string
- func (thisService *Identify) GetInfoByToken(token string) (map[string]string, error)
- func (thisService *Identify) SaveToLocal(fileHeader *multipart.FileHeader) string
- func (thisService *Identify) StoreInfoByToken(token string, info map[string]string, ttl time.Duration) error
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 (*Identify) GetInfoByToken ¶
func (*Identify) SaveToLocal ¶
func (thisService *Identify) SaveToLocal(fileHeader *multipart.FileHeader) string
Click to show internal directories.
Click to hide internal directories.