Versions in this module Expand all Collapse all v1 v1.1.0 Sep 28, 2021 Changes in this version + type ImageInfo struct + CreateTime int64 + FileName string + Md5 string + Scene string + Size int64 + Suffix string + UpdateTime int64 + type ImagesBedClient struct + FileField string + Host string + Port int + Prefix string + Protocol string + func NewImagesBedClient(protocol string, host string, port int) *ImagesBedClient + func (ibc *ImagesBedClient) BuildURL(uri string) string + func (ibc *ImagesBedClient) CreateScene(name string) bool + func (ibc *ImagesBedClient) DeleteImage(md5 string) bool + func (ibc *ImagesBedClient) DeleteScene(name string) bool + func (ibc *ImagesBedClient) Download(md5 string, filepath string, filename ...string) string + func (ibc *ImagesBedClient) GetDownloadURL(md5 string) string + func (ibc *ImagesBedClient) GetScene() ([]string, error) + func (ibc *ImagesBedClient) GetViewURL(md5 string, compress int) string + func (ibc *ImagesBedClient) Reader(md5 string) (string, *bufio.Reader) + func (ibc *ImagesBedClient) Upload(scene string, filename string) (string, error) + func (ibc ImagesBedClient) GetImageInfo(md5 string) *ImageInfo v1.0.1 Sep 28, 2021