handlers

package
v0.0.0-...-a2093d6 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2022 License: LGPL-2.1 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(ctx context.Context, req *proto.HelloReq, c *gin.Context) (*proto.HelloResp, error)

func (*HelloHandler) HelloWithGinCtxAndNoResponse

func (h *HelloHandler) HelloWithGinCtxAndNoResponse(ctx context.Context, req *proto.HelloReq, c *gin.Context) error

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