Documentation ¶
Index ¶
- func RegisterCryptoProtoServer(s *grpc.Server, srv CryptoProtoServer)
- type CreateCryptoResponse
- func (*CreateCryptoResponse) Descriptor() ([]byte, []int)
- func (m *CreateCryptoResponse) GetCrypto() *Crypto
- func (*CreateCryptoResponse) ProtoMessage()
- func (m *CreateCryptoResponse) Reset()
- func (m *CreateCryptoResponse) String() string
- func (m *CreateCryptoResponse) XXX_DiscardUnknown()
- func (m *CreateCryptoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateCryptoResponse) XXX_Merge(src proto.Message)
- func (m *CreateCryptoResponse) XXX_Size() int
- func (m *CreateCryptoResponse) XXX_Unmarshal(b []byte) error
- type Crypto
- func (*Crypto) Descriptor() ([]byte, []int)
- func (m *Crypto) GetDownvote() int64
- func (m *Crypto) GetId() string
- func (m *Crypto) GetName() string
- func (m *Crypto) GetTotalscore() int64
- func (m *Crypto) GetUpvote() int64
- func (*Crypto) ProtoMessage()
- func (m *Crypto) Reset()
- func (m *Crypto) String() string
- func (m *Crypto) XXX_DiscardUnknown()
- func (m *Crypto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Crypto) XXX_Merge(src proto.Message)
- func (m *Crypto) XXX_Size() int
- func (m *Crypto) XXX_Unmarshal(b []byte) error
- type CryptoProtoClient
- type CryptoProtoServer
- type CryptoProto_GetAllCryptoClient
- type CryptoProto_GetAllCryptoServer
- type DeleteCryptoRequest
- func (*DeleteCryptoRequest) Descriptor() ([]byte, []int)
- func (m *DeleteCryptoRequest) GetId() string
- func (*DeleteCryptoRequest) ProtoMessage()
- func (m *DeleteCryptoRequest) Reset()
- func (m *DeleteCryptoRequest) String() string
- func (m *DeleteCryptoRequest) XXX_DiscardUnknown()
- func (m *DeleteCryptoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteCryptoRequest) XXX_Merge(src proto.Message)
- func (m *DeleteCryptoRequest) XXX_Size() int
- func (m *DeleteCryptoRequest) XXX_Unmarshal(b []byte) error
- type DeleteCryptoResponse
- func (*DeleteCryptoResponse) Descriptor() ([]byte, []int)
- func (m *DeleteCryptoResponse) GetDelete() bool
- func (*DeleteCryptoResponse) ProtoMessage()
- func (m *DeleteCryptoResponse) Reset()
- func (m *DeleteCryptoResponse) String() string
- func (m *DeleteCryptoResponse) XXX_DiscardUnknown()
- func (m *DeleteCryptoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteCryptoResponse) XXX_Merge(src proto.Message)
- func (m *DeleteCryptoResponse) XXX_Size() int
- func (m *DeleteCryptoResponse) XXX_Unmarshal(b []byte) error
- type DownVoteCryptoRequest
- func (*DownVoteCryptoRequest) Descriptor() ([]byte, []int)
- func (m *DownVoteCryptoRequest) GetId() string
- func (*DownVoteCryptoRequest) ProtoMessage()
- func (m *DownVoteCryptoRequest) Reset()
- func (m *DownVoteCryptoRequest) String() string
- func (m *DownVoteCryptoRequest) XXX_DiscardUnknown()
- func (m *DownVoteCryptoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DownVoteCryptoRequest) XXX_Merge(src proto.Message)
- func (m *DownVoteCryptoRequest) XXX_Size() int
- func (m *DownVoteCryptoRequest) XXX_Unmarshal(b []byte) error
- type DownVoteCryptoResponse
- func (*DownVoteCryptoResponse) Descriptor() ([]byte, []int)
- func (m *DownVoteCryptoResponse) GetDownvote() bool
- func (*DownVoteCryptoResponse) ProtoMessage()
- func (m *DownVoteCryptoResponse) Reset()
- func (m *DownVoteCryptoResponse) String() string
- func (m *DownVoteCryptoResponse) XXX_DiscardUnknown()
- func (m *DownVoteCryptoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DownVoteCryptoResponse) XXX_Merge(src proto.Message)
- func (m *DownVoteCryptoResponse) XXX_Size() int
- func (m *DownVoteCryptoResponse) XXX_Unmarshal(b []byte) error
- type GetAllCryptoRequest
- func (*GetAllCryptoRequest) Descriptor() ([]byte, []int)
- func (*GetAllCryptoRequest) ProtoMessage()
- func (m *GetAllCryptoRequest) Reset()
- func (m *GetAllCryptoRequest) String() string
- func (m *GetAllCryptoRequest) XXX_DiscardUnknown()
- func (m *GetAllCryptoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetAllCryptoRequest) XXX_Merge(src proto.Message)
- func (m *GetAllCryptoRequest) XXX_Size() int
- func (m *GetAllCryptoRequest) XXX_Unmarshal(b []byte) error
- type GetAllCryptoResponse
- func (*GetAllCryptoResponse) Descriptor() ([]byte, []int)
- func (m *GetAllCryptoResponse) GetCrypto() *Crypto
- func (*GetAllCryptoResponse) ProtoMessage()
- func (m *GetAllCryptoResponse) Reset()
- func (m *GetAllCryptoResponse) String() string
- func (m *GetAllCryptoResponse) XXX_DiscardUnknown()
- func (m *GetAllCryptoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetAllCryptoResponse) XXX_Merge(src proto.Message)
- func (m *GetAllCryptoResponse) XXX_Size() int
- func (m *GetAllCryptoResponse) XXX_Unmarshal(b []byte) error
- type GetByIdCryptoRequest
- func (*GetByIdCryptoRequest) Descriptor() ([]byte, []int)
- func (m *GetByIdCryptoRequest) GetId() string
- func (*GetByIdCryptoRequest) ProtoMessage()
- func (m *GetByIdCryptoRequest) Reset()
- func (m *GetByIdCryptoRequest) String() string
- func (m *GetByIdCryptoRequest) XXX_DiscardUnknown()
- func (m *GetByIdCryptoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetByIdCryptoRequest) XXX_Merge(src proto.Message)
- func (m *GetByIdCryptoRequest) XXX_Size() int
- func (m *GetByIdCryptoRequest) XXX_Unmarshal(b []byte) error
- type GetByIdCryptoResponse
- func (*GetByIdCryptoResponse) Descriptor() ([]byte, []int)
- func (m *GetByIdCryptoResponse) GetCrypto() *Crypto
- func (*GetByIdCryptoResponse) ProtoMessage()
- func (m *GetByIdCryptoResponse) Reset()
- func (m *GetByIdCryptoResponse) String() string
- func (m *GetByIdCryptoResponse) XXX_DiscardUnknown()
- func (m *GetByIdCryptoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetByIdCryptoResponse) XXX_Merge(src proto.Message)
- func (m *GetByIdCryptoResponse) XXX_Size() int
- func (m *GetByIdCryptoResponse) XXX_Unmarshal(b []byte) error
- type UnimplementedCryptoProtoServer
- func (*UnimplementedCryptoProtoServer) CreateNewCrypto(ctx context.Context, req *Crypto) (*CreateCryptoResponse, error)
- func (*UnimplementedCryptoProtoServer) DeleteCrypto(ctx context.Context, req *DeleteCryptoRequest) (*DeleteCryptoResponse, error)
- func (*UnimplementedCryptoProtoServer) DownVoteCrypto(ctx context.Context, req *DownVoteCryptoRequest) (*DownVoteCryptoResponse, error)
- func (*UnimplementedCryptoProtoServer) GetAllCrypto(req *GetAllCryptoRequest, srv CryptoProto_GetAllCryptoServer) error
- func (*UnimplementedCryptoProtoServer) GetByIdCrypto(ctx context.Context, req *GetByIdCryptoRequest) (*GetByIdCryptoResponse, error)
- func (*UnimplementedCryptoProtoServer) UpVoteCrypto(ctx context.Context, req *UpVoteCryptoRequest) (*UpVoteCryptoResponse, error)
- type UpVoteCryptoRequest
- func (*UpVoteCryptoRequest) Descriptor() ([]byte, []int)
- func (m *UpVoteCryptoRequest) GetId() string
- func (*UpVoteCryptoRequest) ProtoMessage()
- func (m *UpVoteCryptoRequest) Reset()
- func (m *UpVoteCryptoRequest) String() string
- func (m *UpVoteCryptoRequest) XXX_DiscardUnknown()
- func (m *UpVoteCryptoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpVoteCryptoRequest) XXX_Merge(src proto.Message)
- func (m *UpVoteCryptoRequest) XXX_Size() int
- func (m *UpVoteCryptoRequest) XXX_Unmarshal(b []byte) error
- type UpVoteCryptoResponse
- func (*UpVoteCryptoResponse) Descriptor() ([]byte, []int)
- func (m *UpVoteCryptoResponse) GetUpvote() bool
- func (*UpVoteCryptoResponse) ProtoMessage()
- func (m *UpVoteCryptoResponse) Reset()
- func (m *UpVoteCryptoResponse) String() string
- func (m *UpVoteCryptoResponse) XXX_DiscardUnknown()
- func (m *UpVoteCryptoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpVoteCryptoResponse) XXX_Merge(src proto.Message)
- func (m *UpVoteCryptoResponse) XXX_Size() int
- func (m *UpVoteCryptoResponse) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterCryptoProtoServer ¶
func RegisterCryptoProtoServer(s *grpc.Server, srv CryptoProtoServer)
Types ¶
type CreateCryptoResponse ¶
type CreateCryptoResponse struct { Crypto *Crypto `protobuf:"bytes,1,opt,name=crypto,proto3" json:"crypto,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateCryptoResponse) Descriptor ¶
func (*CreateCryptoResponse) Descriptor() ([]byte, []int)
func (*CreateCryptoResponse) GetCrypto ¶
func (m *CreateCryptoResponse) GetCrypto() *Crypto
func (*CreateCryptoResponse) ProtoMessage ¶
func (*CreateCryptoResponse) ProtoMessage()
func (*CreateCryptoResponse) Reset ¶
func (m *CreateCryptoResponse) Reset()
func (*CreateCryptoResponse) String ¶
func (m *CreateCryptoResponse) String() string
func (*CreateCryptoResponse) XXX_DiscardUnknown ¶
func (m *CreateCryptoResponse) XXX_DiscardUnknown()
func (*CreateCryptoResponse) XXX_Marshal ¶
func (m *CreateCryptoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateCryptoResponse) XXX_Merge ¶
func (m *CreateCryptoResponse) XXX_Merge(src proto.Message)
func (*CreateCryptoResponse) XXX_Size ¶
func (m *CreateCryptoResponse) XXX_Size() int
func (*CreateCryptoResponse) XXX_Unmarshal ¶
func (m *CreateCryptoResponse) XXX_Unmarshal(b []byte) error
type Crypto ¶
type Crypto 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"` Upvote int64 `protobuf:"varint,3,opt,name=upvote,proto3" json:"upvote,omitempty"` Downvote int64 `protobuf:"varint,4,opt,name=downvote,proto3" json:"downvote,omitempty"` Totalscore int64 `protobuf:"varint,5,opt,name=totalscore,proto3" json:"totalscore,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Crypto) Descriptor ¶
func (*Crypto) GetDownvote ¶
func (*Crypto) GetTotalscore ¶
func (*Crypto) ProtoMessage ¶
func (*Crypto) ProtoMessage()
func (*Crypto) XXX_DiscardUnknown ¶
func (m *Crypto) XXX_DiscardUnknown()
func (*Crypto) XXX_Marshal ¶
func (*Crypto) XXX_Unmarshal ¶
type CryptoProtoClient ¶
type CryptoProtoClient interface { CreateNewCrypto(ctx context.Context, in *Crypto, opts ...grpc.CallOption) (*CreateCryptoResponse, error) GetByIdCrypto(ctx context.Context, in *GetByIdCryptoRequest, opts ...grpc.CallOption) (*GetByIdCryptoResponse, error) GetAllCrypto(ctx context.Context, in *GetAllCryptoRequest, opts ...grpc.CallOption) (CryptoProto_GetAllCryptoClient, error) UpVoteCrypto(ctx context.Context, in *UpVoteCryptoRequest, opts ...grpc.CallOption) (*UpVoteCryptoResponse, error) DownVoteCrypto(ctx context.Context, in *DownVoteCryptoRequest, opts ...grpc.CallOption) (*DownVoteCryptoResponse, error) DeleteCrypto(ctx context.Context, in *DeleteCryptoRequest, opts ...grpc.CallOption) (*DeleteCryptoResponse, error) }
CryptoProtoClient is the client API for CryptoProto service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewCryptoProtoClient ¶
func NewCryptoProtoClient(cc *grpc.ClientConn) CryptoProtoClient
type CryptoProtoServer ¶
type CryptoProtoServer interface { CreateNewCrypto(context.Context, *Crypto) (*CreateCryptoResponse, error) GetByIdCrypto(context.Context, *GetByIdCryptoRequest) (*GetByIdCryptoResponse, error) GetAllCrypto(*GetAllCryptoRequest, CryptoProto_GetAllCryptoServer) error UpVoteCrypto(context.Context, *UpVoteCryptoRequest) (*UpVoteCryptoResponse, error) DownVoteCrypto(context.Context, *DownVoteCryptoRequest) (*DownVoteCryptoResponse, error) DeleteCrypto(context.Context, *DeleteCryptoRequest) (*DeleteCryptoResponse, error) }
CryptoProtoServer is the server API for CryptoProto service.
type CryptoProto_GetAllCryptoClient ¶
type CryptoProto_GetAllCryptoClient interface { Recv() (*GetAllCryptoResponse, error) grpc.ClientStream }
type CryptoProto_GetAllCryptoServer ¶
type CryptoProto_GetAllCryptoServer interface { Send(*GetAllCryptoResponse) error grpc.ServerStream }
type DeleteCryptoRequest ¶
type DeleteCryptoRequest 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 (*DeleteCryptoRequest) Descriptor ¶
func (*DeleteCryptoRequest) Descriptor() ([]byte, []int)
func (*DeleteCryptoRequest) GetId ¶
func (m *DeleteCryptoRequest) GetId() string
func (*DeleteCryptoRequest) ProtoMessage ¶
func (*DeleteCryptoRequest) ProtoMessage()
func (*DeleteCryptoRequest) Reset ¶
func (m *DeleteCryptoRequest) Reset()
func (*DeleteCryptoRequest) String ¶
func (m *DeleteCryptoRequest) String() string
func (*DeleteCryptoRequest) XXX_DiscardUnknown ¶
func (m *DeleteCryptoRequest) XXX_DiscardUnknown()
func (*DeleteCryptoRequest) XXX_Marshal ¶
func (m *DeleteCryptoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteCryptoRequest) XXX_Merge ¶
func (m *DeleteCryptoRequest) XXX_Merge(src proto.Message)
func (*DeleteCryptoRequest) XXX_Size ¶
func (m *DeleteCryptoRequest) XXX_Size() int
func (*DeleteCryptoRequest) XXX_Unmarshal ¶
func (m *DeleteCryptoRequest) XXX_Unmarshal(b []byte) error
type DeleteCryptoResponse ¶
type DeleteCryptoResponse struct { Delete bool `protobuf:"varint,1,opt,name=delete,proto3" json:"delete,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteCryptoResponse) Descriptor ¶
func (*DeleteCryptoResponse) Descriptor() ([]byte, []int)
func (*DeleteCryptoResponse) GetDelete ¶
func (m *DeleteCryptoResponse) GetDelete() bool
func (*DeleteCryptoResponse) ProtoMessage ¶
func (*DeleteCryptoResponse) ProtoMessage()
func (*DeleteCryptoResponse) Reset ¶
func (m *DeleteCryptoResponse) Reset()
func (*DeleteCryptoResponse) String ¶
func (m *DeleteCryptoResponse) String() string
func (*DeleteCryptoResponse) XXX_DiscardUnknown ¶
func (m *DeleteCryptoResponse) XXX_DiscardUnknown()
func (*DeleteCryptoResponse) XXX_Marshal ¶
func (m *DeleteCryptoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteCryptoResponse) XXX_Merge ¶
func (m *DeleteCryptoResponse) XXX_Merge(src proto.Message)
func (*DeleteCryptoResponse) XXX_Size ¶
func (m *DeleteCryptoResponse) XXX_Size() int
func (*DeleteCryptoResponse) XXX_Unmarshal ¶
func (m *DeleteCryptoResponse) XXX_Unmarshal(b []byte) error
type DownVoteCryptoRequest ¶
type DownVoteCryptoRequest 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 (*DownVoteCryptoRequest) Descriptor ¶
func (*DownVoteCryptoRequest) Descriptor() ([]byte, []int)
func (*DownVoteCryptoRequest) GetId ¶
func (m *DownVoteCryptoRequest) GetId() string
func (*DownVoteCryptoRequest) ProtoMessage ¶
func (*DownVoteCryptoRequest) ProtoMessage()
func (*DownVoteCryptoRequest) Reset ¶
func (m *DownVoteCryptoRequest) Reset()
func (*DownVoteCryptoRequest) String ¶
func (m *DownVoteCryptoRequest) String() string
func (*DownVoteCryptoRequest) XXX_DiscardUnknown ¶
func (m *DownVoteCryptoRequest) XXX_DiscardUnknown()
func (*DownVoteCryptoRequest) XXX_Marshal ¶
func (m *DownVoteCryptoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DownVoteCryptoRequest) XXX_Merge ¶
func (m *DownVoteCryptoRequest) XXX_Merge(src proto.Message)
func (*DownVoteCryptoRequest) XXX_Size ¶
func (m *DownVoteCryptoRequest) XXX_Size() int
func (*DownVoteCryptoRequest) XXX_Unmarshal ¶
func (m *DownVoteCryptoRequest) XXX_Unmarshal(b []byte) error
type DownVoteCryptoResponse ¶
type DownVoteCryptoResponse struct { Downvote bool `protobuf:"varint,1,opt,name=downvote,proto3" json:"downvote,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DownVoteCryptoResponse) Descriptor ¶
func (*DownVoteCryptoResponse) Descriptor() ([]byte, []int)
func (*DownVoteCryptoResponse) GetDownvote ¶
func (m *DownVoteCryptoResponse) GetDownvote() bool
func (*DownVoteCryptoResponse) ProtoMessage ¶
func (*DownVoteCryptoResponse) ProtoMessage()
func (*DownVoteCryptoResponse) Reset ¶
func (m *DownVoteCryptoResponse) Reset()
func (*DownVoteCryptoResponse) String ¶
func (m *DownVoteCryptoResponse) String() string
func (*DownVoteCryptoResponse) XXX_DiscardUnknown ¶
func (m *DownVoteCryptoResponse) XXX_DiscardUnknown()
func (*DownVoteCryptoResponse) XXX_Marshal ¶
func (m *DownVoteCryptoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DownVoteCryptoResponse) XXX_Merge ¶
func (m *DownVoteCryptoResponse) XXX_Merge(src proto.Message)
func (*DownVoteCryptoResponse) XXX_Size ¶
func (m *DownVoteCryptoResponse) XXX_Size() int
func (*DownVoteCryptoResponse) XXX_Unmarshal ¶
func (m *DownVoteCryptoResponse) XXX_Unmarshal(b []byte) error
type GetAllCryptoRequest ¶
type GetAllCryptoRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetAllCryptoRequest) Descriptor ¶
func (*GetAllCryptoRequest) Descriptor() ([]byte, []int)
func (*GetAllCryptoRequest) ProtoMessage ¶
func (*GetAllCryptoRequest) ProtoMessage()
func (*GetAllCryptoRequest) Reset ¶
func (m *GetAllCryptoRequest) Reset()
func (*GetAllCryptoRequest) String ¶
func (m *GetAllCryptoRequest) String() string
func (*GetAllCryptoRequest) XXX_DiscardUnknown ¶
func (m *GetAllCryptoRequest) XXX_DiscardUnknown()
func (*GetAllCryptoRequest) XXX_Marshal ¶
func (m *GetAllCryptoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetAllCryptoRequest) XXX_Merge ¶
func (m *GetAllCryptoRequest) XXX_Merge(src proto.Message)
func (*GetAllCryptoRequest) XXX_Size ¶
func (m *GetAllCryptoRequest) XXX_Size() int
func (*GetAllCryptoRequest) XXX_Unmarshal ¶
func (m *GetAllCryptoRequest) XXX_Unmarshal(b []byte) error
type GetAllCryptoResponse ¶
type GetAllCryptoResponse struct { Crypto *Crypto `protobuf:"bytes,1,opt,name=crypto,proto3" json:"crypto,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetAllCryptoResponse) Descriptor ¶
func (*GetAllCryptoResponse) Descriptor() ([]byte, []int)
func (*GetAllCryptoResponse) GetCrypto ¶
func (m *GetAllCryptoResponse) GetCrypto() *Crypto
func (*GetAllCryptoResponse) ProtoMessage ¶
func (*GetAllCryptoResponse) ProtoMessage()
func (*GetAllCryptoResponse) Reset ¶
func (m *GetAllCryptoResponse) Reset()
func (*GetAllCryptoResponse) String ¶
func (m *GetAllCryptoResponse) String() string
func (*GetAllCryptoResponse) XXX_DiscardUnknown ¶
func (m *GetAllCryptoResponse) XXX_DiscardUnknown()
func (*GetAllCryptoResponse) XXX_Marshal ¶
func (m *GetAllCryptoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetAllCryptoResponse) XXX_Merge ¶
func (m *GetAllCryptoResponse) XXX_Merge(src proto.Message)
func (*GetAllCryptoResponse) XXX_Size ¶
func (m *GetAllCryptoResponse) XXX_Size() int
func (*GetAllCryptoResponse) XXX_Unmarshal ¶
func (m *GetAllCryptoResponse) XXX_Unmarshal(b []byte) error
type GetByIdCryptoRequest ¶
type GetByIdCryptoRequest 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 (*GetByIdCryptoRequest) Descriptor ¶
func (*GetByIdCryptoRequest) Descriptor() ([]byte, []int)
func (*GetByIdCryptoRequest) GetId ¶
func (m *GetByIdCryptoRequest) GetId() string
func (*GetByIdCryptoRequest) ProtoMessage ¶
func (*GetByIdCryptoRequest) ProtoMessage()
func (*GetByIdCryptoRequest) Reset ¶
func (m *GetByIdCryptoRequest) Reset()
func (*GetByIdCryptoRequest) String ¶
func (m *GetByIdCryptoRequest) String() string
func (*GetByIdCryptoRequest) XXX_DiscardUnknown ¶
func (m *GetByIdCryptoRequest) XXX_DiscardUnknown()
func (*GetByIdCryptoRequest) XXX_Marshal ¶
func (m *GetByIdCryptoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetByIdCryptoRequest) XXX_Merge ¶
func (m *GetByIdCryptoRequest) XXX_Merge(src proto.Message)
func (*GetByIdCryptoRequest) XXX_Size ¶
func (m *GetByIdCryptoRequest) XXX_Size() int
func (*GetByIdCryptoRequest) XXX_Unmarshal ¶
func (m *GetByIdCryptoRequest) XXX_Unmarshal(b []byte) error
type GetByIdCryptoResponse ¶
type GetByIdCryptoResponse struct { Crypto *Crypto `protobuf:"bytes,1,opt,name=crypto,proto3" json:"crypto,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetByIdCryptoResponse) Descriptor ¶
func (*GetByIdCryptoResponse) Descriptor() ([]byte, []int)
func (*GetByIdCryptoResponse) GetCrypto ¶
func (m *GetByIdCryptoResponse) GetCrypto() *Crypto
func (*GetByIdCryptoResponse) ProtoMessage ¶
func (*GetByIdCryptoResponse) ProtoMessage()
func (*GetByIdCryptoResponse) Reset ¶
func (m *GetByIdCryptoResponse) Reset()
func (*GetByIdCryptoResponse) String ¶
func (m *GetByIdCryptoResponse) String() string
func (*GetByIdCryptoResponse) XXX_DiscardUnknown ¶
func (m *GetByIdCryptoResponse) XXX_DiscardUnknown()
func (*GetByIdCryptoResponse) XXX_Marshal ¶
func (m *GetByIdCryptoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetByIdCryptoResponse) XXX_Merge ¶
func (m *GetByIdCryptoResponse) XXX_Merge(src proto.Message)
func (*GetByIdCryptoResponse) XXX_Size ¶
func (m *GetByIdCryptoResponse) XXX_Size() int
func (*GetByIdCryptoResponse) XXX_Unmarshal ¶
func (m *GetByIdCryptoResponse) XXX_Unmarshal(b []byte) error
type UnimplementedCryptoProtoServer ¶
type UnimplementedCryptoProtoServer struct { }
UnimplementedCryptoProtoServer can be embedded to have forward compatible implementations.
func (*UnimplementedCryptoProtoServer) CreateNewCrypto ¶
func (*UnimplementedCryptoProtoServer) CreateNewCrypto(ctx context.Context, req *Crypto) (*CreateCryptoResponse, error)
func (*UnimplementedCryptoProtoServer) DeleteCrypto ¶
func (*UnimplementedCryptoProtoServer) DeleteCrypto(ctx context.Context, req *DeleteCryptoRequest) (*DeleteCryptoResponse, error)
func (*UnimplementedCryptoProtoServer) DownVoteCrypto ¶
func (*UnimplementedCryptoProtoServer) DownVoteCrypto(ctx context.Context, req *DownVoteCryptoRequest) (*DownVoteCryptoResponse, error)
func (*UnimplementedCryptoProtoServer) GetAllCrypto ¶
func (*UnimplementedCryptoProtoServer) GetAllCrypto(req *GetAllCryptoRequest, srv CryptoProto_GetAllCryptoServer) error
func (*UnimplementedCryptoProtoServer) GetByIdCrypto ¶
func (*UnimplementedCryptoProtoServer) GetByIdCrypto(ctx context.Context, req *GetByIdCryptoRequest) (*GetByIdCryptoResponse, error)
func (*UnimplementedCryptoProtoServer) UpVoteCrypto ¶
func (*UnimplementedCryptoProtoServer) UpVoteCrypto(ctx context.Context, req *UpVoteCryptoRequest) (*UpVoteCryptoResponse, error)
type UpVoteCryptoRequest ¶
type UpVoteCryptoRequest 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 (*UpVoteCryptoRequest) Descriptor ¶
func (*UpVoteCryptoRequest) Descriptor() ([]byte, []int)
func (*UpVoteCryptoRequest) GetId ¶
func (m *UpVoteCryptoRequest) GetId() string
func (*UpVoteCryptoRequest) ProtoMessage ¶
func (*UpVoteCryptoRequest) ProtoMessage()
func (*UpVoteCryptoRequest) Reset ¶
func (m *UpVoteCryptoRequest) Reset()
func (*UpVoteCryptoRequest) String ¶
func (m *UpVoteCryptoRequest) String() string
func (*UpVoteCryptoRequest) XXX_DiscardUnknown ¶
func (m *UpVoteCryptoRequest) XXX_DiscardUnknown()
func (*UpVoteCryptoRequest) XXX_Marshal ¶
func (m *UpVoteCryptoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpVoteCryptoRequest) XXX_Merge ¶
func (m *UpVoteCryptoRequest) XXX_Merge(src proto.Message)
func (*UpVoteCryptoRequest) XXX_Size ¶
func (m *UpVoteCryptoRequest) XXX_Size() int
func (*UpVoteCryptoRequest) XXX_Unmarshal ¶
func (m *UpVoteCryptoRequest) XXX_Unmarshal(b []byte) error
type UpVoteCryptoResponse ¶
type UpVoteCryptoResponse struct { Upvote bool `protobuf:"varint,1,opt,name=upvote,proto3" json:"upvote,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpVoteCryptoResponse) Descriptor ¶
func (*UpVoteCryptoResponse) Descriptor() ([]byte, []int)
func (*UpVoteCryptoResponse) GetUpvote ¶
func (m *UpVoteCryptoResponse) GetUpvote() bool
func (*UpVoteCryptoResponse) ProtoMessage ¶
func (*UpVoteCryptoResponse) ProtoMessage()
func (*UpVoteCryptoResponse) Reset ¶
func (m *UpVoteCryptoResponse) Reset()
func (*UpVoteCryptoResponse) String ¶
func (m *UpVoteCryptoResponse) String() string
func (*UpVoteCryptoResponse) XXX_DiscardUnknown ¶
func (m *UpVoteCryptoResponse) XXX_DiscardUnknown()
func (*UpVoteCryptoResponse) XXX_Marshal ¶
func (m *UpVoteCryptoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpVoteCryptoResponse) XXX_Merge ¶
func (m *UpVoteCryptoResponse) XXX_Merge(src proto.Message)
func (*UpVoteCryptoResponse) XXX_Size ¶
func (m *UpVoteCryptoResponse) XXX_Size() int
func (*UpVoteCryptoResponse) XXX_Unmarshal ¶
func (m *UpVoteCryptoResponse) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.