envcheck

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 18, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckArch

func CheckArch() string

func CheckConn

func CheckConn(addr string) bool

Check address is reachable

func CheckDiskSpace

func CheckDiskSpace() bool

Check if theres enough space to run GoOwl;Default 2G

func CheckDocker

func CheckDocker() int

Return -1 if unknown;0 if fasle andf 1 if true

func CheckIsRoot

func CheckIsRoot() bool

Check whether program r is running in root

func CheckMemory

func CheckMemory() bool

Check if memory>1G

func CheckOS

func CheckOS() string

func CheckPlatform

func CheckPlatform() string

Check platform

Types

This section is empty.

Jump to

Keyboard shortcuts

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