Documentation
¶
Index ¶
- type Service
- func (s *Service) ExecuteFunction(ctx context.Context, req *pb.ExecuteFunctionRequest) (*pb.ExecuteFunctionResponse, error)
- func (s *Service) ListFunctions(ctx context.Context, req *pb.ListFunctionsRequest) (*pb.ListFunctionsResponse, error)
- func (s *Service) Start(port int) error
- func (s *Service) Stop()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct { pb.UnimplementedFunctionServiceServer // contains filtered or unexported fields }
Service represents the gRPC service
func NewService ¶
NewService creates a new gRPC service
func (*Service) ExecuteFunction ¶
func (s *Service) ExecuteFunction(ctx context.Context, req *pb.ExecuteFunctionRequest) (*pb.ExecuteFunctionResponse, error)
ExecuteFunction executes a function
func (*Service) ListFunctions ¶
func (s *Service) ListFunctions(ctx context.Context, req *pb.ListFunctionsRequest) (*pb.ListFunctionsResponse, error)
ListFunctions lists all available functions
Click to show internal directories.
Click to hide internal directories.