Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: a394161b4e
Fetching contributors…

Cannot retrieve contributors at this time

16 lines (13 sloc) 0.57 kb
package skynet
// ServiceHandshake is data sent by the service to the client immediately once the connection
// is opened.
type ServiceHandshake struct {
// Registered indicates the state of this service. If it is false, the connection will
// close immediately and the client should look elsewhere for this service.
Registered bool
// ClientID is a UUID that is used by the client to identify itself in RPC requests.
ClientID string
}
// ClientHandshake is sent by the client to the service after receipt of the ServiceHandshake.
type ClientHandshake struct {
}
Jump to Line
Something went wrong with that request. Please try again.