info

package
v0.0.0-...-3bac8ec Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2023 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Info

type Info struct {
	Version    string `json:"version"`
	GitCommit  string `json:"git_commit"`
	BuildDate  string `json:"build_date"`
	GoOS       string `json:"go_os"`
	GoArch     string `json:"go_arch"`
	GoVersion  string `json:"go_version"`
	GoMaxProcs int    `json:"go_max_procs"`
	NumCPU     int    `json:"go_num_cpu"`
}

func GetInstance

func GetInstance() Info

func (Info) MarshalLogObject

func (i Info) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (Info) String

func (i Info) String() string

Jump to

Keyboard shortcuts

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