Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SampleProtocol ¶
func SampleProtocol(i SampleInterface) rpc.Protocol
Types ¶
type NotifierArg ¶
type NotifierArg struct {
I int `codec:"i" json:"i"`
}
type SampleClient ¶
type SampleClient struct {
Cli rpc.GenericClient
}
type SampleInterface ¶
type SampleInterface interface {
// GetBaz will get a baz like you wouldn't believe.
// If this baz isn't gotten, then I'll eat my hat
//
// And then.
GetBaz(context.Context, GetBazArg) (keybase1.SigID, error)
// Notifier notifies the notifiee.
Notifier(context.Context, int) error
}
SampleInterface protocol is a sample among samples.
Click to show internal directories.
Click to hide internal directories.