stealcam

package
v0.0.0-...-f60ab11 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2023 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiClient

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

func New

func New(baseURL string) *ApiClient

func (ApiClient) GetMemories

func (a ApiClient) GetMemories(creator common.Address) ([]Memory, error)

func (ApiClient) GetMemory

func (a ApiClient) GetMemory(id uint64) (*Memory, error)

func (ApiClient) GetProfile

func (a ApiClient) GetProfile(creator common.Address) (*Profile, error)

func (ApiClient) RevealMemory

func (a ApiClient) RevealMemory(id uint64, address common.Address, signature string) (string, error)

func (ApiClient) RevealMemoryWithRetries

func (a ApiClient) RevealMemoryWithRetries(id uint64, address common.Address, signature string, retries int) (string, error)

type Memory

type Memory struct {
	ID        uint64
	Owner     *string
	Signature string
}

type Profile

type Profile struct {
	// Twitter username
	Username string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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