Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
EmptyInnerMessage = InnerMessage{}
)
View Source
var (
ErrProto3Invalid = errors.New("proto3 invalid")
)
Functions ¶
This section is empty.
Types ¶
type GrpcInvokeEngine ¶
type GrpcInvokeEngine struct {
// contains filtered or unexported fields
}
func NewGrpcInvoke ¶
func NewGrpcInvoke(loadder ProtoSourceIf, target string, opts ...grpc.DialOption) *GrpcInvokeEngine
func (*GrpcInvokeEngine) Call ¶
func (me *GrpcInvokeEngine) Call(filename, servicename, methodname string, req map[string]interface{}, rep *map[string]interface{}, ctx context.Context, opts ...grpc.CallOption) error
func (*GrpcInvokeEngine) SetKeyVal ¶
func (me *GrpcInvokeEngine) SetKeyVal(filename, methodname, key string, value interface{})
type GrpcInvokeIf ¶
type GrpcInvokeIf interface {
// contains filtered or unexported methods
}
type InnerMessage ¶
type InnerMessage struct { }
func (*InnerMessage) IsEmpty ¶
func (me *InnerMessage) IsEmpty() bool
func (*InnerMessage) String ¶
func (me *InnerMessage) String() string
type ProtoFile ¶
type ProtoFile struct {
// contains filtered or unexported fields
}
func (*ProtoFile) ImportProtoWithList ¶
func (*ProtoFile) IncludeProto ¶
type ProtoSourceIf ¶
type ProtoSourceIf interface {
// contains filtered or unexported methods
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.