handler

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HandlerService

type HandlerService struct {
	*zap.Logger
	// contains filtered or unexported fields
}

func NewHandlerService added in v0.2.6

func NewHandlerService(config *config.Config, factory *agent.AgentFactory, messageServer *message.MessageServer) *HandlerService

NewHandlerService create a new handler service, can get all the client's message

func (*HandlerService) Handle

func (h *HandlerService) Handle(conn acceptor.AcceptorConn)

func (*HandlerService) SetAgentFactory added in v0.2.6

func (h *HandlerService) SetAgentFactory(factory *agent.AgentFactory)

Jump to

Keyboard shortcuts

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