Documentation ¶
Index ¶
- Variables
- func RegisterFunctionServer(s *grpc.Server, srv FunctionServer)
- type FunctionClient
- type FunctionServer
- type Message
- func (*Message) Descriptor() ([]byte, []int)
- func (this *Message) Equal(that interface{}) bool
- func (this *Message) GoString() string
- func (m *Message) Marshal() (dAtA []byte, err error)
- func (m *Message) MarshalTo(dAtA []byte) (int, error)
- func (m *Message) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Message) ProtoMessage()
- func (m *Message) Reset()
- func (m *Message) Size() (n int)
- func (m *Message) String() string
- func (m *Message) Unmarshal(dAtA []byte) error
- func (m *Message) XXX_DiscardUnknown()
- func (m *Message) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Message) XXX_Merge(src proto.Message)
- func (m *Message) XXX_Size() int
- func (m *Message) XXX_Unmarshal(b []byte) error
- type UnimplementedFunctionServer
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func RegisterFunctionServer ¶
func RegisterFunctionServer(s *grpc.Server, srv FunctionServer)
Types ¶
type FunctionClient ¶
type FunctionClient interface {
Call(ctx context.Context, in *Message, opts ...grpc.CallOption) (*Message, error)
}
FunctionClient is the client API for Function service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewFunctionClient ¶
func NewFunctionClient(cc *grpc.ClientConn) FunctionClient
type FunctionServer ¶
FunctionServer is the server API for Function service.
type Message ¶
type Message struct { ID uint64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` Metadata map[string]string `` /* 157-byte string literal not displayed */ Payload []byte `protobuf:"bytes,3,opt,name=Payload,proto3" json:"Payload,omitempty"` }
Message message
func NewPopulatedMessage ¶
func (*Message) Descriptor ¶
func (*Message) MarshalToSizedBuffer ¶
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) XXX_DiscardUnknown ¶
func (m *Message) XXX_DiscardUnknown()
func (*Message) XXX_Marshal ¶
func (*Message) XXX_Unmarshal ¶
type UnimplementedFunctionServer ¶
type UnimplementedFunctionServer struct { }
UnimplementedFunctionServer can be embedded to have forward compatible implementations.
Click to show internal directories.
Click to hide internal directories.