controller

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package controller 控制器

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
}

Controller 控制器

type Inspector

type Inspector struct {
	// contains filtered or unexported fields
}

Inspector 流量审查

func NewInspector

func NewInspector(sessionHandler socket.SessionHandler, opts []socket.SessionOption) *Inspector

NewInspector 创建Inspector

func (*Inspector) WebSocket

func (c *Inspector) WebSocket(resp http.ResponseWriter, req *http.Request)

WebSocket 处理webSocket

Jump to

Keyboard shortcuts

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