Documentation ¶
Index ¶
- func AddCookies(req *http.Request, cookies []string) error
- func AddHeaders(header *http.Header, headers []string) error
- func BuildGetRequest(requesturl string, headers []string, cookies []string) (*http.Request, error)
- func GetMessages(ctx context.Context, log bingchatlogger.BingLogger, ws *websocket.Conn) ([][]byte, error)
- func SendConvertedMessage(ctx context.Context, log bingchatlogger.BingLogger, ws *websocket.Conn, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildGetRequest ¶
func GetMessages ¶
func GetMessages(ctx context.Context, log bingchatlogger.BingLogger, ws *websocket.Conn) ([][]byte, error)
func SendConvertedMessage ¶
func SendConvertedMessage(ctx context.Context, log bingchatlogger.BingLogger, ws *websocket.Conn, msg interface{}) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.