Documentation ¶
Index ¶
- Variables
- func RegisterProductServiceServer(s *grpc.Server, srv ProductServiceServer)
- func RegisterSessionServiceServer(s *grpc.Server, srv SessionServiceServer)
- func RegisterStoreProductServiceServer(s *grpc.Server, srv StoreProductServiceServer)
- func RegisterStoreServiceServer(s *grpc.Server, srv StoreServiceServer)
- func RegisterUserServiceServer(s *grpc.Server, srv UserServiceServer)
- type CreateSessionRequest
- func (*CreateSessionRequest) Descriptor() ([]byte, []int)
- func (m *CreateSessionRequest) GetUserId() string
- func (*CreateSessionRequest) ProtoMessage()
- func (m *CreateSessionRequest) Reset()
- func (m *CreateSessionRequest) String() string
- func (m *CreateSessionRequest) XXX_DiscardUnknown()
- func (m *CreateSessionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateSessionRequest) XXX_Merge(src proto.Message)
- func (m *CreateSessionRequest) XXX_Size() int
- func (m *CreateSessionRequest) XXX_Unmarshal(b []byte) error
- type CreateSessionResponse
- func (*CreateSessionResponse) Descriptor() ([]byte, []int)
- func (m *CreateSessionResponse) GetToken() string
- func (*CreateSessionResponse) ProtoMessage()
- func (m *CreateSessionResponse) Reset()
- func (m *CreateSessionResponse) String() string
- func (m *CreateSessionResponse) XXX_DiscardUnknown()
- func (m *CreateSessionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateSessionResponse) XXX_Merge(src proto.Message)
- func (m *CreateSessionResponse) XXX_Size() int
- func (m *CreateSessionResponse) XXX_Unmarshal(b []byte) error
- type DeleteSessionRequest
- func (*DeleteSessionRequest) Descriptor() ([]byte, []int)
- func (m *DeleteSessionRequest) GetToken() string
- func (m *DeleteSessionRequest) GetUserId() string
- func (*DeleteSessionRequest) ProtoMessage()
- func (m *DeleteSessionRequest) Reset()
- func (m *DeleteSessionRequest) String() string
- func (m *DeleteSessionRequest) XXX_DiscardUnknown()
- func (m *DeleteSessionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteSessionRequest) XXX_Merge(src proto.Message)
- func (m *DeleteSessionRequest) XXX_Size() int
- func (m *DeleteSessionRequest) XXX_Unmarshal(b []byte) error
- type DeleteSessionResponse
- func (*DeleteSessionResponse) Descriptor() ([]byte, []int)
- func (*DeleteSessionResponse) ProtoMessage()
- func (m *DeleteSessionResponse) Reset()
- func (m *DeleteSessionResponse) String() string
- func (m *DeleteSessionResponse) XXX_DiscardUnknown()
- func (m *DeleteSessionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteSessionResponse) XXX_Merge(src proto.Message)
- func (m *DeleteSessionResponse) XXX_Size() int
- func (m *DeleteSessionResponse) XXX_Unmarshal(b []byte) error
- type EmailResendRequest
- func (*EmailResendRequest) Descriptor() ([]byte, []int)
- func (m *EmailResendRequest) GetEmail() string
- func (*EmailResendRequest) ProtoMessage()
- func (m *EmailResendRequest) Reset()
- func (m *EmailResendRequest) String() string
- func (m *EmailResendRequest) XXX_DiscardUnknown()
- func (m *EmailResendRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EmailResendRequest) XXX_Merge(src proto.Message)
- func (m *EmailResendRequest) XXX_Size() int
- func (m *EmailResendRequest) XXX_Unmarshal(b []byte) error
- type EmailResendResponse
- func (*EmailResendResponse) Descriptor() ([]byte, []int)
- func (*EmailResendResponse) ProtoMessage()
- func (m *EmailResendResponse) Reset()
- func (m *EmailResendResponse) String() string
- func (m *EmailResendResponse) XXX_DiscardUnknown()
- func (m *EmailResendResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EmailResendResponse) XXX_Merge(src proto.Message)
- func (m *EmailResendResponse) XXX_Size() int
- func (m *EmailResendResponse) XXX_Unmarshal(b []byte) error
- type GetProductRequest
- func (*GetProductRequest) Descriptor() ([]byte, []int)
- func (m *GetProductRequest) GetBarcode() string
- func (m *GetProductRequest) GetId() string
- func (*GetProductRequest) ProtoMessage()
- func (m *GetProductRequest) Reset()
- func (m *GetProductRequest) String() string
- func (m *GetProductRequest) XXX_DiscardUnknown()
- func (m *GetProductRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetProductRequest) XXX_Merge(src proto.Message)
- func (m *GetProductRequest) XXX_Size() int
- func (m *GetProductRequest) XXX_Unmarshal(b []byte) error
- type GetProductResponse
- func (*GetProductResponse) Descriptor() ([]byte, []int)
- func (m *GetProductResponse) GetProduct() *Product
- func (*GetProductResponse) ProtoMessage()
- func (m *GetProductResponse) Reset()
- func (m *GetProductResponse) String() string
- func (m *GetProductResponse) XXX_DiscardUnknown()
- func (m *GetProductResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetProductResponse) XXX_Merge(src proto.Message)
- func (m *GetProductResponse) XXX_Size() int
- func (m *GetProductResponse) XXX_Unmarshal(b []byte) error
- type GetProductsRequest
- func (*GetProductsRequest) Descriptor() ([]byte, []int)
- func (m *GetProductsRequest) GetDisplayName() string
- func (m *GetProductsRequest) GetPagination() *Pagination
- func (*GetProductsRequest) ProtoMessage()
- func (m *GetProductsRequest) Reset()
- func (m *GetProductsRequest) String() string
- func (m *GetProductsRequest) XXX_DiscardUnknown()
- func (m *GetProductsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetProductsRequest) XXX_Merge(src proto.Message)
- func (m *GetProductsRequest) XXX_Size() int
- func (m *GetProductsRequest) XXX_Unmarshal(b []byte) error
- type GetProductsResponse
- func (*GetProductsResponse) Descriptor() ([]byte, []int)
- func (m *GetProductsResponse) GetProducts() []*Product
- func (*GetProductsResponse) ProtoMessage()
- func (m *GetProductsResponse) Reset()
- func (m *GetProductsResponse) String() string
- func (m *GetProductsResponse) XXX_DiscardUnknown()
- func (m *GetProductsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetProductsResponse) XXX_Merge(src proto.Message)
- func (m *GetProductsResponse) XXX_Size() int
- func (m *GetProductsResponse) XXX_Unmarshal(b []byte) error
- type GetStoreProductRequest
- func (*GetStoreProductRequest) Descriptor() ([]byte, []int)
- func (m *GetStoreProductRequest) GetId() string
- func (*GetStoreProductRequest) ProtoMessage()
- func (m *GetStoreProductRequest) Reset()
- func (m *GetStoreProductRequest) String() string
- func (m *GetStoreProductRequest) XXX_DiscardUnknown()
- func (m *GetStoreProductRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetStoreProductRequest) XXX_Merge(src proto.Message)
- func (m *GetStoreProductRequest) XXX_Size() int
- func (m *GetStoreProductRequest) XXX_Unmarshal(b []byte) error
- type GetStoreProductResponse
- func (*GetStoreProductResponse) Descriptor() ([]byte, []int)
- func (m *GetStoreProductResponse) GetStoreProduct() *StoreProduct
- func (*GetStoreProductResponse) ProtoMessage()
- func (m *GetStoreProductResponse) Reset()
- func (m *GetStoreProductResponse) String() string
- func (m *GetStoreProductResponse) XXX_DiscardUnknown()
- func (m *GetStoreProductResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetStoreProductResponse) XXX_Merge(src proto.Message)
- func (m *GetStoreProductResponse) XXX_Size() int
- func (m *GetStoreProductResponse) XXX_Unmarshal(b []byte) error
- type GetStoreProductsRequest
- func (*GetStoreProductsRequest) Descriptor() ([]byte, []int)
- func (m *GetStoreProductsRequest) GetPagination() *Pagination
- func (m *GetStoreProductsRequest) GetProductId() string
- func (m *GetStoreProductsRequest) GetQuantity() StoreProduct_Quantity
- func (m *GetStoreProductsRequest) GetStoreId() string
- func (*GetStoreProductsRequest) ProtoMessage()
- func (m *GetStoreProductsRequest) Reset()
- func (m *GetStoreProductsRequest) String() string
- func (m *GetStoreProductsRequest) XXX_DiscardUnknown()
- func (m *GetStoreProductsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetStoreProductsRequest) XXX_Merge(src proto.Message)
- func (m *GetStoreProductsRequest) XXX_Size() int
- func (m *GetStoreProductsRequest) XXX_Unmarshal(b []byte) error
- type GetStoreProductsResponse
- func (*GetStoreProductsResponse) Descriptor() ([]byte, []int)
- func (m *GetStoreProductsResponse) GetStoreProducts() []*StoreProduct
- func (*GetStoreProductsResponse) ProtoMessage()
- func (m *GetStoreProductsResponse) Reset()
- func (m *GetStoreProductsResponse) String() string
- func (m *GetStoreProductsResponse) XXX_DiscardUnknown()
- func (m *GetStoreProductsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetStoreProductsResponse) XXX_Merge(src proto.Message)
- func (m *GetStoreProductsResponse) XXX_Size() int
- func (m *GetStoreProductsResponse) XXX_Unmarshal(b []byte) error
- type GetStoreRequest
- func (*GetStoreRequest) Descriptor() ([]byte, []int)
- func (m *GetStoreRequest) GetId() string
- func (*GetStoreRequest) ProtoMessage()
- func (m *GetStoreRequest) Reset()
- func (m *GetStoreRequest) String() string
- func (m *GetStoreRequest) XXX_DiscardUnknown()
- func (m *GetStoreRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetStoreRequest) XXX_Merge(src proto.Message)
- func (m *GetStoreRequest) XXX_Size() int
- func (m *GetStoreRequest) XXX_Unmarshal(b []byte) error
- type GetStoreResponse
- func (*GetStoreResponse) Descriptor() ([]byte, []int)
- func (m *GetStoreResponse) GetStore() *Store
- func (*GetStoreResponse) ProtoMessage()
- func (m *GetStoreResponse) Reset()
- func (m *GetStoreResponse) String() string
- func (m *GetStoreResponse) XXX_DiscardUnknown()
- func (m *GetStoreResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetStoreResponse) XXX_Merge(src proto.Message)
- func (m *GetStoreResponse) XXX_Size() int
- func (m *GetStoreResponse) XXX_Unmarshal(b []byte) error
- type GetStoresRequest
- func (*GetStoresRequest) Descriptor() ([]byte, []int)
- func (m *GetStoresRequest) GetDisplayName() string
- func (m *GetStoresRequest) GetLocation() *Location
- func (m *GetStoresRequest) GetPagination() *Pagination
- func (*GetStoresRequest) ProtoMessage()
- func (m *GetStoresRequest) Reset()
- func (m *GetStoresRequest) String() string
- func (m *GetStoresRequest) XXX_DiscardUnknown()
- func (m *GetStoresRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetStoresRequest) XXX_Merge(src proto.Message)
- func (m *GetStoresRequest) XXX_Size() int
- func (m *GetStoresRequest) XXX_Unmarshal(b []byte) error
- type GetStoresResponse
- func (*GetStoresResponse) Descriptor() ([]byte, []int)
- func (m *GetStoresResponse) GetStores() []*Store
- func (*GetStoresResponse) ProtoMessage()
- func (m *GetStoresResponse) Reset()
- func (m *GetStoresResponse) String() string
- func (m *GetStoresResponse) XXX_DiscardUnknown()
- func (m *GetStoresResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetStoresResponse) XXX_Merge(src proto.Message)
- func (m *GetStoresResponse) XXX_Size() int
- func (m *GetStoresResponse) XXX_Unmarshal(b []byte) error
- type GetUserRequest
- func (*GetUserRequest) Descriptor() ([]byte, []int)
- func (m *GetUserRequest) GetEmail() string
- func (m *GetUserRequest) GetId() string
- func (m *GetUserRequest) GetUsername() string
- func (*GetUserRequest) ProtoMessage()
- func (m *GetUserRequest) Reset()
- func (m *GetUserRequest) String() string
- func (m *GetUserRequest) XXX_DiscardUnknown()
- func (m *GetUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetUserRequest) XXX_Merge(src proto.Message)
- func (m *GetUserRequest) XXX_Size() int
- func (m *GetUserRequest) XXX_Unmarshal(b []byte) error
- type GetUserResponse
- func (*GetUserResponse) Descriptor() ([]byte, []int)
- func (m *GetUserResponse) GetUser() *User
- func (*GetUserResponse) ProtoMessage()
- func (m *GetUserResponse) Reset()
- func (m *GetUserResponse) String() string
- func (m *GetUserResponse) XXX_DiscardUnknown()
- func (m *GetUserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetUserResponse) XXX_Merge(src proto.Message)
- func (m *GetUserResponse) XXX_Size() int
- func (m *GetUserResponse) XXX_Unmarshal(b []byte) error
- type Location
- func (*Location) Descriptor() ([]byte, []int)
- func (m *Location) GetAddress() string
- func (m *Location) GetCity() string
- func (m *Location) GetLatitude() float32
- func (m *Location) GetLongitude() float32
- func (m *Location) GetZipCode() string
- func (*Location) ProtoMessage()
- func (m *Location) Reset()
- func (m *Location) String() string
- func (m *Location) XXX_DiscardUnknown()
- func (m *Location) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Location) XXX_Merge(src proto.Message)
- func (m *Location) XXX_Size() int
- func (m *Location) XXX_Unmarshal(b []byte) error
- type LoginRequest
- func (*LoginRequest) Descriptor() ([]byte, []int)
- func (m *LoginRequest) GetLogin() string
- func (m *LoginRequest) GetPassword() string
- func (*LoginRequest) ProtoMessage()
- func (m *LoginRequest) Reset()
- func (m *LoginRequest) String() string
- func (m *LoginRequest) XXX_DiscardUnknown()
- func (m *LoginRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LoginRequest) XXX_Merge(src proto.Message)
- func (m *LoginRequest) XXX_Size() int
- func (m *LoginRequest) XXX_Unmarshal(b []byte) error
- type LoginResponse
- func (*LoginResponse) Descriptor() ([]byte, []int)
- func (m *LoginResponse) GetToken() string
- func (m *LoginResponse) GetUser() *User
- func (*LoginResponse) ProtoMessage()
- func (m *LoginResponse) Reset()
- func (m *LoginResponse) String() string
- func (m *LoginResponse) XXX_DiscardUnknown()
- func (m *LoginResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LoginResponse) XXX_Merge(src proto.Message)
- func (m *LoginResponse) XXX_Size() int
- func (m *LoginResponse) XXX_Unmarshal(b []byte) error
- type Pagination
- func (*Pagination) Descriptor() ([]byte, []int)
- func (m *Pagination) GetLimit() int32
- func (m *Pagination) GetOffset() int32
- func (*Pagination) ProtoMessage()
- func (m *Pagination) Reset()
- func (m *Pagination) String() string
- func (m *Pagination) XXX_DiscardUnknown()
- func (m *Pagination) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Pagination) XXX_Merge(src proto.Message)
- func (m *Pagination) XXX_Size() int
- func (m *Pagination) XXX_Unmarshal(b []byte) error
- type PasswordResetRequest
- func (*PasswordResetRequest) Descriptor() ([]byte, []int)
- func (m *PasswordResetRequest) GetLogin() string
- func (*PasswordResetRequest) ProtoMessage()
- func (m *PasswordResetRequest) Reset()
- func (m *PasswordResetRequest) String() string
- func (m *PasswordResetRequest) XXX_DiscardUnknown()
- func (m *PasswordResetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PasswordResetRequest) XXX_Merge(src proto.Message)
- func (m *PasswordResetRequest) XXX_Size() int
- func (m *PasswordResetRequest) XXX_Unmarshal(b []byte) error
- type PasswordResetResponse
- func (*PasswordResetResponse) Descriptor() ([]byte, []int)
- func (*PasswordResetResponse) ProtoMessage()
- func (m *PasswordResetResponse) Reset()
- func (m *PasswordResetResponse) String() string
- func (m *PasswordResetResponse) XXX_DiscardUnknown()
- func (m *PasswordResetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PasswordResetResponse) XXX_Merge(src proto.Message)
- func (m *PasswordResetResponse) XXX_Size() int
- func (m *PasswordResetResponse) XXX_Unmarshal(b []byte) error
- type Product
- func (*Product) Descriptor() ([]byte, []int)
- func (m *Product) GetBarcode() string
- func (m *Product) GetCreatedAt() *timestamp.Timestamp
- func (m *Product) GetDisplayName() string
- func (m *Product) GetId() string
- func (*Product) ProtoMessage()
- func (m *Product) Reset()
- func (m *Product) String() string
- func (m *Product) XXX_DiscardUnknown()
- func (m *Product) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Product) XXX_Merge(src proto.Message)
- func (m *Product) XXX_Size() int
- func (m *Product) XXX_Unmarshal(b []byte) error
- type ProductServiceClient
- type ProductServiceServer
- type RegisterRequest
- func (*RegisterRequest) Descriptor() ([]byte, []int)
- func (m *RegisterRequest) GetEmail() string
- func (m *RegisterRequest) GetPassword() string
- func (m *RegisterRequest) GetUsername() string
- func (*RegisterRequest) ProtoMessage()
- func (m *RegisterRequest) Reset()
- func (m *RegisterRequest) String() string
- func (m *RegisterRequest) XXX_DiscardUnknown()
- func (m *RegisterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RegisterRequest) XXX_Merge(src proto.Message)
- func (m *RegisterRequest) XXX_Size() int
- func (m *RegisterRequest) XXX_Unmarshal(b []byte) error
- type RegisterResponse
- func (*RegisterResponse) Descriptor() ([]byte, []int)
- func (m *RegisterResponse) GetUser() *User
- func (*RegisterResponse) ProtoMessage()
- func (m *RegisterResponse) Reset()
- func (m *RegisterResponse) String() string
- func (m *RegisterResponse) XXX_DiscardUnknown()
- func (m *RegisterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RegisterResponse) XXX_Merge(src proto.Message)
- func (m *RegisterResponse) XXX_Size() int
- func (m *RegisterResponse) XXX_Unmarshal(b []byte) error
- type SessionServiceClient
- type SessionServiceServer
- type Store
- func (*Store) Descriptor() ([]byte, []int)
- func (m *Store) GetCreatedAt() *timestamp.Timestamp
- func (m *Store) GetDisplayName() string
- func (m *Store) GetId() string
- func (m *Store) GetLocation() *Location
- func (m *Store) GetLogoUrl() string
- func (*Store) ProtoMessage()
- func (m *Store) Reset()
- func (m *Store) String() string
- func (m *Store) XXX_DiscardUnknown()
- func (m *Store) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Store) XXX_Merge(src proto.Message)
- func (m *Store) XXX_Size() int
- func (m *Store) XXX_Unmarshal(b []byte) error
- type StoreProduct
- func (*StoreProduct) Descriptor() ([]byte, []int)
- func (m *StoreProduct) GetCreatedAt() *timestamp.Timestamp
- func (m *StoreProduct) GetId() string
- func (m *StoreProduct) GetProductId() string
- func (m *StoreProduct) GetQuantity() StoreProduct_Quantity
- func (m *StoreProduct) GetStoreId() string
- func (*StoreProduct) ProtoMessage()
- func (m *StoreProduct) Reset()
- func (m *StoreProduct) String() string
- func (m *StoreProduct) XXX_DiscardUnknown()
- func (m *StoreProduct) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StoreProduct) XXX_Merge(src proto.Message)
- func (m *StoreProduct) XXX_Size() int
- func (m *StoreProduct) XXX_Unmarshal(b []byte) error
- type StoreProductServiceClient
- type StoreProductServiceServer
- type StoreProduct_Quantity
- type StoreServiceClient
- type StoreServiceServer
- type UnimplementedProductServiceServer
- type UnimplementedSessionServiceServer
- func (*UnimplementedSessionServiceServer) Create(ctx context.Context, req *CreateSessionRequest) (*CreateSessionResponse, error)
- func (*UnimplementedSessionServiceServer) Delete(ctx context.Context, req *DeleteSessionRequest) (*DeleteSessionResponse, error)
- func (*UnimplementedSessionServiceServer) Verify(ctx context.Context, req *VerifySessionRequest) (*VerifySessionResponse, error)
- type UnimplementedStoreProductServiceServer
- type UnimplementedStoreServiceServer
- type UnimplementedUserServiceServer
- func (*UnimplementedUserServiceServer) GetUser(ctx context.Context, req *GetUserRequest) (*GetUserResponse, error)
- func (*UnimplementedUserServiceServer) Login(ctx context.Context, req *LoginRequest) (*LoginResponse, error)
- func (*UnimplementedUserServiceServer) Register(ctx context.Context, req *RegisterRequest) (*RegisterResponse, error)
- func (*UnimplementedUserServiceServer) ResendEmail(ctx context.Context, req *EmailResendRequest) (*EmailResendResponse, error)
- func (*UnimplementedUserServiceServer) ResetPassword(ctx context.Context, req *PasswordResetRequest) (*PasswordResetResponse, error)
- type User
- func (*User) Descriptor() ([]byte, []int)
- func (m *User) GetCreatedAt() *timestamp.Timestamp
- func (m *User) GetDisplayName() string
- func (m *User) GetEmail() string
- func (m *User) GetId() string
- func (m *User) GetUsername() string
- func (m *User) GetVerified() bool
- func (*User) ProtoMessage()
- func (m *User) Reset()
- func (m *User) String() string
- func (m *User) XXX_DiscardUnknown()
- func (m *User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *User) XXX_Merge(src proto.Message)
- func (m *User) XXX_Size() int
- func (m *User) XXX_Unmarshal(b []byte) error
- type UserServiceClient
- type UserServiceServer
- type VerifySessionRequest
- func (*VerifySessionRequest) Descriptor() ([]byte, []int)
- func (m *VerifySessionRequest) GetToken() string
- func (m *VerifySessionRequest) GetUserId() string
- func (*VerifySessionRequest) ProtoMessage()
- func (m *VerifySessionRequest) Reset()
- func (m *VerifySessionRequest) String() string
- func (m *VerifySessionRequest) XXX_DiscardUnknown()
- func (m *VerifySessionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VerifySessionRequest) XXX_Merge(src proto.Message)
- func (m *VerifySessionRequest) XXX_Size() int
- func (m *VerifySessionRequest) XXX_Unmarshal(b []byte) error
- type VerifySessionResponse
- func (*VerifySessionResponse) Descriptor() ([]byte, []int)
- func (*VerifySessionResponse) ProtoMessage()
- func (m *VerifySessionResponse) Reset()
- func (m *VerifySessionResponse) String() string
- func (m *VerifySessionResponse) XXX_DiscardUnknown()
- func (m *VerifySessionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VerifySessionResponse) XXX_Merge(src proto.Message)
- func (m *VerifySessionResponse) XXX_Size() int
- func (m *VerifySessionResponse) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
var StoreProduct_Quantity_name = map[int32]string{
0: "NONE",
1: "EMPTY",
2: "LOW",
3: "HIGH",
}
var StoreProduct_Quantity_value = map[string]int32{
"NONE": 0,
"EMPTY": 1,
"LOW": 2,
"HIGH": 3,
}
Functions ¶
func RegisterProductServiceServer ¶
func RegisterProductServiceServer(s *grpc.Server, srv ProductServiceServer)
func RegisterSessionServiceServer ¶
func RegisterSessionServiceServer(s *grpc.Server, srv SessionServiceServer)
func RegisterStoreProductServiceServer ¶
func RegisterStoreProductServiceServer(s *grpc.Server, srv StoreProductServiceServer)
func RegisterStoreServiceServer ¶
func RegisterStoreServiceServer(s *grpc.Server, srv StoreServiceServer)
func RegisterUserServiceServer ¶
func RegisterUserServiceServer(s *grpc.Server, srv UserServiceServer)
Types ¶
type CreateSessionRequest ¶
type CreateSessionRequest struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateSessionRequest) Descriptor ¶
func (*CreateSessionRequest) Descriptor() ([]byte, []int)
func (*CreateSessionRequest) GetUserId ¶
func (m *CreateSessionRequest) GetUserId() string
func (*CreateSessionRequest) ProtoMessage ¶
func (*CreateSessionRequest) ProtoMessage()
func (*CreateSessionRequest) Reset ¶
func (m *CreateSessionRequest) Reset()
func (*CreateSessionRequest) String ¶
func (m *CreateSessionRequest) String() string
func (*CreateSessionRequest) XXX_DiscardUnknown ¶
func (m *CreateSessionRequest) XXX_DiscardUnknown()
func (*CreateSessionRequest) XXX_Marshal ¶
func (m *CreateSessionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateSessionRequest) XXX_Merge ¶
func (m *CreateSessionRequest) XXX_Merge(src proto.Message)
func (*CreateSessionRequest) XXX_Size ¶
func (m *CreateSessionRequest) XXX_Size() int
func (*CreateSessionRequest) XXX_Unmarshal ¶
func (m *CreateSessionRequest) XXX_Unmarshal(b []byte) error
type CreateSessionResponse ¶
type CreateSessionResponse struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateSessionResponse) Descriptor ¶
func (*CreateSessionResponse) Descriptor() ([]byte, []int)
func (*CreateSessionResponse) GetToken ¶
func (m *CreateSessionResponse) GetToken() string
func (*CreateSessionResponse) ProtoMessage ¶
func (*CreateSessionResponse) ProtoMessage()
func (*CreateSessionResponse) Reset ¶
func (m *CreateSessionResponse) Reset()
func (*CreateSessionResponse) String ¶
func (m *CreateSessionResponse) String() string
func (*CreateSessionResponse) XXX_DiscardUnknown ¶
func (m *CreateSessionResponse) XXX_DiscardUnknown()
func (*CreateSessionResponse) XXX_Marshal ¶
func (m *CreateSessionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateSessionResponse) XXX_Merge ¶
func (m *CreateSessionResponse) XXX_Merge(src proto.Message)
func (*CreateSessionResponse) XXX_Size ¶
func (m *CreateSessionResponse) XXX_Size() int
func (*CreateSessionResponse) XXX_Unmarshal ¶
func (m *CreateSessionResponse) XXX_Unmarshal(b []byte) error
type DeleteSessionRequest ¶
type DeleteSessionRequest struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteSessionRequest) Descriptor ¶
func (*DeleteSessionRequest) Descriptor() ([]byte, []int)
func (*DeleteSessionRequest) GetToken ¶
func (m *DeleteSessionRequest) GetToken() string
func (*DeleteSessionRequest) GetUserId ¶
func (m *DeleteSessionRequest) GetUserId() string
func (*DeleteSessionRequest) ProtoMessage ¶
func (*DeleteSessionRequest) ProtoMessage()
func (*DeleteSessionRequest) Reset ¶
func (m *DeleteSessionRequest) Reset()
func (*DeleteSessionRequest) String ¶
func (m *DeleteSessionRequest) String() string
func (*DeleteSessionRequest) XXX_DiscardUnknown ¶
func (m *DeleteSessionRequest) XXX_DiscardUnknown()
func (*DeleteSessionRequest) XXX_Marshal ¶
func (m *DeleteSessionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteSessionRequest) XXX_Merge ¶
func (m *DeleteSessionRequest) XXX_Merge(src proto.Message)
func (*DeleteSessionRequest) XXX_Size ¶
func (m *DeleteSessionRequest) XXX_Size() int
func (*DeleteSessionRequest) XXX_Unmarshal ¶
func (m *DeleteSessionRequest) XXX_Unmarshal(b []byte) error
type DeleteSessionResponse ¶
type DeleteSessionResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteSessionResponse) Descriptor ¶
func (*DeleteSessionResponse) Descriptor() ([]byte, []int)
func (*DeleteSessionResponse) ProtoMessage ¶
func (*DeleteSessionResponse) ProtoMessage()
func (*DeleteSessionResponse) Reset ¶
func (m *DeleteSessionResponse) Reset()
func (*DeleteSessionResponse) String ¶
func (m *DeleteSessionResponse) String() string
func (*DeleteSessionResponse) XXX_DiscardUnknown ¶
func (m *DeleteSessionResponse) XXX_DiscardUnknown()
func (*DeleteSessionResponse) XXX_Marshal ¶
func (m *DeleteSessionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteSessionResponse) XXX_Merge ¶
func (m *DeleteSessionResponse) XXX_Merge(src proto.Message)
func (*DeleteSessionResponse) XXX_Size ¶
func (m *DeleteSessionResponse) XXX_Size() int
func (*DeleteSessionResponse) XXX_Unmarshal ¶
func (m *DeleteSessionResponse) XXX_Unmarshal(b []byte) error
type EmailResendRequest ¶
type EmailResendRequest struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*EmailResendRequest) Descriptor ¶
func (*EmailResendRequest) Descriptor() ([]byte, []int)
func (*EmailResendRequest) GetEmail ¶
func (m *EmailResendRequest) GetEmail() string
func (*EmailResendRequest) ProtoMessage ¶
func (*EmailResendRequest) ProtoMessage()
func (*EmailResendRequest) Reset ¶
func (m *EmailResendRequest) Reset()
func (*EmailResendRequest) String ¶
func (m *EmailResendRequest) String() string
func (*EmailResendRequest) XXX_DiscardUnknown ¶
func (m *EmailResendRequest) XXX_DiscardUnknown()
func (*EmailResendRequest) XXX_Marshal ¶
func (m *EmailResendRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EmailResendRequest) XXX_Merge ¶
func (m *EmailResendRequest) XXX_Merge(src proto.Message)
func (*EmailResendRequest) XXX_Size ¶
func (m *EmailResendRequest) XXX_Size() int
func (*EmailResendRequest) XXX_Unmarshal ¶
func (m *EmailResendRequest) XXX_Unmarshal(b []byte) error
type EmailResendResponse ¶
type EmailResendResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*EmailResendResponse) Descriptor ¶
func (*EmailResendResponse) Descriptor() ([]byte, []int)
func (*EmailResendResponse) ProtoMessage ¶
func (*EmailResendResponse) ProtoMessage()
func (*EmailResendResponse) Reset ¶
func (m *EmailResendResponse) Reset()
func (*EmailResendResponse) String ¶
func (m *EmailResendResponse) String() string
func (*EmailResendResponse) XXX_DiscardUnknown ¶
func (m *EmailResendResponse) XXX_DiscardUnknown()
func (*EmailResendResponse) XXX_Marshal ¶
func (m *EmailResendResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EmailResendResponse) XXX_Merge ¶
func (m *EmailResendResponse) XXX_Merge(src proto.Message)
func (*EmailResendResponse) XXX_Size ¶
func (m *EmailResendResponse) XXX_Size() int
func (*EmailResendResponse) XXX_Unmarshal ¶
func (m *EmailResendResponse) XXX_Unmarshal(b []byte) error
type GetProductRequest ¶
type GetProductRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Barcode string `protobuf:"bytes,2,opt,name=barcode,proto3" json:"barcode,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetProductRequest) Descriptor ¶
func (*GetProductRequest) Descriptor() ([]byte, []int)
func (*GetProductRequest) GetBarcode ¶
func (m *GetProductRequest) GetBarcode() string
func (*GetProductRequest) GetId ¶
func (m *GetProductRequest) GetId() string
func (*GetProductRequest) ProtoMessage ¶
func (*GetProductRequest) ProtoMessage()
func (*GetProductRequest) Reset ¶
func (m *GetProductRequest) Reset()
func (*GetProductRequest) String ¶
func (m *GetProductRequest) String() string
func (*GetProductRequest) XXX_DiscardUnknown ¶
func (m *GetProductRequest) XXX_DiscardUnknown()
func (*GetProductRequest) XXX_Marshal ¶
func (m *GetProductRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetProductRequest) XXX_Merge ¶
func (m *GetProductRequest) XXX_Merge(src proto.Message)
func (*GetProductRequest) XXX_Size ¶
func (m *GetProductRequest) XXX_Size() int
func (*GetProductRequest) XXX_Unmarshal ¶
func (m *GetProductRequest) XXX_Unmarshal(b []byte) error
type GetProductResponse ¶
type GetProductResponse struct { Product *Product `protobuf:"bytes,1,opt,name=product,proto3" json:"product,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetProductResponse) Descriptor ¶
func (*GetProductResponse) Descriptor() ([]byte, []int)
func (*GetProductResponse) GetProduct ¶
func (m *GetProductResponse) GetProduct() *Product
func (*GetProductResponse) ProtoMessage ¶
func (*GetProductResponse) ProtoMessage()
func (*GetProductResponse) Reset ¶
func (m *GetProductResponse) Reset()
func (*GetProductResponse) String ¶
func (m *GetProductResponse) String() string
func (*GetProductResponse) XXX_DiscardUnknown ¶
func (m *GetProductResponse) XXX_DiscardUnknown()
func (*GetProductResponse) XXX_Marshal ¶
func (m *GetProductResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetProductResponse) XXX_Merge ¶
func (m *GetProductResponse) XXX_Merge(src proto.Message)
func (*GetProductResponse) XXX_Size ¶
func (m *GetProductResponse) XXX_Size() int
func (*GetProductResponse) XXX_Unmarshal ¶
func (m *GetProductResponse) XXX_Unmarshal(b []byte) error
type GetProductsRequest ¶
type GetProductsRequest struct { DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` Pagination *Pagination `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetProductsRequest) Descriptor ¶
func (*GetProductsRequest) Descriptor() ([]byte, []int)
func (*GetProductsRequest) GetDisplayName ¶
func (m *GetProductsRequest) GetDisplayName() string
func (*GetProductsRequest) GetPagination ¶
func (m *GetProductsRequest) GetPagination() *Pagination
func (*GetProductsRequest) ProtoMessage ¶
func (*GetProductsRequest) ProtoMessage()
func (*GetProductsRequest) Reset ¶
func (m *GetProductsRequest) Reset()
func (*GetProductsRequest) String ¶
func (m *GetProductsRequest) String() string
func (*GetProductsRequest) XXX_DiscardUnknown ¶
func (m *GetProductsRequest) XXX_DiscardUnknown()
func (*GetProductsRequest) XXX_Marshal ¶
func (m *GetProductsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetProductsRequest) XXX_Merge ¶
func (m *GetProductsRequest) XXX_Merge(src proto.Message)
func (*GetProductsRequest) XXX_Size ¶
func (m *GetProductsRequest) XXX_Size() int
func (*GetProductsRequest) XXX_Unmarshal ¶
func (m *GetProductsRequest) XXX_Unmarshal(b []byte) error
type GetProductsResponse ¶
type GetProductsResponse struct { Products []*Product `protobuf:"bytes,1,rep,name=products,proto3" json:"products,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetProductsResponse) Descriptor ¶
func (*GetProductsResponse) Descriptor() ([]byte, []int)
func (*GetProductsResponse) GetProducts ¶
func (m *GetProductsResponse) GetProducts() []*Product
func (*GetProductsResponse) ProtoMessage ¶
func (*GetProductsResponse) ProtoMessage()
func (*GetProductsResponse) Reset ¶
func (m *GetProductsResponse) Reset()
func (*GetProductsResponse) String ¶
func (m *GetProductsResponse) String() string
func (*GetProductsResponse) XXX_DiscardUnknown ¶
func (m *GetProductsResponse) XXX_DiscardUnknown()
func (*GetProductsResponse) XXX_Marshal ¶
func (m *GetProductsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetProductsResponse) XXX_Merge ¶
func (m *GetProductsResponse) XXX_Merge(src proto.Message)
func (*GetProductsResponse) XXX_Size ¶
func (m *GetProductsResponse) XXX_Size() int
func (*GetProductsResponse) XXX_Unmarshal ¶
func (m *GetProductsResponse) XXX_Unmarshal(b []byte) error
type GetStoreProductRequest ¶
type GetStoreProductRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetStoreProductRequest) Descriptor ¶
func (*GetStoreProductRequest) Descriptor() ([]byte, []int)
func (*GetStoreProductRequest) GetId ¶
func (m *GetStoreProductRequest) GetId() string
func (*GetStoreProductRequest) ProtoMessage ¶
func (*GetStoreProductRequest) ProtoMessage()
func (*GetStoreProductRequest) Reset ¶
func (m *GetStoreProductRequest) Reset()
func (*GetStoreProductRequest) String ¶
func (m *GetStoreProductRequest) String() string
func (*GetStoreProductRequest) XXX_DiscardUnknown ¶
func (m *GetStoreProductRequest) XXX_DiscardUnknown()
func (*GetStoreProductRequest) XXX_Marshal ¶
func (m *GetStoreProductRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetStoreProductRequest) XXX_Merge ¶
func (m *GetStoreProductRequest) XXX_Merge(src proto.Message)
func (*GetStoreProductRequest) XXX_Size ¶
func (m *GetStoreProductRequest) XXX_Size() int
func (*GetStoreProductRequest) XXX_Unmarshal ¶
func (m *GetStoreProductRequest) XXX_Unmarshal(b []byte) error
type GetStoreProductResponse ¶
type GetStoreProductResponse struct { StoreProduct *StoreProduct `protobuf:"bytes,1,opt,name=store_product,json=storeProduct,proto3" json:"store_product,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetStoreProductResponse) Descriptor ¶
func (*GetStoreProductResponse) Descriptor() ([]byte, []int)
func (*GetStoreProductResponse) GetStoreProduct ¶
func (m *GetStoreProductResponse) GetStoreProduct() *StoreProduct
func (*GetStoreProductResponse) ProtoMessage ¶
func (*GetStoreProductResponse) ProtoMessage()
func (*GetStoreProductResponse) Reset ¶
func (m *GetStoreProductResponse) Reset()
func (*GetStoreProductResponse) String ¶
func (m *GetStoreProductResponse) String() string
func (*GetStoreProductResponse) XXX_DiscardUnknown ¶
func (m *GetStoreProductResponse) XXX_DiscardUnknown()
func (*GetStoreProductResponse) XXX_Marshal ¶
func (m *GetStoreProductResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetStoreProductResponse) XXX_Merge ¶
func (m *GetStoreProductResponse) XXX_Merge(src proto.Message)
func (*GetStoreProductResponse) XXX_Size ¶
func (m *GetStoreProductResponse) XXX_Size() int
func (*GetStoreProductResponse) XXX_Unmarshal ¶
func (m *GetStoreProductResponse) XXX_Unmarshal(b []byte) error
type GetStoreProductsRequest ¶
type GetStoreProductsRequest struct { StoreId string `protobuf:"bytes,1,opt,name=store_id,json=storeId,proto3" json:"store_id,omitempty"` ProductId string `protobuf:"bytes,2,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"` Quantity StoreProduct_Quantity `protobuf:"varint,3,opt,name=quantity,proto3,enum=pb.StoreProduct_Quantity" json:"quantity,omitempty"` Pagination *Pagination `protobuf:"bytes,4,opt,name=pagination,proto3" json:"pagination,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetStoreProductsRequest) Descriptor ¶
func (*GetStoreProductsRequest) Descriptor() ([]byte, []int)
func (*GetStoreProductsRequest) GetPagination ¶
func (m *GetStoreProductsRequest) GetPagination() *Pagination
func (*GetStoreProductsRequest) GetProductId ¶
func (m *GetStoreProductsRequest) GetProductId() string
func (*GetStoreProductsRequest) GetQuantity ¶
func (m *GetStoreProductsRequest) GetQuantity() StoreProduct_Quantity
func (*GetStoreProductsRequest) GetStoreId ¶
func (m *GetStoreProductsRequest) GetStoreId() string
func (*GetStoreProductsRequest) ProtoMessage ¶
func (*GetStoreProductsRequest) ProtoMessage()
func (*GetStoreProductsRequest) Reset ¶
func (m *GetStoreProductsRequest) Reset()
func (*GetStoreProductsRequest) String ¶
func (m *GetStoreProductsRequest) String() string
func (*GetStoreProductsRequest) XXX_DiscardUnknown ¶
func (m *GetStoreProductsRequest) XXX_DiscardUnknown()
func (*GetStoreProductsRequest) XXX_Marshal ¶
func (m *GetStoreProductsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetStoreProductsRequest) XXX_Merge ¶
func (m *GetStoreProductsRequest) XXX_Merge(src proto.Message)
func (*GetStoreProductsRequest) XXX_Size ¶
func (m *GetStoreProductsRequest) XXX_Size() int
func (*GetStoreProductsRequest) XXX_Unmarshal ¶
func (m *GetStoreProductsRequest) XXX_Unmarshal(b []byte) error
type GetStoreProductsResponse ¶
type GetStoreProductsResponse struct { StoreProducts []*StoreProduct `protobuf:"bytes,1,rep,name=store_products,json=storeProducts,proto3" json:"store_products,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetStoreProductsResponse) Descriptor ¶
func (*GetStoreProductsResponse) Descriptor() ([]byte, []int)
func (*GetStoreProductsResponse) GetStoreProducts ¶
func (m *GetStoreProductsResponse) GetStoreProducts() []*StoreProduct
func (*GetStoreProductsResponse) ProtoMessage ¶
func (*GetStoreProductsResponse) ProtoMessage()
func (*GetStoreProductsResponse) Reset ¶
func (m *GetStoreProductsResponse) Reset()
func (*GetStoreProductsResponse) String ¶
func (m *GetStoreProductsResponse) String() string
func (*GetStoreProductsResponse) XXX_DiscardUnknown ¶
func (m *GetStoreProductsResponse) XXX_DiscardUnknown()
func (*GetStoreProductsResponse) XXX_Marshal ¶
func (m *GetStoreProductsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetStoreProductsResponse) XXX_Merge ¶
func (m *GetStoreProductsResponse) XXX_Merge(src proto.Message)
func (*GetStoreProductsResponse) XXX_Size ¶
func (m *GetStoreProductsResponse) XXX_Size() int
func (*GetStoreProductsResponse) XXX_Unmarshal ¶
func (m *GetStoreProductsResponse) XXX_Unmarshal(b []byte) error
type GetStoreRequest ¶
type GetStoreRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetStoreRequest) Descriptor ¶
func (*GetStoreRequest) Descriptor() ([]byte, []int)
func (*GetStoreRequest) GetId ¶
func (m *GetStoreRequest) GetId() string
func (*GetStoreRequest) ProtoMessage ¶
func (*GetStoreRequest) ProtoMessage()
func (*GetStoreRequest) Reset ¶
func (m *GetStoreRequest) Reset()
func (*GetStoreRequest) String ¶
func (m *GetStoreRequest) String() string
func (*GetStoreRequest) XXX_DiscardUnknown ¶
func (m *GetStoreRequest) XXX_DiscardUnknown()
func (*GetStoreRequest) XXX_Marshal ¶
func (m *GetStoreRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetStoreRequest) XXX_Merge ¶
func (m *GetStoreRequest) XXX_Merge(src proto.Message)
func (*GetStoreRequest) XXX_Size ¶
func (m *GetStoreRequest) XXX_Size() int
func (*GetStoreRequest) XXX_Unmarshal ¶
func (m *GetStoreRequest) XXX_Unmarshal(b []byte) error
type GetStoreResponse ¶
type GetStoreResponse struct { Store *Store `protobuf:"bytes,1,opt,name=store,proto3" json:"store,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetStoreResponse) Descriptor ¶
func (*GetStoreResponse) Descriptor() ([]byte, []int)
func (*GetStoreResponse) GetStore ¶
func (m *GetStoreResponse) GetStore() *Store
func (*GetStoreResponse) ProtoMessage ¶
func (*GetStoreResponse) ProtoMessage()
func (*GetStoreResponse) Reset ¶
func (m *GetStoreResponse) Reset()
func (*GetStoreResponse) String ¶
func (m *GetStoreResponse) String() string
func (*GetStoreResponse) XXX_DiscardUnknown ¶
func (m *GetStoreResponse) XXX_DiscardUnknown()
func (*GetStoreResponse) XXX_Marshal ¶
func (m *GetStoreResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetStoreResponse) XXX_Merge ¶
func (m *GetStoreResponse) XXX_Merge(src proto.Message)
func (*GetStoreResponse) XXX_Size ¶
func (m *GetStoreResponse) XXX_Size() int
func (*GetStoreResponse) XXX_Unmarshal ¶
func (m *GetStoreResponse) XXX_Unmarshal(b []byte) error
type GetStoresRequest ¶
type GetStoresRequest struct { Location *Location `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"` DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` Pagination *Pagination `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetStoresRequest) Descriptor ¶
func (*GetStoresRequest) Descriptor() ([]byte, []int)
func (*GetStoresRequest) GetDisplayName ¶
func (m *GetStoresRequest) GetDisplayName() string
func (*GetStoresRequest) GetLocation ¶
func (m *GetStoresRequest) GetLocation() *Location
func (*GetStoresRequest) GetPagination ¶
func (m *GetStoresRequest) GetPagination() *Pagination
func (*GetStoresRequest) ProtoMessage ¶
func (*GetStoresRequest) ProtoMessage()
func (*GetStoresRequest) Reset ¶
func (m *GetStoresRequest) Reset()
func (*GetStoresRequest) String ¶
func (m *GetStoresRequest) String() string
func (*GetStoresRequest) XXX_DiscardUnknown ¶
func (m *GetStoresRequest) XXX_DiscardUnknown()
func (*GetStoresRequest) XXX_Marshal ¶
func (m *GetStoresRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetStoresRequest) XXX_Merge ¶
func (m *GetStoresRequest) XXX_Merge(src proto.Message)
func (*GetStoresRequest) XXX_Size ¶
func (m *GetStoresRequest) XXX_Size() int
func (*GetStoresRequest) XXX_Unmarshal ¶
func (m *GetStoresRequest) XXX_Unmarshal(b []byte) error
type GetStoresResponse ¶
type GetStoresResponse struct { Stores []*Store `protobuf:"bytes,1,rep,name=stores,proto3" json:"stores,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetStoresResponse) Descriptor ¶
func (*GetStoresResponse) Descriptor() ([]byte, []int)
func (*GetStoresResponse) GetStores ¶
func (m *GetStoresResponse) GetStores() []*Store
func (*GetStoresResponse) ProtoMessage ¶
func (*GetStoresResponse) ProtoMessage()
func (*GetStoresResponse) Reset ¶
func (m *GetStoresResponse) Reset()
func (*GetStoresResponse) String ¶
func (m *GetStoresResponse) String() string
func (*GetStoresResponse) XXX_DiscardUnknown ¶
func (m *GetStoresResponse) XXX_DiscardUnknown()
func (*GetStoresResponse) XXX_Marshal ¶
func (m *GetStoresResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetStoresResponse) XXX_Merge ¶
func (m *GetStoresResponse) XXX_Merge(src proto.Message)
func (*GetStoresResponse) XXX_Size ¶
func (m *GetStoresResponse) XXX_Size() int
func (*GetStoresResponse) XXX_Unmarshal ¶
func (m *GetStoresResponse) XXX_Unmarshal(b []byte) error
type GetUserRequest ¶
type GetUserRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetUserRequest) Descriptor ¶
func (*GetUserRequest) Descriptor() ([]byte, []int)
func (*GetUserRequest) GetEmail ¶
func (m *GetUserRequest) GetEmail() string
func (*GetUserRequest) GetId ¶
func (m *GetUserRequest) GetId() string
func (*GetUserRequest) GetUsername ¶
func (m *GetUserRequest) GetUsername() string
func (*GetUserRequest) ProtoMessage ¶
func (*GetUserRequest) ProtoMessage()
func (*GetUserRequest) Reset ¶
func (m *GetUserRequest) Reset()
func (*GetUserRequest) String ¶
func (m *GetUserRequest) String() string
func (*GetUserRequest) XXX_DiscardUnknown ¶
func (m *GetUserRequest) XXX_DiscardUnknown()
func (*GetUserRequest) XXX_Marshal ¶
func (m *GetUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetUserRequest) XXX_Merge ¶
func (m *GetUserRequest) XXX_Merge(src proto.Message)
func (*GetUserRequest) XXX_Size ¶
func (m *GetUserRequest) XXX_Size() int
func (*GetUserRequest) XXX_Unmarshal ¶
func (m *GetUserRequest) XXX_Unmarshal(b []byte) error
type GetUserResponse ¶
type GetUserResponse struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetUserResponse) Descriptor ¶
func (*GetUserResponse) Descriptor() ([]byte, []int)
func (*GetUserResponse) GetUser ¶
func (m *GetUserResponse) GetUser() *User
func (*GetUserResponse) ProtoMessage ¶
func (*GetUserResponse) ProtoMessage()
func (*GetUserResponse) Reset ¶
func (m *GetUserResponse) Reset()
func (*GetUserResponse) String ¶
func (m *GetUserResponse) String() string
func (*GetUserResponse) XXX_DiscardUnknown ¶
func (m *GetUserResponse) XXX_DiscardUnknown()
func (*GetUserResponse) XXX_Marshal ¶
func (m *GetUserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetUserResponse) XXX_Merge ¶
func (m *GetUserResponse) XXX_Merge(src proto.Message)
func (*GetUserResponse) XXX_Size ¶
func (m *GetUserResponse) XXX_Size() int
func (*GetUserResponse) XXX_Unmarshal ¶
func (m *GetUserResponse) XXX_Unmarshal(b []byte) error
type Location ¶
type Location struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` City string `protobuf:"bytes,2,opt,name=city,proto3" json:"city,omitempty"` ZipCode string `protobuf:"bytes,3,opt,name=zip_code,json=zipCode,proto3" json:"zip_code,omitempty"` Latitude float32 `protobuf:"fixed32,4,opt,name=latitude,proto3" json:"latitude,omitempty"` Longitude float32 `protobuf:"fixed32,5,opt,name=longitude,proto3" json:"longitude,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Location) Descriptor ¶
func (*Location) GetAddress ¶
func (*Location) GetLatitude ¶
func (*Location) GetLongitude ¶
func (*Location) GetZipCode ¶
func (*Location) ProtoMessage ¶
func (*Location) ProtoMessage()
func (*Location) XXX_DiscardUnknown ¶
func (m *Location) XXX_DiscardUnknown()
func (*Location) XXX_Marshal ¶
func (*Location) XXX_Unmarshal ¶
type LoginRequest ¶
type LoginRequest struct { Login string `protobuf:"bytes,1,opt,name=login,proto3" json:"login,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LoginRequest) Descriptor ¶
func (*LoginRequest) Descriptor() ([]byte, []int)
func (*LoginRequest) GetLogin ¶
func (m *LoginRequest) GetLogin() string
func (*LoginRequest) GetPassword ¶
func (m *LoginRequest) GetPassword() string
func (*LoginRequest) ProtoMessage ¶
func (*LoginRequest) ProtoMessage()
func (*LoginRequest) Reset ¶
func (m *LoginRequest) Reset()
func (*LoginRequest) String ¶
func (m *LoginRequest) String() string
func (*LoginRequest) XXX_DiscardUnknown ¶
func (m *LoginRequest) XXX_DiscardUnknown()
func (*LoginRequest) XXX_Marshal ¶
func (m *LoginRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LoginRequest) XXX_Merge ¶
func (m *LoginRequest) XXX_Merge(src proto.Message)
func (*LoginRequest) XXX_Size ¶
func (m *LoginRequest) XXX_Size() int
func (*LoginRequest) XXX_Unmarshal ¶
func (m *LoginRequest) XXX_Unmarshal(b []byte) error
type LoginResponse ¶
type LoginResponse struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LoginResponse) Descriptor ¶
func (*LoginResponse) Descriptor() ([]byte, []int)
func (*LoginResponse) GetToken ¶
func (m *LoginResponse) GetToken() string
func (*LoginResponse) GetUser ¶
func (m *LoginResponse) GetUser() *User
func (*LoginResponse) ProtoMessage ¶
func (*LoginResponse) ProtoMessage()
func (*LoginResponse) Reset ¶
func (m *LoginResponse) Reset()
func (*LoginResponse) String ¶
func (m *LoginResponse) String() string
func (*LoginResponse) XXX_DiscardUnknown ¶
func (m *LoginResponse) XXX_DiscardUnknown()
func (*LoginResponse) XXX_Marshal ¶
func (m *LoginResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LoginResponse) XXX_Merge ¶
func (m *LoginResponse) XXX_Merge(src proto.Message)
func (*LoginResponse) XXX_Size ¶
func (m *LoginResponse) XXX_Size() int
func (*LoginResponse) XXX_Unmarshal ¶
func (m *LoginResponse) XXX_Unmarshal(b []byte) error
type Pagination ¶
type Pagination struct { Limit int32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"` Offset int32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Pagination) Descriptor ¶
func (*Pagination) Descriptor() ([]byte, []int)
func (*Pagination) GetLimit ¶
func (m *Pagination) GetLimit() int32
func (*Pagination) GetOffset ¶
func (m *Pagination) GetOffset() int32
func (*Pagination) ProtoMessage ¶
func (*Pagination) ProtoMessage()
func (*Pagination) Reset ¶
func (m *Pagination) Reset()
func (*Pagination) String ¶
func (m *Pagination) String() string
func (*Pagination) XXX_DiscardUnknown ¶
func (m *Pagination) XXX_DiscardUnknown()
func (*Pagination) XXX_Marshal ¶
func (m *Pagination) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Pagination) XXX_Merge ¶
func (m *Pagination) XXX_Merge(src proto.Message)
func (*Pagination) XXX_Size ¶
func (m *Pagination) XXX_Size() int
func (*Pagination) XXX_Unmarshal ¶
func (m *Pagination) XXX_Unmarshal(b []byte) error
type PasswordResetRequest ¶
type PasswordResetRequest struct { Login string `protobuf:"bytes,1,opt,name=login,proto3" json:"login,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PasswordResetRequest) Descriptor ¶
func (*PasswordResetRequest) Descriptor() ([]byte, []int)
func (*PasswordResetRequest) GetLogin ¶
func (m *PasswordResetRequest) GetLogin() string
func (*PasswordResetRequest) ProtoMessage ¶
func (*PasswordResetRequest) ProtoMessage()
func (*PasswordResetRequest) Reset ¶
func (m *PasswordResetRequest) Reset()
func (*PasswordResetRequest) String ¶
func (m *PasswordResetRequest) String() string
func (*PasswordResetRequest) XXX_DiscardUnknown ¶
func (m *PasswordResetRequest) XXX_DiscardUnknown()
func (*PasswordResetRequest) XXX_Marshal ¶
func (m *PasswordResetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PasswordResetRequest) XXX_Merge ¶
func (m *PasswordResetRequest) XXX_Merge(src proto.Message)
func (*PasswordResetRequest) XXX_Size ¶
func (m *PasswordResetRequest) XXX_Size() int
func (*PasswordResetRequest) XXX_Unmarshal ¶
func (m *PasswordResetRequest) XXX_Unmarshal(b []byte) error
type PasswordResetResponse ¶
type PasswordResetResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PasswordResetResponse) Descriptor ¶
func (*PasswordResetResponse) Descriptor() ([]byte, []int)
func (*PasswordResetResponse) ProtoMessage ¶
func (*PasswordResetResponse) ProtoMessage()
func (*PasswordResetResponse) Reset ¶
func (m *PasswordResetResponse) Reset()
func (*PasswordResetResponse) String ¶
func (m *PasswordResetResponse) String() string
func (*PasswordResetResponse) XXX_DiscardUnknown ¶
func (m *PasswordResetResponse) XXX_DiscardUnknown()
func (*PasswordResetResponse) XXX_Marshal ¶
func (m *PasswordResetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PasswordResetResponse) XXX_Merge ¶
func (m *PasswordResetResponse) XXX_Merge(src proto.Message)
func (*PasswordResetResponse) XXX_Size ¶
func (m *PasswordResetResponse) XXX_Size() int
func (*PasswordResetResponse) XXX_Unmarshal ¶
func (m *PasswordResetResponse) XXX_Unmarshal(b []byte) error
type Product ¶
type Product struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` Barcode string `protobuf:"bytes,3,opt,name=barcode,proto3" json:"barcode,omitempty"` CreatedAt *timestamp.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Product) Descriptor ¶
func (*Product) GetBarcode ¶
func (*Product) GetCreatedAt ¶
func (*Product) GetDisplayName ¶
func (*Product) ProtoMessage ¶
func (*Product) ProtoMessage()
func (*Product) XXX_DiscardUnknown ¶
func (m *Product) XXX_DiscardUnknown()
func (*Product) XXX_Marshal ¶
func (*Product) XXX_Unmarshal ¶
type ProductServiceClient ¶
type ProductServiceClient interface { GetProduct(ctx context.Context, in *GetProductRequest, opts ...grpc.CallOption) (*GetProductResponse, error) GetProducts(ctx context.Context, in *GetProductsRequest, opts ...grpc.CallOption) (*GetProductsResponse, error) }
ProductServiceClient is the client API for ProductService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewProductServiceClient ¶
func NewProductServiceClient(cc grpc.ClientConnInterface) ProductServiceClient
type ProductServiceServer ¶
type ProductServiceServer interface { GetProduct(context.Context, *GetProductRequest) (*GetProductResponse, error) GetProducts(context.Context, *GetProductsRequest) (*GetProductsResponse, error) }
ProductServiceServer is the server API for ProductService service.
type RegisterRequest ¶
type RegisterRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RegisterRequest) Descriptor ¶
func (*RegisterRequest) Descriptor() ([]byte, []int)
func (*RegisterRequest) GetEmail ¶
func (m *RegisterRequest) GetEmail() string
func (*RegisterRequest) GetPassword ¶
func (m *RegisterRequest) GetPassword() string
func (*RegisterRequest) GetUsername ¶
func (m *RegisterRequest) GetUsername() string
func (*RegisterRequest) ProtoMessage ¶
func (*RegisterRequest) ProtoMessage()
func (*RegisterRequest) Reset ¶
func (m *RegisterRequest) Reset()
func (*RegisterRequest) String ¶
func (m *RegisterRequest) String() string
func (*RegisterRequest) XXX_DiscardUnknown ¶
func (m *RegisterRequest) XXX_DiscardUnknown()
func (*RegisterRequest) XXX_Marshal ¶
func (m *RegisterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RegisterRequest) XXX_Merge ¶
func (m *RegisterRequest) XXX_Merge(src proto.Message)
func (*RegisterRequest) XXX_Size ¶
func (m *RegisterRequest) XXX_Size() int
func (*RegisterRequest) XXX_Unmarshal ¶
func (m *RegisterRequest) XXX_Unmarshal(b []byte) error
type RegisterResponse ¶
type RegisterResponse struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RegisterResponse) Descriptor ¶
func (*RegisterResponse) Descriptor() ([]byte, []int)
func (*RegisterResponse) GetUser ¶
func (m *RegisterResponse) GetUser() *User
func (*RegisterResponse) ProtoMessage ¶
func (*RegisterResponse) ProtoMessage()
func (*RegisterResponse) Reset ¶
func (m *RegisterResponse) Reset()
func (*RegisterResponse) String ¶
func (m *RegisterResponse) String() string
func (*RegisterResponse) XXX_DiscardUnknown ¶
func (m *RegisterResponse) XXX_DiscardUnknown()
func (*RegisterResponse) XXX_Marshal ¶
func (m *RegisterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RegisterResponse) XXX_Merge ¶
func (m *RegisterResponse) XXX_Merge(src proto.Message)
func (*RegisterResponse) XXX_Size ¶
func (m *RegisterResponse) XXX_Size() int
func (*RegisterResponse) XXX_Unmarshal ¶
func (m *RegisterResponse) XXX_Unmarshal(b []byte) error
type SessionServiceClient ¶
type SessionServiceClient interface { Create(ctx context.Context, in *CreateSessionRequest, opts ...grpc.CallOption) (*CreateSessionResponse, error) Verify(ctx context.Context, in *VerifySessionRequest, opts ...grpc.CallOption) (*VerifySessionResponse, error) Delete(ctx context.Context, in *DeleteSessionRequest, opts ...grpc.CallOption) (*DeleteSessionResponse, error) }
SessionServiceClient is the client API for SessionService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewSessionServiceClient ¶
func NewSessionServiceClient(cc grpc.ClientConnInterface) SessionServiceClient
type SessionServiceServer ¶
type SessionServiceServer interface { Create(context.Context, *CreateSessionRequest) (*CreateSessionResponse, error) Verify(context.Context, *VerifySessionRequest) (*VerifySessionResponse, error) Delete(context.Context, *DeleteSessionRequest) (*DeleteSessionResponse, error) }
SessionServiceServer is the server API for SessionService service.
type Store ¶
type Store struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` LogoUrl string `protobuf:"bytes,3,opt,name=logo_url,json=logoUrl,proto3" json:"logo_url,omitempty"` Location *Location `protobuf:"bytes,4,opt,name=location,proto3" json:"location,omitempty"` CreatedAt *timestamp.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Store) Descriptor ¶
func (*Store) GetCreatedAt ¶
func (*Store) GetDisplayName ¶
func (*Store) GetLocation ¶
func (*Store) GetLogoUrl ¶
func (*Store) ProtoMessage ¶
func (*Store) ProtoMessage()
func (*Store) XXX_DiscardUnknown ¶
func (m *Store) XXX_DiscardUnknown()
func (*Store) XXX_Marshal ¶
func (*Store) XXX_Unmarshal ¶
type StoreProduct ¶
type StoreProduct struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` StoreId string `protobuf:"bytes,2,opt,name=store_id,json=storeId,proto3" json:"store_id,omitempty"` ProductId string `protobuf:"bytes,3,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"` Quantity StoreProduct_Quantity `protobuf:"varint,4,opt,name=quantity,proto3,enum=pb.StoreProduct_Quantity" json:"quantity,omitempty"` CreatedAt *timestamp.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StoreProduct) Descriptor ¶
func (*StoreProduct) Descriptor() ([]byte, []int)
func (*StoreProduct) GetCreatedAt ¶
func (m *StoreProduct) GetCreatedAt() *timestamp.Timestamp
func (*StoreProduct) GetId ¶
func (m *StoreProduct) GetId() string
func (*StoreProduct) GetProductId ¶
func (m *StoreProduct) GetProductId() string
func (*StoreProduct) GetQuantity ¶
func (m *StoreProduct) GetQuantity() StoreProduct_Quantity
func (*StoreProduct) GetStoreId ¶
func (m *StoreProduct) GetStoreId() string
func (*StoreProduct) ProtoMessage ¶
func (*StoreProduct) ProtoMessage()
func (*StoreProduct) Reset ¶
func (m *StoreProduct) Reset()
func (*StoreProduct) String ¶
func (m *StoreProduct) String() string
func (*StoreProduct) XXX_DiscardUnknown ¶
func (m *StoreProduct) XXX_DiscardUnknown()
func (*StoreProduct) XXX_Marshal ¶
func (m *StoreProduct) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StoreProduct) XXX_Merge ¶
func (m *StoreProduct) XXX_Merge(src proto.Message)
func (*StoreProduct) XXX_Size ¶
func (m *StoreProduct) XXX_Size() int
func (*StoreProduct) XXX_Unmarshal ¶
func (m *StoreProduct) XXX_Unmarshal(b []byte) error
type StoreProductServiceClient ¶
type StoreProductServiceClient interface { GetStoreProduct(ctx context.Context, in *GetStoreProductRequest, opts ...grpc.CallOption) (*GetStoreProductResponse, error) GetStoreProducts(ctx context.Context, in *GetStoreProductsRequest, opts ...grpc.CallOption) (*GetStoreProductsResponse, error) }
StoreProductServiceClient is the client API for StoreProductService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewStoreProductServiceClient ¶
func NewStoreProductServiceClient(cc grpc.ClientConnInterface) StoreProductServiceClient
type StoreProductServiceServer ¶
type StoreProductServiceServer interface { GetStoreProduct(context.Context, *GetStoreProductRequest) (*GetStoreProductResponse, error) GetStoreProducts(context.Context, *GetStoreProductsRequest) (*GetStoreProductsResponse, error) }
StoreProductServiceServer is the server API for StoreProductService service.
type StoreProduct_Quantity ¶
type StoreProduct_Quantity int32
const ( StoreProduct_NONE StoreProduct_Quantity = 0 StoreProduct_EMPTY StoreProduct_Quantity = 1 StoreProduct_LOW StoreProduct_Quantity = 2 StoreProduct_HIGH StoreProduct_Quantity = 3 )
func (StoreProduct_Quantity) EnumDescriptor ¶
func (StoreProduct_Quantity) EnumDescriptor() ([]byte, []int)
func (StoreProduct_Quantity) String ¶
func (x StoreProduct_Quantity) String() string
type StoreServiceClient ¶
type StoreServiceClient interface { GetStore(ctx context.Context, in *GetStoreRequest, opts ...grpc.CallOption) (*GetStoreResponse, error) GetStores(ctx context.Context, in *GetStoresRequest, opts ...grpc.CallOption) (*GetStoresResponse, error) }
StoreServiceClient is the client API for StoreService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewStoreServiceClient ¶
func NewStoreServiceClient(cc grpc.ClientConnInterface) StoreServiceClient
type StoreServiceServer ¶
type StoreServiceServer interface { GetStore(context.Context, *GetStoreRequest) (*GetStoreResponse, error) GetStores(context.Context, *GetStoresRequest) (*GetStoresResponse, error) }
StoreServiceServer is the server API for StoreService service.
type UnimplementedProductServiceServer ¶
type UnimplementedProductServiceServer struct { }
UnimplementedProductServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedProductServiceServer) GetProduct ¶
func (*UnimplementedProductServiceServer) GetProduct(ctx context.Context, req *GetProductRequest) (*GetProductResponse, error)
func (*UnimplementedProductServiceServer) GetProducts ¶
func (*UnimplementedProductServiceServer) GetProducts(ctx context.Context, req *GetProductsRequest) (*GetProductsResponse, error)
type UnimplementedSessionServiceServer ¶
type UnimplementedSessionServiceServer struct { }
UnimplementedSessionServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedSessionServiceServer) Create ¶
func (*UnimplementedSessionServiceServer) Create(ctx context.Context, req *CreateSessionRequest) (*CreateSessionResponse, error)
func (*UnimplementedSessionServiceServer) Delete ¶
func (*UnimplementedSessionServiceServer) Delete(ctx context.Context, req *DeleteSessionRequest) (*DeleteSessionResponse, error)
func (*UnimplementedSessionServiceServer) Verify ¶
func (*UnimplementedSessionServiceServer) Verify(ctx context.Context, req *VerifySessionRequest) (*VerifySessionResponse, error)
type UnimplementedStoreProductServiceServer ¶
type UnimplementedStoreProductServiceServer struct { }
UnimplementedStoreProductServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedStoreProductServiceServer) GetStoreProduct ¶
func (*UnimplementedStoreProductServiceServer) GetStoreProduct(ctx context.Context, req *GetStoreProductRequest) (*GetStoreProductResponse, error)
func (*UnimplementedStoreProductServiceServer) GetStoreProducts ¶
func (*UnimplementedStoreProductServiceServer) GetStoreProducts(ctx context.Context, req *GetStoreProductsRequest) (*GetStoreProductsResponse, error)
type UnimplementedStoreServiceServer ¶
type UnimplementedStoreServiceServer struct { }
UnimplementedStoreServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedStoreServiceServer) GetStore ¶
func (*UnimplementedStoreServiceServer) GetStore(ctx context.Context, req *GetStoreRequest) (*GetStoreResponse, error)
func (*UnimplementedStoreServiceServer) GetStores ¶
func (*UnimplementedStoreServiceServer) GetStores(ctx context.Context, req *GetStoresRequest) (*GetStoresResponse, error)
type UnimplementedUserServiceServer ¶
type UnimplementedUserServiceServer struct { }
UnimplementedUserServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedUserServiceServer) GetUser ¶
func (*UnimplementedUserServiceServer) GetUser(ctx context.Context, req *GetUserRequest) (*GetUserResponse, error)
func (*UnimplementedUserServiceServer) Login ¶
func (*UnimplementedUserServiceServer) Login(ctx context.Context, req *LoginRequest) (*LoginResponse, error)
func (*UnimplementedUserServiceServer) Register ¶
func (*UnimplementedUserServiceServer) Register(ctx context.Context, req *RegisterRequest) (*RegisterResponse, error)
func (*UnimplementedUserServiceServer) ResendEmail ¶
func (*UnimplementedUserServiceServer) ResendEmail(ctx context.Context, req *EmailResendRequest) (*EmailResendResponse, error)
func (*UnimplementedUserServiceServer) ResetPassword ¶
func (*UnimplementedUserServiceServer) ResetPassword(ctx context.Context, req *PasswordResetRequest) (*PasswordResetResponse, error)
type User ¶
type User struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` Verified bool `protobuf:"varint,3,opt,name=verified,proto3" json:"verified,omitempty"` Username string `protobuf:"bytes,4,opt,name=username,proto3" json:"username,omitempty"` DisplayName string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` CreatedAt *timestamp.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*User) Descriptor ¶
func (*User) GetCreatedAt ¶
func (*User) GetDisplayName ¶
func (*User) GetUsername ¶
func (*User) GetVerified ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) XXX_DiscardUnknown ¶
func (m *User) XXX_DiscardUnknown()
func (*User) XXX_Unmarshal ¶
type UserServiceClient ¶
type UserServiceClient interface { Register(ctx context.Context, in *RegisterRequest, opts ...grpc.CallOption) (*RegisterResponse, error) Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, error) ResendEmail(ctx context.Context, in *EmailResendRequest, opts ...grpc.CallOption) (*EmailResendResponse, error) ResetPassword(ctx context.Context, in *PasswordResetRequest, opts ...grpc.CallOption) (*PasswordResetResponse, error) GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*GetUserResponse, error) }
UserServiceClient is the client API for UserService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewUserServiceClient ¶
func NewUserServiceClient(cc grpc.ClientConnInterface) UserServiceClient
type UserServiceServer ¶
type UserServiceServer interface { Register(context.Context, *RegisterRequest) (*RegisterResponse, error) Login(context.Context, *LoginRequest) (*LoginResponse, error) ResendEmail(context.Context, *EmailResendRequest) (*EmailResendResponse, error) ResetPassword(context.Context, *PasswordResetRequest) (*PasswordResetResponse, error) GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error) }
UserServiceServer is the server API for UserService service.
type VerifySessionRequest ¶
type VerifySessionRequest struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*VerifySessionRequest) Descriptor ¶
func (*VerifySessionRequest) Descriptor() ([]byte, []int)
func (*VerifySessionRequest) GetToken ¶
func (m *VerifySessionRequest) GetToken() string
func (*VerifySessionRequest) GetUserId ¶
func (m *VerifySessionRequest) GetUserId() string
func (*VerifySessionRequest) ProtoMessage ¶
func (*VerifySessionRequest) ProtoMessage()
func (*VerifySessionRequest) Reset ¶
func (m *VerifySessionRequest) Reset()
func (*VerifySessionRequest) String ¶
func (m *VerifySessionRequest) String() string
func (*VerifySessionRequest) XXX_DiscardUnknown ¶
func (m *VerifySessionRequest) XXX_DiscardUnknown()
func (*VerifySessionRequest) XXX_Marshal ¶
func (m *VerifySessionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VerifySessionRequest) XXX_Merge ¶
func (m *VerifySessionRequest) XXX_Merge(src proto.Message)
func (*VerifySessionRequest) XXX_Size ¶
func (m *VerifySessionRequest) XXX_Size() int
func (*VerifySessionRequest) XXX_Unmarshal ¶
func (m *VerifySessionRequest) XXX_Unmarshal(b []byte) error
type VerifySessionResponse ¶
type VerifySessionResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*VerifySessionResponse) Descriptor ¶
func (*VerifySessionResponse) Descriptor() ([]byte, []int)
func (*VerifySessionResponse) ProtoMessage ¶
func (*VerifySessionResponse) ProtoMessage()
func (*VerifySessionResponse) Reset ¶
func (m *VerifySessionResponse) Reset()
func (*VerifySessionResponse) String ¶
func (m *VerifySessionResponse) String() string
func (*VerifySessionResponse) XXX_DiscardUnknown ¶
func (m *VerifySessionResponse) XXX_DiscardUnknown()
func (*VerifySessionResponse) XXX_Marshal ¶
func (m *VerifySessionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VerifySessionResponse) XXX_Merge ¶
func (m *VerifySessionResponse) XXX_Merge(src proto.Message)
func (*VerifySessionResponse) XXX_Size ¶
func (m *VerifySessionResponse) XXX_Size() int
func (*VerifySessionResponse) XXX_Unmarshal ¶
func (m *VerifySessionResponse) XXX_Unmarshal(b []byte) error