linktree

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Link struct {
	URL string `json:"url"`
}

type Linktree

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

func NewLinktree

func NewLinktree() *Linktree

func (*Linktree) GetLinktreeUserInfo

func (lt *Linktree) GetLinktreeUserInfo(url, username string) (*LinktreeUser, map[string]interface{}, error)

type LinktreeUser

type LinktreeUser struct {
	Username    string `json:"username"`
	URL         string `json:"url"`
	AvatarImage string `json:"avatar_image"`
	ID          int    `json:"id"`
	Tier        string `json:"tier"`
	IsActive    bool   `json:"is_active"`
	Description string `json:"description"`
	CreatedAt   int64  `json:"created_at"`
	UpdatedAt   int64  `json:"updated_at"`
	Links       []Link `json:"links"`
}

Jump to

Keyboard shortcuts

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