apis

package
v0.0.0-...-e7f8777 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 20, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultLocation = "CN"

Variables

This section is empty.

Functions

This section is empty.

Types

type LookupResp

type LookupResp struct {
	UTC      int64    `json:"utc"`
	Location string   `json:"location"`
	Domains  []string `json:"domains"`
}

type RouterApi

type RouterApi struct {
	Naming   naming.Naming
	IPRegion ipregion.IPRegion
	Config   conf.Router
	Lg       *zap.Logger
}

func (*RouterApi) Lookup

func (r *RouterApi) Lookup(c iris.Context)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL