network

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NodeURL string

Functions

func BaseUrl

func BaseUrl() string

func DoGet

func DoGet(route string) string

func DoHttpRead

func DoHttpRead(verb, route string, client *http.Client, request *http.Request) string

func DoPost

func DoPost(route string, payload []byte) string

func DoPostMultipart

func DoPostMultipart(route, ct string, payload []byte) string

func GetExchangeRate added in v0.0.6

func GetExchangeRate() string

func GetFollowsStateless added in v0.0.6

func GetFollowsStateless(pub58, username, last string) string

func GetHodlers added in v0.0.9

func GetHodlers(username string) string

func GetMessagesStateless added in v0.0.5

func GetMessagesStateless(pub58 string) string

func GetPostsStateless

func GetPostsStateless(pub58 string, follow bool) string

func GetSinglePost added in v0.0.11

func GetSinglePost(pub58, postHex string) string

func GetSingleProfile

func GetSingleProfile(key string) string

func GetUsersStateless added in v0.0.6

func GetUsersStateless(key string) string

func SendMessage added in v0.0.6

func SendMessage(sender, recipient, body string) string

func SubmitDiamond added in v0.0.11

func SubmitDiamond(level, sender, receiver, post string) string

func SubmitPost added in v0.0.4

func SubmitPost(pub58, body, reply, imageURL string) string

func SubmitSellCoin added in v0.0.6

func SubmitSellCoin(updater, creator string, sell, expected int64) string

func SubmitTx added in v0.0.4

func SubmitTx(hexString string, priv *btcec.PrivateKey) string

func SubmitTxWithAlreadySignedHex added in v0.0.11

func SubmitTxWithAlreadySignedHex(signedHex string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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