domain

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: Apache-2.0 Imports: 2 Imported by: 29

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FQDN

type FQDN struct {
	// it should be a valid domain name, such as "subdomain.example.com"
	Name string `json:"name"`
}

FQDN represents a Fully Qualified Domain Name.

func (FQDN) AssetType

func (f FQDN) AssetType() model.AssetType

AssetType implements the Asset interface.

func (FQDN) JSON

func (f FQDN) JSON() ([]byte, error)

JSON implements the Asset interface.

func (FQDN) Key added in v0.7.0

func (f FQDN) Key() string

Key implements the Asset interface.

Jump to

Keyboard shortcuts

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