app

package
v0.0.0-...-cd7814d Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

* Copyright (c) 2023 by jimyag, All Rights Reserved. * Licensed under the MIT License. See LICENSE file in the project root for license information.

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type ParseIpHandle

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

func (*ParseIpHandle) AfterHandle

func (h *ParseIpHandle) AfterHandle(pb *pasteboard.Pasteboard, res any)

func (*ParseIpHandle) Handle

func (h *ParseIpHandle) Handle(pb *pasteboard.Pasteboard, content string) any

func (*ParseIpHandle) OnCopy

func (h *ParseIpHandle) OnCopy(pb *pasteboard.Pasteboard, content string)

type ResponseData

type ResponseData struct {
	Status  string `json:"status"`
	Message string `json:"message"`
	Country string `json:"country"`
	City    string `json:"city"`
	ISP     string `json:"isp"`
	Reverse string `json:"reverse"`
	Query   string `json:"query"`
}

ResponseData https://ip-api.com/docs/api:json

type TimeStampHandle

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

func (*TimeStampHandle) AfterHandle

func (h *TimeStampHandle) AfterHandle(pb *pasteboard.Pasteboard, res any)

func (*TimeStampHandle) Handle

func (h *TimeStampHandle) Handle(pb *pasteboard.Pasteboard, content string) any

func (*TimeStampHandle) OnCopy

func (h *TimeStampHandle) OnCopy(pb *pasteboard.Pasteboard, content string)

Jump to

Keyboard shortcuts

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