records

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2017 License: MPL-2.0 Imports: 0 Imported by: 25

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateRecordRequest

type CreateRecordRequest struct {
	RecordType string `json:"type"`
	Name       string `json:"name"`
	Content    string `json:"content"`
	TTL        int    `json:"ttl"`
}

CreateRecordRequest describes the json payload for creating a record

type CreateRecordResponse

type CreateRecordResponse struct {
	ID         string `json:"id"`
	RecordType string `json:"type"`
	Name       string `json:"name"`
	Content    string `json:"content"`
	TTL        int    `json:"ttl"`
}

CreateRecordResponse describes the json response for creating a record

type GetRecordsResponse

type GetRecordsResponse struct {
	ID         string `json:"id"`
	RecordType string `json:"type"`
	Name       string `json:"name"`
	Content    string `json:"content"`
	TTL        int    `json:"ttl"`
}

GetRecordsResponse describes the json response of a single record

type RemoveRecordResponse

type RemoveRecordResponse struct {
}

RemoveRecordResponse describes the json response for removing a record

Jump to

Keyboard shortcuts

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