model

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2024 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	HelpText = `` /* 1477-byte string literal not displayed */

)

Functions

func DeleteMessages

func DeleteMessages(client *sqs.Client, queueUrl string, messages []types.Message) tea.Cmd

func GetQueueMsgCount

func GetQueueMsgCount(client *sqs.Client, queueUrl string) tea.Cmd

func InitialModel

func InitialModel(sqsClient *sqs.Client, queueUrl string, msgConsumptionConf MsgConsumptionConf) model

func RightPadTrim

func RightPadTrim(s string, length int) string

func Trim

func Trim(s string, length int) string

Types

type ContextSearchValuesSetMsg added in v0.1.1

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

type HideHelpMsg added in v0.1.1

type HideHelpMsg struct{}

type KMsgChosenMsg

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

type KMsgFetchedMsg

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

type KMsgItem

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

func (KMsgItem) Description

func (item KMsgItem) Description() string

func (KMsgItem) FilterValue

func (item KMsgItem) FilterValue() string

func (KMsgItem) Title

func (item KMsgItem) Title() string

type KMsgValueReadyMsg

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

type MsgConsumptionConf

type MsgConsumptionConf struct {
	Format     MsgFmt
	SubsetKey  string
	ContextKey string
}

type MsgCountTickMsg

type MsgCountTickMsg struct{}

type MsgFmt

type MsgFmt uint
const (
	JsonFmt MsgFmt = iota
	PlainTxtFmt
)

type QueueMsgCountFetchedMsg

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

type RecordSavedToDiskMsg

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

type SQSMsgsDeletedMsg

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

Jump to

Keyboard shortcuts

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