gorpc

package
v1.0.1-rel-02 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: AFL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InjectHelloRpcFunService

func InjectHelloRpcFunService(s *RpcFuncService)

func LoadHelloRpcFunService

func LoadHelloRpcFunService() baseiface.ISingleton

func Register

func Register()

Types

type RpcFuncService

type RpcFuncService struct {
	funchandler.FuncService
	basedto.BaseEntitySingle
}

func FindBeanHelloRpcFunService

func FindBeanHelloRpcFunService() *RpcFuncService

FindBeanHelloRpcFunService

func NewRpcFuncService

func NewRpcFuncService() *RpcFuncService

func (*RpcFuncService) ExecuteDbRpc

func (this *RpcFuncService) ExecuteDbRpc(ctx *gin.Context)

@Summary gorpcDb客户端 @Tags gorpc客户端 @Description gorpcDb客户端 @Produce json @Success 200 {object} basedto.IchubResult "成功" @Failure 400 {object} string "请求错误" @Failure 500 {object} string "内部错误" @Router /dbrpc [get]

func (*RpcFuncService) ExecuteRpc

func (this *RpcFuncService) ExecuteRpc(ctx *gin.Context)

@Summary gorpc客户端 @Tags gorpc客户端 @Description gorpc客户端 @Produce json @Success 200 {object} basedto.IchubResult "成功" @Failure 400 {object} string "请求错误" @Failure 500 {object} string "内部错误" @Router /hellorpc [get]

Jump to

Keyboard shortcuts

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