Documentation ¶
Index ¶
- Constants
- Variables
- type Commit
- type CommitResponse
- type CommonArg
- type CommonResponse
- type RecordAdd
- type RecordAddResponse
- type RecordDelete
- type RecordDeleteResponse
- type RecordGet
- type RecordGetResponse
- type RecordListGet
- type RecordListGetResponse
- type Reset
- type ResetResponse
- type ResourceRecord
- type ZoneListGet
- type ZoneListGetResponse
Constants ¶
View Source
const ( UNCAHNGED = "UNCHANGED" ADDING = "ADDING" DELETING = "DELETING" DELETED = "DELETED" )
Variables ¶
View Source
var APIlist []CommonArg
View Source
var TypeMap = map[string]reflect.Type{}
Functions ¶
This section is empty.
Types ¶
type Commit ¶
type Commit struct {
DoServiceCode string `json:"-"` // DO契約のサービスコード(do########)
}
Commit
type CommitResponse ¶
type CommitResponse struct {
*CommonResponse
}
CommitResponse PUT Commitのレスポンス
type CommonResponse ¶
type RecordAdd ¶
type RecordAdd struct { DoServiceCode string `json:"-"` // DO契約のサービスコード(do########) ZoneName string `json:"-"` // Zone Name Owner string // owner of record TTL string // TTL of record RecordType string // type of record RData string // data of record }
RecordAdd POST record (同期)
http://manual.iij.jp/dns/doapi/754517.html
type RecordAddResponse ¶
type RecordAddResponse struct { *CommonResponse Record ResourceRecord }
RecordAddResponse POST recordのレスポンス
type RecordDelete ¶
type RecordDelete struct { DoServiceCode string `json:"-"` // DO契約のサービスコード(do########) ZoneName string `json:"-"` // Zone Name RecordID string `json:"-"` // Record ID }
RecordDelete DELETE record
http://manual.iij.jp/dns/doapi/754525.html
func (RecordDelete) Document ¶
func (t RecordDelete) Document() string
func (RecordDelete) URI ¶
func (t RecordDelete) URI() string
URI /{{.DoServiceCode}}/{{.ZoneName}}/record/{{.RecordID}}.json
type RecordDeleteResponse ¶
type RecordDeleteResponse struct {
*CommonResponse
}
RecordDeleteResponse DELETE recordのレスポンス
type RecordGet ¶
type RecordGet struct { DoServiceCode string `json:"-"` // DO契約のサービスコード(do########) ZoneName string `json:"-"` // ゾーン名 RecordID string `json:"-"` // }
GET records
http://manual.iij.jp/dns/doapi/754619.html
type RecordGetResponse ¶
type RecordGetResponse struct { *CommonResponse Record ResourceRecord }
RecordGetResponse フィルタリングルール情報取得のレスポンス
type RecordListGet ¶
type RecordListGet struct { DoServiceCode string `json:"-"` // DO契約のサービスコード(do########) ZoneName string `json:"-"` // ゾーン名 }
GET records
func (RecordListGet) Document ¶
func (t RecordListGet) Document() string
func (RecordListGet) URI ¶
func (t RecordListGet) URI() string
URI /{{.DoServiceCode}}/{{.ZoneName}}/records/DETAIL.json
type RecordListGetResponse ¶
type RecordListGetResponse struct { *CommonResponse RecordList []ResourceRecord StaticRecordList []ResourceRecord }
RecordListGetResponse GET recordsのレスポンス
type Reset ¶
type Reset struct { DoServiceCode string `json:"-"` // DO契約のサービスコード(do########) ZoneName string `json:"-"` // Zone name }
Reset PUT reset (同期)
type ResourceRecord ¶
type ResourceRecord struct { Id string `json:",omitempty"` Status string Owner string TTL string RecordType string RData string }
func (*ResourceRecord) FQDN ¶
func (r *ResourceRecord) FQDN(zone string) string
func (*ResourceRecord) String ¶
func (r *ResourceRecord) String() string
type ZoneListGet ¶
type ZoneListGet struct {
DoServiceCode string `json:"-"` // DO契約のサービスコード(do########)
}
GET zones
func (ZoneListGet) Document ¶
func (t ZoneListGet) Document() string
type ZoneListGetResponse ¶
type ZoneListGetResponse struct { *CommonResponse ZoneList []string }
ZoneListGetResponse GET zonesのレスポンス
Click to show internal directories.
Click to hide internal directories.