Documentation ¶
Index ¶
- Variables
- func RegisterWishListServiceServer(s grpc.ServiceRegistrar, srv WishListServiceServer)
- type Acity
- func (*Acity) Descriptor() ([]byte, []int)deprecated
- func (x *Acity) GetNombreCiudad() string
- func (x *Acity) GetNombrePlaneta() string
- func (x *Acity) GetNuevoValor() string
- func (*Acity) ProtoMessage()
- func (x *Acity) ProtoReflect() protoreflect.Message
- func (x *Acity) Reset()
- func (x *Acity) String() string
- type AddItemReq
- type AddItemResp
- type CreateWishListReq
- func (*CreateWishListReq) Descriptor() ([]byte, []int)deprecated
- func (x *CreateWishListReq) GetWishList() *WishList
- func (*CreateWishListReq) ProtoMessage()
- func (x *CreateWishListReq) ProtoReflect() protoreflect.Message
- func (x *CreateWishListReq) Reset()
- func (x *CreateWishListReq) String() string
- type CreateWishListResp
- func (*CreateWishListResp) Descriptor() ([]byte, []int)deprecated
- func (x *CreateWishListResp) GetWishListId() string
- func (*CreateWishListResp) ProtoMessage()
- func (x *CreateWishListResp) ProtoReflect() protoreflect.Message
- func (x *CreateWishListResp) Reset()
- func (x *CreateWishListResp) String() string
- type Dcity
- type GnumberR
- type Gvector
- type Item
- func (*Item) Descriptor() ([]byte, []int)deprecated
- func (x *Item) GetId() string
- func (x *Item) GetLink() string
- func (x *Item) GetName() string
- func (x *Item) GetPrice() float64
- func (x *Item) GetPriority() Item_ItemPriority
- func (x *Item) GetStatus() Item_ItemStatus
- func (x *Item) GetWishListId() string
- func (*Item) ProtoMessage()
- func (x *Item) ProtoReflect() protoreflect.Message
- func (x *Item) Reset()
- func (x *Item) String() string
- type Item_ItemPriority
- func (Item_ItemPriority) Descriptor() protoreflect.EnumDescriptor
- func (x Item_ItemPriority) Enum() *Item_ItemPriority
- func (Item_ItemPriority) EnumDescriptor() ([]byte, []int)deprecated
- func (x Item_ItemPriority) Number() protoreflect.EnumNumber
- func (x Item_ItemPriority) String() string
- func (Item_ItemPriority) Type() protoreflect.EnumType
- type Item_ItemStatus
- func (Item_ItemStatus) Descriptor() protoreflect.EnumDescriptor
- func (x Item_ItemStatus) Enum() *Item_ItemStatus
- func (Item_ItemStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x Item_ItemStatus) Number() protoreflect.EnumNumber
- func (x Item_ItemStatus) String() string
- func (Item_ItemStatus) Type() protoreflect.EnumType
- type ListWishListReq
- type ListWishListResp
- type NumberRebeldsReq
- func (*NumberRebeldsReq) Descriptor() ([]byte, []int)deprecated
- func (x *NumberRebeldsReq) GetCity() string
- func (x *NumberRebeldsReq) GetOption() string
- func (x *NumberRebeldsReq) GetPlanet() string
- func (x *NumberRebeldsReq) GetX() string
- func (x *NumberRebeldsReq) GetY() string
- func (x *NumberRebeldsReq) GetZ() string
- func (*NumberRebeldsReq) ProtoMessage()
- func (x *NumberRebeldsReq) ProtoReflect() protoreflect.Message
- func (x *NumberRebeldsReq) Reset()
- func (x *NumberRebeldsReq) String() string
- type NumberRebeldsRes
- func (*NumberRebeldsRes) Descriptor() ([]byte, []int)deprecated
- func (x *NumberRebeldsRes) GetTotalRebelds() string
- func (x *NumberRebeldsRes) GetX() int32
- func (x *NumberRebeldsRes) GetY() int32
- func (x *NumberRebeldsRes) GetZ() int32
- func (*NumberRebeldsRes) ProtoMessage()
- func (x *NumberRebeldsRes) ProtoReflect() protoreflect.Message
- func (x *NumberRebeldsRes) Reset()
- func (x *NumberRebeldsRes) String() string
- type ServerInfo
- func (*ServerInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ServerInfo) GetIp() string
- func (x *ServerInfo) GetPort() string
- func (x *ServerInfo) GetServer() string
- func (*ServerInfo) ProtoMessage()
- func (x *ServerInfo) ProtoReflect() protoreflect.Message
- func (x *ServerInfo) Reset()
- func (x *ServerInfo) String() string
- type ServerInfoRes
- func (*ServerInfoRes) Descriptor() ([]byte, []int)deprecated
- func (x *ServerInfoRes) GetPlaneta() string
- func (x *ServerInfoRes) GetX() string
- func (x *ServerInfoRes) GetY() string
- func (x *ServerInfoRes) GetZ() string
- func (*ServerInfoRes) ProtoMessage()
- func (x *ServerInfoRes) ProtoReflect() protoreflect.Message
- func (x *ServerInfoRes) Reset()
- func (x *ServerInfoRes) String() string
- type State
- type Uname
- func (*Uname) Descriptor() ([]byte, []int)deprecated
- func (x *Uname) GetNombreCiudad() string
- func (x *Uname) GetNombrePlaneta() string
- func (x *Uname) GetNuevoValor() string
- func (*Uname) ProtoMessage()
- func (x *Uname) ProtoReflect() protoreflect.Message
- func (x *Uname) Reset()
- func (x *Uname) String() string
- type UnimplementedWishListServiceServer
- func (UnimplementedWishListServiceServer) Add(context.Context, *AddItemReq) (*AddItemResp, error)
- func (UnimplementedWishListServiceServer) AddCity(context.Context, *Acity) (*Vector, error)
- func (UnimplementedWishListServiceServer) Create(context.Context, *CreateWishListReq) (*CreateWishListResp, error)
- func (UnimplementedWishListServiceServer) DeleteCity(context.Context, *Dcity) (*Vector, error)
- func (UnimplementedWishListServiceServer) GetNumberRebelds(context.Context, *NumberRebeldsReq) (*NumberRebeldsRes, error)
- func (UnimplementedWishListServiceServer) GetVector(context.Context, *Gvector) (*Vector, error)
- func (UnimplementedWishListServiceServer) List(context.Context, *ListWishListReq) (*ListWishListResp, error)
- func (UnimplementedWishListServiceServer) MergeF2F3(context.Context, *VectoresRes) (*State, error)
- func (UnimplementedWishListServiceServer) SendServer(context.Context, *ServerInfoRes) (*ServerInfo, error)
- func (UnimplementedWishListServiceServer) UpdateName(context.Context, *Uname) (*Vector, error)
- func (UnimplementedWishListServiceServer) UpdateNumber(context.Context, *Unumber) (*Vector, error)
- type UnsafeWishListServiceServer
- type Unumber
- func (*Unumber) Descriptor() ([]byte, []int)deprecated
- func (x *Unumber) GetNombreCiudad() string
- func (x *Unumber) GetNombrePlaneta() string
- func (x *Unumber) GetNuevoValor() string
- func (*Unumber) ProtoMessage()
- func (x *Unumber) ProtoReflect() protoreflect.Message
- func (x *Unumber) Reset()
- func (x *Unumber) String() string
- type Vector
- type Vector2
- func (*Vector2) Descriptor() ([]byte, []int)deprecated
- func (x *Vector2) GetPlaneta() string
- func (x *Vector2) GetX() int32
- func (x *Vector2) GetY() int32
- func (x *Vector2) GetZ() int32
- func (*Vector2) ProtoMessage()
- func (x *Vector2) ProtoReflect() protoreflect.Message
- func (x *Vector2) Reset()
- func (x *Vector2) String() string
- type VectoresRes
- func (*VectoresRes) Descriptor() ([]byte, []int)deprecated
- func (x *VectoresRes) GetRegistro() string
- func (x *VectoresRes) GetVectores() []*Vector2
- func (*VectoresRes) ProtoMessage()
- func (x *VectoresRes) ProtoReflect() protoreflect.Message
- func (x *VectoresRes) Reset()
- func (x *VectoresRes) String() string
- type WishList
- func (*WishList) Descriptor() ([]byte, []int)deprecated
- func (x *WishList) GetId() string
- func (x *WishList) GetName() string
- func (x *WishList) GetStatus() WishList_WishListStatus
- func (*WishList) ProtoMessage()
- func (x *WishList) ProtoReflect() protoreflect.Message
- func (x *WishList) Reset()
- func (x *WishList) String() string
- type WishListServiceClient
- type WishListServiceServer
- type WishList_WishListStatus
- func (WishList_WishListStatus) Descriptor() protoreflect.EnumDescriptor
- func (x WishList_WishListStatus) Enum() *WishList_WishListStatus
- func (WishList_WishListStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x WishList_WishListStatus) Number() protoreflect.EnumNumber
- func (x WishList_WishListStatus) String() string
- func (WishList_WishListStatus) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
var ( Item_ItemPriority_name = map[int32]string{ 0: "LOW", 50: "MID", 100: "HIGH", } Item_ItemPriority_value = map[string]int32{ "LOW": 0, "MID": 50, "HIGH": 100, } )
Enum value maps for Item_ItemPriority.
var ( Item_ItemStatus_name = map[int32]string{ 0: "INACTIVE", 1: "ACTIVE", } Item_ItemStatus_value = map[string]int32{ "INACTIVE": 0, "ACTIVE": 1, } )
Enum value maps for Item_ItemStatus.
var ( WishList_WishListStatus_name = map[int32]string{ 0: "INACTIVE", 1: "ACTIVE", } WishList_WishListStatus_value = map[string]int32{ "INACTIVE": 0, "ACTIVE": 1, } )
Enum value maps for WishList_WishListStatus.
var File_proto_wishlist_proto protoreflect.FileDescriptor
var WishListService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "grpc.WishListService", HandlerType: (*WishListServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Create", Handler: _WishListService_Create_Handler, }, { MethodName: "Add", Handler: _WishListService_Add_Handler, }, { MethodName: "List", Handler: _WishListService_List_Handler, }, { MethodName: "AddCity", Handler: _WishListService_AddCity_Handler, }, { MethodName: "UpdateName", Handler: _WishListService_UpdateName_Handler, }, { MethodName: "UpdateNumber", Handler: _WishListService_UpdateNumber_Handler, }, { MethodName: "DeleteCity", Handler: _WishListService_DeleteCity_Handler, }, { MethodName: "GetNumberRebelds", Handler: _WishListService_GetNumberRebelds_Handler, }, { MethodName: "GetVector", Handler: _WishListService_GetVector_Handler, }, { MethodName: "MergeF2F3", Handler: _WishListService_MergeF2F3_Handler, }, { MethodName: "SendServer", Handler: _WishListService_SendServer_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto/wishlist.proto", }
WishListService_ServiceDesc is the grpc.ServiceDesc for WishListService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterWishListServiceServer ¶
func RegisterWishListServiceServer(s grpc.ServiceRegistrar, srv WishListServiceServer)
Types ¶
type Acity ¶
type Acity struct { NombrePlaneta string `protobuf:"bytes,1,opt,name=nombre_planeta,json=nombrePlaneta,proto3" json:"nombre_planeta,omitempty"` NombreCiudad string `protobuf:"bytes,2,opt,name=nombre_ciudad,json=nombreCiudad,proto3" json:"nombre_ciudad,omitempty"` NuevoValor string `protobuf:"bytes,3,opt,name=nuevo_valor,json=nuevoValor,proto3" json:"nuevo_valor,omitempty"` // contains filtered or unexported fields }
func (*Acity) Descriptor
deprecated
func (*Acity) GetNombreCiudad ¶
func (*Acity) GetNombrePlaneta ¶
func (*Acity) GetNuevoValor ¶
func (*Acity) ProtoMessage ¶
func (*Acity) ProtoMessage()
func (*Acity) ProtoReflect ¶
func (x *Acity) ProtoReflect() protoreflect.Message
type AddItemReq ¶
type AddItemReq struct { Item *Item `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"` // contains filtered or unexported fields }
func (*AddItemReq) Descriptor
deprecated
func (*AddItemReq) Descriptor() ([]byte, []int)
Deprecated: Use AddItemReq.ProtoReflect.Descriptor instead.
func (*AddItemReq) GetItem ¶
func (x *AddItemReq) GetItem() *Item
func (*AddItemReq) ProtoMessage ¶
func (*AddItemReq) ProtoMessage()
func (*AddItemReq) ProtoReflect ¶
func (x *AddItemReq) ProtoReflect() protoreflect.Message
func (*AddItemReq) Reset ¶
func (x *AddItemReq) Reset()
func (*AddItemReq) String ¶
func (x *AddItemReq) String() string
type AddItemResp ¶
type AddItemResp struct { ItemId string `protobuf:"bytes,1,opt,name=itemId,proto3" json:"itemId,omitempty"` // contains filtered or unexported fields }
func (*AddItemResp) Descriptor
deprecated
func (*AddItemResp) Descriptor() ([]byte, []int)
Deprecated: Use AddItemResp.ProtoReflect.Descriptor instead.
func (*AddItemResp) GetItemId ¶
func (x *AddItemResp) GetItemId() string
func (*AddItemResp) ProtoMessage ¶
func (*AddItemResp) ProtoMessage()
func (*AddItemResp) ProtoReflect ¶
func (x *AddItemResp) ProtoReflect() protoreflect.Message
func (*AddItemResp) Reset ¶
func (x *AddItemResp) Reset()
func (*AddItemResp) String ¶
func (x *AddItemResp) String() string
type CreateWishListReq ¶
type CreateWishListReq struct { WishList *WishList `protobuf:"bytes,1,opt,name=wishList,proto3" json:"wishList,omitempty"` // contains filtered or unexported fields }
func (*CreateWishListReq) Descriptor
deprecated
func (*CreateWishListReq) Descriptor() ([]byte, []int)
Deprecated: Use CreateWishListReq.ProtoReflect.Descriptor instead.
func (*CreateWishListReq) GetWishList ¶
func (x *CreateWishListReq) GetWishList() *WishList
func (*CreateWishListReq) ProtoMessage ¶
func (*CreateWishListReq) ProtoMessage()
func (*CreateWishListReq) ProtoReflect ¶
func (x *CreateWishListReq) ProtoReflect() protoreflect.Message
func (*CreateWishListReq) Reset ¶
func (x *CreateWishListReq) Reset()
func (*CreateWishListReq) String ¶
func (x *CreateWishListReq) String() string
type CreateWishListResp ¶
type CreateWishListResp struct { WishListId string `protobuf:"bytes,1,opt,name=wishListId,proto3" json:"wishListId,omitempty"` // contains filtered or unexported fields }
func (*CreateWishListResp) Descriptor
deprecated
func (*CreateWishListResp) Descriptor() ([]byte, []int)
Deprecated: Use CreateWishListResp.ProtoReflect.Descriptor instead.
func (*CreateWishListResp) GetWishListId ¶
func (x *CreateWishListResp) GetWishListId() string
func (*CreateWishListResp) ProtoMessage ¶
func (*CreateWishListResp) ProtoMessage()
func (*CreateWishListResp) ProtoReflect ¶
func (x *CreateWishListResp) ProtoReflect() protoreflect.Message
func (*CreateWishListResp) Reset ¶
func (x *CreateWishListResp) Reset()
func (*CreateWishListResp) String ¶
func (x *CreateWishListResp) String() string
type Dcity ¶
type Dcity struct { NombrePlaneta string `protobuf:"bytes,1,opt,name=nombre_planeta,json=nombrePlaneta,proto3" json:"nombre_planeta,omitempty"` NombreCiudad string `protobuf:"bytes,2,opt,name=nombre_ciudad,json=nombreCiudad,proto3" json:"nombre_ciudad,omitempty"` // contains filtered or unexported fields }
func (*Dcity) Descriptor
deprecated
func (*Dcity) GetNombreCiudad ¶
func (*Dcity) GetNombrePlaneta ¶
func (*Dcity) ProtoMessage ¶
func (*Dcity) ProtoMessage()
func (*Dcity) ProtoReflect ¶
func (x *Dcity) ProtoReflect() protoreflect.Message
type GnumberR ¶
type GnumberR struct { NombrePlaneta string `protobuf:"bytes,1,opt,name=nombre_planeta,json=nombrePlaneta,proto3" json:"nombre_planeta,omitempty"` NombreCiudad string `protobuf:"bytes,2,opt,name=nombre_ciudad,json=nombreCiudad,proto3" json:"nombre_ciudad,omitempty"` // contains filtered or unexported fields }
func (*GnumberR) Descriptor
deprecated
func (*GnumberR) GetNombreCiudad ¶
func (*GnumberR) GetNombrePlaneta ¶
func (*GnumberR) ProtoMessage ¶
func (*GnumberR) ProtoMessage()
func (*GnumberR) ProtoReflect ¶
func (x *GnumberR) ProtoReflect() protoreflect.Message
type Gvector ¶
type Gvector struct { NombrePlaneta string `protobuf:"bytes,1,opt,name=nombre_planeta,json=nombrePlaneta,proto3" json:"nombre_planeta,omitempty"` // contains filtered or unexported fields }
func (*Gvector) Descriptor
deprecated
func (*Gvector) GetNombrePlaneta ¶
func (*Gvector) ProtoMessage ¶
func (*Gvector) ProtoMessage()
func (*Gvector) ProtoReflect ¶
func (x *Gvector) ProtoReflect() protoreflect.Message
type Item ¶
type Item struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` WishListId string `protobuf:"bytes,2,opt,name=wishListId,proto3" json:"wishListId,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Link string `protobuf:"bytes,4,opt,name=link,proto3" json:"link,omitempty"` Price float64 `protobuf:"fixed64,5,opt,name=price,proto3" json:"price,omitempty"` Priority Item_ItemPriority `protobuf:"varint,6,opt,name=priority,proto3,enum=grpc.Item_ItemPriority" json:"priority,omitempty"` Status Item_ItemStatus `protobuf:"varint,7,opt,name=status,proto3,enum=grpc.Item_ItemStatus" json:"status,omitempty"` // contains filtered or unexported fields }
func (*Item) Descriptor
deprecated
func (*Item) GetPriority ¶
func (x *Item) GetPriority() Item_ItemPriority
func (*Item) GetStatus ¶
func (x *Item) GetStatus() Item_ItemStatus
func (*Item) GetWishListId ¶
func (*Item) ProtoMessage ¶
func (*Item) ProtoMessage()
func (*Item) ProtoReflect ¶
func (x *Item) ProtoReflect() protoreflect.Message
type Item_ItemPriority ¶
type Item_ItemPriority int32
const ( Item_LOW Item_ItemPriority = 0 Item_MID Item_ItemPriority = 50 Item_HIGH Item_ItemPriority = 100 )
func (Item_ItemPriority) Descriptor ¶
func (Item_ItemPriority) Descriptor() protoreflect.EnumDescriptor
func (Item_ItemPriority) Enum ¶
func (x Item_ItemPriority) Enum() *Item_ItemPriority
func (Item_ItemPriority) EnumDescriptor
deprecated
func (Item_ItemPriority) EnumDescriptor() ([]byte, []int)
Deprecated: Use Item_ItemPriority.Descriptor instead.
func (Item_ItemPriority) Number ¶
func (x Item_ItemPriority) Number() protoreflect.EnumNumber
func (Item_ItemPriority) String ¶
func (x Item_ItemPriority) String() string
func (Item_ItemPriority) Type ¶
func (Item_ItemPriority) Type() protoreflect.EnumType
type Item_ItemStatus ¶
type Item_ItemStatus int32
const ( Item_INACTIVE Item_ItemStatus = 0 Item_ACTIVE Item_ItemStatus = 1 )
func (Item_ItemStatus) Descriptor ¶
func (Item_ItemStatus) Descriptor() protoreflect.EnumDescriptor
func (Item_ItemStatus) Enum ¶
func (x Item_ItemStatus) Enum() *Item_ItemStatus
func (Item_ItemStatus) EnumDescriptor
deprecated
func (Item_ItemStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use Item_ItemStatus.Descriptor instead.
func (Item_ItemStatus) Number ¶
func (x Item_ItemStatus) Number() protoreflect.EnumNumber
func (Item_ItemStatus) String ¶
func (x Item_ItemStatus) String() string
func (Item_ItemStatus) Type ¶
func (Item_ItemStatus) Type() protoreflect.EnumType
type ListWishListReq ¶
type ListWishListReq struct { WishListId string `protobuf:"bytes,1,opt,name=wishListId,proto3" json:"wishListId,omitempty"` // contains filtered or unexported fields }
func (*ListWishListReq) Descriptor
deprecated
func (*ListWishListReq) Descriptor() ([]byte, []int)
Deprecated: Use ListWishListReq.ProtoReflect.Descriptor instead.
func (*ListWishListReq) GetWishListId ¶
func (x *ListWishListReq) GetWishListId() string
func (*ListWishListReq) ProtoMessage ¶
func (*ListWishListReq) ProtoMessage()
func (*ListWishListReq) ProtoReflect ¶
func (x *ListWishListReq) ProtoReflect() protoreflect.Message
func (*ListWishListReq) Reset ¶
func (x *ListWishListReq) Reset()
func (*ListWishListReq) String ¶
func (x *ListWishListReq) String() string
type ListWishListResp ¶
type ListWishListResp struct { Items []*Item `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*ListWishListResp) Descriptor
deprecated
func (*ListWishListResp) Descriptor() ([]byte, []int)
Deprecated: Use ListWishListResp.ProtoReflect.Descriptor instead.
func (*ListWishListResp) GetItems ¶
func (x *ListWishListResp) GetItems() []*Item
func (*ListWishListResp) ProtoMessage ¶
func (*ListWishListResp) ProtoMessage()
func (*ListWishListResp) ProtoReflect ¶
func (x *ListWishListResp) ProtoReflect() protoreflect.Message
func (*ListWishListResp) Reset ¶
func (x *ListWishListResp) Reset()
func (*ListWishListResp) String ¶
func (x *ListWishListResp) String() string
type NumberRebeldsReq ¶
type NumberRebeldsReq struct { Option string `protobuf:"bytes,1,opt,name=option,proto3" json:"option,omitempty"` Planet string `protobuf:"bytes,2,opt,name=planet,proto3" json:"planet,omitempty"` City string `protobuf:"bytes,3,opt,name=city,proto3" json:"city,omitempty"` X string `protobuf:"bytes,4,opt,name=X,proto3" json:"X,omitempty"` Y string `protobuf:"bytes,5,opt,name=Y,proto3" json:"Y,omitempty"` Z string `protobuf:"bytes,6,opt,name=Z,proto3" json:"Z,omitempty"` // contains filtered or unexported fields }
func (*NumberRebeldsReq) Descriptor
deprecated
func (*NumberRebeldsReq) Descriptor() ([]byte, []int)
Deprecated: Use NumberRebeldsReq.ProtoReflect.Descriptor instead.
func (*NumberRebeldsReq) GetCity ¶
func (x *NumberRebeldsReq) GetCity() string
func (*NumberRebeldsReq) GetOption ¶
func (x *NumberRebeldsReq) GetOption() string
func (*NumberRebeldsReq) GetPlanet ¶
func (x *NumberRebeldsReq) GetPlanet() string
func (*NumberRebeldsReq) GetX ¶
func (x *NumberRebeldsReq) GetX() string
func (*NumberRebeldsReq) GetY ¶
func (x *NumberRebeldsReq) GetY() string
func (*NumberRebeldsReq) GetZ ¶
func (x *NumberRebeldsReq) GetZ() string
func (*NumberRebeldsReq) ProtoMessage ¶
func (*NumberRebeldsReq) ProtoMessage()
func (*NumberRebeldsReq) ProtoReflect ¶
func (x *NumberRebeldsReq) ProtoReflect() protoreflect.Message
func (*NumberRebeldsReq) Reset ¶
func (x *NumberRebeldsReq) Reset()
func (*NumberRebeldsReq) String ¶
func (x *NumberRebeldsReq) String() string
type NumberRebeldsRes ¶
type NumberRebeldsRes struct { X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"` Y int32 `protobuf:"varint,2,opt,name=y,proto3" json:"y,omitempty"` Z int32 `protobuf:"varint,3,opt,name=z,proto3" json:"z,omitempty"` TotalRebelds string `protobuf:"bytes,4,opt,name=totalRebelds,proto3" json:"totalRebelds,omitempty"` // contains filtered or unexported fields }
func (*NumberRebeldsRes) Descriptor
deprecated
func (*NumberRebeldsRes) Descriptor() ([]byte, []int)
Deprecated: Use NumberRebeldsRes.ProtoReflect.Descriptor instead.
func (*NumberRebeldsRes) GetTotalRebelds ¶
func (x *NumberRebeldsRes) GetTotalRebelds() string
func (*NumberRebeldsRes) GetX ¶
func (x *NumberRebeldsRes) GetX() int32
func (*NumberRebeldsRes) GetY ¶
func (x *NumberRebeldsRes) GetY() int32
func (*NumberRebeldsRes) GetZ ¶
func (x *NumberRebeldsRes) GetZ() int32
func (*NumberRebeldsRes) ProtoMessage ¶
func (*NumberRebeldsRes) ProtoMessage()
func (*NumberRebeldsRes) ProtoReflect ¶
func (x *NumberRebeldsRes) ProtoReflect() protoreflect.Message
func (*NumberRebeldsRes) Reset ¶
func (x *NumberRebeldsRes) Reset()
func (*NumberRebeldsRes) String ¶
func (x *NumberRebeldsRes) String() string
type ServerInfo ¶
type ServerInfo struct { Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"` Port string `protobuf:"bytes,2,opt,name=port,proto3" json:"port,omitempty"` Server string `protobuf:"bytes,3,opt,name=server,proto3" json:"server,omitempty"` // contains filtered or unexported fields }
func (*ServerInfo) Descriptor
deprecated
func (*ServerInfo) Descriptor() ([]byte, []int)
Deprecated: Use ServerInfo.ProtoReflect.Descriptor instead.
func (*ServerInfo) GetIp ¶
func (x *ServerInfo) GetIp() string
func (*ServerInfo) GetPort ¶
func (x *ServerInfo) GetPort() string
func (*ServerInfo) GetServer ¶
func (x *ServerInfo) GetServer() string
func (*ServerInfo) ProtoMessage ¶
func (*ServerInfo) ProtoMessage()
func (*ServerInfo) ProtoReflect ¶
func (x *ServerInfo) ProtoReflect() protoreflect.Message
func (*ServerInfo) Reset ¶
func (x *ServerInfo) Reset()
func (*ServerInfo) String ¶
func (x *ServerInfo) String() string
type ServerInfoRes ¶
type ServerInfoRes struct { Planeta string `protobuf:"bytes,1,opt,name=planeta,proto3" json:"planeta,omitempty"` X string `protobuf:"bytes,2,opt,name=x,proto3" json:"x,omitempty"` Y string `protobuf:"bytes,3,opt,name=y,proto3" json:"y,omitempty"` Z string `protobuf:"bytes,4,opt,name=z,proto3" json:"z,omitempty"` // contains filtered or unexported fields }
func (*ServerInfoRes) Descriptor
deprecated
func (*ServerInfoRes) Descriptor() ([]byte, []int)
Deprecated: Use ServerInfoRes.ProtoReflect.Descriptor instead.
func (*ServerInfoRes) GetPlaneta ¶
func (x *ServerInfoRes) GetPlaneta() string
func (*ServerInfoRes) GetX ¶
func (x *ServerInfoRes) GetX() string
func (*ServerInfoRes) GetY ¶
func (x *ServerInfoRes) GetY() string
func (*ServerInfoRes) GetZ ¶
func (x *ServerInfoRes) GetZ() string
func (*ServerInfoRes) ProtoMessage ¶
func (*ServerInfoRes) ProtoMessage()
func (*ServerInfoRes) ProtoReflect ¶
func (x *ServerInfoRes) ProtoReflect() protoreflect.Message
func (*ServerInfoRes) Reset ¶
func (x *ServerInfoRes) Reset()
func (*ServerInfoRes) String ¶
func (x *ServerInfoRes) String() string
type State ¶
type State struct { Mensage string `protobuf:"bytes,1,opt,name=mensage,proto3" json:"mensage,omitempty"` // contains filtered or unexported fields }
func (*State) Descriptor
deprecated
func (*State) GetMensage ¶
func (*State) ProtoMessage ¶
func (*State) ProtoMessage()
func (*State) ProtoReflect ¶
func (x *State) ProtoReflect() protoreflect.Message
type Uname ¶
type Uname struct { NombrePlaneta string `protobuf:"bytes,1,opt,name=nombre_planeta,json=nombrePlaneta,proto3" json:"nombre_planeta,omitempty"` NombreCiudad string `protobuf:"bytes,2,opt,name=nombre_ciudad,json=nombreCiudad,proto3" json:"nombre_ciudad,omitempty"` NuevoValor string `protobuf:"bytes,3,opt,name=nuevo_valor,json=nuevoValor,proto3" json:"nuevo_valor,omitempty"` // contains filtered or unexported fields }
func (*Uname) Descriptor
deprecated
func (*Uname) GetNombreCiudad ¶
func (*Uname) GetNombrePlaneta ¶
func (*Uname) GetNuevoValor ¶
func (*Uname) ProtoMessage ¶
func (*Uname) ProtoMessage()
func (*Uname) ProtoReflect ¶
func (x *Uname) ProtoReflect() protoreflect.Message
type UnimplementedWishListServiceServer ¶
type UnimplementedWishListServiceServer struct { }
UnimplementedWishListServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedWishListServiceServer) Add ¶
func (UnimplementedWishListServiceServer) Add(context.Context, *AddItemReq) (*AddItemResp, error)
func (UnimplementedWishListServiceServer) Create ¶
func (UnimplementedWishListServiceServer) Create(context.Context, *CreateWishListReq) (*CreateWishListResp, error)
func (UnimplementedWishListServiceServer) DeleteCity ¶
func (UnimplementedWishListServiceServer) GetNumberRebelds ¶
func (UnimplementedWishListServiceServer) GetNumberRebelds(context.Context, *NumberRebeldsReq) (*NumberRebeldsRes, error)
func (UnimplementedWishListServiceServer) List ¶
func (UnimplementedWishListServiceServer) List(context.Context, *ListWishListReq) (*ListWishListResp, error)
func (UnimplementedWishListServiceServer) MergeF2F3 ¶
func (UnimplementedWishListServiceServer) MergeF2F3(context.Context, *VectoresRes) (*State, error)
func (UnimplementedWishListServiceServer) SendServer ¶
func (UnimplementedWishListServiceServer) SendServer(context.Context, *ServerInfoRes) (*ServerInfo, error)
func (UnimplementedWishListServiceServer) UpdateName ¶
func (UnimplementedWishListServiceServer) UpdateNumber ¶
type UnsafeWishListServiceServer ¶
type UnsafeWishListServiceServer interface {
// contains filtered or unexported methods
}
UnsafeWishListServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to WishListServiceServer will result in compilation errors.
type Unumber ¶
type Unumber struct { NombrePlaneta string `protobuf:"bytes,1,opt,name=nombre_planeta,json=nombrePlaneta,proto3" json:"nombre_planeta,omitempty"` NombreCiudad string `protobuf:"bytes,2,opt,name=nombre_ciudad,json=nombreCiudad,proto3" json:"nombre_ciudad,omitempty"` NuevoValor string `protobuf:"bytes,3,opt,name=nuevo_valor,json=nuevoValor,proto3" json:"nuevo_valor,omitempty"` // contains filtered or unexported fields }
func (*Unumber) Descriptor
deprecated
func (*Unumber) GetNombreCiudad ¶
func (*Unumber) GetNombrePlaneta ¶
func (*Unumber) GetNuevoValor ¶
func (*Unumber) ProtoMessage ¶
func (*Unumber) ProtoMessage()
func (*Unumber) ProtoReflect ¶
func (x *Unumber) ProtoReflect() protoreflect.Message
type Vector ¶
type Vector struct { // string planeta = 1; X int32 `protobuf:"varint,2,opt,name=x,proto3" json:"x,omitempty"` Y int32 `protobuf:"varint,3,opt,name=y,proto3" json:"y,omitempty"` Z int32 `protobuf:"varint,4,opt,name=z,proto3" json:"z,omitempty"` // contains filtered or unexported fields }
func (*Vector) Descriptor
deprecated
func (*Vector) ProtoMessage ¶
func (*Vector) ProtoMessage()
func (*Vector) ProtoReflect ¶
func (x *Vector) ProtoReflect() protoreflect.Message
type Vector2 ¶
type Vector2 struct { Planeta string `protobuf:"bytes,1,opt,name=planeta,proto3" json:"planeta,omitempty"` X int32 `protobuf:"varint,2,opt,name=x,proto3" json:"x,omitempty"` Y int32 `protobuf:"varint,3,opt,name=y,proto3" json:"y,omitempty"` Z int32 `protobuf:"varint,4,opt,name=z,proto3" json:"z,omitempty"` // contains filtered or unexported fields }
func (*Vector2) Descriptor
deprecated
func (*Vector2) GetPlaneta ¶
func (*Vector2) ProtoMessage ¶
func (*Vector2) ProtoMessage()
func (*Vector2) ProtoReflect ¶
func (x *Vector2) ProtoReflect() protoreflect.Message
type VectoresRes ¶
type VectoresRes struct { Registro string `protobuf:"bytes,1,opt,name=Registro,proto3" json:"Registro,omitempty"` Vectores []*Vector2 `protobuf:"bytes,2,rep,name=Vectores,proto3" json:"Vectores,omitempty"` // contains filtered or unexported fields }
func (*VectoresRes) Descriptor
deprecated
func (*VectoresRes) Descriptor() ([]byte, []int)
Deprecated: Use VectoresRes.ProtoReflect.Descriptor instead.
func (*VectoresRes) GetRegistro ¶
func (x *VectoresRes) GetRegistro() string
func (*VectoresRes) GetVectores ¶
func (x *VectoresRes) GetVectores() []*Vector2
func (*VectoresRes) ProtoMessage ¶
func (*VectoresRes) ProtoMessage()
func (*VectoresRes) ProtoReflect ¶
func (x *VectoresRes) ProtoReflect() protoreflect.Message
func (*VectoresRes) Reset ¶
func (x *VectoresRes) Reset()
func (*VectoresRes) String ¶
func (x *VectoresRes) String() string
type WishList ¶
type WishList struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Status WishList_WishListStatus `protobuf:"varint,3,opt,name=status,proto3,enum=grpc.WishList_WishListStatus" json:"status,omitempty"` // contains filtered or unexported fields }
func (*WishList) Descriptor
deprecated
func (*WishList) GetStatus ¶
func (x *WishList) GetStatus() WishList_WishListStatus
func (*WishList) ProtoMessage ¶
func (*WishList) ProtoMessage()
func (*WishList) ProtoReflect ¶
func (x *WishList) ProtoReflect() protoreflect.Message
type WishListServiceClient ¶
type WishListServiceClient interface { Create(ctx context.Context, in *CreateWishListReq, opts ...grpc.CallOption) (*CreateWishListResp, error) Add(ctx context.Context, in *AddItemReq, opts ...grpc.CallOption) (*AddItemResp, error) List(ctx context.Context, in *ListWishListReq, opts ...grpc.CallOption) (*ListWishListResp, error) AddCity(ctx context.Context, in *Acity, opts ...grpc.CallOption) (*Vector, error) UpdateName(ctx context.Context, in *Uname, opts ...grpc.CallOption) (*Vector, error) UpdateNumber(ctx context.Context, in *Unumber, opts ...grpc.CallOption) (*Vector, error) DeleteCity(ctx context.Context, in *Dcity, opts ...grpc.CallOption) (*Vector, error) GetNumberRebelds(ctx context.Context, in *NumberRebeldsReq, opts ...grpc.CallOption) (*NumberRebeldsRes, error) GetVector(ctx context.Context, in *Gvector, opts ...grpc.CallOption) (*Vector, error) MergeF2F3(ctx context.Context, in *VectoresRes, opts ...grpc.CallOption) (*State, error) SendServer(ctx context.Context, in *ServerInfoRes, opts ...grpc.CallOption) (*ServerInfo, error) }
WishListServiceClient is the client API for WishListService 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 NewWishListServiceClient ¶
func NewWishListServiceClient(cc grpc.ClientConnInterface) WishListServiceClient
type WishListServiceServer ¶
type WishListServiceServer interface { Create(context.Context, *CreateWishListReq) (*CreateWishListResp, error) Add(context.Context, *AddItemReq) (*AddItemResp, error) List(context.Context, *ListWishListReq) (*ListWishListResp, error) AddCity(context.Context, *Acity) (*Vector, error) UpdateName(context.Context, *Uname) (*Vector, error) UpdateNumber(context.Context, *Unumber) (*Vector, error) DeleteCity(context.Context, *Dcity) (*Vector, error) GetNumberRebelds(context.Context, *NumberRebeldsReq) (*NumberRebeldsRes, error) GetVector(context.Context, *Gvector) (*Vector, error) MergeF2F3(context.Context, *VectoresRes) (*State, error) SendServer(context.Context, *ServerInfoRes) (*ServerInfo, error) // contains filtered or unexported methods }
WishListServiceServer is the server API for WishListService service. All implementations must embed UnimplementedWishListServiceServer for forward compatibility
type WishList_WishListStatus ¶
type WishList_WishListStatus int32
const ( WishList_INACTIVE WishList_WishListStatus = 0 WishList_ACTIVE WishList_WishListStatus = 1 )
func (WishList_WishListStatus) Descriptor ¶
func (WishList_WishListStatus) Descriptor() protoreflect.EnumDescriptor
func (WishList_WishListStatus) Enum ¶
func (x WishList_WishListStatus) Enum() *WishList_WishListStatus
func (WishList_WishListStatus) EnumDescriptor
deprecated
func (WishList_WishListStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use WishList_WishListStatus.Descriptor instead.
func (WishList_WishListStatus) Number ¶
func (x WishList_WishListStatus) Number() protoreflect.EnumNumber
func (WishList_WishListStatus) String ¶
func (x WishList_WishListStatus) String() string
func (WishList_WishListStatus) Type ¶
func (WishList_WishListStatus) Type() protoreflect.EnumType