spring_boot_lwnet

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LwStarter

type LwStarter struct {
	Config         *LwnetConfig          `autowire:""`
	EventHandle    lwnet.IEventHandler   `autowire:""`
	FrameReadCodec lwnet.IFrameReadCodec `autowire:""`
	// contains filtered or unexported fields
}

func (*LwStarter) OnStartApplication

func (starter *LwStarter) OnStartApplication(ctx SpringBoot.ApplicationContext)

func (*LwStarter) OnStopApplication

func (starter *LwStarter) OnStopApplication(ctx SpringBoot.ApplicationContext)

type LwnetConfig

type LwnetConfig struct {
	Port              int `value:"${lwnet.port:=60000}"`
	EventCoroutineNum int `value:"${lwnet.event_coroutine_num:=1}"`
}

Jump to

Keyboard shortcuts

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