Documentation ¶
Index ¶
- Variables
- func Follow(name string, followUserNames []string) (interface{}, error)
- func GetFollowing(name string) (*[]string, error)
- func ListWalletUsers() (interface{}, error)
- func SetAddress(newAddress string)
- func UnFollow(name string, followUserNames []string) (interface{}, error)
- type TwisterPost
- type TwisterPosts
Constants ¶
This section is empty.
Variables ¶
View Source
var Address string
Functions ¶
func GetFollowing ¶
func ListWalletUsers ¶
func ListWalletUsers() (interface{}, error)
func SetAddress ¶
func SetAddress(newAddress string)
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)
Click to show internal directories.
Click to hide internal directories.