Documentation ¶
Index ¶
- func Init(config *types.GatewayOption) error
- type Gateway
- func (g *Gateway) CreateFunction(ctx context.Context, req *pb.CreateFunctionRequest) (*pb.Function, error)
- func (g *Gateway) DeleteFunction(ctx context.Context, req *pb.DeleteFunctionRequest) (*emptypb.Empty, error)
- func (g *Gateway) GetFunction(ctx context.Context, req *pb.GetFunctionRequest) (*pb.ListFunctionsResponse, error)
- func (gate *Gateway) Init(config *types.GatewayOption) error
- func (g *Gateway) ListFunctions(ctx context.Context, req *pb.ListFunctionsRequest) (*pb.ListFunctionsResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Init ¶
func Init(config *types.GatewayOption) error
Types ¶
type Gateway ¶
type Gateway struct { pb.UnimplementedFunctionServiceServer // contains filtered or unexported fields }
func (*Gateway) CreateFunction ¶
func (*Gateway) DeleteFunction ¶
func (*Gateway) GetFunction ¶
func (g *Gateway) GetFunction(ctx context.Context, req *pb.GetFunctionRequest) (*pb.ListFunctionsResponse, error)
func (*Gateway) ListFunctions ¶
func (g *Gateway) ListFunctions(ctx context.Context, req *pb.ListFunctionsRequest) (*pb.ListFunctionsResponse, error)
Click to show internal directories.
Click to hide internal directories.