goutil

package module
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: May 31, 2023 License: Apache-2.0 Imports: 10 Imported by: 1

README

codebeat badge

goutil

goutil

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GatherMetrics

func GatherMetrics()

GatherMetrics 收集一些被动指标

func Ping

func Ping(pattern string)

func PrometheusHandleFunc

func PrometheusHandleFunc(pattern string)

func Reset

func Reset()

Reset all utils

func Stop

func Stop()

Stop all utils

Types

type PanicHandler

type PanicHandler struct {
	Handler http.Handler
}

PanicHandler

func (PanicHandler) ServeHTTP

func (s PanicHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

ServeHTTP

Directories

Path Synopsis
Package conf 提供最基础的配置加载功能
Package conf 提供最基础的配置加载功能
Package ctxkit 操作请求 ctx 信息
Package ctxkit 操作请求 ctx 信息
Package db 提供 mysql 封装
Package db 提供 mysql 封装
Package log 基础日志组件
Package log 基础日志组件
Package mc memcache 客户端组件
Package mc memcache 客户端组件
test
ctxsetters is an implementation detail for twirp generated code, used by the generated servers to set values in contexts for later access with the twirp package's accessors.
ctxsetters is an implementation detail for twirp generated code, used by the generated servers to set values in contexts for later access with the twirp package's accessors.
Package xhttp 提供基础 http 客户端组件 内置以下功能: - logging - opentracing - prometheus
Package xhttp 提供基础 http 客户端组件 内置以下功能: - logging - opentracing - prometheus

Jump to

Keyboard shortcuts

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