dns

package
v1.19.25 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DNS

type DNS struct {
	ID   primitive.ObjectID `bson:"_id,omitempty" json:"_id,omitempty"`
	Name string             `bson:"n,omitempty" json:"n,omitempty"`
}

func (DNS) Create

func (DNS) Create(
	ctx context.Context,
	name string,
) (
	res DNS,
	err error,
)

func (DNS) GetByIDs

func (DNS) GetByIDs(ctx context.Context, ids []string) (res []DNS, err error)

func (DNS) GetHints

func (DNS) GetHints(ctx context.Context, name string, excludeIDs []string, limit int64) (
	res []DNS,
	err error,
)

Jump to

Keyboard shortcuts

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