Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var File_proto_idp_idp_proto protoreflect.FileDescriptor
var Idp_ServiceDesc = grpc.ServiceDesc{ ServiceName: "idp.Idp", HandlerType: (*IdpServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Health", Handler: _Idp_Health_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto/idp/idp.proto", }
Idp_ServiceDesc is the grpc.ServiceDesc for Idp service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterIdpServer ¶
func RegisterIdpServer(s grpc.ServiceRegistrar, srv IdpServer)
Types ¶
type HealthRequest ¶
type HealthRequest struct {
// contains filtered or unexported fields
}
func (*HealthRequest) Descriptor
deprecated
func (*HealthRequest) Descriptor() ([]byte, []int)
Deprecated: Use HealthRequest.ProtoReflect.Descriptor instead.
func (*HealthRequest) ProtoMessage ¶
func (*HealthRequest) ProtoMessage()
func (*HealthRequest) ProtoReflect ¶
func (x *HealthRequest) ProtoReflect() protoreflect.Message
func (*HealthRequest) Reset ¶
func (x *HealthRequest) Reset()
func (*HealthRequest) String ¶
func (x *HealthRequest) String() string
type HealthResponse ¶
type HealthResponse struct {
Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
// contains filtered or unexported fields
}
func (*HealthResponse) Descriptor
deprecated
func (*HealthResponse) Descriptor() ([]byte, []int)
Deprecated: Use HealthResponse.ProtoReflect.Descriptor instead.
func (*HealthResponse) GetStatus ¶
func (x *HealthResponse) GetStatus() string
func (*HealthResponse) ProtoMessage ¶
func (*HealthResponse) ProtoMessage()
func (*HealthResponse) ProtoReflect ¶
func (x *HealthResponse) ProtoReflect() protoreflect.Message
func (*HealthResponse) Reset ¶
func (x *HealthResponse) Reset()
func (*HealthResponse) String ¶
func (x *HealthResponse) String() string
type IdpClient ¶
type IdpClient interface {
Health(ctx context.Context, in *HealthRequest, opts ...grpc.CallOption) (*HealthResponse, error)
}
IdpClient is the client API for Idp 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 NewIdpClient ¶
func NewIdpClient(cc grpc.ClientConnInterface) IdpClient
type IdpServer ¶
type IdpServer interface {
Health(context.Context, *HealthRequest) (*HealthResponse, error)
// contains filtered or unexported methods
}
IdpServer is the server API for Idp service. All implementations must embed UnimplementedIdpServer for forward compatibility
type UnimplementedIdpServer ¶
type UnimplementedIdpServer struct {
}
UnimplementedIdpServer must be embedded to have forward compatible implementations.
func (UnimplementedIdpServer) Health ¶
func (UnimplementedIdpServer) Health(context.Context, *HealthRequest) (*HealthResponse, error)
type UnsafeIdpServer ¶
type UnsafeIdpServer interface {
// contains filtered or unexported methods
}
UnsafeIdpServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to IdpServer will result in compilation errors.