Documentation ¶
Index ¶
- type HelloHandler
- func (h *HelloHandler) Hello(ctx context.Context, req *proto.HelloReq) (*proto.HelloResp, error)
- func (h *HelloHandler) HelloFile(ctx context.Context, req *proto.HelloFileReq) (*proto.HelloFileResp, error)
- func (h *HelloHandler) HelloHadError(ctx context.Context, req *proto.HelloReq) (*proto.HelloResp, error)
- func (h *HelloHandler) HelloMultipleFiles(ctx context.Context, req *proto.HelloMultipleFilesReq, c *gin.Context) (*proto.HelloMultipleFilesResp, error)
- func (h *HelloHandler) HelloUseErr(ctx context.Context, req *proto.HelloReq) (*proto.HelloResp, *result.Err)
- func (h *HelloHandler) HelloWithGinCtx(ctx context.Context, req *proto.HelloReq, c *gin.Context) (*proto.HelloResp, error)
- func (h *HelloHandler) HelloWithGinCtxAndNoResponse(ctx context.Context, req *proto.HelloReq, c *gin.Context) error
- func (h *HelloHandler) HelloWithMessage(ctx context.Context, req *proto.HelloReq) *result.Result
- func (h *HelloHandler) HelloWithResult(ctx context.Context, req *proto.HelloReq) *result.Result
- func (h *HelloHandler) Init(router gin.IRouter)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HelloHandler ¶
type HelloHandler struct { }
func (*HelloHandler) HelloFile ¶
func (h *HelloHandler) HelloFile(ctx context.Context, req *proto.HelloFileReq) (*proto.HelloFileResp, error)
func (*HelloHandler) HelloHadError ¶
func (*HelloHandler) HelloMultipleFiles ¶
func (h *HelloHandler) HelloMultipleFiles(ctx context.Context, req *proto.HelloMultipleFilesReq, c *gin.Context) (*proto.HelloMultipleFilesResp, error)
func (*HelloHandler) HelloUseErr ¶
func (*HelloHandler) HelloWithGinCtx ¶
func (*HelloHandler) HelloWithGinCtxAndNoResponse ¶
func (*HelloHandler) HelloWithMessage ¶
func (*HelloHandler) HelloWithResult ¶
func (*HelloHandler) Init ¶
func (h *HelloHandler) Init(router gin.IRouter)
Click to show internal directories.
Click to hide internal directories.