domain

package
v0.0.0-...-e08653f Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2025 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TransfermarktDomainService_SayHello_FullMethodName = "/tickex.transfermarkt.domain.v1.TransfermarktDomainService/SayHello"
)

Variables

View Source
var File_transfermarkt_domain_proto protoreflect.FileDescriptor
View Source
var TransfermarktDomainService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "tickex.transfermarkt.domain.v1.TransfermarktDomainService",
	HandlerType: (*TransfermarktDomainServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "SayHello",
			Handler:    _TransfermarktDomainService_SayHello_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "transfermarkt_domain.proto",
}

TransfermarktDomainService_ServiceDesc is the grpc.ServiceDesc for TransfermarktDomainService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterTransfermarktDomainServiceServer

func RegisterTransfermarktDomainServiceServer(s grpc.ServiceRegistrar, srv TransfermarktDomainServiceServer)

Types

type SayHelloRequest

type SayHelloRequest struct {
	Page *v1.Pages `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"`
	Name string    `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*SayHelloRequest) Descriptor deprecated

func (*SayHelloRequest) Descriptor() ([]byte, []int)

Deprecated: Use SayHelloRequest.ProtoReflect.Descriptor instead.

func (*SayHelloRequest) GetName

func (x *SayHelloRequest) GetName() string

func (*SayHelloRequest) GetPage

func (x *SayHelloRequest) GetPage() *v1.Pages

func (*SayHelloRequest) ProtoMessage

func (*SayHelloRequest) ProtoMessage()

func (*SayHelloRequest) ProtoReflect

func (x *SayHelloRequest) ProtoReflect() protoreflect.Message

func (*SayHelloRequest) Reset

func (x *SayHelloRequest) Reset()

func (*SayHelloRequest) String

func (x *SayHelloRequest) String() string

func (*SayHelloRequest) Validate

func (m *SayHelloRequest) Validate() error

Validate checks the field values on SayHelloRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type SayHelloRequestValidationError

type SayHelloRequestValidationError struct {
	// contains filtered or unexported fields
}

SayHelloRequestValidationError is the validation error returned by SayHelloRequest.Validate if the designated constraints aren't met.

func (SayHelloRequestValidationError) Cause

Cause function returns cause value.

func (SayHelloRequestValidationError) Error

Error satisfies the builtin error interface

func (SayHelloRequestValidationError) ErrorName

func (e SayHelloRequestValidationError) ErrorName() string

ErrorName returns error name.

func (SayHelloRequestValidationError) Field

Field function returns field value.

func (SayHelloRequestValidationError) Key

Key function returns key value.

func (SayHelloRequestValidationError) Reason

Reason function returns reason value.

type SayHelloResponse

type SayHelloResponse struct {
	Response *v11.SayHelloResponse `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"`
	// contains filtered or unexported fields
}

func (*SayHelloResponse) Descriptor deprecated

func (*SayHelloResponse) Descriptor() ([]byte, []int)

Deprecated: Use SayHelloResponse.ProtoReflect.Descriptor instead.

func (*SayHelloResponse) GetResponse

func (x *SayHelloResponse) GetResponse() *v11.SayHelloResponse

func (*SayHelloResponse) ProtoMessage

func (*SayHelloResponse) ProtoMessage()

func (*SayHelloResponse) ProtoReflect

func (x *SayHelloResponse) ProtoReflect() protoreflect.Message

func (*SayHelloResponse) Reset

func (x *SayHelloResponse) Reset()

func (*SayHelloResponse) String

func (x *SayHelloResponse) String() string

func (*SayHelloResponse) Validate

func (m *SayHelloResponse) Validate() error

Validate checks the field values on SayHelloResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type SayHelloResponseValidationError

type SayHelloResponseValidationError struct {
	// contains filtered or unexported fields
}

SayHelloResponseValidationError is the validation error returned by SayHelloResponse.Validate if the designated constraints aren't met.

func (SayHelloResponseValidationError) Cause

Cause function returns cause value.

func (SayHelloResponseValidationError) Error

Error satisfies the builtin error interface

func (SayHelloResponseValidationError) ErrorName

ErrorName returns error name.

func (SayHelloResponseValidationError) Field

Field function returns field value.

func (SayHelloResponseValidationError) Key

Key function returns key value.

func (SayHelloResponseValidationError) Reason

Reason function returns reason value.

type TransfermarktDomainServiceClient

type TransfermarktDomainServiceClient interface {
	SayHello(ctx context.Context, in *SayHelloRequest, opts ...grpc.CallOption) (*SayHelloResponse, error)
}

TransfermarktDomainServiceClient is the client API for TransfermarktDomainService 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 TransfermarktDomainServiceServer

type TransfermarktDomainServiceServer interface {
	SayHello(context.Context, *SayHelloRequest) (*SayHelloResponse, error)
	// contains filtered or unexported methods
}

TransfermarktDomainServiceServer is the server API for TransfermarktDomainService service. All implementations must embed UnimplementedTransfermarktDomainServiceServer for forward compatibility.

type UnimplementedTransfermarktDomainServiceServer

type UnimplementedTransfermarktDomainServiceServer struct{}

UnimplementedTransfermarktDomainServiceServer 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 (UnimplementedTransfermarktDomainServiceServer) SayHello

type UnsafeTransfermarktDomainServiceServer

type UnsafeTransfermarktDomainServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeTransfermarktDomainServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TransfermarktDomainServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

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