Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Service ¶
type Service interface {
OnChatClientSendMessage(ctx context.Context) error
OnChatServiceConnect(ctx context.Context) error
}
Service is the interface for ChatService clients.
type ServiceInterface ¶
type ServiceInterface struct {
OnChatClientSendMessage func(ctx context.Context, msg map[string]interface{}, relayChatServiceSendMessage func(args ...interface{})) error
OnChatServiceConnect func(ctx context.Context, msg map[string]interface{}, emitMOTD func(args ...interface{})) error
}
ServiceInterface for ChatService. Implementations of these methods must be provided.
Click to show internal directories.
Click to hide internal directories.