rpc

package
v0.0.0-...-d856696 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2016 License: MIT Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Address string

Functions

func Follow

func Follow(name string, followUserNames []string) (interface{}, error)

func GetFollowing

func GetFollowing(name string) (*[]string, error)

func ListWalletUsers

func ListWalletUsers() (interface{}, error)

func SetAddress

func SetAddress(newAddress string)

func UnFollow

func UnFollow(name string, followUserNames []string) (interface{}, error)

Types

type TwisterPost

type TwisterPost struct {
	SigUserpost string `json:"sig_userpost"`
	Userpost    struct {
		Height int64  `json:"height"`
		K      int64  `json:"k"`
		Lastk  *int64 `json:"lastk"`
		Msg    string `json:"msg"`
		N      string `json:"n"`
		Reply  *struct {
			K int64  `json:"k"`
			N string `json:"n"`
		} `json:"reply"`
		Rt *struct {
			Height int64  `json:"height"`
			K      int64  `json:"k"`
			Lastk  int64  `json:"lastk"`
			Msg    string `json:"msg"`
			N      string `json:"n"`
			Reply  struct {
				K int64  `json:"k"`
				N string `json:"n"`
			} `json:"reply"`
			Time int64 `json:"time"`
		} `json:"rt"`
		SigRt string `json:"sig_rt"`
		Time  uint64 `json:"time"`
	} `json:"userpost"`
}

type TwisterPosts

type TwisterPosts []TwisterPost

func GetPosts

func GetPosts(count int64, params []interface{}) (*TwisterPosts, error)

Jump to

Keyboard shortcuts

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