function

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2018 License: Apache-2.0 Imports: 5 Imported by: 1

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) Descriptor() ([]byte, []int)

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 (m *Message) GetPayload() []byte

func (*Message) ProtoMessage added in v0.0.3

func (*Message) ProtoMessage()

func (*Message) Reset added in v0.0.3

func (m *Message) Reset()

func (*Message) String added in v0.0.3

func (m *Message) String() string

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_CallClient interface {
	Send(*Message) error
	Recv() (*Message, error)
	grpc.ClientStream
}

type MessageFunction_CallServer added in v0.0.3

type MessageFunction_CallServer interface {
	Send(*Message) error
	Recv() (*Message, error)
	grpc.ServerStream
}

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

Jump to

Keyboard shortcuts

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