common

package module
v1.0.48 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

README

common

Hmlylab common package

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetEnvOrDefault

func GetEnvOrDefault(key, defaultValue string) string

func GetQueryParam

func GetQueryParam(r *http.Request, key string) string

func ReadJSON

func ReadJSON(r *http.Request, data interface{}) error

func WriteError

func WriteError(w http.ResponseWriter, status int, message string)

func WriteJSON

func WriteJSON(w http.ResponseWriter, status int, data interface{})

Types

This section is empty.

Directories

Path Synopsis
Package proto is a reverse proxy.
Package proto is a reverse proxy.

Jump to

Keyboard shortcuts

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