analyze

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AckItem

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

func (*AckItem) GetMid

func (a *AckItem) GetMid() int64

func (*AckItem) GetTime

func (a *AckItem) GetTime() time.Time

func (*AckItem) ReLoad

func (a *AckItem) ReLoad(time time.Time)

type Connection

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

func NewConnection

func NewConnection(connId string) *Connection

func (*Connection) LoadAck

func (c *Connection) LoadAck(ack string, mid int64, time time.Time)

func (*Connection) LoadRev

func (c *Connection) LoadRev(mid int64, time time.Time)

func (*Connection) LoadSend

func (c *Connection) LoadSend(seq string, time time.Time)

type Printer

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

func NewPrinter

func NewPrinter(ts *TransmitMsgStatic, log zerolog.Logger) *Printer

func (*Printer) GetFailedCount

func (p *Printer) GetFailedCount() int

func (*Printer) GetSuccessCount

func (p *Printer) GetSuccessCount() int

func (*Printer) PrintAllLevel1

func (p *Printer) PrintAllLevel1()

type RevItem

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

func (*RevItem) GetMid

func (a *RevItem) GetMid() int64

func (*RevItem) GetTime

func (a *RevItem) GetTime() time.Time

func (*RevItem) ReLoad

func (a *RevItem) ReLoad(time time.Time)

type SendItem

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

func (*SendItem) GetTime

func (s *SendItem) GetTime() time.Time

func (*SendItem) ReLoad

func (s *SendItem) ReLoad(time time.Time)

type Store

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

func NewAnalyzeStore

func NewAnalyzeStore(lines []string) *Store

func (*Store) FailedCount

func (t *Store) FailedCount() int

func (*Store) LoadAll

func (t *Store) LoadAll() error

func (*Store) Start

func (t *Store) Start() error

func (*Store) TileRev

func (t *Store) TileRev()

type TiledRev

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

func NewTiledRev

func NewTiledRev() *TiledRev

func (*TiledRev) ExceptConnId

func (t *TiledRev) ExceptConnId(connId string) string

func (*TiledRev) LoadConn

func (t *TiledRev) LoadConn(connId string)

type TransmitMsg

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

func (*TransmitMsg) LoadAck

func (tm *TransmitMsg) LoadAck(connID, ack string, mid int64, ackTime time.Time) error

func (*TransmitMsg) LoadReceive

func (tm *TransmitMsg) LoadReceive(mid int64, revTime time.Time) error

func (*TransmitMsg) LoadSend

func (tm *TransmitMsg) LoadSend(from, connID, seq string, sendTime time.Time) error

type TransmitMsgStatic

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

func GetTransmitMsgStatic

func GetTransmitMsgStatic() *TransmitMsgStatic

func (*TransmitMsgStatic) GetAllTransmitMsgCount

func (ts *TransmitMsgStatic) GetAllTransmitMsgCount() int

func (*TransmitMsgStatic) GetTransmitMsgByConnIDSeq

func (ts *TransmitMsgStatic) GetTransmitMsgByConnIDSeq(connId, seq string) *TransmitMsg

Jump to

Keyboard shortcuts

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