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 to the fgateway
func NewClient ¶
func NewClient(gateway string, opts ...grpc.DialOption) (*Client, error)
NewClient creates a new client instance
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server represents a gRPC based function dispatcher
func NewServer ¶
func NewServer(addr string, defaultPort uint16, opts ...grpc.ServerOption) *Server
NewServer creates a gRPC based function dispatcher
func (*Server) ListenAndServe ¶
ListenAndServe starts listening for connections
func (*Server) Run ¶
func (s *Server) Run(stream btrfaasgrpc.FunctionRunner_RunServer) (err error)
Run implements the gRPC interface
Click to show internal directories.
Click to hide internal directories.