handlers

package
v1.4.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 18, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HelloHandler

type HelloHandler struct {
}

func (*HelloHandler) Hello

func (h *HelloHandler) Hello(ctx context.Context, req *proto.HelloReq) (*proto.HelloResp, error)

func (*HelloHandler) HelloFile

func (h *HelloHandler) HelloFile(ctx context.Context, req *proto.HelloFileReq) (*proto.HelloFileResp, error)

func (*HelloHandler) HelloHadError

func (h *HelloHandler) HelloHadError(ctx context.Context, req *proto.HelloReq) (*proto.HelloResp, error)

func (*HelloHandler) HelloMultipleFiles

func (*HelloHandler) HelloUseErr

func (h *HelloHandler) HelloUseErr(ctx context.Context, req *proto.HelloReq) (*proto.HelloResp, *result.Err)

func (*HelloHandler) HelloWithGinCtx

func (h *HelloHandler) HelloWithGinCtx(c *gin.Context, req *proto.HelloReq) (*proto.HelloResp, error)

func (*HelloHandler) HelloWithGinCtxAndNoReturn

func (h *HelloHandler) HelloWithGinCtxAndNoReturn(c *gin.Context, req *proto.HelloReq)

func (*HelloHandler) HelloWithMessage

func (h *HelloHandler) HelloWithMessage(ctx context.Context, req *proto.HelloReq) *result.Result

func (*HelloHandler) HelloWithResult

func (h *HelloHandler) HelloWithResult(ctx context.Context, req *proto.HelloReq) *result.Result

func (*HelloHandler) Init

func (h *HelloHandler) Init(router gin.IRouter)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL