info

package
v0.0.0-...-e5993db Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	BalanceEndpointPath = "/balance"
	ProfileEndpointPath = "/profile"
	ReportEndpointPath  = "/report"
)

Variables

This section is empty.

Functions

func Balance

func Balance(address wallet.Addr) error

func Profile

func Profile(sender wallet.Addr, userId int64) error

func Report

func Report() error

Types

type Server

type Server struct {
	Scraper   *twitterscraper.Scraper
	Mux       *http.ServeMux
	ErrorChan chan error
}

func NewServer

func NewServer(scraper *twitterscraper.Scraper) *Server

func (*Server) Listen

func (l *Server) Listen() error

Jump to

Keyboard shortcuts

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