reveal

package
v0.0.0-...-946920c Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const TrackerScript = `` /* 339-byte string literal not displayed */

Variables

This section is empty.

Functions

func ProvisionTracker

func ProvisionTracker(s *service.Services) gin.HandlerFunc

func VerifyTracker

func VerifyTracker(s *service.Services) gin.HandlerFunc

Types

type TrackerRecord

type TrackerRecord struct {
	ID        string    `json:"id"`
	Domain    string    `json:"domain"`
	CreatedAt time.Time `json:"createdAt"`
	Code      string    `json:"code,omitempty"`
	Status    string    `json:"status,omitempty"`
}

type TrackerRequest

type TrackerRequest struct {
	Domain string `json:"domain"`
}

type TrackerResponse

type TrackerResponse struct {
	enum.BaseResponse
	Tracker TrackerRecord `json:"tracker"`
}

Jump to

Keyboard shortcuts

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