protobufhandler

package
v0.0.56 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Call

func Call[RspT proto.Message, ReqT proto.Message](o *ProtobufHandler, ctx context.Context, req ReqT) (RspT, error)

Types

type ProtobufHandler

type ProtobufHandler struct {
	// contains filtered or unexported fields
}

func NewProtobufHandler

func NewProtobufHandler() *ProtobufHandler

func (*ProtobufHandler) Call

func (*ProtobufHandler) GetHandleFuncInfo

func (o *ProtobufHandler) GetHandleFuncInfo(reqPbName string) *delivery.HandleFuncInfo

func (*ProtobufHandler) GetHandlers added in v0.0.51

func (o *ProtobufHandler) GetHandlers() map[string]*delivery.HandleFuncInfo

func (*ProtobufHandler) Regist

func (o *ProtobufHandler) Regist(f interface{}) error

func (*ProtobufHandler) Regists

func (o *ProtobufHandler) Regists(fs ...interface{}) error

Jump to

Keyboard shortcuts

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