filter

package
v3.15.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2018 License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HostFilter

func HostFilter(filterTxt string, limit int) []gp.Endpoint

func HostNameFilter

func HostNameFilter(dat []boss.BossHost, filterTxt string, limit int) []boss.BossHost

func IdcFilter

func IdcFilter(dat []boss.BossHost, filterTxt string, limit int) []boss.BossHost

func IpFilter

func IpFilter(dat []boss.BossHost, filterTxt string, limit int) []boss.BossHost

func IspFilter

func IspFilter(dat []boss.BossHost, filterTxt string, limit int) []boss.BossHost

func PlatformFilter

func PlatformFilter(dat []boss.BossHost, filterTxt string, limit int) []boss.BossHost

func ProvinceFilter

func ProvinceFilter(dat []boss.BossHost, filterTxt string, limit int) []boss.BossHost

Types

type GrpHosts

type GrpHosts struct {
	GrpName  string `json:"grp_name" orm:"grp_name"`
	Hostname string `json:"hostname" orm:"hostname"`
}

func HostGroupFilter

func HostGroupFilter(filterTxt string, limit int) []GrpHosts

Jump to

Keyboard shortcuts

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