Documentation
¶
Index ¶
- func EnqueueRequestLog(entry LogEntry)
- func GetLogChannelSize() int
- func PointerNotNil[T any](ptr *T) bool
- func PointerNotNilIdx[T any](ptr *T, _ int) bool
- func StringFromPointer(ptr *string) string
- func WriteChannelLogsToFile()
- func WriteLogsToFile(date time.Time, entries []LogEntry)
- type DoublyLinkedList
- func (l *DoublyLinkedList[T]) Last() *T
- func (l *DoublyLinkedList[T]) PeekFirst() *T
- func (l *DoublyLinkedList[T]) PeekLast() *T
- func (l *DoublyLinkedList[T]) PopFirst() *T
- func (l *DoublyLinkedList[T]) PushEnd(data T)
- func (l *DoublyLinkedList[T]) PushStart(data T)
- func (l *DoublyLinkedList[T]) Size() int
- func (l *DoublyLinkedList[T]) ToSlice() []T
- type LogEntry
- type Node
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnqueueRequestLog ¶
func EnqueueRequestLog(entry LogEntry)
func GetLogChannelSize ¶
func GetLogChannelSize() int
func PointerNotNil ¶
func PointerNotNilIdx ¶
func StringFromPointer ¶
func WriteChannelLogsToFile ¶
func WriteChannelLogsToFile()
func WriteLogsToFile ¶
Types ¶
type DoublyLinkedList ¶
type DoublyLinkedList[T any] struct { // contains filtered or unexported fields }
func DoublyLinkedListFromSlice ¶
func DoublyLinkedListFromSlice[T any](slice []T) *DoublyLinkedList[T]
func (*DoublyLinkedList[T]) Last ¶
func (l *DoublyLinkedList[T]) Last() *T
func (*DoublyLinkedList[T]) PeekFirst ¶
func (l *DoublyLinkedList[T]) PeekFirst() *T
func (*DoublyLinkedList[T]) PeekLast ¶
func (l *DoublyLinkedList[T]) PeekLast() *T
func (*DoublyLinkedList[T]) PopFirst ¶
func (l *DoublyLinkedList[T]) PopFirst() *T
func (*DoublyLinkedList[T]) PushEnd ¶
func (l *DoublyLinkedList[T]) PushEnd(data T)
func (*DoublyLinkedList[T]) PushStart ¶
func (l *DoublyLinkedList[T]) PushStart(data T)
func (*DoublyLinkedList[T]) Size ¶
func (l *DoublyLinkedList[T]) Size() int
func (*DoublyLinkedList[T]) ToSlice ¶
func (l *DoublyLinkedList[T]) ToSlice() []T
Click to show internal directories.
Click to hide internal directories.