model

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FetchRecords

func FetchRecords(cl *kgo.Client, numRecords int) tea.Cmd

func InitialModel

func InitialModel(kCl *kgo.Client, deserFmt DeserializationFmt) model

func RightPadTrim

func RightPadTrim(s string, length int) string

func Trim

func Trim(s string, length int) string

Types

type DeserializationFmt

type DeserializationFmt uint
const (
	JsonFmt DeserializationFmt = iota
	ProtobufFmt
)

type KMsgChosenMsg

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

type KMsgFetchedMsg

type KMsgFetchedMsg struct {
	// contains filtered or unexported fields
}
type KMsg struct{
    Offset int64
    Key []byte
    Value []byte
    Header []byte

}

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 KMsgMetadataReadyMsg

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

type KMsgValueReadyMsg

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

type RecordSavedToDiskMsg

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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