commons

package module
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

README

Golang Commons

CI Go Report Card Quality Gate Status Maintainability Rating Reliability Rating Security Rating Coverage Go version License

This is a common library for Vpnbeast backend services which are written with Golang.

Development

This project requires below tools while developing:

After you installed pre-commit, simply run below command to prepare your development environment:

$ pre-commit install -c build/ci/.pre-commit-config.yaml

License

Apache License 2.0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLogger

func GetLogger() *zap.Logger

GetLogger returns the shared *VpnbeastLogger

func SetLogLevel added in v1.0.4

func SetLogLevel(level string) (*zap.Logger, error)

SetLogLevel function sets the log level of the *zap.Logger using zap.AtomicLevel dynamically

Types

This section is empty.

Jump to

Keyboard shortcuts

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