impl

package
v0.0.0-...-6a8978f Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Host

type Host struct {
	ResourceId string `json:"resource_id"`
	*host.Spec
}

构造符合数据库映射逻辑的对象

func NewHost

func NewHost(h *host.Host) *Host

func (*Host) TableName

func (i *Host) TableName() string

type HostSet

type HostSet struct {
	Total int64
	Items []*Host
}

func NewHostSet

func NewHostSet() *HostSet

func (*HostSet) HostSet

func (h *HostSet) HostSet() *host.HostSet

Jump to

Keyboard shortcuts

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