Versions in this module Expand all Collapse all v3 v3.46.0 Jun 16, 2025 Changes in this version + var HttpInstance = &Http + type Http struct + Received chan string + ToSend chan Message + func (p *Http) GetHandle(c *gin.Context) + func (p *Http) Receive() (string, error) + func (p *Http) Send(message Message) error + func (p *Http) SendHandle(c *gin.Context) + func (p *Http) WaitReceive(d int) (string, error) + func (p *Http) WaitSend(message Message, d int) error + type Message struct + Content interface{} + Type string + type Messenger interface + Receive func() (string, error) + Send func(Message) error + WaitReceive func(int) (string, error) + WaitSend func(Message, int) error + func GetMessenger() Messenger + type Req struct + Message string