powping

package
v0.3.28 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package powping interfaces with Unwriter's PowPing.com Read more at: https://powping.com/about

Index

Constants

This section is empty.

Variables

View Source
var (
	Network   = powPingURL       // override the default network
	UserAgent = defaultUserAgent // override the default user agent
)

Override the package defaults

Functions

This section is empty.

Types

type Profile

type Profile struct {
	Username string `json:"username"`
}

Profile is the public profile information for a given paymail

type Response

type Response struct {
	Profile    *Profile        `json:"profile"`     // The roundesk profile data
	StatusCode int             `json:"status_code"` // Status code returned on the request
	Tracing    resty.TraceInfo `json:"-"`           // Trace information if enabled on the request
}

Response is the response from fetching a profile

func GetProfile

func GetProfile(alias, domain string, tracing bool) (response *Response, err error)

GetProfile will get a powping profile if it exists for the given paymail address Specs: https://powping.com/about

Jump to

Keyboard shortcuts

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