Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NilFetchResponse = fmt.Errorf("nil fetch resp")
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) FetchTimestamp ¶
func (*Client) TargetAddr ¶
type Server ¶
type Server struct { Port int Done chan struct{} // contains filtered or unexported fields }
type Stub ¶
type Stub struct { oraclepb.UnimplementedOracleServer // contains filtered or unexported fields }
func (*Stub) Fetch ¶
func (o *Stub) Fetch(ctx context.Context, _ *oraclepb.FetchRequest) (*oraclepb.FetchResponse, error)
Click to show internal directories.
Click to hide internal directories.