Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a gRPC client for the function runner interface implementing Runnable
func NewClient ¶
func NewClient(target string, opts ...grpc.DialOption) (*Client, error)
NewClient returns a new client instance
func NewClientWithContext ¶ added in v0.3.1
func NewClientWithContext(ctx context.Context, target string, opts ...grpc.DialOption) (*Client, error)
NewClientWithContext returns a new client instance
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is a gRPC server which serves function calls to a specific runnable
func (*Server) ListenAndServe ¶
ListenAndServe start listening for requests
func (*Server) Run ¶
func (s *Server) Run(stream btrfaasgrpc.FunctionRunner_RunServer) error
Run implements the server interface implied by the btrfaas protobuf service definition
Click to show internal directories.
Click to hide internal directories.