Skip to content

Commit

Permalink
[support] Supported getting group data.
Browse files Browse the repository at this point in the history
  • Loading branch information
yoneyan committed Aug 27, 2021
1 parent 0da3623 commit 8380aff
Show file tree
Hide file tree
Showing 4 changed files with 1,008 additions and 73 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
- IPv4変更
- IPv6登録
- IPv6変更
- IPv4情報の閲覧
- IPv6情報の閲覧

削除はJPNIC側のAPIサーバ側が対応していないため、対応不可。
また、詳しい仕様に関してはJPNIC側のトランザクション資料と照らし合わせながら使う必要があります。
Expand Down
42 changes: 42 additions & 0 deletions interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,31 @@ type InfoIPv4 struct {
KindID string `json:"kind_id"`
}

type InfoDetailIPv4 struct {
IPAddress string `json:"ip_address"`
Ryakusho string `json:"ryakusho"`
Type string `json:"type"`
InfraUserKind string `json:"infra_user_kind"`
NetworkName string `json:"network_name"`
Org string `json:"org"`
OrgEn string `json:"org_en"`
PostCode string `json:"post_code"`
Address string `json:"address"`
AddressEn string `json:"address_en"`
AdminJPNICHandle string `json:"admin_jpnic_handle"`
AdminJPNICHandleLink string `json:"admin_jpnic_handle_link"`
TechJPNICHandle string `json:"tech_jpnic_handle"`
TechJPNICHandleLink string `json:"tech_jpnic_handle_link"`
NameServer string `json:"name_server"`
DSRecord string `json:"ds_record"`
NotifyAddress string `json:"notify_address"`
DeliNo string `json:"deli_no"`
RecepNo string `json:"recep_no"`
AssignDate string `json:"assign_date"`
ReturnDate string `json:"return_date"`
UpdateDate string `json:"update_date"`
}

type InfoIPv6 struct {
IPAddress string `json:"ip_address"`
DetailLink string `json:"detail_link"`
Expand All @@ -126,3 +151,20 @@ type InfoIPv6 struct {
DeliNo string `json:"deli_no"`
KindID string `json:"kind_id"`
}

type InfoDetailIPv6 struct {
IPAddress string `json:"ip_address"`
Ryakusho string `json:"ryakusho"`
Type string `json:"type"`
InfraUserKind string `json:"infra_user_kind"`
NetworkName string `json:"network_name"`
Org string `json:"org"`
OrgEn string `json:"org_en"`
AdminJPNICHandle string `json:"admin_jpnic_handle"`
AdminJPNICHandleLink string `json:"admin_jpnic_handle_link"`
TechJPNICHandle string `json:"tech_jpnic_handle"`
TechJPNICHandleLink string `json:"tech_jpnic_handle_link"`
AssignDate string `json:"assign_date"`
ReturnDate string `json:"return_date"`
UpdateDate string `json:"update_date"`
}
Loading

0 comments on commit 8380aff

Please sign in to comment.