infoapi

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 3, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	InfoApiService_CompanyExists_FullMethodName = "/infoapi.v1.InfoApiService/CompanyExists"
)

Variables

View Source
var File_infoapi_v1_infoapi_proto protoreflect.FileDescriptor
View Source
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

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

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.

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL