util

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WrapWriterAt

func WrapWriterAt(w io.WriterAt) io.Writer

Types

type Pagination

type Pagination struct {
	Offset uint64
	Limit  uint64
}

type SortOrder

type SortOrder struct {
	Columns    []string
	Descending bool
}

func SortOrderFromProto

func SortOrderFromProto(order *perforator.SortOrder) SortOrder

func SortOrderFromServicesProto

func SortOrderFromServicesProto(order *perforator.ListServicesOrderByClause) SortOrder

type TimeRange

type TimeRange struct {
	FromTimestamp *time.Time
	ToTimestamp   *time.Time
}

type WriteAtBuffer

type WriteAtBuffer = aws.WriteAtBuffer

func NewWriteAtBuffer

func NewWriteAtBuffer(buf []byte) *WriteAtBuffer

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳