websocket

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2020 License: MIT, MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IndexAction

type IndexAction actions.Action

func (*IndexAction) Run

func (this *IndexAction) Run(params struct {
	ServerId   string
	LocationId string
})

Websocket信息

type UpdateAction

type UpdateAction actions.Action

func (*UpdateAction) Run

func (this *UpdateAction) Run(params struct {
	From       string
	ServerId   string
	LocationId string
})

更改Websocket

func (*UpdateAction) RunPost

func (this *UpdateAction) RunPost(params struct {
	ServerId         string
	LocationId       string
	On               bool
	HandshakeTimeout uint
	AllowAllOrigins  bool
	Origins          []string
	ForwardMode      string
})

提交修改

Jump to

Keyboard shortcuts

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