system

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2023 License: GPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NotifyBackup

func NotifyBackup(ctx context.Context, bot *telebot.Bot, header string, userIDs []int64, file *os.File) error

func NotifyBackupErr

func NotifyBackupErr(ctx context.Context, bot *telebot.Bot, header string, userIDs []int64, err error) error

Types

type Data

type Data struct {
	IPs    []net.Addr
	Memory Memory
	Info   goInfo.GoInfoObject
}

func New

func New() (Data, error)

func (Data) MarkdownV2

func (d Data) MarkdownV2(head string) string

func (Data) Println

func (d Data) Println() error

type DestroyBackup

type DestroyBackup func()

func Backup

type Memory

type Memory struct {
	Free  uint64
	Total uint64
}

Jump to

Keyboard shortcuts

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