Documentation ¶
Index ¶
- func Broadcast(bc BroadcastConfiguration) error
- func PushFileToStorageEngine(configuration FilePushConfiguration) (string, error)
- func PutContentToStorageEngine(pcc PutContentConfiguration) error
- func SignAndBroadcast(sc SignConfiguration) error
- type BroadcastConfiguration
- type BroadcastData
- type FilePushConfiguration
- type PushResponse
- type PutContentConfiguration
- type SignConfiguration
- type StandardPushConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Broadcast ¶
func Broadcast(bc BroadcastConfiguration) error
func PushFileToStorageEngine ¶
func PushFileToStorageEngine(configuration FilePushConfiguration) (string, error)
func PutContentToStorageEngine ¶
func PutContentToStorageEngine(pcc PutContentConfiguration) error
func SignAndBroadcast ¶
func SignAndBroadcast(sc SignConfiguration) error
Types ¶
type BroadcastConfiguration ¶
type BroadcastConfiguration struct { Message *messages.BaseMessage APIServer string }
type BroadcastData ¶
type FilePushConfiguration ¶
type PushResponse ¶
type PushResponse struct {
Hash string `json:"hash"`
}
func PushToStorageEngine ¶
func PushToStorageEngine(spc StandardPushConfiguration) (*PushResponse, error)
type PutContentConfiguration ¶
type PutContentConfiguration struct { Message *messages.BaseMessage Content interface{} InlineRequested bool StorageEngine messages.StorageEngine APIServer string }
type SignConfiguration ¶
type SignConfiguration struct { Account accounts.Account Message *messages.BaseMessage APIServer string }
type StandardPushConfiguration ¶
type StandardPushConfiguration struct { Value interface{} APIServer string StorageEngine messages.StorageEngine }
Click to show internal directories.
Click to hide internal directories.