Versions in this module Expand all Collapse all v1 v1.0.0 Apr 5, 2021 Changes in this version + var NilFetchResponse = fmt.Errorf("nil fetch resp") + type Client struct + func NewClient(serverAddr string) (*Client, error) + func (c *Client) Close() error + func (c *Client) FetchTimestamp(ctx context.Context) (uint64, error) + func (c *Client) TargetAddr() string + type Server struct + Done chan struct{} + Port int + func NewServer(port int, oracle oracle.Oracle, store *topo.Store) *Server + func (s *Server) Close() error + func (s *Server) Start() error + type Stub struct + func (o *Stub) Fetch(ctx context.Context, _ *oraclepb.FetchRequest) (*oraclepb.FetchResponse, error)