utility

package
v0.0.0-...-0be08e2 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

README

utility

Documentation

Overview

Package utility provides the utility interfaces for mux package

Package utility defines generic utilitarian functions

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSQLHash

func GetSQLHash(sqltext string) (sqlhash uint32)

GetSQLHash calculates FNV hash

func KillParam

func KillParam(pid int, sig int, value int)

KillParam is a wrapper over sigqueue system call, to send a signal with a parameter

func ReapDefunctPids

func ReapDefunctPids(pids []int32)

ReapDefunctPids is a wrapper over wait() sistem call, returning the list of pids in case multiple child procesesses exited

Types

This section is empty.

Directories

Path Synopsis
Package encoding provides the encoding functions such as netstring etc.,
Package encoding provides the encoding functions such as netstring etc.,
netstring
Package netstring provides the functions to read and write the netstring
Package netstring provides the functions to read and write the netstring
Package logger provides functions for logging
Package logger provides functions for logging

Jump to

Keyboard shortcuts

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