webmsgproxy

package
v1.0.1-dev-02 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2024 License: MulanPSL-2.0 Imports: 9 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

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