rpc: adjust client documentation

This commit is contained in:
Anna Shaleva 2021-09-08 13:02:14 +03:00
parent 913e3878c5
commit df8141ff7d
4 changed files with 25 additions and 9 deletions

View file

@ -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{}