Documentation ¶
Index ¶
- Constants
- Variables
- type StringService
- func (s *StringService) Concat(ctx context.Context, req *stream_pb.StringRequest) (*stream_pb.StringResponse, error)
- func (s *StringService) LotsOfClientStream(qs stream_pb.StringService_LotsOfClientStreamServer) error
- func (s *StringService) LotsOfServerAndClientStream(qs stream_pb.StringService_LotsOfServerAndClientStreamServer) error
- func (s *StringService) LotsOfServerStream(req *stream_pb.StringRequest, ...) error
Constants ¶
View Source
const (
StrMaxSize = 1024
)
Variables ¶
View Source
var ( ErrMaxSize = errors.New("maximum size of 1024 bytes exceeded") ErrStrValue = errors.New("maximum size of 1024 bytes exceeded") )
Service errors
Functions ¶
This section is empty.
Types ¶
type StringService ¶
type StringService struct{}
func (*StringService) Concat ¶
func (s *StringService) Concat(ctx context.Context, req *stream_pb.StringRequest) (*stream_pb.StringResponse, error)
func (*StringService) LotsOfClientStream ¶
func (s *StringService) LotsOfClientStream(qs stream_pb.StringService_LotsOfClientStreamServer) error
func (*StringService) LotsOfServerAndClientStream ¶
func (s *StringService) LotsOfServerAndClientStream(qs stream_pb.StringService_LotsOfServerAndClientStreamServer) error
func (*StringService) LotsOfServerStream ¶
func (s *StringService) LotsOfServerStream(req *stream_pb.StringRequest, qs stream_pb.StringService_LotsOfServerStreamServer) error
Click to show internal directories.
Click to hide internal directories.