component

package
v0.0.0-...-8e9e43a Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChartData

type ChartData struct {
	X string `json:"x"`
	Y int32  `json:"y"`
}

type IpSearch

type IpSearch struct {
	Region *ip2region.Ip2Region
}

func InitIpSearch

func InitIpSearch() *IpSearch

初始化ip2region

func (*IpSearch) Search

func (s *IpSearch) Search(ip string) (*ip2region.IpInfo, error)

转换ip

type LoginChart

type LoginChart struct {
	// contains filtered or unexported fields
}

LoginChart ...

func InitLoginChart

func InitLoginChart() *LoginChart

初始化

func (*LoginChart) Entry

func (s *LoginChart) Entry()

入口

func (*LoginChart) FetchAllData

func (s *LoginChart) FetchAllData() []ChartData

ChartDataApi 获取所有数据

type TextSafe

type TextSafe struct {
	// contains filtered or unexported fields
}

func (*TextSafe) Filter

func (s *TextSafe) Filter(filterText string) string

func (*TextSafe) NewFilter

func (s *TextSafe) NewFilter() error

Jump to

Keyboard shortcuts

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