api

package
v0.9.6 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2023 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetIP

func GetIP(c *gin.Context)

Return the IP and location information about client.

func GetMirrors

func GetMirrors(c *gin.Context)

Return current status of all mirrors.

func GetPing

func GetPing(c *gin.Context)

A demo that simply responses the request.

func GetPkgMirrors

func GetPkgMirrors(c *gin.Context)

Return mirrors based on the client's location.

Types

This section is empty.

Jump to

Keyboard shortcuts

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