Documentation ¶
Overview ¶
Package function is a generated protocol buffer package.
It is generated from these files:
function.proto
It has these top-level messages:
Message
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterMessageFunctionServer ¶ added in v0.0.3
func RegisterMessageFunctionServer(s *grpc.Server, srv MessageFunctionServer)
Types ¶
type Message ¶ added in v0.0.3
type Message struct { Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` Headers map[string]*Message_HeaderValue `` /* 134-byte string literal not displayed */ }
func (*Message) Descriptor ¶ added in v0.0.3
func (*Message) GetHeaders ¶ added in v0.0.3
func (m *Message) GetHeaders() map[string]*Message_HeaderValue
func (*Message) GetPayload ¶ added in v0.0.3
func (*Message) ProtoMessage ¶ added in v0.0.3
func (*Message) ProtoMessage()
type MessageFunctionClient ¶ added in v0.0.3
type MessageFunctionClient interface {
Call(ctx context.Context, opts ...grpc.CallOption) (MessageFunction_CallClient, error)
}
func NewMessageFunctionClient ¶ added in v0.0.3
func NewMessageFunctionClient(cc *grpc.ClientConn) MessageFunctionClient
type MessageFunctionServer ¶ added in v0.0.3
type MessageFunctionServer interface {
Call(MessageFunction_CallServer) error
}
type MessageFunction_CallClient ¶ added in v0.0.3
type MessageFunction_CallServer ¶ added in v0.0.3
type Message_HeaderValue ¶ added in v0.0.3
type Message_HeaderValue struct {
Values []string `protobuf:"bytes,1,rep,name=values" json:"values,omitempty"`
}
func (*Message_HeaderValue) Descriptor ¶ added in v0.0.3
func (*Message_HeaderValue) Descriptor() ([]byte, []int)
func (*Message_HeaderValue) GetValues ¶ added in v0.0.3
func (m *Message_HeaderValue) GetValues() []string
func (*Message_HeaderValue) ProtoMessage ¶ added in v0.0.3
func (*Message_HeaderValue) ProtoMessage()
func (*Message_HeaderValue) Reset ¶ added in v0.0.3
func (m *Message_HeaderValue) Reset()
func (*Message_HeaderValue) String ¶ added in v0.0.3
func (m *Message_HeaderValue) String() string
Click to show internal directories.
Click to hide internal directories.