filter

package
v0.0.0-...-5416f79 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2017 License: Apache-2.0 Imports: 5 Imported by: 0

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