Documentation ¶
Index ¶
Constants ¶
View Source
const ( SUCCESS int32 = 0 ERROR int32 = 1 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DnsDomainEntity ¶
type DnsDomainRequest ¶
type DnsDomainSort ¶
type DnsDomainSort []*DnsDomainEntity
func (DnsDomainSort) Len ¶
func (ds DnsDomainSort) Len() int
func (DnsDomainSort) Less ¶
func (ds DnsDomainSort) Less(i, j int) bool
func (DnsDomainSort) Swap ¶
func (ds DnsDomainSort) Swap(i, j int)
type DnsRuleEntity ¶
type DnsRuleRequest ¶
type DnsRuleSort ¶
type DnsRuleSort []*DnsRuleEntity
func (DnsRuleSort) Len ¶
func (rs DnsRuleSort) Len() int
func (DnsRuleSort) Less ¶
func (rs DnsRuleSort) Less(i, j int) bool
func (DnsRuleSort) Swap ¶
func (rs DnsRuleSort) Swap(i, j int)
type HttpServer ¶
type HttpServer struct {
// contains filtered or unexported fields
}
func NewHttpServer ¶
func NewHttpServer(port string) (server *HttpServer)
func (*HttpServer) Start ¶
func (server *HttpServer) Start()
Start used to start the api http server.
Click to show internal directories.
Click to hide internal directories.