Documentation ¶
Index ¶
- Variables
- func RegisterAppClientServiceServer(s grpc.ServiceRegistrar, srv AppClientServiceServer)
- type AppClient
- func (*AppClient) Descriptor() ([]byte, []int)deprecated
- func (x *AppClient) GetDescription() string
- func (x *AppClient) GetId() string
- func (x *AppClient) GetInformativeUri() string
- func (x *AppClient) GetName() string
- func (x *AppClient) GetRedirectUri() string
- func (x *AppClient) GetSecret() string
- func (x *AppClient) GetType() Type
- func (*AppClient) ProtoMessage()
- func (x *AppClient) ProtoReflect() protoreflect.Message
- func (x *AppClient) Reset()
- func (x *AppClient) String() string
- type AppClientServiceClient
- type AppClientServiceServer
- type FindByIDRequest
- type FindByIDResponse
- type Type
- type UnimplementedAppClientServiceServer
- type UnsafeAppClientServiceServer
Constants ¶
This section is empty.
Variables ¶
var ( Type_name = map[int32]string{ 0: "PUBLIC", 1: "CONFIDENTIAL", } Type_value = map[string]int32{ "PUBLIC": 0, "CONFIDENTIAL": 1, } )
Enum value maps for Type.
var AppClientService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "appclient.AppClientService", HandlerType: (*AppClientServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "FindByID", Handler: _AppClientService_FindByID_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "appclient/appclient.proto", }
AppClientService_ServiceDesc is the grpc.ServiceDesc for AppClientService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_appclient_appclient_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAppClientServiceServer ¶
func RegisterAppClientServiceServer(s grpc.ServiceRegistrar, srv AppClientServiceServer)
Types ¶
type AppClient ¶
type AppClient struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Type Type `protobuf:"varint,2,opt,name=type,proto3,enum=appclient.Type" json:"type,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Secret string `protobuf:"bytes,4,opt,name=secret,proto3" json:"secret,omitempty"` Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` InformativeUri string `protobuf:"bytes,6,opt,name=informative_uri,json=informativeUri,proto3" json:"informative_uri,omitempty"` RedirectUri string `protobuf:"bytes,7,opt,name=redirect_uri,json=redirectUri,proto3" json:"redirect_uri,omitempty"` // contains filtered or unexported fields }
func (*AppClient) Descriptor
deprecated
func (*AppClient) GetDescription ¶
func (*AppClient) GetInformativeUri ¶
func (*AppClient) GetRedirectUri ¶
func (*AppClient) ProtoMessage ¶
func (*AppClient) ProtoMessage()
func (*AppClient) ProtoReflect ¶
func (x *AppClient) ProtoReflect() protoreflect.Message
type AppClientServiceClient ¶
type AppClientServiceClient interface {
FindByID(ctx context.Context, in *FindByIDRequest, opts ...grpc.CallOption) (*FindByIDResponse, error)
}
AppClientServiceClient is the client API for AppClientService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewAppClientServiceClient ¶
func NewAppClientServiceClient(cc grpc.ClientConnInterface) AppClientServiceClient
type AppClientServiceServer ¶
type AppClientServiceServer interface { FindByID(context.Context, *FindByIDRequest) (*FindByIDResponse, error) // contains filtered or unexported methods }
AppClientServiceServer is the server API for AppClientService service. All implementations must embed UnimplementedAppClientServiceServer for forward compatibility
type FindByIDRequest ¶
type FindByIDRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*FindByIDRequest) Descriptor
deprecated
func (*FindByIDRequest) Descriptor() ([]byte, []int)
Deprecated: Use FindByIDRequest.ProtoReflect.Descriptor instead.
func (*FindByIDRequest) GetId ¶
func (x *FindByIDRequest) GetId() string
func (*FindByIDRequest) ProtoMessage ¶
func (*FindByIDRequest) ProtoMessage()
func (*FindByIDRequest) ProtoReflect ¶
func (x *FindByIDRequest) ProtoReflect() protoreflect.Message
func (*FindByIDRequest) Reset ¶
func (x *FindByIDRequest) Reset()
func (*FindByIDRequest) String ¶
func (x *FindByIDRequest) String() string
type FindByIDResponse ¶
type FindByIDResponse struct { Client *AppClient `protobuf:"bytes,1,opt,name=client,proto3" json:"client,omitempty"` // contains filtered or unexported fields }
func (*FindByIDResponse) Descriptor
deprecated
func (*FindByIDResponse) Descriptor() ([]byte, []int)
Deprecated: Use FindByIDResponse.ProtoReflect.Descriptor instead.
func (*FindByIDResponse) GetClient ¶
func (x *FindByIDResponse) GetClient() *AppClient
func (*FindByIDResponse) ProtoMessage ¶
func (*FindByIDResponse) ProtoMessage()
func (*FindByIDResponse) ProtoReflect ¶
func (x *FindByIDResponse) ProtoReflect() protoreflect.Message
func (*FindByIDResponse) Reset ¶
func (x *FindByIDResponse) Reset()
func (*FindByIDResponse) String ¶
func (x *FindByIDResponse) String() string
type Type ¶
type Type int32
func (Type) Descriptor ¶
func (Type) Descriptor() protoreflect.EnumDescriptor
func (Type) EnumDescriptor
deprecated
func (Type) Number ¶
func (x Type) Number() protoreflect.EnumNumber
func (Type) Type ¶
func (Type) Type() protoreflect.EnumType
type UnimplementedAppClientServiceServer ¶
type UnimplementedAppClientServiceServer struct { }
UnimplementedAppClientServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedAppClientServiceServer) FindByID ¶
func (UnimplementedAppClientServiceServer) FindByID(context.Context, *FindByIDRequest) (*FindByIDResponse, error)
type UnsafeAppClientServiceServer ¶
type UnsafeAppClientServiceServer interface {
// contains filtered or unexported methods
}
UnsafeAppClientServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AppClientServiceServer will result in compilation errors.