Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterInfoApiServiceServer(s grpc.ServiceRegistrar, srv InfoApiServiceServer)
- type CompanyExistsRequest
- func (x *CompanyExistsRequest) ClearCompanyName()
- func (x *CompanyExistsRequest) GetCompanyName() string
- func (x *CompanyExistsRequest) HasCompanyName() bool
- func (*CompanyExistsRequest) ProtoMessage()
- func (x *CompanyExistsRequest) ProtoReflect() protoreflect.Message
- func (x *CompanyExistsRequest) Reset()
- func (x *CompanyExistsRequest) SetCompanyName(v string)
- func (x *CompanyExistsRequest) String() string
- type CompanyExistsRequest_builder
- type CompanyExistsResponse
- func (x *CompanyExistsResponse) ClearExists()
- func (x *CompanyExistsResponse) GetExists() bool
- func (x *CompanyExistsResponse) HasExists() bool
- func (*CompanyExistsResponse) ProtoMessage()
- func (x *CompanyExistsResponse) ProtoReflect() protoreflect.Message
- func (x *CompanyExistsResponse) Reset()
- func (x *CompanyExistsResponse) SetExists(v bool)
- func (x *CompanyExistsResponse) String() string
- type CompanyExistsResponse_builder
- type InfoApiServiceClient
- type InfoApiServiceServer
- type UnimplementedInfoApiServiceServer
- type UnsafeInfoApiServiceServer
Constants ¶
const (
InfoApiService_CompanyExists_FullMethodName = "/infoapi.v1.InfoApiService/CompanyExists"
)
Variables ¶
var File_infoapi_v1_infoapi_proto protoreflect.FileDescriptor
var InfoApiService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "infoapi.v1.InfoApiService", HandlerType: (*InfoApiServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CompanyExists", Handler: _InfoApiService_CompanyExists_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "infoapi/v1/infoapi.proto", }
InfoApiService_ServiceDesc is the grpc.ServiceDesc for InfoApiService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterInfoApiServiceServer ¶
func RegisterInfoApiServiceServer(s grpc.ServiceRegistrar, srv InfoApiServiceServer)
Types ¶
type CompanyExistsRequest ¶
type CompanyExistsRequest struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*CompanyExistsRequest) ClearCompanyName ¶
func (x *CompanyExistsRequest) ClearCompanyName()
func (*CompanyExistsRequest) GetCompanyName ¶
func (x *CompanyExistsRequest) GetCompanyName() string
func (*CompanyExistsRequest) HasCompanyName ¶
func (x *CompanyExistsRequest) HasCompanyName() bool
func (*CompanyExistsRequest) ProtoMessage ¶
func (*CompanyExistsRequest) ProtoMessage()
func (*CompanyExistsRequest) ProtoReflect ¶
func (x *CompanyExistsRequest) ProtoReflect() protoreflect.Message
func (*CompanyExistsRequest) Reset ¶
func (x *CompanyExistsRequest) Reset()
func (*CompanyExistsRequest) SetCompanyName ¶
func (x *CompanyExistsRequest) SetCompanyName(v string)
func (*CompanyExistsRequest) String ¶
func (x *CompanyExistsRequest) String() string
type CompanyExistsRequest_builder ¶
type CompanyExistsRequest_builder struct {
CompanyName *string
// contains filtered or unexported fields
}
func (CompanyExistsRequest_builder) Build ¶
func (b0 CompanyExistsRequest_builder) Build() *CompanyExistsRequest
type CompanyExistsResponse ¶
type CompanyExistsResponse struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*CompanyExistsResponse) ClearExists ¶
func (x *CompanyExistsResponse) ClearExists()
func (*CompanyExistsResponse) GetExists ¶
func (x *CompanyExistsResponse) GetExists() bool
func (*CompanyExistsResponse) HasExists ¶
func (x *CompanyExistsResponse) HasExists() bool
func (*CompanyExistsResponse) ProtoMessage ¶
func (*CompanyExistsResponse) ProtoMessage()
func (*CompanyExistsResponse) ProtoReflect ¶
func (x *CompanyExistsResponse) ProtoReflect() protoreflect.Message
func (*CompanyExistsResponse) Reset ¶
func (x *CompanyExistsResponse) Reset()
func (*CompanyExistsResponse) SetExists ¶
func (x *CompanyExistsResponse) SetExists(v bool)
func (*CompanyExistsResponse) String ¶
func (x *CompanyExistsResponse) String() string
type CompanyExistsResponse_builder ¶
type CompanyExistsResponse_builder struct {
Exists *bool
// contains filtered or unexported fields
}
func (CompanyExistsResponse_builder) Build ¶
func (b0 CompanyExistsResponse_builder) Build() *CompanyExistsResponse
type InfoApiServiceClient ¶
type InfoApiServiceClient interface {
// CompanyExists checks if a company with the given name exists in IGDB (case-insensitive)
CompanyExists(ctx context.Context, in *CompanyExistsRequest, opts ...grpc.CallOption) (*CompanyExistsResponse, error)
}
InfoApiServiceClient is the client API for InfoApiService 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 NewInfoApiServiceClient ¶
func NewInfoApiServiceClient(cc grpc.ClientConnInterface) InfoApiServiceClient
type InfoApiServiceServer ¶
type InfoApiServiceServer interface {
// CompanyExists checks if a company with the given name exists in IGDB (case-insensitive)
CompanyExists(context.Context, *CompanyExistsRequest) (*CompanyExistsResponse, error)
// contains filtered or unexported methods
}
InfoApiServiceServer is the server API for InfoApiService service. All implementations must embed UnimplementedInfoApiServiceServer for forward compatibility.
type UnimplementedInfoApiServiceServer ¶
type UnimplementedInfoApiServiceServer struct{}
UnimplementedInfoApiServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedInfoApiServiceServer) CompanyExists ¶
func (UnimplementedInfoApiServiceServer) CompanyExists(context.Context, *CompanyExistsRequest) (*CompanyExistsResponse, error)
type UnsafeInfoApiServiceServer ¶
type UnsafeInfoApiServiceServer interface {
// contains filtered or unexported methods
}
UnsafeInfoApiServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to InfoApiServiceServer will result in compilation errors.