logic

package
v6.0.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApiVersion

func ApiVersion() string

ApiVersion returns gateway API version.

func AuthFunc

func AuthFunc() types.AuthFunc

AuthFunc returns the authorization function for access behavior.

func HttpHooks added in v1.1.0

func HttpHooks() types.HttpHooks

HttpHooks returns HTTP connecting event hooks.

func InnerServerPlugins

func InnerServerPlugins() []tp.Plugin

InnerServerPlugins returns inner server plugins.

func ProxySelector

func ProxySelector(label *proxy.Label) proxy.Forwarder

ProxySelector returns proxy caller by label.

func SetApiVersion

func SetApiVersion(ver string)

SetApiVersion sets gateway API version.

func SetBusiness

func SetBusiness(biz *types.Business)

SetBusiness sets business object.

func SocketHooks added in v1.1.0

func SocketHooks() types.SocketHooks

SocketHooks returns TCP socket connecting event hooks.

func WebSocketHooks

func WebSocketHooks() types.WebSocketHooks

WebSocketHooks returns WEB socket connecting event hooks.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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