gateway

package
v0.0.0-...-a1b4a84 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 7, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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 New

func New() *Gateway

func (*Gateway) CreateFunction

func (g *Gateway) CreateFunction(ctx context.Context, req *pb.CreateFunctionRequest) (*pb.Function, error)

func (*Gateway) DeleteFunction

func (g *Gateway) DeleteFunction(ctx context.Context, req *pb.DeleteFunctionRequest) (*emptypb.Empty, error)

func (*Gateway) GetFunction

func (g *Gateway) GetFunction(ctx context.Context, req *pb.GetFunctionRequest) (*pb.ListFunctionsResponse, error)

func (*Gateway) Init

func (gate *Gateway) Init(config *types.GatewayOption) error

func (*Gateway) ListFunctions

func (g *Gateway) ListFunctions(ctx context.Context, req *pb.ListFunctionsRequest) (*pb.ListFunctionsResponse, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL