setup

package
v0.7.6 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

主机磁盘配置获取数据结构

通用设置模块 获取主机基本配置

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Disk

type Disk struct {
	disk.PartitionStat
}

type Host

type Host struct {
	Ip []IP `json:"ip"`
	// contains filtered or unexported fields
}

func (*Host) String

func (h *Host) String() (string, error)

type IP

type IP struct {
	Device   string `json:"device"`
	Ip       string `json:"ip"`
	Mac      string `json:"mac"`
	Bordcast string `json:"bordcast"`
	Status   string `json:"status"`
}

Jump to

Keyboard shortcuts

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