# Functions

NewChannel create new default channel.
NewEventStream creates new default grpc event stream with options.
NewFunctionInfo from rpc function metadata.

# Constants

Binary data type.
In represents input binding.
InOut represents binding used both as input and output.
Out represents output binding.
RawHTTPBodyBytes capability.
RPCHttpBodyOnly capability.
RPCHttpTriggerMetadataRemoved capability.
Stream data type.
String data type.
Undefined data type.

# Structs

BindingInfo represents functions input and output bindings.
Function is loaded function in worker.
FunctionInfo data.
Loader loads function object for given function id.
Logger that sends logs through rpc.
Request in event stream.
Worker handles incoming messages from event stream.

# Interfaces

Channel interface used to route streaming messages from host.
EventStream interface capable of recieving and sending StreamingMessage.
EventStreamOption allows setting optinal values on grpc event stream.
Sender interface supports sending StreamingMessages from client to server.
TypeLoader loads type that represents function Type representing function must implement api.Function or api.ReturnFunction.

# Type aliases

Bindings configured in function.
Capabilities is a map of capabilites.
Capability represents host capabilities.
DataType is a hint for binding data type.
Direction can be in, out or inout.
HostEventStreamOption sets host option on default grpc event stream.
MaxGrpcMessageLengthEventStreamOption sets max grpc message length on default grpc event stream.
PortEventStreamOption sets port option on default grpc event stream.