v1

package
v0.0.0-...-729b752 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package v1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package v1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package v1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package v1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package v1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package v1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package v1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package v1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterPrivateDashboardHandler

func RegisterPrivateDashboardHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterPrivateDashboardHandler registers the http handlers for service PrivateDashboard to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterPrivateDashboardHandlerClient

func RegisterPrivateDashboardHandlerClient(ctx context.Context, mux *runtime.ServeMux, client extV1.PrivateDashboardClient) error

RegisterPrivateDashboardHandlerClient registers the http handlers for service PrivateDashboard to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "extV1.PrivateDashboardClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "extV1.PrivateDashboardClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "extV1.PrivateDashboardClient" to call the correct interceptors.

func RegisterPrivateDashboardHandlerFromEndpoint

func RegisterPrivateDashboardHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterPrivateDashboardHandlerFromEndpoint is same as RegisterPrivateDashboardHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterPrivateDashboardHandlerServer

func RegisterPrivateDashboardHandlerServer(ctx context.Context, mux *runtime.ServeMux, server extV1.PrivateDashboardServer) error

RegisterPrivateDashboardHandlerServer registers the http handlers for service PrivateDashboard to "mux". UnaryRPC :call PrivateDashboardServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterPrivateDashboardHandlerFromEndpoint instead.

func RegisterPrivateDataTableHandler

func RegisterPrivateDataTableHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterPrivateDataTableHandler registers the http handlers for service PrivateDataTable to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterPrivateDataTableHandlerClient

func RegisterPrivateDataTableHandlerClient(ctx context.Context, mux *runtime.ServeMux, client extV1.PrivateDataTableClient) error

RegisterPrivateDataTableHandlerClient registers the http handlers for service PrivateDataTable to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "extV1.PrivateDataTableClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "extV1.PrivateDataTableClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "extV1.PrivateDataTableClient" to call the correct interceptors.

func RegisterPrivateDataTableHandlerFromEndpoint

func RegisterPrivateDataTableHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterPrivateDataTableHandlerFromEndpoint is same as RegisterPrivateDataTableHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterPrivateDataTableHandlerServer

func RegisterPrivateDataTableHandlerServer(ctx context.Context, mux *runtime.ServeMux, server extV1.PrivateDataTableServer) error

RegisterPrivateDataTableHandlerServer registers the http handlers for service PrivateDataTable to "mux". UnaryRPC :call PrivateDataTableServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterPrivateDataTableHandlerFromEndpoint instead.

func RegisterPrivateFolderHandler

func RegisterPrivateFolderHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterPrivateFolderHandler registers the http handlers for service PrivateFolder to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterPrivateFolderHandlerClient

func RegisterPrivateFolderHandlerClient(ctx context.Context, mux *runtime.ServeMux, client extV1.PrivateFolderClient) error

RegisterPrivateFolderHandlerClient registers the http handlers for service PrivateFolder to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "extV1.PrivateFolderClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "extV1.PrivateFolderClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "extV1.PrivateFolderClient" to call the correct interceptors.

func RegisterPrivateFolderHandlerFromEndpoint

func RegisterPrivateFolderHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterPrivateFolderHandlerFromEndpoint is same as RegisterPrivateFolderHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterPrivateFolderHandlerServer

func RegisterPrivateFolderHandlerServer(ctx context.Context, mux *runtime.ServeMux, server extV1.PrivateFolderServer) error

RegisterPrivateFolderHandlerServer registers the http handlers for service PrivateFolder to "mux". UnaryRPC :call PrivateFolderServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterPrivateFolderHandlerFromEndpoint instead.

func RegisterPrivateWidgetHandler

func RegisterPrivateWidgetHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterPrivateWidgetHandler registers the http handlers for service PrivateWidget to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterPrivateWidgetHandlerClient

func RegisterPrivateWidgetHandlerClient(ctx context.Context, mux *runtime.ServeMux, client extV1.PrivateWidgetClient) error

RegisterPrivateWidgetHandlerClient registers the http handlers for service PrivateWidget to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "extV1.PrivateWidgetClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "extV1.PrivateWidgetClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "extV1.PrivateWidgetClient" to call the correct interceptors.

func RegisterPrivateWidgetHandlerFromEndpoint

func RegisterPrivateWidgetHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterPrivateWidgetHandlerFromEndpoint is same as RegisterPrivateWidgetHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterPrivateWidgetHandlerServer

func RegisterPrivateWidgetHandlerServer(ctx context.Context, mux *runtime.ServeMux, server extV1.PrivateWidgetServer) error

RegisterPrivateWidgetHandlerServer registers the http handlers for service PrivateWidget to "mux". UnaryRPC :call PrivateWidgetServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterPrivateWidgetHandlerFromEndpoint instead.

func RegisterPublicDashboardHandler

func RegisterPublicDashboardHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterPublicDashboardHandler registers the http handlers for service PublicDashboard to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterPublicDashboardHandlerClient

func RegisterPublicDashboardHandlerClient(ctx context.Context, mux *runtime.ServeMux, client extV1.PublicDashboardClient) error

RegisterPublicDashboardHandlerClient registers the http handlers for service PublicDashboard to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "extV1.PublicDashboardClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "extV1.PublicDashboardClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "extV1.PublicDashboardClient" to call the correct interceptors.

func RegisterPublicDashboardHandlerFromEndpoint

func RegisterPublicDashboardHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterPublicDashboardHandlerFromEndpoint is same as RegisterPublicDashboardHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterPublicDashboardHandlerServer

func RegisterPublicDashboardHandlerServer(ctx context.Context, mux *runtime.ServeMux, server extV1.PublicDashboardServer) error

RegisterPublicDashboardHandlerServer registers the http handlers for service PublicDashboard to "mux". UnaryRPC :call PublicDashboardServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterPublicDashboardHandlerFromEndpoint instead.

func RegisterPublicDataTableHandler

func RegisterPublicDataTableHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterPublicDataTableHandler registers the http handlers for service PublicDataTable to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterPublicDataTableHandlerClient

func RegisterPublicDataTableHandlerClient(ctx context.Context, mux *runtime.ServeMux, client extV1.PublicDataTableClient) error

RegisterPublicDataTableHandlerClient registers the http handlers for service PublicDataTable to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "extV1.PublicDataTableClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "extV1.PublicDataTableClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "extV1.PublicDataTableClient" to call the correct interceptors.

func RegisterPublicDataTableHandlerFromEndpoint

func RegisterPublicDataTableHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterPublicDataTableHandlerFromEndpoint is same as RegisterPublicDataTableHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterPublicDataTableHandlerServer

func RegisterPublicDataTableHandlerServer(ctx context.Context, mux *runtime.ServeMux, server extV1.PublicDataTableServer) error

RegisterPublicDataTableHandlerServer registers the http handlers for service PublicDataTable to "mux". UnaryRPC :call PublicDataTableServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterPublicDataTableHandlerFromEndpoint instead.

func RegisterPublicFolderHandler

func RegisterPublicFolderHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterPublicFolderHandler registers the http handlers for service PublicFolder to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterPublicFolderHandlerClient

func RegisterPublicFolderHandlerClient(ctx context.Context, mux *runtime.ServeMux, client extV1.PublicFolderClient) error

RegisterPublicFolderHandlerClient registers the http handlers for service PublicFolder to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "extV1.PublicFolderClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "extV1.PublicFolderClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "extV1.PublicFolderClient" to call the correct interceptors.

func RegisterPublicFolderHandlerFromEndpoint

func RegisterPublicFolderHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterPublicFolderHandlerFromEndpoint is same as RegisterPublicFolderHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterPublicFolderHandlerServer

func RegisterPublicFolderHandlerServer(ctx context.Context, mux *runtime.ServeMux, server extV1.PublicFolderServer) error

RegisterPublicFolderHandlerServer registers the http handlers for service PublicFolder to "mux". UnaryRPC :call PublicFolderServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterPublicFolderHandlerFromEndpoint instead.

func RegisterPublicWidgetHandler

func RegisterPublicWidgetHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterPublicWidgetHandler registers the http handlers for service PublicWidget to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterPublicWidgetHandlerClient

func RegisterPublicWidgetHandlerClient(ctx context.Context, mux *runtime.ServeMux, client extV1.PublicWidgetClient) error

RegisterPublicWidgetHandlerClient registers the http handlers for service PublicWidget to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "extV1.PublicWidgetClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "extV1.PublicWidgetClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "extV1.PublicWidgetClient" to call the correct interceptors.

func RegisterPublicWidgetHandlerFromEndpoint

func RegisterPublicWidgetHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterPublicWidgetHandlerFromEndpoint is same as RegisterPublicWidgetHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterPublicWidgetHandlerServer

func RegisterPublicWidgetHandlerServer(ctx context.Context, mux *runtime.ServeMux, server extV1.PublicWidgetServer) error

RegisterPublicWidgetHandlerServer registers the http handlers for service PublicWidget to "mux". UnaryRPC :call PublicWidgetServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterPublicWidgetHandlerFromEndpoint instead.

Types

This section is empty.

Jump to

Keyboard shortcuts

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