2016-06-19 06:43:29 +00:00
|
|
|
package service
|
|
|
|
|
|
|
|
// RPCCallback is used by RPC methods to return their result asynchronously.
|
|
|
|
type RPCCallback interface {
|
|
|
|
Return(out interface{}, err error)
|
2021-03-08 18:05:10 +00:00
|
|
|
|
|
|
|
// SetupDone returns a channel that should be closed to signal that the
|
|
|
|
// asynchornous method has completed setup and the server is ready to
|
|
|
|
// receive other requests.
|
|
|
|
SetupDoneChan() chan struct{}
|
2016-06-19 06:43:29 +00:00
|
|
|
}
|