golibs

module
v0.30.2 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: Unlicense

README

golibs

Code Coverage Go Report Card Go Reference

Go utility packages primarily used in AdGuard projects. See the documentation for individual packages on https://pkg.go.dev/github.com/AdguardTeam/golibs for more information and examples.

Directories

Path Synopsis
Package cache provides a simple LRU cache implementation
Package cache provides a simple LRU cache implementation
Package container provides common container types.
Package container provides common container types.
Package errors is a drop-in replacement and extension of the Go standard library's package errors.
Package errors is a drop-in replacement and extension of the Go standard library's package errors.
Package hostsfile provides utilities for working with system hosts files.
Package hostsfile provides utilities for working with system hosts files.
Package httphdr contains the names of HTTP headers.
Package httphdr contains the names of HTTP headers.
Package ioutil contains extensions and utilities for package io from the standard library.
Package ioutil contains extensions and utilities for package io from the standard library.
Package log contains necessary logging functions
Package log contains necessary logging functions
Package logutil contains extensions and utilities for package log from the standard library.
Package logutil contains extensions and utilities for package log from the standard library.
slogutil
Package slogutil contains extensions and utilities for package log/slog from the standard library.
Package slogutil contains extensions and utilities for package log/slog from the standard library.
Package mathutil contains generic helpers for common algorithms and mathematic operations.
Package mathutil contains generic helpers for common algorithms and mathematic operations.
Package netutil contains common utilities for IP, MAC, and other kinds of network addresses.
Package netutil contains common utilities for IP, MAC, and other kinds of network addresses.
httputil
Package httputil contains common constants, functions, and types for working with HTTP.
Package httputil contains common constants, functions, and types for working with HTTP.
sysresolv
Package sysresolv provides cross-platform functionality to discover DNS resolvers currently used by the system.
Package sysresolv provides cross-platform functionality to discover DNS resolvers currently used by the system.
urlutil
Package urlutil contains types and utilities for dealing with URLs.
Package urlutil contains types and utilities for dealing with URLs.
Package osutil contains utilities for functions requiring system calls and other OS-specific APIs.
Package osutil contains utilities for functions requiring system calls and other OS-specific APIs.
Package service defines types and interfaces for long-running services that can be started and shut down.
Package service defines types and interfaces for long-running services that can be started and shut down.
Package stringutil contains utilities for dealing with strings.
Package stringutil contains utilities for dealing with strings.
Package syncutil contains extensions and utilities for package sync from the standard library.
Package syncutil contains extensions and utilities for package sync from the standard library.
Package testutil contains utilities for common testing patterns.
Package testutil contains utilities for common testing patterns.
fakefs
Package fakefs contains fake implementations of interfaces from package io/fs from the standard library.
Package fakefs contains fake implementations of interfaces from package io/fs from the standard library.
fakeio
Package fakeio contains fake implementations of interfaces from package io from the standard library.
Package fakeio contains fake implementations of interfaces from package io from the standard library.
fakenet
Package fakenet contains fake implementations of interfaces from package net from the standard library.
Package fakenet contains fake implementations of interfaces from package net from the standard library.
fakeservice
Package fakeservice contains fake implementations of interfaces from package service.
Package fakeservice contains fake implementations of interfaces from package service.
Package timeutil contains types and utilities for dealing with time and duration values.
Package timeutil contains types and utilities for dealing with time and duration values.

Jump to

Keyboard shortcuts

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