websocket

package
v0.0.0-...-b941d56 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Websocket

type Websocket struct {
}

func (*Websocket) Index

func (w *Websocket) Index(r *ghttp.Request)

func (*Websocket) NoticeToAll

func (w *Websocket) NoticeToAll(r *ghttp.Request)

NoticeToAll 开放一个接口,用于其他服务向前端发送websocket消息 注意该接口验签方式和前台请求服务端一样,不需要其他特殊验签

Jump to

Keyboard shortcuts

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