websocket

package
v0.1.72 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2019 License: MIT Imports: 10 Imported by: 1

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