roundesk

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 roundesk interfaces with Deggen's Roundesk.co Read more at: https://roundesk.co/

Index

Constants

This section is empty.

Variables

View Source
var (
	Network   = roundeskURL      // 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 {
	Bio      string  `json:"bio"`
	Dev      float64 `json:"dev"`
	Ent      float64 `json:"ent"`
	Headline string  `json:"headline"`
	Inv      float64 `json:"inv"`
	Mar      float64 `json:"mar"`
	Name     string  `json:"name"`
	Paymail  string  `json:"paymail"`
	Twetch   string  `json:"twetch"`
	Uxd      float64 `json:"uxd"`
}

Profile is the roundesk public profile

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 roundesk profile if it exists for the given paymail address Specs: https://roundesk.co/

Jump to

Keyboard shortcuts

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