Documentation ¶ Index ¶ type DNS func (DNS) Create(ctx context.Context, name string) (res DNS, err error) func (DNS) GetByIDs(ctx context.Context, ids []string) (res []DNS, err error) func (DNS) GetHints(ctx context.Context, name string, excludeIDs []string, limit int64) (res []DNS, err error) 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, ) Source Files ¶ View all Source files dns.go utils.go Click to show internal directories. Click to hide internal directories.