Documentation ¶
Index ¶
- func InjectWebMsgProxy(s *WebMsgProxy)
- func LoadWebMsgProxy() baseiface.ISingleton
- type WebMsgProxy
- func (this *WebMsgProxy) Delete(ctx *gin.Context, client *webclient.WebClient) *WebMsgProxyResp
- func (this *WebMsgProxy) Do(ctx *gin.Context) *WebMsgProxyResp
- func (this *WebMsgProxy) Get(ctx *gin.Context, client *webclient.WebClient) *WebMsgProxyResp
- func (this *WebMsgProxy) Post(ctx *gin.Context, client *webclient.WebClient) *WebMsgProxyResp
- func (this *WebMsgProxy) Put(ctx *gin.Context, client *webclient.WebClient) *WebMsgProxyResp
- type WebMsgProxyResp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InjectWebMsgProxy ¶
func InjectWebMsgProxy(s *WebMsgProxy)
func LoadWebMsgProxy ¶
func LoadWebMsgProxy() baseiface.ISingleton
Types ¶
type WebMsgProxy ¶
type WebMsgProxy struct { basedto.BaseEntity *webmsg.WebMsg WebClient *webclient.WebClient `json:"-"` }
func DefaultProxy ¶
func DefaultProxy() *WebMsgProxy
func FindBeanWebMsgProxy ¶
func FindBeanWebMsgProxy() *WebMsgProxy
func NewWebMsgProxy ¶
func NewWebMsgProxy(url string) *WebMsgProxy
func (*WebMsgProxy) Delete ¶
func (this *WebMsgProxy) Delete(ctx *gin.Context, client *webclient.WebClient) *WebMsgProxyResp
func (*WebMsgProxy) Do ¶
func (this *WebMsgProxy) Do(ctx *gin.Context) *WebMsgProxyResp
func (*WebMsgProxy) Get ¶
func (this *WebMsgProxy) Get(ctx *gin.Context, client *webclient.WebClient) *WebMsgProxyResp
func (*WebMsgProxy) Post ¶
func (this *WebMsgProxy) Post(ctx *gin.Context, client *webclient.WebClient) *WebMsgProxyResp
func (*WebMsgProxy) Put ¶
func (this *WebMsgProxy) Put(ctx *gin.Context, client *webclient.WebClient) *WebMsgProxyResp
type WebMsgProxyResp ¶
type WebMsgProxyResp struct {
// contains filtered or unexported fields
}
func NewWebMsgProxyResp ¶
func NewWebMsgProxyResp() *WebMsgProxyResp
func (*WebMsgProxyResp) Body ¶
func (r *WebMsgProxyResp) Body() []byte
func (*WebMsgProxyResp) Err ¶
func (r *WebMsgProxyResp) Err() error
func (*WebMsgProxyResp) Resp ¶
func (r *WebMsgProxyResp) Resp() *resty.Response
func (*WebMsgProxyResp) SetBody ¶
func (r *WebMsgProxyResp) SetBody(body []byte)
func (*WebMsgProxyResp) SetErr ¶
func (r *WebMsgProxyResp) SetErr(err error)
func (*WebMsgProxyResp) SetResp ¶
func (r *WebMsgProxyResp) SetResp(resp *resty.Response)
Click to show internal directories.
Click to hide internal directories.