grpc

package
v0.0.23 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BreedService_ReadBreed_FullMethodName     = "/grpc.BreedService/ReadBreed"
	BreedService_ReadManyBreed_FullMethodName = "/grpc.BreedService/ReadManyBreed"
	BreedService_CreateBreed_FullMethodName   = "/grpc.BreedService/CreateBreed"
	BreedService_UpdateBreed_FullMethodName   = "/grpc.BreedService/UpdateBreed"
	BreedService_DeleteBreed_FullMethodName   = "/grpc.BreedService/DeleteBreed"
)
View Source
const (
	CatService_ReadCat_FullMethodName     = "/grpc.CatService/ReadCat"
	CatService_ReadManyCat_FullMethodName = "/grpc.CatService/ReadManyCat"
	CatService_CreateCat_FullMethodName   = "/grpc.CatService/CreateCat"
	CatService_UpdateCat_FullMethodName   = "/grpc.CatService/UpdateCat"
	CatService_DeleteCat_FullMethodName   = "/grpc.CatService/DeleteCat"
)
View Source
const (
	FatherCatService_ReadFatherCat_FullMethodName     = "/grpc.FatherCatService/ReadFatherCat"
	FatherCatService_ReadManyFatherCat_FullMethodName = "/grpc.FatherCatService/ReadManyFatherCat"
	FatherCatService_CreateFatherCat_FullMethodName   = "/grpc.FatherCatService/CreateFatherCat"
	FatherCatService_UpdateFatherCat_FullMethodName   = "/grpc.FatherCatService/UpdateFatherCat"
	FatherCatService_DeleteFatherCat_FullMethodName   = "/grpc.FatherCatService/DeleteFatherCat"
)
View Source
const (
	KittenService_ReadKitten_FullMethodName     = "/grpc.KittenService/ReadKitten"
	KittenService_ReadManyKitten_FullMethodName = "/grpc.KittenService/ReadManyKitten"
	KittenService_CreateKitten_FullMethodName   = "/grpc.KittenService/CreateKitten"
	KittenService_UpdateKitten_FullMethodName   = "/grpc.KittenService/UpdateKitten"
	KittenService_DeleteKitten_FullMethodName   = "/grpc.KittenService/DeleteKitten"
)

Variables

View Source
var BreedService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "grpc.BreedService",
	HandlerType: (*BreedServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ReadBreed",
			Handler:    _BreedService_ReadBreed_Handler,
		},
		{
			MethodName: "ReadManyBreed",
			Handler:    _BreedService_ReadManyBreed_Handler,
		},
		{
			MethodName: "CreateBreed",
			Handler:    _BreedService_CreateBreed_Handler,
		},
		{
			MethodName: "UpdateBreed",
			Handler:    _BreedService_UpdateBreed_Handler,
		},
		{
			MethodName: "DeleteBreed",
			Handler:    _BreedService_DeleteBreed_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "breed_gen.proto",
}

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

View Source
var CatService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "grpc.CatService",
	HandlerType: (*CatServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ReadCat",
			Handler:    _CatService_ReadCat_Handler,
		},
		{
			MethodName: "ReadManyCat",
			Handler:    _CatService_ReadManyCat_Handler,
		},
		{
			MethodName: "CreateCat",
			Handler:    _CatService_CreateCat_Handler,
		},
		{
			MethodName: "UpdateCat",
			Handler:    _CatService_UpdateCat_Handler,
		},
		{
			MethodName: "DeleteCat",
			Handler:    _CatService_DeleteCat_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "cat_gen.proto",
}

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

View Source
var FatherCatService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "grpc.FatherCatService",
	HandlerType: (*FatherCatServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ReadFatherCat",
			Handler:    _FatherCatService_ReadFatherCat_Handler,
		},
		{
			MethodName: "ReadManyFatherCat",
			Handler:    _FatherCatService_ReadManyFatherCat_Handler,
		},
		{
			MethodName: "CreateFatherCat",
			Handler:    _FatherCatService_CreateFatherCat_Handler,
		},
		{
			MethodName: "UpdateFatherCat",
			Handler:    _FatherCatService_UpdateFatherCat_Handler,
		},
		{
			MethodName: "DeleteFatherCat",
			Handler:    _FatherCatService_DeleteFatherCat_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "father_cat_gen.proto",
}

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

View Source
var File_breed_gen_proto protoreflect.FileDescriptor
View Source
var File_cat_gen_proto protoreflect.FileDescriptor
View Source
var File_father_cat_gen_proto protoreflect.FileDescriptor
View Source
var File_kitten_gen_proto protoreflect.FileDescriptor
View Source
var KittenService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "grpc.KittenService",
	HandlerType: (*KittenServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ReadKitten",
			Handler:    _KittenService_ReadKitten_Handler,
		},
		{
			MethodName: "ReadManyKitten",
			Handler:    _KittenService_ReadManyKitten_Handler,
		},
		{
			MethodName: "CreateKitten",
			Handler:    _KittenService_CreateKitten_Handler,
		},
		{
			MethodName: "UpdateKitten",
			Handler:    _KittenService_UpdateKitten_Handler,
		},
		{
			MethodName: "DeleteKitten",
			Handler:    _KittenService_DeleteKitten_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "kitten_gen.proto",
}

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

View Source
var Module = fx.Module(
	"grpc",
	fx.Provide(
		NewBreedServiceImpl,
		NewCatServiceImpl,
		NewFatherCatServiceImpl,
		NewKittenServiceImpl,
	),
	fx.Invoke(
		func(
			breedImpl *BreedServiceImpl,
			catImpl *CatServiceImpl,
			fathercatImpl *FatherCatServiceImpl,
			kittenImpl *KittenServiceImpl,
			logger *zap.Logger,
			grpcCfg config.GRPC,
		) {
			srv := grpc.NewServer()
			RegisterBreedServiceServer(srv, breedImpl)
			RegisterCatServiceServer(srv, catImpl)
			RegisterFatherCatServiceServer(srv, fathercatImpl)
			RegisterKittenServiceServer(srv, kittenImpl)
			listener, err := net.Listen("tcp", grpcCfg.HTTP.Addr+":"+grpcCfg.HTTP.Port)
			if err != nil {
				logger.Fatal("failed to listen", zap.Error(err))
			}
			err = srv.Serve(listener)
		},
	),
)

Functions

func RegisterBreedServiceServer

func RegisterBreedServiceServer(s grpc.ServiceRegistrar, srv BreedServiceServer)

func RegisterCatServiceServer

func RegisterCatServiceServer(s grpc.ServiceRegistrar, srv CatServiceServer)

func RegisterFatherCatServiceServer

func RegisterFatherCatServiceServer(s grpc.ServiceRegistrar, srv FatherCatServiceServer)

func RegisterKittenServiceServer

func RegisterKittenServiceServer(s grpc.ServiceRegistrar, srv KittenServiceServer)

Types

type Breed

type Breed struct {
	ID          string  `protobuf:"bytes,3,opt,name=ID,proto3" json:"ID,omitempty"`
	Name        string  `protobuf:"bytes,4,opt,name=Name,proto3" json:"Name,omitempty"`
	DeletedTime *string `protobuf:"bytes,5,opt,name=DeletedTime,proto3,oneof" json:"DeletedTime,omitempty"`
	CreateTime  string  `protobuf:"bytes,1,opt,name=CreateTime,proto3" json:"CreateTime,omitempty"`
	UpdateTime  string  `protobuf:"bytes,2,opt,name=UpdateTime,proto3" json:"UpdateTime,omitempty"`
	// contains filtered or unexported fields
}

func NewBreed

func NewBreed(v service.Breed) Breed

func (*Breed) Descriptor deprecated

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

Deprecated: Use Breed.ProtoReflect.Descriptor instead.

func (*Breed) GetCreateTime

func (x *Breed) GetCreateTime() string

func (*Breed) GetDeletedTime

func (x *Breed) GetDeletedTime() string

func (*Breed) GetID

func (x *Breed) GetID() string

func (*Breed) GetName

func (x *Breed) GetName() string

func (*Breed) GetUpdateTime

func (x *Breed) GetUpdateTime() string

func (*Breed) ProtoMessage

func (*Breed) ProtoMessage()

func (*Breed) ProtoReflect

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

func (*Breed) Reset

func (x *Breed) Reset()

func (*Breed) String

func (x *Breed) String() string

type BreedServiceClient

type BreedServiceClient interface {
	ReadBreed(ctx context.Context, in *ReadBreedRequest, opts ...grpc.CallOption) (*Breed, error)
	ReadManyBreed(ctx context.Context, in *ReadManyBreedRequest, opts ...grpc.CallOption) (*ReadManyBreedResponse, error)
	CreateBreed(ctx context.Context, in *CreateBreedRequest, opts ...grpc.CallOption) (*Breed, error)
	UpdateBreed(ctx context.Context, in *UpdateBreedRequest, opts ...grpc.CallOption) (*Breed, error)
	DeleteBreed(ctx context.Context, in *DeleteBreedRequest, opts ...grpc.CallOption) (*DeleteBreedResponse, error)
}

BreedServiceClient is the client API for BreedService 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 BreedServiceImpl

type BreedServiceImpl struct {
	UnimplementedBreedServiceServer
	// contains filtered or unexported fields
}

func NewBreedServiceImpl

func NewBreedServiceImpl(srvc *service.Service) *BreedServiceImpl

func (*BreedServiceImpl) ReadBreed

func (s *BreedServiceImpl) ReadBreed(ctx context.Context, r *ReadBreedRequest) (*Breed, error)

type BreedServiceServer

type BreedServiceServer interface {
	ReadBreed(context.Context, *ReadBreedRequest) (*Breed, error)
	ReadManyBreed(context.Context, *ReadManyBreedRequest) (*ReadManyBreedResponse, error)
	CreateBreed(context.Context, *CreateBreedRequest) (*Breed, error)
	UpdateBreed(context.Context, *UpdateBreedRequest) (*Breed, error)
	DeleteBreed(context.Context, *DeleteBreedRequest) (*DeleteBreedResponse, error)
	// contains filtered or unexported methods
}

BreedServiceServer is the server API for BreedService service. All implementations must embed UnimplementedBreedServiceServer for forward compatibility

type Cat

type Cat struct {
	Speed        int64   `protobuf:"varint,10,opt,name=Speed,proto3" json:"Speed,omitempty"`
	DateFrom     string  `protobuf:"bytes,11,opt,name=DateFrom,proto3" json:"DateFrom,omitempty"`
	OtherType    string  `protobuf:"bytes,5,opt,name=OtherType,proto3" json:"OtherType,omitempty"`
	DeletedTime  *string `protobuf:"bytes,8,opt,name=DeletedTime,proto3,oneof" json:"DeletedTime,omitempty"`
	CreateTime   string  `protobuf:"bytes,6,opt,name=CreateTime,proto3" json:"CreateTime,omitempty"`
	Name         string  `protobuf:"bytes,4,opt,name=Name,proto3" json:"Name,omitempty"`
	Type         string  `protobuf:"bytes,7,opt,name=Type,proto3" json:"Type,omitempty"`
	UpdateTime   string  `protobuf:"bytes,1,opt,name=UpdateTime,proto3" json:"UpdateTime,omitempty"`
	ID           string  `protobuf:"bytes,2,opt,name=ID,proto3" json:"ID,omitempty"`
	PhantomField *string `protobuf:"bytes,3,opt,name=PhantomField,proto3,oneof" json:"PhantomField,omitempty"`
	BreedID      string  `protobuf:"bytes,9,opt,name=BreedID,proto3" json:"BreedID,omitempty"`
	// contains filtered or unexported fields
}

func NewCat

func NewCat(v service.Cat) Cat

func (*Cat) Descriptor deprecated

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

Deprecated: Use Cat.ProtoReflect.Descriptor instead.

func (*Cat) GetBreedID

func (x *Cat) GetBreedID() string

func (*Cat) GetCreateTime

func (x *Cat) GetCreateTime() string

func (*Cat) GetDateFrom

func (x *Cat) GetDateFrom() string

func (*Cat) GetDeletedTime

func (x *Cat) GetDeletedTime() string

func (*Cat) GetID

func (x *Cat) GetID() string

func (*Cat) GetName

func (x *Cat) GetName() string

func (*Cat) GetOtherType

func (x *Cat) GetOtherType() string

func (*Cat) GetPhantomField

func (x *Cat) GetPhantomField() string

func (*Cat) GetSpeed

func (x *Cat) GetSpeed() int64

func (*Cat) GetType

func (x *Cat) GetType() string

func (*Cat) GetUpdateTime

func (x *Cat) GetUpdateTime() string

func (*Cat) ProtoMessage

func (*Cat) ProtoMessage()

func (*Cat) ProtoReflect

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

func (*Cat) Reset

func (x *Cat) Reset()

func (*Cat) String

func (x *Cat) String() string

type CatServiceClient

type CatServiceClient interface {
	ReadCat(ctx context.Context, in *ReadCatRequest, opts ...grpc.CallOption) (*Cat, error)
	ReadManyCat(ctx context.Context, in *ReadManyCatRequest, opts ...grpc.CallOption) (*ReadManyCatResponse, error)
	CreateCat(ctx context.Context, in *CreateCatRequest, opts ...grpc.CallOption) (*Cat, error)
	UpdateCat(ctx context.Context, in *UpdateCatRequest, opts ...grpc.CallOption) (*Cat, error)
	DeleteCat(ctx context.Context, in *DeleteCatRequest, opts ...grpc.CallOption) (*DeleteCatResponse, error)
}

CatServiceClient is the client API for CatService 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 NewCatServiceClient

func NewCatServiceClient(cc grpc.ClientConnInterface) CatServiceClient

type CatServiceImpl

type CatServiceImpl struct {
	UnimplementedCatServiceServer
	// contains filtered or unexported fields
}

func NewCatServiceImpl

func NewCatServiceImpl(srvc *service.Service) *CatServiceImpl

func (*CatServiceImpl) ReadCat

func (s *CatServiceImpl) ReadCat(ctx context.Context, r *ReadCatRequest) (*Cat, error)

type CatServiceServer

type CatServiceServer interface {
	ReadCat(context.Context, *ReadCatRequest) (*Cat, error)
	ReadManyCat(context.Context, *ReadManyCatRequest) (*ReadManyCatResponse, error)
	CreateCat(context.Context, *CreateCatRequest) (*Cat, error)
	UpdateCat(context.Context, *UpdateCatRequest) (*Cat, error)
	DeleteCat(context.Context, *DeleteCatRequest) (*DeleteCatResponse, error)
	// contains filtered or unexported methods
}

CatServiceServer is the server API for CatService service. All implementations must embed UnimplementedCatServiceServer for forward compatibility

type CreateBreedRequest

type CreateBreedRequest struct {
	Name        string  `protobuf:"bytes,4,opt,name=Name,proto3" json:"Name,omitempty"`
	DeletedTime *string `protobuf:"bytes,5,opt,name=DeletedTime,proto3,oneof" json:"DeletedTime,omitempty"`
	CreateTime  string  `protobuf:"bytes,1,opt,name=CreateTime,proto3" json:"CreateTime,omitempty"`
	UpdateTime  string  `protobuf:"bytes,2,opt,name=UpdateTime,proto3" json:"UpdateTime,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateBreedRequest) Descriptor deprecated

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

Deprecated: Use CreateBreedRequest.ProtoReflect.Descriptor instead.

func (*CreateBreedRequest) GetCreateTime

func (x *CreateBreedRequest) GetCreateTime() string

func (*CreateBreedRequest) GetDeletedTime

func (x *CreateBreedRequest) GetDeletedTime() string

func (*CreateBreedRequest) GetName

func (x *CreateBreedRequest) GetName() string

func (*CreateBreedRequest) GetUpdateTime

func (x *CreateBreedRequest) GetUpdateTime() string

func (*CreateBreedRequest) ProtoMessage

func (*CreateBreedRequest) ProtoMessage()

func (*CreateBreedRequest) ProtoReflect

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

func (*CreateBreedRequest) Reset

func (x *CreateBreedRequest) Reset()

func (*CreateBreedRequest) String

func (x *CreateBreedRequest) String() string

type CreateCatRequest

type CreateCatRequest struct {
	Speed        int64   `protobuf:"varint,10,opt,name=Speed,proto3" json:"Speed,omitempty"`
	DateFrom     string  `protobuf:"bytes,11,opt,name=DateFrom,proto3" json:"DateFrom,omitempty"`
	OtherType    string  `protobuf:"bytes,5,opt,name=OtherType,proto3" json:"OtherType,omitempty"`
	DeletedTime  *string `protobuf:"bytes,8,opt,name=DeletedTime,proto3,oneof" json:"DeletedTime,omitempty"`
	CreateTime   string  `protobuf:"bytes,6,opt,name=CreateTime,proto3" json:"CreateTime,omitempty"`
	Name         string  `protobuf:"bytes,4,opt,name=Name,proto3" json:"Name,omitempty"`
	Type         string  `protobuf:"bytes,7,opt,name=Type,proto3" json:"Type,omitempty"`
	UpdateTime   string  `protobuf:"bytes,1,opt,name=UpdateTime,proto3" json:"UpdateTime,omitempty"`
	PhantomField *string `protobuf:"bytes,3,opt,name=PhantomField,proto3,oneof" json:"PhantomField,omitempty"`
	BreedID      string  `protobuf:"bytes,9,opt,name=BreedID,proto3" json:"BreedID,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateCatRequest) Descriptor deprecated

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

Deprecated: Use CreateCatRequest.ProtoReflect.Descriptor instead.

func (*CreateCatRequest) GetBreedID

func (x *CreateCatRequest) GetBreedID() string

func (*CreateCatRequest) GetCreateTime

func (x *CreateCatRequest) GetCreateTime() string

func (*CreateCatRequest) GetDateFrom

func (x *CreateCatRequest) GetDateFrom() string

func (*CreateCatRequest) GetDeletedTime

func (x *CreateCatRequest) GetDeletedTime() string

func (*CreateCatRequest) GetName

func (x *CreateCatRequest) GetName() string

func (*CreateCatRequest) GetOtherType

func (x *CreateCatRequest) GetOtherType() string

func (*CreateCatRequest) GetPhantomField

func (x *CreateCatRequest) GetPhantomField() string

func (*CreateCatRequest) GetSpeed

func (x *CreateCatRequest) GetSpeed() int64

func (*CreateCatRequest) GetType

func (x *CreateCatRequest) GetType() string

func (*CreateCatRequest) GetUpdateTime

func (x *CreateCatRequest) GetUpdateTime() string

func (*CreateCatRequest) ProtoMessage

func (*CreateCatRequest) ProtoMessage()

func (*CreateCatRequest) ProtoReflect

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

func (*CreateCatRequest) Reset

func (x *CreateCatRequest) Reset()

func (*CreateCatRequest) String

func (x *CreateCatRequest) String() string

type CreateFatherCatRequest

type CreateFatherCatRequest struct {
	Name        string  `protobuf:"bytes,5,opt,name=Name,proto3" json:"Name,omitempty"`
	DeletedTime *string `protobuf:"bytes,1,opt,name=DeletedTime,proto3,oneof" json:"DeletedTime,omitempty"`
	CreateTime  string  `protobuf:"bytes,2,opt,name=CreateTime,proto3" json:"CreateTime,omitempty"`
	UpdateTime  string  `protobuf:"bytes,3,opt,name=UpdateTime,proto3" json:"UpdateTime,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateFatherCatRequest) Descriptor deprecated

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

Deprecated: Use CreateFatherCatRequest.ProtoReflect.Descriptor instead.

func (*CreateFatherCatRequest) GetCreateTime

func (x *CreateFatherCatRequest) GetCreateTime() string

func (*CreateFatherCatRequest) GetDeletedTime

func (x *CreateFatherCatRequest) GetDeletedTime() string

func (*CreateFatherCatRequest) GetName

func (x *CreateFatherCatRequest) GetName() string

func (*CreateFatherCatRequest) GetUpdateTime

func (x *CreateFatherCatRequest) GetUpdateTime() string

func (*CreateFatherCatRequest) ProtoMessage

func (*CreateFatherCatRequest) ProtoMessage()

func (*CreateFatherCatRequest) ProtoReflect

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

func (*CreateFatherCatRequest) Reset

func (x *CreateFatherCatRequest) Reset()

func (*CreateFatherCatRequest) String

func (x *CreateFatherCatRequest) String() string

type CreateKittenRequest

type CreateKittenRequest struct {
	UpdateTime  string  `protobuf:"bytes,2,opt,name=UpdateTime,proto3" json:"UpdateTime,omitempty"`
	Name        string  `protobuf:"bytes,4,opt,name=Name,proto3" json:"Name,omitempty"`
	MotherID    string  `protobuf:"bytes,5,opt,name=MotherID,proto3" json:"MotherID,omitempty"`
	DeletedTime *string `protobuf:"bytes,6,opt,name=DeletedTime,proto3,oneof" json:"DeletedTime,omitempty"`
	CreateTime  string  `protobuf:"bytes,1,opt,name=CreateTime,proto3" json:"CreateTime,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateKittenRequest) Descriptor deprecated

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

Deprecated: Use CreateKittenRequest.ProtoReflect.Descriptor instead.

func (*CreateKittenRequest) GetCreateTime

func (x *CreateKittenRequest) GetCreateTime() string

func (*CreateKittenRequest) GetDeletedTime

func (x *CreateKittenRequest) GetDeletedTime() string

func (*CreateKittenRequest) GetMotherID

func (x *CreateKittenRequest) GetMotherID() string

func (*CreateKittenRequest) GetName

func (x *CreateKittenRequest) GetName() string

func (*CreateKittenRequest) GetUpdateTime

func (x *CreateKittenRequest) GetUpdateTime() string

func (*CreateKittenRequest) ProtoMessage

func (*CreateKittenRequest) ProtoMessage()

func (*CreateKittenRequest) ProtoReflect

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

func (*CreateKittenRequest) Reset

func (x *CreateKittenRequest) Reset()

func (*CreateKittenRequest) String

func (x *CreateKittenRequest) String() string

type DeleteBreedRequest

type DeleteBreedRequest struct {
	ID string `protobuf:"bytes,3,opt,name=ID,proto3" json:"ID,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteBreedRequest) Descriptor deprecated

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

Deprecated: Use DeleteBreedRequest.ProtoReflect.Descriptor instead.

func (*DeleteBreedRequest) GetID

func (x *DeleteBreedRequest) GetID() string

func (*DeleteBreedRequest) ProtoMessage

func (*DeleteBreedRequest) ProtoMessage()

func (*DeleteBreedRequest) ProtoReflect

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

func (*DeleteBreedRequest) Reset

func (x *DeleteBreedRequest) Reset()

func (*DeleteBreedRequest) String

func (x *DeleteBreedRequest) String() string

type DeleteBreedResponse

type DeleteBreedResponse struct {
	Status string `protobuf:"bytes,1,opt,name=Status,proto3" json:"Status,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteBreedResponse) Descriptor deprecated

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

Deprecated: Use DeleteBreedResponse.ProtoReflect.Descriptor instead.

func (*DeleteBreedResponse) GetStatus

func (x *DeleteBreedResponse) GetStatus() string

func (*DeleteBreedResponse) ProtoMessage

func (*DeleteBreedResponse) ProtoMessage()

func (*DeleteBreedResponse) ProtoReflect

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

func (*DeleteBreedResponse) Reset

func (x *DeleteBreedResponse) Reset()

func (*DeleteBreedResponse) String

func (x *DeleteBreedResponse) String() string

type DeleteCatRequest

type DeleteCatRequest struct {
	ID string `protobuf:"bytes,2,opt,name=ID,proto3" json:"ID,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteCatRequest) Descriptor deprecated

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

Deprecated: Use DeleteCatRequest.ProtoReflect.Descriptor instead.

func (*DeleteCatRequest) GetID

func (x *DeleteCatRequest) GetID() string

func (*DeleteCatRequest) ProtoMessage

func (*DeleteCatRequest) ProtoMessage()

func (*DeleteCatRequest) ProtoReflect

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

func (*DeleteCatRequest) Reset

func (x *DeleteCatRequest) Reset()

func (*DeleteCatRequest) String

func (x *DeleteCatRequest) String() string

type DeleteCatResponse

type DeleteCatResponse struct {
	Status string `protobuf:"bytes,1,opt,name=Status,proto3" json:"Status,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteCatResponse) Descriptor deprecated

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

Deprecated: Use DeleteCatResponse.ProtoReflect.Descriptor instead.

func (*DeleteCatResponse) GetStatus

func (x *DeleteCatResponse) GetStatus() string

func (*DeleteCatResponse) ProtoMessage

func (*DeleteCatResponse) ProtoMessage()

func (*DeleteCatResponse) ProtoReflect

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

func (*DeleteCatResponse) Reset

func (x *DeleteCatResponse) Reset()

func (*DeleteCatResponse) String

func (x *DeleteCatResponse) String() string

type DeleteFatherCatRequest

type DeleteFatherCatRequest struct {
	ID string `protobuf:"bytes,4,opt,name=ID,proto3" json:"ID,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteFatherCatRequest) Descriptor deprecated

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

Deprecated: Use DeleteFatherCatRequest.ProtoReflect.Descriptor instead.

func (*DeleteFatherCatRequest) GetID

func (x *DeleteFatherCatRequest) GetID() string

func (*DeleteFatherCatRequest) ProtoMessage

func (*DeleteFatherCatRequest) ProtoMessage()

func (*DeleteFatherCatRequest) ProtoReflect

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

func (*DeleteFatherCatRequest) Reset

func (x *DeleteFatherCatRequest) Reset()

func (*DeleteFatherCatRequest) String

func (x *DeleteFatherCatRequest) String() string

type DeleteFatherCatResponse

type DeleteFatherCatResponse struct {
	Status string `protobuf:"bytes,1,opt,name=Status,proto3" json:"Status,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteFatherCatResponse) Descriptor deprecated

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

Deprecated: Use DeleteFatherCatResponse.ProtoReflect.Descriptor instead.

func (*DeleteFatherCatResponse) GetStatus

func (x *DeleteFatherCatResponse) GetStatus() string

func (*DeleteFatherCatResponse) ProtoMessage

func (*DeleteFatherCatResponse) ProtoMessage()

func (*DeleteFatherCatResponse) ProtoReflect

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

func (*DeleteFatherCatResponse) Reset

func (x *DeleteFatherCatResponse) Reset()

func (*DeleteFatherCatResponse) String

func (x *DeleteFatherCatResponse) String() string

type DeleteKittenRequest

type DeleteKittenRequest struct {
	ID string `protobuf:"bytes,3,opt,name=ID,proto3" json:"ID,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteKittenRequest) Descriptor deprecated

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

Deprecated: Use DeleteKittenRequest.ProtoReflect.Descriptor instead.

func (*DeleteKittenRequest) GetID

func (x *DeleteKittenRequest) GetID() string

func (*DeleteKittenRequest) ProtoMessage

func (*DeleteKittenRequest) ProtoMessage()

func (*DeleteKittenRequest) ProtoReflect

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

func (*DeleteKittenRequest) Reset

func (x *DeleteKittenRequest) Reset()

func (*DeleteKittenRequest) String

func (x *DeleteKittenRequest) String() string

type DeleteKittenResponse

type DeleteKittenResponse struct {
	Status string `protobuf:"bytes,1,opt,name=Status,proto3" json:"Status,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteKittenResponse) Descriptor deprecated

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

Deprecated: Use DeleteKittenResponse.ProtoReflect.Descriptor instead.

func (*DeleteKittenResponse) GetStatus

func (x *DeleteKittenResponse) GetStatus() string

func (*DeleteKittenResponse) ProtoMessage

func (*DeleteKittenResponse) ProtoMessage()

func (*DeleteKittenResponse) ProtoReflect

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

func (*DeleteKittenResponse) Reset

func (x *DeleteKittenResponse) Reset()

func (*DeleteKittenResponse) String

func (x *DeleteKittenResponse) String() string

type FatherCat

type FatherCat struct {
	Name        string  `protobuf:"bytes,5,opt,name=Name,proto3" json:"Name,omitempty"`
	DeletedTime *string `protobuf:"bytes,1,opt,name=DeletedTime,proto3,oneof" json:"DeletedTime,omitempty"`
	CreateTime  string  `protobuf:"bytes,2,opt,name=CreateTime,proto3" json:"CreateTime,omitempty"`
	UpdateTime  string  `protobuf:"bytes,3,opt,name=UpdateTime,proto3" json:"UpdateTime,omitempty"`
	ID          string  `protobuf:"bytes,4,opt,name=ID,proto3" json:"ID,omitempty"`
	// contains filtered or unexported fields
}

func NewFatherCat

func NewFatherCat(v service.FatherCat) FatherCat

func (*FatherCat) Descriptor deprecated

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

Deprecated: Use FatherCat.ProtoReflect.Descriptor instead.

func (*FatherCat) GetCreateTime

func (x *FatherCat) GetCreateTime() string

func (*FatherCat) GetDeletedTime

func (x *FatherCat) GetDeletedTime() string

func (*FatherCat) GetID

func (x *FatherCat) GetID() string

func (*FatherCat) GetName

func (x *FatherCat) GetName() string

func (*FatherCat) GetUpdateTime

func (x *FatherCat) GetUpdateTime() string

func (*FatherCat) ProtoMessage

func (*FatherCat) ProtoMessage()

func (*FatherCat) ProtoReflect

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

func (*FatherCat) Reset

func (x *FatherCat) Reset()

func (*FatherCat) String

func (x *FatherCat) String() string

type FatherCatServiceClient

type FatherCatServiceClient interface {
	ReadFatherCat(ctx context.Context, in *ReadFatherCatRequest, opts ...grpc.CallOption) (*FatherCat, error)
	ReadManyFatherCat(ctx context.Context, in *ReadManyFatherCatRequest, opts ...grpc.CallOption) (*ReadManyFatherCatResponse, error)
	CreateFatherCat(ctx context.Context, in *CreateFatherCatRequest, opts ...grpc.CallOption) (*FatherCat, error)
	UpdateFatherCat(ctx context.Context, in *UpdateFatherCatRequest, opts ...grpc.CallOption) (*FatherCat, error)
	DeleteFatherCat(ctx context.Context, in *DeleteFatherCatRequest, opts ...grpc.CallOption) (*DeleteFatherCatResponse, error)
}

FatherCatServiceClient is the client API for FatherCatService 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 FatherCatServiceImpl

type FatherCatServiceImpl struct {
	UnimplementedFatherCatServiceServer
	// contains filtered or unexported fields
}

func NewFatherCatServiceImpl

func NewFatherCatServiceImpl(srvc *service.Service) *FatherCatServiceImpl

func (*FatherCatServiceImpl) ReadFatherCat

type FatherCatServiceServer

type FatherCatServiceServer interface {
	ReadFatherCat(context.Context, *ReadFatherCatRequest) (*FatherCat, error)
	ReadManyFatherCat(context.Context, *ReadManyFatherCatRequest) (*ReadManyFatherCatResponse, error)
	CreateFatherCat(context.Context, *CreateFatherCatRequest) (*FatherCat, error)
	UpdateFatherCat(context.Context, *UpdateFatherCatRequest) (*FatherCat, error)
	DeleteFatherCat(context.Context, *DeleteFatherCatRequest) (*DeleteFatherCatResponse, error)
	// contains filtered or unexported methods
}

FatherCatServiceServer is the server API for FatherCatService service. All implementations must embed UnimplementedFatherCatServiceServer for forward compatibility

type Kitten

type Kitten struct {
	UpdateTime  string  `protobuf:"bytes,2,opt,name=UpdateTime,proto3" json:"UpdateTime,omitempty"`
	ID          string  `protobuf:"bytes,3,opt,name=ID,proto3" json:"ID,omitempty"`
	Name        string  `protobuf:"bytes,4,opt,name=Name,proto3" json:"Name,omitempty"`
	MotherID    string  `protobuf:"bytes,5,opt,name=MotherID,proto3" json:"MotherID,omitempty"`
	DeletedTime *string `protobuf:"bytes,6,opt,name=DeletedTime,proto3,oneof" json:"DeletedTime,omitempty"`
	CreateTime  string  `protobuf:"bytes,1,opt,name=CreateTime,proto3" json:"CreateTime,omitempty"`
	// contains filtered or unexported fields
}

func NewKitten

func NewKitten(v service.Kitten) Kitten

func (*Kitten) Descriptor deprecated

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

Deprecated: Use Kitten.ProtoReflect.Descriptor instead.

func (*Kitten) GetCreateTime

func (x *Kitten) GetCreateTime() string

func (*Kitten) GetDeletedTime

func (x *Kitten) GetDeletedTime() string

func (*Kitten) GetID

func (x *Kitten) GetID() string

func (*Kitten) GetMotherID

func (x *Kitten) GetMotherID() string

func (*Kitten) GetName

func (x *Kitten) GetName() string

func (*Kitten) GetUpdateTime

func (x *Kitten) GetUpdateTime() string

func (*Kitten) ProtoMessage

func (*Kitten) ProtoMessage()

func (*Kitten) ProtoReflect

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

func (*Kitten) Reset

func (x *Kitten) Reset()

func (*Kitten) String

func (x *Kitten) String() string

type KittenServiceClient

type KittenServiceClient interface {
	ReadKitten(ctx context.Context, in *ReadKittenRequest, opts ...grpc.CallOption) (*Kitten, error)
	ReadManyKitten(ctx context.Context, in *ReadManyKittenRequest, opts ...grpc.CallOption) (*ReadManyKittenResponse, error)
	CreateKitten(ctx context.Context, in *CreateKittenRequest, opts ...grpc.CallOption) (*Kitten, error)
	UpdateKitten(ctx context.Context, in *UpdateKittenRequest, opts ...grpc.CallOption) (*Kitten, error)
	DeleteKitten(ctx context.Context, in *DeleteKittenRequest, opts ...grpc.CallOption) (*DeleteKittenResponse, error)
}

KittenServiceClient is the client API for KittenService 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 KittenServiceImpl

type KittenServiceImpl struct {
	UnimplementedKittenServiceServer
	// contains filtered or unexported fields
}

func NewKittenServiceImpl

func NewKittenServiceImpl(srvc *service.Service) *KittenServiceImpl

func (*KittenServiceImpl) ReadKitten

func (s *KittenServiceImpl) ReadKitten(ctx context.Context, r *ReadKittenRequest) (*Kitten, error)

type KittenServiceServer

type KittenServiceServer interface {
	ReadKitten(context.Context, *ReadKittenRequest) (*Kitten, error)
	ReadManyKitten(context.Context, *ReadManyKittenRequest) (*ReadManyKittenResponse, error)
	CreateKitten(context.Context, *CreateKittenRequest) (*Kitten, error)
	UpdateKitten(context.Context, *UpdateKittenRequest) (*Kitten, error)
	DeleteKitten(context.Context, *DeleteKittenRequest) (*DeleteKittenResponse, error)
	// contains filtered or unexported methods
}

KittenServiceServer is the server API for KittenService service. All implementations must embed UnimplementedKittenServiceServer for forward compatibility

type ReadBreedRequest

type ReadBreedRequest struct {
	ID string `protobuf:"bytes,3,opt,name=ID,proto3" json:"ID,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadBreedRequest) Descriptor deprecated

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

Deprecated: Use ReadBreedRequest.ProtoReflect.Descriptor instead.

func (*ReadBreedRequest) GetID

func (x *ReadBreedRequest) GetID() string

func (*ReadBreedRequest) ProtoMessage

func (*ReadBreedRequest) ProtoMessage()

func (*ReadBreedRequest) ProtoReflect

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

func (*ReadBreedRequest) Reset

func (x *ReadBreedRequest) Reset()

func (*ReadBreedRequest) String

func (x *ReadBreedRequest) String() string

type ReadCatRequest

type ReadCatRequest struct {
	ID string `protobuf:"bytes,2,opt,name=ID,proto3" json:"ID,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadCatRequest) Descriptor deprecated

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

Deprecated: Use ReadCatRequest.ProtoReflect.Descriptor instead.

func (*ReadCatRequest) GetID

func (x *ReadCatRequest) GetID() string

func (*ReadCatRequest) ProtoMessage

func (*ReadCatRequest) ProtoMessage()

func (*ReadCatRequest) ProtoReflect

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

func (*ReadCatRequest) Reset

func (x *ReadCatRequest) Reset()

func (*ReadCatRequest) String

func (x *ReadCatRequest) String() string

type ReadFatherCatRequest

type ReadFatherCatRequest struct {
	ID string `protobuf:"bytes,4,opt,name=ID,proto3" json:"ID,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadFatherCatRequest) Descriptor deprecated

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

Deprecated: Use ReadFatherCatRequest.ProtoReflect.Descriptor instead.

func (*ReadFatherCatRequest) GetID

func (x *ReadFatherCatRequest) GetID() string

func (*ReadFatherCatRequest) ProtoMessage

func (*ReadFatherCatRequest) ProtoMessage()

func (*ReadFatherCatRequest) ProtoReflect

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

func (*ReadFatherCatRequest) Reset

func (x *ReadFatherCatRequest) Reset()

func (*ReadFatherCatRequest) String

func (x *ReadFatherCatRequest) String() string

type ReadKittenRequest

type ReadKittenRequest struct {
	ID string `protobuf:"bytes,3,opt,name=ID,proto3" json:"ID,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadKittenRequest) Descriptor deprecated

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

Deprecated: Use ReadKittenRequest.ProtoReflect.Descriptor instead.

func (*ReadKittenRequest) GetID

func (x *ReadKittenRequest) GetID() string

func (*ReadKittenRequest) ProtoMessage

func (*ReadKittenRequest) ProtoMessage()

func (*ReadKittenRequest) ProtoReflect

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

func (*ReadKittenRequest) Reset

func (x *ReadKittenRequest) Reset()

func (*ReadKittenRequest) String

func (x *ReadKittenRequest) String() string

type ReadManyBreedRequest

type ReadManyBreedRequest struct {
	ID string `protobuf:"bytes,3,opt,name=ID,proto3" json:"ID,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadManyBreedRequest) Descriptor deprecated

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

Deprecated: Use ReadManyBreedRequest.ProtoReflect.Descriptor instead.

func (*ReadManyBreedRequest) GetID

func (x *ReadManyBreedRequest) GetID() string

func (*ReadManyBreedRequest) ProtoMessage

func (*ReadManyBreedRequest) ProtoMessage()

func (*ReadManyBreedRequest) ProtoReflect

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

func (*ReadManyBreedRequest) Reset

func (x *ReadManyBreedRequest) Reset()

func (*ReadManyBreedRequest) String

func (x *ReadManyBreedRequest) String() string

type ReadManyBreedResponse

type ReadManyBreedResponse struct {
	Items *Breed `protobuf:"bytes,1,opt,name=Items,proto3" json:"Items,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadManyBreedResponse) Descriptor deprecated

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

Deprecated: Use ReadManyBreedResponse.ProtoReflect.Descriptor instead.

func (*ReadManyBreedResponse) GetItems

func (x *ReadManyBreedResponse) GetItems() *Breed

func (*ReadManyBreedResponse) ProtoMessage

func (*ReadManyBreedResponse) ProtoMessage()

func (*ReadManyBreedResponse) ProtoReflect

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

func (*ReadManyBreedResponse) Reset

func (x *ReadManyBreedResponse) Reset()

func (*ReadManyBreedResponse) String

func (x *ReadManyBreedResponse) String() string

type ReadManyCatRequest

type ReadManyCatRequest struct {
	ID string `protobuf:"bytes,2,opt,name=ID,proto3" json:"ID,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadManyCatRequest) Descriptor deprecated

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

Deprecated: Use ReadManyCatRequest.ProtoReflect.Descriptor instead.

func (*ReadManyCatRequest) GetID

func (x *ReadManyCatRequest) GetID() string

func (*ReadManyCatRequest) ProtoMessage

func (*ReadManyCatRequest) ProtoMessage()

func (*ReadManyCatRequest) ProtoReflect

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

func (*ReadManyCatRequest) Reset

func (x *ReadManyCatRequest) Reset()

func (*ReadManyCatRequest) String

func (x *ReadManyCatRequest) String() string

type ReadManyCatResponse

type ReadManyCatResponse struct {
	Items *Cat `protobuf:"bytes,1,opt,name=Items,proto3" json:"Items,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadManyCatResponse) Descriptor deprecated

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

Deprecated: Use ReadManyCatResponse.ProtoReflect.Descriptor instead.

func (*ReadManyCatResponse) GetItems

func (x *ReadManyCatResponse) GetItems() *Cat

func (*ReadManyCatResponse) ProtoMessage

func (*ReadManyCatResponse) ProtoMessage()

func (*ReadManyCatResponse) ProtoReflect

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

func (*ReadManyCatResponse) Reset

func (x *ReadManyCatResponse) Reset()

func (*ReadManyCatResponse) String

func (x *ReadManyCatResponse) String() string

type ReadManyFatherCatRequest

type ReadManyFatherCatRequest struct {
	ID string `protobuf:"bytes,4,opt,name=ID,proto3" json:"ID,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadManyFatherCatRequest) Descriptor deprecated

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

Deprecated: Use ReadManyFatherCatRequest.ProtoReflect.Descriptor instead.

func (*ReadManyFatherCatRequest) GetID

func (x *ReadManyFatherCatRequest) GetID() string

func (*ReadManyFatherCatRequest) ProtoMessage

func (*ReadManyFatherCatRequest) ProtoMessage()

func (*ReadManyFatherCatRequest) ProtoReflect

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

func (*ReadManyFatherCatRequest) Reset

func (x *ReadManyFatherCatRequest) Reset()

func (*ReadManyFatherCatRequest) String

func (x *ReadManyFatherCatRequest) String() string

type ReadManyFatherCatResponse

type ReadManyFatherCatResponse struct {
	Items *FatherCat `protobuf:"bytes,1,opt,name=Items,proto3" json:"Items,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadManyFatherCatResponse) Descriptor deprecated

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

Deprecated: Use ReadManyFatherCatResponse.ProtoReflect.Descriptor instead.

func (*ReadManyFatherCatResponse) GetItems

func (x *ReadManyFatherCatResponse) GetItems() *FatherCat

func (*ReadManyFatherCatResponse) ProtoMessage

func (*ReadManyFatherCatResponse) ProtoMessage()

func (*ReadManyFatherCatResponse) ProtoReflect

func (*ReadManyFatherCatResponse) Reset

func (x *ReadManyFatherCatResponse) Reset()

func (*ReadManyFatherCatResponse) String

func (x *ReadManyFatherCatResponse) String() string

type ReadManyKittenRequest

type ReadManyKittenRequest struct {
	ID string `protobuf:"bytes,3,opt,name=ID,proto3" json:"ID,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadManyKittenRequest) Descriptor deprecated

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

Deprecated: Use ReadManyKittenRequest.ProtoReflect.Descriptor instead.

func (*ReadManyKittenRequest) GetID

func (x *ReadManyKittenRequest) GetID() string

func (*ReadManyKittenRequest) ProtoMessage

func (*ReadManyKittenRequest) ProtoMessage()

func (*ReadManyKittenRequest) ProtoReflect

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

func (*ReadManyKittenRequest) Reset

func (x *ReadManyKittenRequest) Reset()

func (*ReadManyKittenRequest) String

func (x *ReadManyKittenRequest) String() string

type ReadManyKittenResponse

type ReadManyKittenResponse struct {
	Items *Kitten `protobuf:"bytes,1,opt,name=Items,proto3" json:"Items,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadManyKittenResponse) Descriptor deprecated

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

Deprecated: Use ReadManyKittenResponse.ProtoReflect.Descriptor instead.

func (*ReadManyKittenResponse) GetItems

func (x *ReadManyKittenResponse) GetItems() *Kitten

func (*ReadManyKittenResponse) ProtoMessage

func (*ReadManyKittenResponse) ProtoMessage()

func (*ReadManyKittenResponse) ProtoReflect

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

func (*ReadManyKittenResponse) Reset

func (x *ReadManyKittenResponse) Reset()

func (*ReadManyKittenResponse) String

func (x *ReadManyKittenResponse) String() string

type UnimplementedBreedServiceServer

type UnimplementedBreedServiceServer struct {
}

UnimplementedBreedServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedBreedServiceServer) CreateBreed

func (UnimplementedBreedServiceServer) DeleteBreed

func (UnimplementedBreedServiceServer) ReadBreed

func (UnimplementedBreedServiceServer) ReadManyBreed

func (UnimplementedBreedServiceServer) UpdateBreed

type UnimplementedCatServiceServer

type UnimplementedCatServiceServer struct {
}

UnimplementedCatServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedCatServiceServer) CreateCat

func (UnimplementedCatServiceServer) DeleteCat

func (UnimplementedCatServiceServer) ReadCat

func (UnimplementedCatServiceServer) ReadManyCat

func (UnimplementedCatServiceServer) UpdateCat

type UnimplementedFatherCatServiceServer

type UnimplementedFatherCatServiceServer struct {
}

UnimplementedFatherCatServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedFatherCatServiceServer) CreateFatherCat

func (UnimplementedFatherCatServiceServer) DeleteFatherCat

func (UnimplementedFatherCatServiceServer) ReadFatherCat

func (UnimplementedFatherCatServiceServer) ReadManyFatherCat

func (UnimplementedFatherCatServiceServer) UpdateFatherCat

type UnimplementedKittenServiceServer

type UnimplementedKittenServiceServer struct {
}

UnimplementedKittenServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedKittenServiceServer) CreateKitten

func (UnimplementedKittenServiceServer) DeleteKitten

func (UnimplementedKittenServiceServer) ReadKitten

func (UnimplementedKittenServiceServer) ReadManyKitten

func (UnimplementedKittenServiceServer) UpdateKitten

type UnsafeBreedServiceServer

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

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

type UnsafeCatServiceServer

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

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

type UnsafeFatherCatServiceServer

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

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

type UnsafeKittenServiceServer

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

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

type UpdateBreedRequest

type UpdateBreedRequest struct {
	Name        *string `protobuf:"bytes,4,opt,name=Name,proto3,oneof" json:"Name,omitempty"`
	DeletedTime *string `protobuf:"bytes,5,opt,name=DeletedTime,proto3,oneof" json:"DeletedTime,omitempty"`
	CreateTime  *string `protobuf:"bytes,1,opt,name=CreateTime,proto3,oneof" json:"CreateTime,omitempty"`
	UpdateTime  *string `protobuf:"bytes,2,opt,name=UpdateTime,proto3,oneof" json:"UpdateTime,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateBreedRequest) Descriptor deprecated

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

Deprecated: Use UpdateBreedRequest.ProtoReflect.Descriptor instead.

func (*UpdateBreedRequest) GetCreateTime

func (x *UpdateBreedRequest) GetCreateTime() string

func (*UpdateBreedRequest) GetDeletedTime

func (x *UpdateBreedRequest) GetDeletedTime() string

func (*UpdateBreedRequest) GetName

func (x *UpdateBreedRequest) GetName() string

func (*UpdateBreedRequest) GetUpdateTime

func (x *UpdateBreedRequest) GetUpdateTime() string

func (*UpdateBreedRequest) ProtoMessage

func (*UpdateBreedRequest) ProtoMessage()

func (*UpdateBreedRequest) ProtoReflect

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

func (*UpdateBreedRequest) Reset

func (x *UpdateBreedRequest) Reset()

func (*UpdateBreedRequest) String

func (x *UpdateBreedRequest) String() string

type UpdateCatRequest

type UpdateCatRequest struct {
	Speed        *int64  `protobuf:"varint,10,opt,name=Speed,proto3,oneof" json:"Speed,omitempty"`
	DateFrom     *string `protobuf:"bytes,11,opt,name=DateFrom,proto3,oneof" json:"DateFrom,omitempty"`
	OtherType    *string `protobuf:"bytes,5,opt,name=OtherType,proto3,oneof" json:"OtherType,omitempty"`
	DeletedTime  *string `protobuf:"bytes,8,opt,name=DeletedTime,proto3,oneof" json:"DeletedTime,omitempty"`
	CreateTime   *string `protobuf:"bytes,6,opt,name=CreateTime,proto3,oneof" json:"CreateTime,omitempty"`
	Name         *string `protobuf:"bytes,4,opt,name=Name,proto3,oneof" json:"Name,omitempty"`
	Type         *string `protobuf:"bytes,7,opt,name=Type,proto3,oneof" json:"Type,omitempty"`
	UpdateTime   *string `protobuf:"bytes,1,opt,name=UpdateTime,proto3,oneof" json:"UpdateTime,omitempty"`
	PhantomField *string `protobuf:"bytes,3,opt,name=PhantomField,proto3,oneof" json:"PhantomField,omitempty"`
	BreedID      *string `protobuf:"bytes,9,opt,name=BreedID,proto3,oneof" json:"BreedID,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateCatRequest) Descriptor deprecated

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

Deprecated: Use UpdateCatRequest.ProtoReflect.Descriptor instead.

func (*UpdateCatRequest) GetBreedID

func (x *UpdateCatRequest) GetBreedID() string

func (*UpdateCatRequest) GetCreateTime

func (x *UpdateCatRequest) GetCreateTime() string

func (*UpdateCatRequest) GetDateFrom

func (x *UpdateCatRequest) GetDateFrom() string

func (*UpdateCatRequest) GetDeletedTime

func (x *UpdateCatRequest) GetDeletedTime() string

func (*UpdateCatRequest) GetName

func (x *UpdateCatRequest) GetName() string

func (*UpdateCatRequest) GetOtherType

func (x *UpdateCatRequest) GetOtherType() string

func (*UpdateCatRequest) GetPhantomField

func (x *UpdateCatRequest) GetPhantomField() string

func (*UpdateCatRequest) GetSpeed

func (x *UpdateCatRequest) GetSpeed() int64

func (*UpdateCatRequest) GetType

func (x *UpdateCatRequest) GetType() string

func (*UpdateCatRequest) GetUpdateTime

func (x *UpdateCatRequest) GetUpdateTime() string

func (*UpdateCatRequest) ProtoMessage

func (*UpdateCatRequest) ProtoMessage()

func (*UpdateCatRequest) ProtoReflect

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

func (*UpdateCatRequest) Reset

func (x *UpdateCatRequest) Reset()

func (*UpdateCatRequest) String

func (x *UpdateCatRequest) String() string

type UpdateFatherCatRequest

type UpdateFatherCatRequest struct {
	Name        *string `protobuf:"bytes,5,opt,name=Name,proto3,oneof" json:"Name,omitempty"`
	DeletedTime *string `protobuf:"bytes,1,opt,name=DeletedTime,proto3,oneof" json:"DeletedTime,omitempty"`
	CreateTime  *string `protobuf:"bytes,2,opt,name=CreateTime,proto3,oneof" json:"CreateTime,omitempty"`
	UpdateTime  *string `protobuf:"bytes,3,opt,name=UpdateTime,proto3,oneof" json:"UpdateTime,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateFatherCatRequest) Descriptor deprecated

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

Deprecated: Use UpdateFatherCatRequest.ProtoReflect.Descriptor instead.

func (*UpdateFatherCatRequest) GetCreateTime

func (x *UpdateFatherCatRequest) GetCreateTime() string

func (*UpdateFatherCatRequest) GetDeletedTime

func (x *UpdateFatherCatRequest) GetDeletedTime() string

func (*UpdateFatherCatRequest) GetName

func (x *UpdateFatherCatRequest) GetName() string

func (*UpdateFatherCatRequest) GetUpdateTime

func (x *UpdateFatherCatRequest) GetUpdateTime() string

func (*UpdateFatherCatRequest) ProtoMessage

func (*UpdateFatherCatRequest) ProtoMessage()

func (*UpdateFatherCatRequest) ProtoReflect

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

func (*UpdateFatherCatRequest) Reset

func (x *UpdateFatherCatRequest) Reset()

func (*UpdateFatherCatRequest) String

func (x *UpdateFatherCatRequest) String() string

type UpdateKittenRequest

type UpdateKittenRequest struct {
	UpdateTime  *string `protobuf:"bytes,2,opt,name=UpdateTime,proto3,oneof" json:"UpdateTime,omitempty"`
	Name        *string `protobuf:"bytes,4,opt,name=Name,proto3,oneof" json:"Name,omitempty"`
	MotherID    *string `protobuf:"bytes,5,opt,name=MotherID,proto3,oneof" json:"MotherID,omitempty"`
	DeletedTime *string `protobuf:"bytes,6,opt,name=DeletedTime,proto3,oneof" json:"DeletedTime,omitempty"`
	CreateTime  *string `protobuf:"bytes,1,opt,name=CreateTime,proto3,oneof" json:"CreateTime,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateKittenRequest) Descriptor deprecated

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

Deprecated: Use UpdateKittenRequest.ProtoReflect.Descriptor instead.

func (*UpdateKittenRequest) GetCreateTime

func (x *UpdateKittenRequest) GetCreateTime() string

func (*UpdateKittenRequest) GetDeletedTime

func (x *UpdateKittenRequest) GetDeletedTime() string

func (*UpdateKittenRequest) GetMotherID

func (x *UpdateKittenRequest) GetMotherID() string

func (*UpdateKittenRequest) GetName

func (x *UpdateKittenRequest) GetName() string

func (*UpdateKittenRequest) GetUpdateTime

func (x *UpdateKittenRequest) GetUpdateTime() string

func (*UpdateKittenRequest) ProtoMessage

func (*UpdateKittenRequest) ProtoMessage()

func (*UpdateKittenRequest) ProtoReflect

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

func (*UpdateKittenRequest) Reset

func (x *UpdateKittenRequest) Reset()

func (*UpdateKittenRequest) String

func (x *UpdateKittenRequest) String() string

Jump to

Keyboard shortcuts

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