Documentation ¶
Index ¶
- type Server
- func (s *Server) GetCounter() int64
- func (s *Server) GetEnvironment() string
- func (s *Server) GetName() string
- func (s *Server) GetVersion() string
- func (s *Server) Scalar(_ context.Context, in *pb.Request) (*pb.Response, error)
- func (s *Server) Start(ctx context.Context, address string) error
- func (s *Server) Stop()
- func (s *Server) Stream(stream pb.Service_StreamServer) error
- func (s *Server) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { pb.UnimplementedServiceServer // contains filtered or unexported fields }
Server is used to implement your Service.
func (*Server) GetCounter ¶
func (*Server) GetEnvironment ¶
func (*Server) GetVersion ¶
Click to show internal directories.
Click to hide internal directories.