config

package
v0.25.2 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Overview

Package config ...

Index

Constants

View Source
const (
	DiscoverTomlFileName        = "discover_list.toml"
	SnmpVersion                 = "v2c"
	FvulsDomain                 = "vuls.biz"
	Community                   = "public"
	DiscoverTomlTimeStampFormat = "20060102150405"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DiscoverToml

type DiscoverToml map[string]ServerSetting

DiscoverToml ...

type ServerSetting

type ServerSetting struct {
	IP         string   `toml:"ip"`
	ServerName string   `toml:"server_name"`
	UUID       string   `toml:"uuid"`
	CpeURIs    []string `toml:"cpe_uris"`
	FvulsSync  bool     `toml:"fvuls_sync"`
	// use internal
	NewCpeURIs []string `toml:"-"`
}

ServerSetting ...

Jump to

Keyboard shortcuts

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