handler

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 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 NewHanlderService

func NewHanlderService(config *config.Config, factory *agent.AgentFacotry, 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) SetAgentFacotry

func (h *HandlerService) SetAgentFacotry(factory *agent.AgentFacotry)

Jump to

Keyboard shortcuts

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