rpc: adjust client documentation
This commit is contained in:
parent
913e3878c5
commit
df8141ff7d
4 changed files with 25 additions and 9 deletions
|
@ -38,8 +38,8 @@ type WSClient struct {
|
|||
}
|
||||
|
||||
// Notification represents server-generated notification for client subscriptions.
|
||||
// Value can be one of block.Block, result.ApplicationLog, result.NotificationEvent
|
||||
// or transaction.Transaction based on Type.
|
||||
// Value can be one of block.Block, state.AppExecResult, state.NotificationEvent
|
||||
// transaction.Transaction or response.NotaryRequestEvent based on Type.
|
||||
type Notification struct {
|
||||
Type response.EventID
|
||||
Value interface{}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue