Documentation ¶
Index ¶
- type Client
- type Server
- func (s *Server) Buy(ctx context.Context, req *pb.BuyRequest) (*pb.Candy, error)
- func (s *Server) SetErrFn(fn func() error)
- func (s *Server) StreamCandyFrom(_ *emptypb.Empty, stream pb.CandyStore_StreamCandyFromServer) error
- func (s *Server) StreamCandyTo(stream pb.CandyStore_StreamCandyToServer) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) StreamCandyFrom ¶
type Server ¶
type Server struct { pb.UnsafeCandyStoreServer // contains filtered or unexported fields }
func (*Server) StreamCandyFrom ¶
func (*Server) StreamCandyTo ¶
func (s *Server) StreamCandyTo(stream pb.CandyStore_StreamCandyToServer) error
Click to show internal directories.
Click to hide internal directories.