Documentation ¶
Overview ¶
Package handler @Link https://gitee.com/linngc/center.gf @Copyright Copyright (c) 2022 center CLI @Author linngc @License
Package handler @Link https://gitee.com/linngc/center.gf @Copyright Copyright (c) 2022 center CLI @Author linngc @License
Package handler @Link https://gitee.com/linngc/center.gf @Copyright Copyright (c) 2022 center CLI @Author linngc @License
Package handler @Link https://gitee.com/linngc/center.gf @Copyright Copyright (c) 2022 center CLI @Author linngc @License
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheApiExistHandler ¶
type CacheApiExistHandler struct {
// contains filtered or unexported fields
}
func (*CacheApiExistHandler) BindHandler ¶
func (c *CacheApiExistHandler) BindHandler(ossType em.OssType, handlerFunc OssTypeApiExistFunc)
type CacheApiGetHandler ¶
type CacheApiGetHandler struct {
// contains filtered or unexported fields
}
func (*CacheApiGetHandler) BindHandler ¶
func (c *CacheApiGetHandler) BindHandler(ossType em.OssType, handlerFunc OssTypeApiGetFunc)
func (*CacheApiGetHandler) Builder ¶
func (c *CacheApiGetHandler) Builder(ctx context.Context, ossType em.OssType) (u *em.UploadInfo, err error)
Builder 创建函数执行对象
type CacheApiPutHandler ¶
type CacheApiPutHandler struct {
// contains filtered or unexported fields
}
func (*CacheApiPutHandler) BindHandler ¶
func (c *CacheApiPutHandler) BindHandler(ossType em.OssType, handlerFunc OssTypeApiPutFunc)
func (*CacheApiPutHandler) Builder ¶
func (c *CacheApiPutHandler) Builder(ctx context.Context, ossType em.OssType) (u *em.UploadInfo, err error)
Builder 创建函数执行对象
type CacheHandler ¶
type CacheHandler struct {
// contains filtered or unexported fields
}
func (*CacheHandler) BindHandler ¶
func (c *CacheHandler) BindHandler(ossType em.OssType, handler OssTypeFunc)
BindHandler 指定OSS类型待执行函数式编程func
type OssTypeApiExistFunc ¶
type OssTypeApiGetFunc ¶
type OssTypeApiGetFunc func(ctx context.Context) (u *em.UploadInfo, err error) //OSS缓存函数
type OssTypeApiPutFunc ¶
type OssTypeApiPutFunc func(ctx context.Context) (u *em.UploadInfo, err error) //OSS缓存函数
Click to show internal directories.
Click to hide internal directories.