Documentation ¶
Overview ¶
Package service is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package service is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package service is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package service is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package service is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package service is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- func RegisterAdminServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterAdminServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, ...) error
- func RegisterAdminServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterAdminServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, ...) error
- func RegisterAgentMetadataServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterAgentMetadataServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, ...) error
- func RegisterAgentMetadataServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterAgentMetadataServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, ...) error
- func RegisterAuthMetadataServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterAuthMetadataServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, ...) error
- func RegisterAuthMetadataServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterAuthMetadataServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, ...) error
- func RegisterDataProxyServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterDataProxyServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, ...) error
- func RegisterDataProxyServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterDataProxyServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, ...) error
- func RegisterIdentityServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterIdentityServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, ...) error
- func RegisterIdentityServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterIdentityServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, ...) error
- func RegisterSignalServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterSignalServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, ...) error
- func RegisterSignalServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterSignalServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterAdminServiceHandler ¶
func RegisterAdminServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterAdminServiceHandler registers the http handlers for service AdminService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterAdminServiceHandlerClient ¶
func RegisterAdminServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client extService.AdminServiceClient) error
RegisterAdminServiceHandlerClient registers the http handlers for service AdminService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "extService.AdminServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "extService.AdminServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "extService.AdminServiceClient" to call the correct interceptors.
func RegisterAdminServiceHandlerFromEndpoint ¶
func RegisterAdminServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterAdminServiceHandlerFromEndpoint is same as RegisterAdminServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterAdminServiceHandlerServer ¶
func RegisterAdminServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server extService.AdminServiceServer) error
RegisterAdminServiceHandlerServer registers the http handlers for service AdminService to "mux". UnaryRPC :call AdminServiceServer 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 RegisterAdminServiceHandlerFromEndpoint instead.
func RegisterAgentMetadataServiceHandler ¶
func RegisterAgentMetadataServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterAgentMetadataServiceHandler registers the http handlers for service AgentMetadataService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterAgentMetadataServiceHandlerClient ¶
func RegisterAgentMetadataServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client extService.AgentMetadataServiceClient) error
RegisterAgentMetadataServiceHandlerClient registers the http handlers for service AgentMetadataService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "extService.AgentMetadataServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "extService.AgentMetadataServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "extService.AgentMetadataServiceClient" to call the correct interceptors.
func RegisterAgentMetadataServiceHandlerFromEndpoint ¶
func RegisterAgentMetadataServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterAgentMetadataServiceHandlerFromEndpoint is same as RegisterAgentMetadataServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterAgentMetadataServiceHandlerServer ¶
func RegisterAgentMetadataServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server extService.AgentMetadataServiceServer) error
RegisterAgentMetadataServiceHandlerServer registers the http handlers for service AgentMetadataService to "mux". UnaryRPC :call AgentMetadataServiceServer 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 RegisterAgentMetadataServiceHandlerFromEndpoint instead.
func RegisterAuthMetadataServiceHandler ¶
func RegisterAuthMetadataServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterAuthMetadataServiceHandler registers the http handlers for service AuthMetadataService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterAuthMetadataServiceHandlerClient ¶
func RegisterAuthMetadataServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client extService.AuthMetadataServiceClient) error
RegisterAuthMetadataServiceHandlerClient registers the http handlers for service AuthMetadataService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "extService.AuthMetadataServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "extService.AuthMetadataServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "extService.AuthMetadataServiceClient" to call the correct interceptors.
func RegisterAuthMetadataServiceHandlerFromEndpoint ¶
func RegisterAuthMetadataServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterAuthMetadataServiceHandlerFromEndpoint is same as RegisterAuthMetadataServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterAuthMetadataServiceHandlerServer ¶
func RegisterAuthMetadataServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server extService.AuthMetadataServiceServer) error
RegisterAuthMetadataServiceHandlerServer registers the http handlers for service AuthMetadataService to "mux". UnaryRPC :call AuthMetadataServiceServer 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 RegisterAuthMetadataServiceHandlerFromEndpoint instead.
func RegisterDataProxyServiceHandler ¶
func RegisterDataProxyServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterDataProxyServiceHandler registers the http handlers for service DataProxyService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterDataProxyServiceHandlerClient ¶
func RegisterDataProxyServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client extService.DataProxyServiceClient) error
RegisterDataProxyServiceHandlerClient registers the http handlers for service DataProxyService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "extService.DataProxyServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "extService.DataProxyServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "extService.DataProxyServiceClient" to call the correct interceptors.
func RegisterDataProxyServiceHandlerFromEndpoint ¶
func RegisterDataProxyServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterDataProxyServiceHandlerFromEndpoint is same as RegisterDataProxyServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterDataProxyServiceHandlerServer ¶
func RegisterDataProxyServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server extService.DataProxyServiceServer) error
RegisterDataProxyServiceHandlerServer registers the http handlers for service DataProxyService to "mux". UnaryRPC :call DataProxyServiceServer 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 RegisterDataProxyServiceHandlerFromEndpoint instead.
func RegisterIdentityServiceHandler ¶
func RegisterIdentityServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterIdentityServiceHandler registers the http handlers for service IdentityService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterIdentityServiceHandlerClient ¶
func RegisterIdentityServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client extService.IdentityServiceClient) error
RegisterIdentityServiceHandlerClient registers the http handlers for service IdentityService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "extService.IdentityServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "extService.IdentityServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "extService.IdentityServiceClient" to call the correct interceptors.
func RegisterIdentityServiceHandlerFromEndpoint ¶
func RegisterIdentityServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterIdentityServiceHandlerFromEndpoint is same as RegisterIdentityServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterIdentityServiceHandlerServer ¶
func RegisterIdentityServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server extService.IdentityServiceServer) error
RegisterIdentityServiceHandlerServer registers the http handlers for service IdentityService to "mux". UnaryRPC :call IdentityServiceServer 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 RegisterIdentityServiceHandlerFromEndpoint instead.
func RegisterSignalServiceHandler ¶
func RegisterSignalServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterSignalServiceHandler registers the http handlers for service SignalService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterSignalServiceHandlerClient ¶
func RegisterSignalServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client extService.SignalServiceClient) error
RegisterSignalServiceHandlerClient registers the http handlers for service SignalService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "extService.SignalServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "extService.SignalServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "extService.SignalServiceClient" to call the correct interceptors.
func RegisterSignalServiceHandlerFromEndpoint ¶
func RegisterSignalServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterSignalServiceHandlerFromEndpoint is same as RegisterSignalServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterSignalServiceHandlerServer ¶
func RegisterSignalServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server extService.SignalServiceServer) error
RegisterSignalServiceHandlerServer registers the http handlers for service SignalService to "mux". UnaryRPC :call SignalServiceServer 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 RegisterSignalServiceHandlerFromEndpoint instead.
Types ¶
This section is empty.