README ¶ IIJ DNS Platform Service API for Go API Library for IIJ DNS Platform Service. This is not an official IIJ software. Usage package main import ( "fmt" "os" "github.com/mimuret/golang-iij-dpf/pkg/api" "github.com/mimuret/golang-iij-dpf/pkg/apis/core" ) func main() { token := os.Getenv("DPF_TOKEN") cl := api.NewClient(token, "", nil) zoneList := &core.ZoneList{} searchParam := &core.ZoneListSearchKeywords{Name: api.KeywordsString{"example.jp"}} req, err := cl.ListALL(zoneList, searchParam) if err != nil { panic(err) } fmt.Printf("RequestID: %s\n", req) for _, item := range zoneList.Items { fmt.Println(item) } } Expand ▾ Collapse ▴ Directories ¶ Show internal Expand all Path Synopsis pkg api apis apis/common_configs apis/contracts apis/core apis/zones apiutils meta schema testtool types utils Click to show internal directories. Click to hide internal directories.