Versions in this module Expand all Collapse all v0 v0.1.0 Jan 26, 2021 Changes in this version + const ERROR + const SUCCESS + type DnsDomainEntity struct + CreateTime string + Enabled bool + Name string + Remark string + Status string + type DnsDomainRequest struct + Name string + Remark string + type DnsDomainSort []*DnsDomainEntity + func (ds DnsDomainSort) Len() int + func (ds DnsDomainSort) Less(i, j int) bool + func (ds DnsDomainSort) Swap(i, j int) + type DnsRuleEntity struct + CreateTime string + Data string + Enabled bool + Host string + MxPriority int32 + Name string + Ttl int32 + Type string + Zone string + type DnsRuleRequest struct + Data string + Host string + MxPriority int32 + Name string + Ttl int32 + Type string + Zone string + type DnsRuleSort []*DnsRuleEntity + func (rs DnsRuleSort) Len() int + func (rs DnsRuleSort) Less(i, j int) bool + func (rs DnsRuleSort) Swap(i, j int) + type HttpServer struct + func NewHttpServer(port string) (server *HttpServer) + func (server *HttpServer) Start() + func (server *HttpServer) Stop() + type Response struct + Code int32 + Data interface{} + Msg string