Documentation ¶
Index ¶
- type Server
- func (s *Server) ComputeDouble(ctx context.Context, request *impl.ComputeDoubleRequest, ...) (*impl.ComputeDoubleResponse, error)
- func (s *Server) TellMeAPoem(ctx context.Context, request *impl.TellMeAPoemRequest, ...) (*impl.TellMeAPoemResponse, error)
- func (s *Server) VersionedAPIs() []*srvtypes.VersionedAPI
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct{}
Server is the impl server for the dummy API group.
func (*Server) ComputeDouble ¶
func (s *Server) ComputeDouble(ctx context.Context, request *impl.ComputeDoubleRequest, version apiversion.Version) (*impl.ComputeDoubleResponse, error)
ComputeDouble computes the double of the input. Real smart stuff!
func (*Server) TellMeAPoem ¶
func (s *Server) TellMeAPoem(ctx context.Context, request *impl.TellMeAPoemRequest, version apiversion.Version) (*impl.TellMeAPoemResponse, error)
TellMeAPoem returns a very poetic response.
func (*Server) VersionedAPIs ¶
func (s *Server) VersionedAPIs() []*srvtypes.VersionedAPI
Click to show internal directories.
Click to hide internal directories.