commands

package
v0.11.4 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChatListener

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

func NewChatListener

func NewChatListener(
	coalition coalitions.Coalition,
	callsign string,
	missionClient mission.MissionServiceClient,
	coalitionClient coalition.CoalitionServiceClient,
	netClient net.NetServiceClient,
) *ChatListener

func (*ChatListener) Run

func (l *ChatListener) Run(ctx context.Context, messages chan<- Request)

type Request

type Request struct {
	TraceID    string
	PlayerName string
	Text       string
}

Jump to

Keyboard shortcuts

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