wssclient

package
v0.0.0-...-bd520fb Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(wss *WssClientContext)

Register registers the module

Types

type WssClientContext

type WssClientContext struct {
	Logger   *logrus.Logger
	IsEnable bool
	Server   string
	Port     int
}

func (*WssClientContext) Enable

func (wss *WssClientContext) Enable() bool

Enable indicates whether the module is enabled

func (*WssClientContext) Group

func (wss *WssClientContext) Group() string

Group get group of the module

func (*WssClientContext) Name

func (wss *WssClientContext) Name() string

Name get name of the module

func (*WssClientContext) Start

func (wss *WssClientContext) Start()

Start runs the module

Jump to

Keyboard shortcuts

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