querylog

package module
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: MIT Imports: 19 Imported by: 0

Documentation

Overview

Package querylog provides query log functions and interfaces.

Index

Constants

View Source
const (
	Megabyte = 1 << 20
	Kilobyte = 1 << 10
)

Global variables for CAKE configuration

Variables

View Source
var (
	HeapAlloc string
	SysMem    string
	Frees     string
	NumGCMem  string
)

Functions

This section is empty.

Types

type ClientProto

type ClientProto string

ClientProto values are names of the client protocols.

const (
	ClientProtoDoH      ClientProto = "doh"
	ClientProtoDoQ      ClientProto = "doq"
	ClientProtoDoT      ClientProto = "dot"
	ClientProtoDNSCrypt ClientProto = "dnscrypt"
	ClientProtoPlain    ClientProto = ""
)

Client protocol names.

func NewClientProto

func NewClientProto(s string) (cp ClientProto, err error)

NewClientProto validates that the client protocol name is valid and returns the name as a ClientProto.

Jump to

Keyboard shortcuts

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