controller

package
v0.0.0-...-4a48229 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCustomer

func NewCustomer(actID, bizID string, uniqueID uint64, talkID string, createTalkFlag bool, userID uint64, chSendMessage chan *talkpb.TalkResponse) defs.Customer

func NewServicer

func NewServicer(userID, uniqueID uint64, chSendMessage chan *talkpb.ServiceResponse, actIDs, bizIDs []string) defs.Servicer

Types

type CustomerController

type CustomerController struct {
	// contains filtered or unexported fields
}

func NewCustomerController

func NewCustomerController(md defs.CustomerMD, m defs.ModelEx, logger l.Wrapper) *CustomerController

func NewCustomerControllerEx

func NewCustomerControllerEx(maxCache, maxMessageCache int, md defs.CustomerMD, m defs.ModelEx, logger l.Wrapper) *CustomerController

func (*CustomerController) CustomerClose

func (c *CustomerController) CustomerClose(customer defs.Customer) error

func (*CustomerController) CustomerMessageIncoming

func (c *CustomerController) CustomerMessageIncoming(customer defs.Customer, seqID uint64,
	message *talkinters.TalkMessageW) error

func (*CustomerController) InstallCustomer

func (c *CustomerController) InstallCustomer(customer defs.Customer) error

func (*CustomerController) Post

func (c *CustomerController) Post(f func())

func (*CustomerController) UninstallCustomer

func (c *CustomerController) UninstallCustomer(customer defs.Customer) error

type ServicerController

type ServicerController struct {
	// contains filtered or unexported fields
}

func NewServicerController

func NewServicerController(md defs.ServicerMD, m defs.ModelEx, logger l.Wrapper) *ServicerController

func NewServicerControllerEx

func NewServicerControllerEx(maxCache, maxMessageCache int, md defs.ServicerMD, m defs.ModelEx, logger l.Wrapper) *ServicerController

func (*ServicerController) InstallServicer

func (c *ServicerController) InstallServicer(servicer defs.Servicer) error

func (*ServicerController) Post

func (c *ServicerController) Post(f func())

func (*ServicerController) ServicerAttachTalk

func (c *ServicerController) ServicerAttachTalk(servicer defs.Servicer, talkID string) error

func (*ServicerController) ServicerDetachTalk

func (c *ServicerController) ServicerDetachTalk(servicer defs.Servicer, talkID string) error

func (*ServicerController) ServicerMessageIncoming

func (c *ServicerController) ServicerMessageIncoming(servicer defs.Servicer, seqID uint64, talkID string,
	message *talkinters.TalkMessageW) error

func (*ServicerController) ServicerQueryAttachedTalks

func (c *ServicerController) ServicerQueryAttachedTalks(servicer defs.Servicer) error

func (*ServicerController) ServicerQueryPendingTalks

func (c *ServicerController) ServicerQueryPendingTalks(servicer defs.Servicer) error

func (*ServicerController) ServicerReloadTalk

func (c *ServicerController) ServicerReloadTalk(servicer defs.Servicer, talkID string) error

func (*ServicerController) UninstallServicer

func (c *ServicerController) UninstallServicer(servicer defs.Servicer) error

Jump to

Keyboard shortcuts

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