server

package
v0.0.0-...-4f392d0 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2019 License: GPL-3.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ali

type Ali struct {
}

func (*Ali) UploadToAli

func (this *Ali) UploadToAli(img []byte, imgInfo string, imgType string) string

type Baidu

type Baidu struct {
}

func (*Baidu) UploadToBaidu

func (this *Baidu) UploadToBaidu(img []byte, imgInfo string, imgType string) string

type CC

type CC struct {
}

upload.cc

func (*CC) UploadToCC

func (this *CC) UploadToCC(img []byte, imgInfo string, imgType string) string

type Flickr

type Flickr struct {
}

func (*Flickr) UploadToFlickr

func (this *Flickr) UploadToFlickr(file io.Reader, fileName string) string

type Jd

type Jd struct {
}

func (*Jd) UploadToJd

func (this *Jd) UploadToJd(img []byte, imgInfo string, imgType string) string

type JueJin

type JueJin struct {
}

func (*JueJin) UploadToJueJin

func (this *JueJin) UploadToJueJin(img []byte, imgInfo string, imgType string) string

type NetEasy

type NetEasy struct {
}

func (*NetEasy) UploadToNetEasy

func (this *NetEasy) UploadToNetEasy(img []byte, imgInfo string, imgType string) string

type OpenApi

type OpenApi struct {
}

func (*OpenApi) UpLoadToPublicSina

func (this *OpenApi) UpLoadToPublicSina(img []byte, imgInfo string, imgType string) string

存在 api 限制问题,暂时不考虑接入

type Qihoo

type Qihoo struct {
}

func (*Qihoo) UploadToQihoo

func (this *Qihoo) UploadToQihoo(img []byte, imgInfo string, imgType string) string

type Sina

type Sina struct {
}

func (*Sina) Login

func (this *Sina) Login(name string, pass string) interface{}

新浪图床登录

func (*Sina) UpLoadToSina

func (this *Sina) UpLoadToSina(img []byte, imgType string) string

上传图片

type Smms

type Smms struct {
}

func (*Smms) UpLoatToSmms

func (this *Smms) UpLoatToSmms(img []byte, imgInfo string) string

上传 SM 图床 返回图片 URL

type SouGou

type SouGou struct {
}

func (*SouGou) UpLoadToSouGou

func (this *SouGou) UpLoadToSouGou(img []byte) string

Jump to

Keyboard shortcuts

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