Discover Packages
github.com/mefuwei/wdns
apis
package
Version:
v0.0.0-...-7c4a135
Opens a new window with list of versions in this module.
Published: Nov 12, 2019
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Jump to ...
Documentation
Index
Constants
Variables
Functions
DnsAdd(r, w)
DnsDelete(r, w)
DnsGet(r, w)
DnsList(r, w)
DnsUpdate(r, w)
FailedResp(r, w, code, message)
SuccessResp(r, w, data)
Types
Source Files
Documentation
Documentation
¶
func DnsAdd(r *restful.Request, w *restful.Response)
func DnsDelete(r *restful.Request, w *restful.Response)
func DnsGet(r *restful.Request, w *restful.Response)
func DnsList(r *restful.Request, w *restful.Response)
func DnsUpdate(r *restful.Request, w *restful.Response)
func FailedResp(r *restful.Request, w *restful.Response, code int, message string)
func SuccessResp(r *restful.Request, w *restful.Response, data interface{})
type Resp
func DnsAdd(r *restful.Request, w *restful.Response)
func DnsDelete(r *restful.Request, w *restful.Response)
func DnsGet(r *restful.Request, w *restful.Response)
func DnsList(r *restful.Request, w *restful.Response)
todo list rewrite
func DnsUpdate(r *restful.Request, w *restful.Response)
func FailedResp(r *restful.Request, w *restful.Response, code int , message string )
func SuccessResp(r *restful.Request, w *restful.Response, data interface{})
type Resp struct {
Title string `json:"title"`
Message string `json:"message"`
Data interface{} `json:"data,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.