Discover Packages
github.com/andyleap/go-ssb
social
package
Version:
v0.0.0-...-ca58dd2
Opens a new window with list of versions in this module.
Published: May 19, 2018
License: GPL-3.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 9
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Link struct {
Link ssb .Ref `json:"link"`
}
type Post struct {
ssb .MessageBody
Text string `json:"text"`
Channel string `json:"channel,omitempty"`
Root ssb .Ref `json:"root,omitempty"`
Branch ssb .Ref `json:"branch,omitempty"`
Recps []Link `json:"recps,omitempty"`
Mentions []Link `json:"mentions,omitempty"`
}
type Vote struct {
ssb .MessageBody
Vote struct {
Link ssb .Ref `json:"link"`
Value int `json:"value"`
Reason string `json:"reason,omitempty"`
} `json:"vote"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.