record

package
v0.0.0-...-a52508d Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(c *gin.Context)

Create create record api

func Lists

func Lists(c *gin.Context)

Lists record list api

Types

type CreateArgs

type CreateArgs struct {
	Name     string `json:"name" validate:"required"`
	Type     string `json:"type" validate:"required"`
	Value    string `json:"value" validate:"required"`
	TTL      uint32 `json:"ttl"`
	Priority int    `json:"priority"`
}

CreateArgs create record args

Jump to

Keyboard shortcuts

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