Documentation ¶
Index ¶
- Variables
- func RegisterLawRpcServiceServer(s grpc.ServiceRegistrar, srv LawRpcServiceServer)
- type GiantWhaleWalletAddressLawRep
- func (*GiantWhaleWalletAddressLawRep) Descriptor() ([]byte, []int)deprecated
- func (x *GiantWhaleWalletAddressLawRep) GetCode() ReturnCode
- func (x *GiantWhaleWalletAddressLawRep) GetMsg() string
- func (x *GiantWhaleWalletAddressLawRep) GetNftActivity() uint64
- func (x *GiantWhaleWalletAddressLawRep) GetNftValue() string
- func (x *GiantWhaleWalletAddressLawRep) GetTokenActivity() uint64
- func (x *GiantWhaleWalletAddressLawRep) GetTokenValue() string
- func (x *GiantWhaleWalletAddressLawRep) GetTotalNft() uint64
- func (x *GiantWhaleWalletAddressLawRep) GetTotalToken() uint64
- func (*GiantWhaleWalletAddressLawRep) ProtoMessage()
- func (x *GiantWhaleWalletAddressLawRep) ProtoReflect() protoreflect.Message
- func (x *GiantWhaleWalletAddressLawRep) Reset()
- func (x *GiantWhaleWalletAddressLawRep) String() string
- type GiantWhaleWalletAddressLawReq
- func (*GiantWhaleWalletAddressLawReq) Descriptor() ([]byte, []int)deprecated
- func (x *GiantWhaleWalletAddressLawReq) GetConsumerToken() string
- func (*GiantWhaleWalletAddressLawReq) ProtoMessage()
- func (x *GiantWhaleWalletAddressLawReq) ProtoReflect() protoreflect.Message
- func (x *GiantWhaleWalletAddressLawReq) Reset()
- func (x *GiantWhaleWalletAddressLawReq) String() string
- type LawRpcServiceClient
- type LawRpcServiceServer
- type NftCollectionsLawRep
- func (*NftCollectionsLawRep) Descriptor() ([]byte, []int)deprecated
- func (x *NftCollectionsLawRep) GetCode() ReturnCode
- func (x *NftCollectionsLawRep) GetCollectionAverageTransactionPrice() string
- func (x *NftCollectionsLawRep) GetCollectionAverageTransactions() uint64
- func (x *NftCollectionsLawRep) GetCollectionAverageValue() string
- func (x *NftCollectionsLawRep) GetCollectionDailyTransactionPrice() string
- func (x *NftCollectionsLawRep) GetCollectionDailyTransactions() uint64
- func (x *NftCollectionsLawRep) GetCollectionHolderAddress() uint64
- func (x *NftCollectionsLawRep) GetMsg() string
- func (*NftCollectionsLawRep) ProtoMessage()
- func (x *NftCollectionsLawRep) ProtoReflect() protoreflect.Message
- func (x *NftCollectionsLawRep) Reset()
- func (x *NftCollectionsLawRep) String() string
- type NftCollectionsLawReq
- func (*NftCollectionsLawReq) Descriptor() ([]byte, []int)deprecated
- func (x *NftCollectionsLawReq) GetConsumerToken() string
- func (*NftCollectionsLawReq) ProtoMessage()
- func (x *NftCollectionsLawReq) ProtoReflect() protoreflect.Message
- func (x *NftCollectionsLawReq) Reset()
- func (x *NftCollectionsLawReq) String() string
- type ReturnCode
- type SingleNftLawRep
- func (*SingleNftLawRep) Descriptor() ([]byte, []int)deprecated
- func (x *SingleNftLawRep) GetCode() ReturnCode
- func (x *SingleNftLawRep) GetMsg() string
- func (x *SingleNftLawRep) GetNftAverageTransactionPrice() string
- func (x *SingleNftLawRep) GetNftDailyTransactionPrice() string
- func (x *SingleNftLawRep) GetNftDailyTransactions() uint64
- func (x *SingleNftLawRep) GetNftLatestPrice() string
- func (x *SingleNftLawRep) GetNftTotalTransactions() uint64
- func (*SingleNftLawRep) ProtoMessage()
- func (x *SingleNftLawRep) ProtoReflect() protoreflect.Message
- func (x *SingleNftLawRep) Reset()
- func (x *SingleNftLawRep) String() string
- type SingleNftLawReq
- type UnimplementedLawRpcServiceServer
- func (UnimplementedLawRpcServiceServer) GetGiantWhaleWalletAddressLaw(context.Context, *GiantWhaleWalletAddressLawReq) (*GiantWhaleWalletAddressLawRep, error)
- func (UnimplementedLawRpcServiceServer) GetNftCollectionsLaw(context.Context, *NftCollectionsLawReq) (*NftCollectionsLawRep, error)
- func (UnimplementedLawRpcServiceServer) GetSingleNftLaw(context.Context, *SingleNftLawReq) (*SingleNftLawRep, error)
- type UnsafeLawRpcServiceServer
Constants ¶
This section is empty.
Variables ¶
var ( ReturnCode_name = map[int32]string{ 0: "SUCCESS", 1: "ERROR", } ReturnCode_value = map[string]int32{ "SUCCESS": 0, "ERROR": 1, } )
Enum value maps for ReturnCode.
var File_law_proto protoreflect.FileDescriptor
var LawRpcService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "fe_law.protobuf.LawRpcService", HandlerType: (*LawRpcServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetGiantWhaleWalletAddressLaw", Handler: _LawRpcService_GetGiantWhaleWalletAddressLaw_Handler, }, { MethodName: "GetNftCollectionsLaw", Handler: _LawRpcService_GetNftCollectionsLaw_Handler, }, { MethodName: "GetSingleNftLaw", Handler: _LawRpcService_GetSingleNftLaw_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "law.proto", }
LawRpcService_ServiceDesc is the grpc.ServiceDesc for LawRpcService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterLawRpcServiceServer ¶
func RegisterLawRpcServiceServer(s grpc.ServiceRegistrar, srv LawRpcServiceServer)
Types ¶
type GiantWhaleWalletAddressLawRep ¶
type GiantWhaleWalletAddressLawRep struct { Code ReturnCode `protobuf:"varint,1,opt,name=code,proto3,enum=fe_law.protobuf.ReturnCode" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` TokenValue string `protobuf:"bytes,3,opt,name=token_value,json=tokenValue,proto3" json:"token_value,omitempty"` NftValue string `protobuf:"bytes,4,opt,name=nft_value,json=nftValue,proto3" json:"nft_value,omitempty"` TokenActivity uint64 `protobuf:"varint,5,opt,name=token_activity,json=tokenActivity,proto3" json:"token_activity,omitempty"` NftActivity uint64 `protobuf:"varint,6,opt,name=nft_activity,json=nftActivity,proto3" json:"nft_activity,omitempty"` TotalToken uint64 `protobuf:"varint,7,opt,name=total_token,json=totalToken,proto3" json:"total_token,omitempty"` TotalNft uint64 `protobuf:"varint,8,opt,name=total_nft,json=totalNft,proto3" json:"total_nft,omitempty"` // contains filtered or unexported fields }
func (*GiantWhaleWalletAddressLawRep) Descriptor
deprecated
func (*GiantWhaleWalletAddressLawRep) Descriptor() ([]byte, []int)
Deprecated: Use GiantWhaleWalletAddressLawRep.ProtoReflect.Descriptor instead.
func (*GiantWhaleWalletAddressLawRep) GetCode ¶
func (x *GiantWhaleWalletAddressLawRep) GetCode() ReturnCode
func (*GiantWhaleWalletAddressLawRep) GetMsg ¶
func (x *GiantWhaleWalletAddressLawRep) GetMsg() string
func (*GiantWhaleWalletAddressLawRep) GetNftActivity ¶
func (x *GiantWhaleWalletAddressLawRep) GetNftActivity() uint64
func (*GiantWhaleWalletAddressLawRep) GetNftValue ¶
func (x *GiantWhaleWalletAddressLawRep) GetNftValue() string
func (*GiantWhaleWalletAddressLawRep) GetTokenActivity ¶
func (x *GiantWhaleWalletAddressLawRep) GetTokenActivity() uint64
func (*GiantWhaleWalletAddressLawRep) GetTokenValue ¶
func (x *GiantWhaleWalletAddressLawRep) GetTokenValue() string
func (*GiantWhaleWalletAddressLawRep) GetTotalNft ¶
func (x *GiantWhaleWalletAddressLawRep) GetTotalNft() uint64
func (*GiantWhaleWalletAddressLawRep) GetTotalToken ¶
func (x *GiantWhaleWalletAddressLawRep) GetTotalToken() uint64
func (*GiantWhaleWalletAddressLawRep) ProtoMessage ¶
func (*GiantWhaleWalletAddressLawRep) ProtoMessage()
func (*GiantWhaleWalletAddressLawRep) ProtoReflect ¶
func (x *GiantWhaleWalletAddressLawRep) ProtoReflect() protoreflect.Message
func (*GiantWhaleWalletAddressLawRep) Reset ¶
func (x *GiantWhaleWalletAddressLawRep) Reset()
func (*GiantWhaleWalletAddressLawRep) String ¶
func (x *GiantWhaleWalletAddressLawRep) String() string
type GiantWhaleWalletAddressLawReq ¶
type GiantWhaleWalletAddressLawReq struct { ConsumerToken string `protobuf:"bytes,1,opt,name=consumer_token,json=consumerToken,proto3" json:"consumer_token,omitempty"` // contains filtered or unexported fields }
func (*GiantWhaleWalletAddressLawReq) Descriptor
deprecated
func (*GiantWhaleWalletAddressLawReq) Descriptor() ([]byte, []int)
Deprecated: Use GiantWhaleWalletAddressLawReq.ProtoReflect.Descriptor instead.
func (*GiantWhaleWalletAddressLawReq) GetConsumerToken ¶
func (x *GiantWhaleWalletAddressLawReq) GetConsumerToken() string
func (*GiantWhaleWalletAddressLawReq) ProtoMessage ¶
func (*GiantWhaleWalletAddressLawReq) ProtoMessage()
func (*GiantWhaleWalletAddressLawReq) ProtoReflect ¶
func (x *GiantWhaleWalletAddressLawReq) ProtoReflect() protoreflect.Message
func (*GiantWhaleWalletAddressLawReq) Reset ¶
func (x *GiantWhaleWalletAddressLawReq) Reset()
func (*GiantWhaleWalletAddressLawReq) String ¶
func (x *GiantWhaleWalletAddressLawReq) String() string
type LawRpcServiceClient ¶
type LawRpcServiceClient interface { GetGiantWhaleWalletAddressLaw(ctx context.Context, in *GiantWhaleWalletAddressLawReq, opts ...grpc.CallOption) (*GiantWhaleWalletAddressLawRep, error) GetNftCollectionsLaw(ctx context.Context, in *NftCollectionsLawReq, opts ...grpc.CallOption) (*NftCollectionsLawRep, error) GetSingleNftLaw(ctx context.Context, in *SingleNftLawReq, opts ...grpc.CallOption) (*SingleNftLawRep, error) }
LawRpcServiceClient is the client API for LawRpcService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewLawRpcServiceClient ¶
func NewLawRpcServiceClient(cc grpc.ClientConnInterface) LawRpcServiceClient
type LawRpcServiceServer ¶
type LawRpcServiceServer interface { GetGiantWhaleWalletAddressLaw(context.Context, *GiantWhaleWalletAddressLawReq) (*GiantWhaleWalletAddressLawRep, error) GetNftCollectionsLaw(context.Context, *NftCollectionsLawReq) (*NftCollectionsLawRep, error) GetSingleNftLaw(context.Context, *SingleNftLawReq) (*SingleNftLawRep, error) }
LawRpcServiceServer is the server API for LawRpcService service. All implementations must embed UnimplementedLawRpcServiceServer for forward compatibility
type NftCollectionsLawRep ¶
type NftCollectionsLawRep struct { Code ReturnCode `protobuf:"varint,1,opt,name=code,proto3,enum=fe_law.protobuf.ReturnCode" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` CollectionAverageValue string `` /* 129-byte string literal not displayed */ CollectionAverageTransactions uint64 `` /* 151-byte string literal not displayed */ CollectionDailyTransactions uint64 `` /* 145-byte string literal not displayed */ CollectionHolderAddress uint64 `` /* 133-byte string literal not displayed */ CollectionAverageTransactionPrice string `` /* 162-byte string literal not displayed */ CollectionDailyTransactionPrice string `` /* 156-byte string literal not displayed */ // contains filtered or unexported fields }
func (*NftCollectionsLawRep) Descriptor
deprecated
func (*NftCollectionsLawRep) Descriptor() ([]byte, []int)
Deprecated: Use NftCollectionsLawRep.ProtoReflect.Descriptor instead.
func (*NftCollectionsLawRep) GetCode ¶
func (x *NftCollectionsLawRep) GetCode() ReturnCode
func (*NftCollectionsLawRep) GetCollectionAverageTransactionPrice ¶
func (x *NftCollectionsLawRep) GetCollectionAverageTransactionPrice() string
func (*NftCollectionsLawRep) GetCollectionAverageTransactions ¶
func (x *NftCollectionsLawRep) GetCollectionAverageTransactions() uint64
func (*NftCollectionsLawRep) GetCollectionAverageValue ¶
func (x *NftCollectionsLawRep) GetCollectionAverageValue() string
func (*NftCollectionsLawRep) GetCollectionDailyTransactionPrice ¶
func (x *NftCollectionsLawRep) GetCollectionDailyTransactionPrice() string
func (*NftCollectionsLawRep) GetCollectionDailyTransactions ¶
func (x *NftCollectionsLawRep) GetCollectionDailyTransactions() uint64
func (*NftCollectionsLawRep) GetCollectionHolderAddress ¶
func (x *NftCollectionsLawRep) GetCollectionHolderAddress() uint64
func (*NftCollectionsLawRep) GetMsg ¶
func (x *NftCollectionsLawRep) GetMsg() string
func (*NftCollectionsLawRep) ProtoMessage ¶
func (*NftCollectionsLawRep) ProtoMessage()
func (*NftCollectionsLawRep) ProtoReflect ¶
func (x *NftCollectionsLawRep) ProtoReflect() protoreflect.Message
func (*NftCollectionsLawRep) Reset ¶
func (x *NftCollectionsLawRep) Reset()
func (*NftCollectionsLawRep) String ¶
func (x *NftCollectionsLawRep) String() string
type NftCollectionsLawReq ¶
type NftCollectionsLawReq struct { ConsumerToken string `protobuf:"bytes,1,opt,name=consumer_token,json=consumerToken,proto3" json:"consumer_token,omitempty"` // contains filtered or unexported fields }
func (*NftCollectionsLawReq) Descriptor
deprecated
func (*NftCollectionsLawReq) Descriptor() ([]byte, []int)
Deprecated: Use NftCollectionsLawReq.ProtoReflect.Descriptor instead.
func (*NftCollectionsLawReq) GetConsumerToken ¶
func (x *NftCollectionsLawReq) GetConsumerToken() string
func (*NftCollectionsLawReq) ProtoMessage ¶
func (*NftCollectionsLawReq) ProtoMessage()
func (*NftCollectionsLawReq) ProtoReflect ¶
func (x *NftCollectionsLawReq) ProtoReflect() protoreflect.Message
func (*NftCollectionsLawReq) Reset ¶
func (x *NftCollectionsLawReq) Reset()
func (*NftCollectionsLawReq) String ¶
func (x *NftCollectionsLawReq) String() string
type ReturnCode ¶
type ReturnCode int32
const ( ReturnCode_SUCCESS ReturnCode = 0 ReturnCode_ERROR ReturnCode = 1 )
func (ReturnCode) Descriptor ¶
func (ReturnCode) Descriptor() protoreflect.EnumDescriptor
func (ReturnCode) Enum ¶
func (x ReturnCode) Enum() *ReturnCode
func (ReturnCode) EnumDescriptor
deprecated
func (ReturnCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use ReturnCode.Descriptor instead.
func (ReturnCode) Number ¶
func (x ReturnCode) Number() protoreflect.EnumNumber
func (ReturnCode) String ¶
func (x ReturnCode) String() string
func (ReturnCode) Type ¶
func (ReturnCode) Type() protoreflect.EnumType
type SingleNftLawRep ¶
type SingleNftLawRep struct { Code ReturnCode `protobuf:"varint,1,opt,name=code,proto3,enum=fe_law.protobuf.ReturnCode" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` NftTotalTransactions uint64 `protobuf:"varint,3,opt,name=nft_total_transactions,json=nftTotalTransactions,proto3" json:"nft_total_transactions,omitempty"` NftDailyTransactions uint64 `protobuf:"varint,4,opt,name=nft_daily_transactions,json=nftDailyTransactions,proto3" json:"nft_daily_transactions,omitempty"` NftLatestPrice string `protobuf:"bytes,5,opt,name=nft_latest_price,json=nftLatestPrice,proto3" json:"nft_latest_price,omitempty"` NftAverageTransactionPrice string `` /* 141-byte string literal not displayed */ NftDailyTransactionPrice string `` /* 135-byte string literal not displayed */ // contains filtered or unexported fields }
func (*SingleNftLawRep) Descriptor
deprecated
func (*SingleNftLawRep) Descriptor() ([]byte, []int)
Deprecated: Use SingleNftLawRep.ProtoReflect.Descriptor instead.
func (*SingleNftLawRep) GetCode ¶
func (x *SingleNftLawRep) GetCode() ReturnCode
func (*SingleNftLawRep) GetMsg ¶
func (x *SingleNftLawRep) GetMsg() string
func (*SingleNftLawRep) GetNftAverageTransactionPrice ¶
func (x *SingleNftLawRep) GetNftAverageTransactionPrice() string
func (*SingleNftLawRep) GetNftDailyTransactionPrice ¶
func (x *SingleNftLawRep) GetNftDailyTransactionPrice() string
func (*SingleNftLawRep) GetNftDailyTransactions ¶
func (x *SingleNftLawRep) GetNftDailyTransactions() uint64
func (*SingleNftLawRep) GetNftLatestPrice ¶
func (x *SingleNftLawRep) GetNftLatestPrice() string
func (*SingleNftLawRep) GetNftTotalTransactions ¶
func (x *SingleNftLawRep) GetNftTotalTransactions() uint64
func (*SingleNftLawRep) ProtoMessage ¶
func (*SingleNftLawRep) ProtoMessage()
func (*SingleNftLawRep) ProtoReflect ¶
func (x *SingleNftLawRep) ProtoReflect() protoreflect.Message
func (*SingleNftLawRep) Reset ¶
func (x *SingleNftLawRep) Reset()
func (*SingleNftLawRep) String ¶
func (x *SingleNftLawRep) String() string
type SingleNftLawReq ¶
type SingleNftLawReq struct { ConsumerToken string `protobuf:"bytes,1,opt,name=consumer_token,json=consumerToken,proto3" json:"consumer_token,omitempty"` // contains filtered or unexported fields }
func (*SingleNftLawReq) Descriptor
deprecated
func (*SingleNftLawReq) Descriptor() ([]byte, []int)
Deprecated: Use SingleNftLawReq.ProtoReflect.Descriptor instead.
func (*SingleNftLawReq) GetConsumerToken ¶
func (x *SingleNftLawReq) GetConsumerToken() string
func (*SingleNftLawReq) ProtoMessage ¶
func (*SingleNftLawReq) ProtoMessage()
func (*SingleNftLawReq) ProtoReflect ¶
func (x *SingleNftLawReq) ProtoReflect() protoreflect.Message
func (*SingleNftLawReq) Reset ¶
func (x *SingleNftLawReq) Reset()
func (*SingleNftLawReq) String ¶
func (x *SingleNftLawReq) String() string
type UnimplementedLawRpcServiceServer ¶
type UnimplementedLawRpcServiceServer struct { }
UnimplementedLawRpcServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedLawRpcServiceServer) GetGiantWhaleWalletAddressLaw ¶
func (UnimplementedLawRpcServiceServer) GetGiantWhaleWalletAddressLaw(context.Context, *GiantWhaleWalletAddressLawReq) (*GiantWhaleWalletAddressLawRep, error)
func (UnimplementedLawRpcServiceServer) GetNftCollectionsLaw ¶
func (UnimplementedLawRpcServiceServer) GetNftCollectionsLaw(context.Context, *NftCollectionsLawReq) (*NftCollectionsLawRep, error)
func (UnimplementedLawRpcServiceServer) GetSingleNftLaw ¶
func (UnimplementedLawRpcServiceServer) GetSingleNftLaw(context.Context, *SingleNftLawReq) (*SingleNftLawRep, error)
type UnsafeLawRpcServiceServer ¶
type UnsafeLawRpcServiceServer interface {
// contains filtered or unexported methods
}
UnsafeLawRpcServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LawRpcServiceServer will result in compilation errors.