
This version preserves the order of requests, allows the client to switch between API versions and introduces a way to send notifications to the client (see TODO item at: proc/proc_linux.go:325). Fixes #523, #571
7 lines
161 B
Go
7 lines
161 B
Go
package service
|
|
|
|
// RPCCallback is used by RPC methods to return their result asynchronously.
|
|
type RPCCallback interface {
|
|
Return(out interface{}, err error)
|
|
}
|