mirror of
https://github.com/aykhans/slash-e.git
synced 2025-07-04 04:23:16 +00:00
chore: add idp workspace setting
This commit is contained in:
@ -187,6 +187,7 @@ func local_request_UserSettingService_UpdateUserSetting_0(ctx context.Context, m
|
||||
// UnaryRPC :call UserSettingServiceServer 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 RegisterUserSettingServiceHandlerFromEndpoint instead.
|
||||
// GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.
|
||||
func RegisterUserSettingServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server UserSettingServiceServer) error {
|
||||
|
||||
mux.Handle("GET", pattern_UserSettingService_GetUserSetting_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
|
||||
@ -277,7 +278,7 @@ func RegisterUserSettingServiceHandler(ctx context.Context, mux *runtime.ServeMu
|
||||
// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "UserSettingServiceClient".
|
||||
// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "UserSettingServiceClient"
|
||||
// doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in
|
||||
// "UserSettingServiceClient" to call the correct interceptors.
|
||||
// "UserSettingServiceClient" to call the correct interceptors. This client ignores the HTTP middlewares.
|
||||
func RegisterUserSettingServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client UserSettingServiceClient) error {
|
||||
|
||||
mux.Handle("GET", pattern_UserSettingService_GetUserSetting_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
|
||||
|
Reference in New Issue
Block a user