registry

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Overview

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var File_layer_registry_data_spec_proto protoreflect.FileDescriptor
View Source
var File_layer_registry_genesis_proto protoreflect.FileDescriptor
View Source
var File_layer_registry_params_proto protoreflect.FileDescriptor
View Source
var File_layer_registry_query_proto protoreflect.FileDescriptor
View Source
var File_layer_registry_tx_proto protoreflect.FileDescriptor
View Source
var Msg_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "layer.registry.Msg",
	HandlerType: (*MsgServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "RegisterSpec",
			Handler:    _Msg_RegisterSpec_Handler,
		},
		{
			MethodName: "UpdateDataSpec",
			Handler:    _Msg_UpdateDataSpec_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "layer/registry/tx.proto",
}

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

View Source
var Query_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "layer.registry.Query",
	HandlerType: (*QueryServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Params",
			Handler:    _Query_Params_Handler,
		},
		{
			MethodName: "GetDataSpec",
			Handler:    _Query_GetDataSpec_Handler,
		},
		{
			MethodName: "DecodeQuerydata",
			Handler:    _Query_DecodeQuerydata_Handler,
		},
		{
			MethodName: "GenerateQuerydata",
			Handler:    _Query_GenerateQuerydata_Handler,
		},
		{
			MethodName: "DecodeValue",
			Handler:    _Query_DecodeValue_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "layer/registry/query.proto",
}

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

Functions

func RegisterMsgServer

func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)

func RegisterQueryServer

func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)

Types

type ABIComponent

type ABIComponent struct {

	// name
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// type
	FieldType string `protobuf:"bytes,2,opt,name=field_type,json=fieldType,proto3" json:"field_type,omitempty"`
	// consider taking this recursion out and make it once only
	NestedComponent []*ABIComponent `protobuf:"bytes,3,rep,name=nested_component,json=nestedComponent,proto3" json:"nested_component,omitempty"`
	// contains filtered or unexported fields
}

ABIComponent is a specification for how to interpret abi_components

func (*ABIComponent) Descriptor deprecated

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

Deprecated: Use ABIComponent.ProtoReflect.Descriptor instead.

func (*ABIComponent) GetFieldType

func (x *ABIComponent) GetFieldType() string

func (*ABIComponent) GetName

func (x *ABIComponent) GetName() string

func (*ABIComponent) GetNestedComponent

func (x *ABIComponent) GetNestedComponent() []*ABIComponent

func (*ABIComponent) ProtoMessage

func (*ABIComponent) ProtoMessage()

func (*ABIComponent) ProtoReflect

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

func (*ABIComponent) Reset

func (x *ABIComponent) Reset()

func (*ABIComponent) String

func (x *ABIComponent) String() string

type DataSpec

type DataSpec struct {

	// ipfs hash of the data spec
	DocumentHash string `protobuf:"bytes,1,opt,name=document_hash,json=documentHash,proto3" json:"document_hash,omitempty"`
	// the value's datatype for decoding the value
	ResponseValueType string `protobuf:"bytes,2,opt,name=response_value_type,json=responseValueType,proto3" json:"response_value_type,omitempty"`
	// the abi components for decoding
	AbiComponents []*ABIComponent `protobuf:"bytes,3,rep,name=abi_components,json=abiComponents,proto3" json:"abi_components,omitempty"`
	// how to aggregate the data (ie. average, median, mode, etc) for aggregating reports and arriving at final value
	AggregationMethod string `protobuf:"bytes,4,opt,name=aggregation_method,json=aggregationMethod,proto3" json:"aggregation_method,omitempty"`
	// address that originally registered the data spec
	Registrar string `protobuf:"bytes,5,opt,name=registrar,proto3" json:"registrar,omitempty"`
	// report_buffer_window specifies the duration of the time window following an initial report
	// during which additional reports can be submitted. This duration acts as a buffer, allowing
	// a collection of related reports in a defined time frame. The window ensures that all
	// pertinent reports are aggregated together before arriving at a final value. This defaults
	// to 0s if not specified.
	// extensions: treat as a golang time.duration, don't allow nil values, don't omit empty values
	ReportBlockWindow uint64 `protobuf:"varint,6,opt,name=report_block_window,json=reportBlockWindow,proto3" json:"report_block_window,omitempty"`
	// contains filtered or unexported fields
}

DataSpec is a specification for how to interpret and aggregate data

func (*DataSpec) Descriptor deprecated

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

Deprecated: Use DataSpec.ProtoReflect.Descriptor instead.

func (*DataSpec) GetAbiComponents

func (x *DataSpec) GetAbiComponents() []*ABIComponent

func (*DataSpec) GetAggregationMethod

func (x *DataSpec) GetAggregationMethod() string

func (*DataSpec) GetDocumentHash

func (x *DataSpec) GetDocumentHash() string

func (*DataSpec) GetRegistrar

func (x *DataSpec) GetRegistrar() string

func (*DataSpec) GetReportBlockWindow

func (x *DataSpec) GetReportBlockWindow() uint64

func (*DataSpec) GetResponseValueType

func (x *DataSpec) GetResponseValueType() string

func (*DataSpec) ProtoMessage

func (*DataSpec) ProtoMessage()

func (*DataSpec) ProtoReflect

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

func (*DataSpec) Reset

func (x *DataSpec) Reset()

func (*DataSpec) String

func (x *DataSpec) String() string

type GenesisState

type GenesisState struct {

	// params defines all the paramaters of the registry module.
	Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
	// Initial data specs
	Dataspec *DataSpec `protobuf:"bytes,2,opt,name=dataspec,proto3" json:"dataspec,omitempty"`
	// contains filtered or unexported fields
}

GenesisState defines the registry module's genesis state.

func (*GenesisState) Descriptor deprecated

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

Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.

func (*GenesisState) GetDataspec

func (x *GenesisState) GetDataspec() *DataSpec

func (*GenesisState) GetParams

func (x *GenesisState) GetParams() *Params

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) ProtoReflect

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

func (*GenesisState) Reset

func (x *GenesisState) Reset()

func (*GenesisState) String

func (x *GenesisState) String() string

type MsgClient

type MsgClient interface {
	// RegisterSpec defines a method for registering a new data specification.
	RegisterSpec(ctx context.Context, in *MsgRegisterSpec, opts ...grpc.CallOption) (*MsgRegisterSpecResponse, error)
	// UpdateDataSpec defines a method for updating an existing data specification.
	UpdateDataSpec(ctx context.Context, in *MsgUpdateDataSpec, opts ...grpc.CallOption) (*MsgUpdateDataSpecResponse, error)
}

MsgClient is the client API for Msg 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 NewMsgClient

func NewMsgClient(cc grpc.ClientConnInterface) MsgClient

type MsgRegisterSpec

type MsgRegisterSpec struct {

	// address that registers the data spec
	Registrar string `protobuf:"bytes,1,opt,name=registrar,proto3" json:"registrar,omitempty"`
	// name of the query type (ie. "SpotPrice")
	QueryType string `protobuf:"bytes,2,opt,name=query_type,json=queryType,proto3" json:"query_type,omitempty"`
	// data spec
	Spec *DataSpec `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec,omitempty"`
	// contains filtered or unexported fields
}

MsgRegisterSpec defines the Msg/RegisterSpec request type.

func (*MsgRegisterSpec) Descriptor deprecated

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

Deprecated: Use MsgRegisterSpec.ProtoReflect.Descriptor instead.

func (*MsgRegisterSpec) GetQueryType

func (x *MsgRegisterSpec) GetQueryType() string

func (*MsgRegisterSpec) GetRegistrar

func (x *MsgRegisterSpec) GetRegistrar() string

func (*MsgRegisterSpec) GetSpec

func (x *MsgRegisterSpec) GetSpec() *DataSpec

func (*MsgRegisterSpec) ProtoMessage

func (*MsgRegisterSpec) ProtoMessage()

func (*MsgRegisterSpec) ProtoReflect

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

func (*MsgRegisterSpec) Reset

func (x *MsgRegisterSpec) Reset()

func (*MsgRegisterSpec) String

func (x *MsgRegisterSpec) String() string

type MsgRegisterSpecResponse

type MsgRegisterSpecResponse struct {
	// contains filtered or unexported fields
}

MsgRegisterSpecResponse defines the Msg/RegisterSpec response type.

func (*MsgRegisterSpecResponse) Descriptor deprecated

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

Deprecated: Use MsgRegisterSpecResponse.ProtoReflect.Descriptor instead.

func (*MsgRegisterSpecResponse) ProtoMessage

func (*MsgRegisterSpecResponse) ProtoMessage()

func (*MsgRegisterSpecResponse) ProtoReflect

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

func (*MsgRegisterSpecResponse) Reset

func (x *MsgRegisterSpecResponse) Reset()

func (*MsgRegisterSpecResponse) String

func (x *MsgRegisterSpecResponse) String() string

type MsgServer

type MsgServer interface {
	// RegisterSpec defines a method for registering a new data specification.
	RegisterSpec(context.Context, *MsgRegisterSpec) (*MsgRegisterSpecResponse, error)
	// UpdateDataSpec defines a method for updating an existing data specification.
	UpdateDataSpec(context.Context, *MsgUpdateDataSpec) (*MsgUpdateDataSpecResponse, error)
	// contains filtered or unexported methods
}

MsgServer is the server API for Msg service. All implementations must embed UnimplementedMsgServer for forward compatibility

type MsgUpdateDataSpec

type MsgUpdateDataSpec struct {

	// authority is the address that is allowed calling this msg.
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// query type to update
	QueryType string `protobuf:"bytes,2,opt,name=query_type,json=queryType,proto3" json:"query_type,omitempty"`
	// data spec update
	Spec *DataSpec `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec,omitempty"`
	// contains filtered or unexported fields
}

MsgUpdateDataSpec is the Msg/UpdateDataSpec request type.

func (*MsgUpdateDataSpec) Descriptor deprecated

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

Deprecated: Use MsgUpdateDataSpec.ProtoReflect.Descriptor instead.

func (*MsgUpdateDataSpec) GetAuthority

func (x *MsgUpdateDataSpec) GetAuthority() string

func (*MsgUpdateDataSpec) GetQueryType

func (x *MsgUpdateDataSpec) GetQueryType() string

func (*MsgUpdateDataSpec) GetSpec

func (x *MsgUpdateDataSpec) GetSpec() *DataSpec

func (*MsgUpdateDataSpec) ProtoMessage

func (*MsgUpdateDataSpec) ProtoMessage()

func (*MsgUpdateDataSpec) ProtoReflect

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

func (*MsgUpdateDataSpec) Reset

func (x *MsgUpdateDataSpec) Reset()

func (*MsgUpdateDataSpec) String

func (x *MsgUpdateDataSpec) String() string

type MsgUpdateDataSpecResponse

type MsgUpdateDataSpecResponse struct {
	// contains filtered or unexported fields
}

func (*MsgUpdateDataSpecResponse) Descriptor deprecated

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

Deprecated: Use MsgUpdateDataSpecResponse.ProtoReflect.Descriptor instead.

func (*MsgUpdateDataSpecResponse) ProtoMessage

func (*MsgUpdateDataSpecResponse) ProtoMessage()

func (*MsgUpdateDataSpecResponse) ProtoReflect

func (*MsgUpdateDataSpecResponse) Reset

func (x *MsgUpdateDataSpecResponse) Reset()

func (*MsgUpdateDataSpecResponse) String

func (x *MsgUpdateDataSpecResponse) String() string

type Params

type Params struct {

	// max report buffer window
	MaxReportBufferWindow uint64 `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

Params defines the parameters for the module.

func (*Params) Descriptor deprecated

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

Deprecated: Use Params.ProtoReflect.Descriptor instead.

func (*Params) GetMaxReportBufferWindow

func (x *Params) GetMaxReportBufferWindow() uint64

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) ProtoReflect

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

func (*Params) Reset

func (x *Params) Reset()

func (*Params) String

func (x *Params) String() string

type QueryClient

type QueryClient interface {
	// Parameters queries the parameters of the module.
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	// Queries a list of GetDataSpec items.
	GetDataSpec(ctx context.Context, in *QueryGetDataSpecRequest, opts ...grpc.CallOption) (*QueryGetDataSpecResponse, error)
	// Queries a list of DecodeQuerydata items.
	DecodeQuerydata(ctx context.Context, in *QueryDecodeQuerydataRequest, opts ...grpc.CallOption) (*QueryDecodeQuerydataResponse, error)
	// Queries a list of GenerateQuerydata items.
	GenerateQuerydata(ctx context.Context, in *QueryGenerateQuerydataRequest, opts ...grpc.CallOption) (*QueryGenerateQuerydataResponse, error)
	// Queries a list of DecodeValue items.
	DecodeValue(ctx context.Context, in *QueryDecodeValueRequest, opts ...grpc.CallOption) (*QueryDecodeValueResponse, error)
}

QueryClient is the client API for Query 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 NewQueryClient

func NewQueryClient(cc grpc.ClientConnInterface) QueryClient

type QueryDecodeQuerydataRequest

type QueryDecodeQuerydataRequest struct {

	// query_data is the query data hex string to be decoded.
	QueryData []byte `protobuf:"bytes,1,opt,name=query_data,json=queryData,proto3" json:"query_data,omitempty"`
	// contains filtered or unexported fields
}

QueryDecodeQuerydataRequest is request type for the Query/DecodeQuerydata RPC method.

func (*QueryDecodeQuerydataRequest) Descriptor deprecated

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

Deprecated: Use QueryDecodeQuerydataRequest.ProtoReflect.Descriptor instead.

func (*QueryDecodeQuerydataRequest) GetQueryData

func (x *QueryDecodeQuerydataRequest) GetQueryData() []byte

func (*QueryDecodeQuerydataRequest) ProtoMessage

func (*QueryDecodeQuerydataRequest) ProtoMessage()

func (*QueryDecodeQuerydataRequest) ProtoReflect

func (*QueryDecodeQuerydataRequest) Reset

func (x *QueryDecodeQuerydataRequest) Reset()

func (*QueryDecodeQuerydataRequest) String

func (x *QueryDecodeQuerydataRequest) String() string

type QueryDecodeQuerydataResponse

type QueryDecodeQuerydataResponse struct {

	// spec is the decoded json represention of the query data hex string.
	Spec string `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"`
	// contains filtered or unexported fields
}

QueryDecodeQuerydataResponse is response type for the Query/DecodeQuerydata RPC method.

func (*QueryDecodeQuerydataResponse) Descriptor deprecated

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

Deprecated: Use QueryDecodeQuerydataResponse.ProtoReflect.Descriptor instead.

func (*QueryDecodeQuerydataResponse) GetSpec

func (x *QueryDecodeQuerydataResponse) GetSpec() string

func (*QueryDecodeQuerydataResponse) ProtoMessage

func (*QueryDecodeQuerydataResponse) ProtoMessage()

func (*QueryDecodeQuerydataResponse) ProtoReflect

func (*QueryDecodeQuerydataResponse) Reset

func (x *QueryDecodeQuerydataResponse) Reset()

func (*QueryDecodeQuerydataResponse) String

type QueryDecodeValueRequest

type QueryDecodeValueRequest struct {

	// queryType is the key to fetch a the corresponding data spec.
	QueryType string `protobuf:"bytes,1,opt,name=queryType,proto3" json:"queryType,omitempty"`
	// value is the value hex string to be decoded.
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

QueryDecodeValueRequest is request type for the Query/DecodeValue RPC method.

func (*QueryDecodeValueRequest) Descriptor deprecated

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

Deprecated: Use QueryDecodeValueRequest.ProtoReflect.Descriptor instead.

func (*QueryDecodeValueRequest) GetQueryType

func (x *QueryDecodeValueRequest) GetQueryType() string

func (*QueryDecodeValueRequest) GetValue

func (x *QueryDecodeValueRequest) GetValue() string

func (*QueryDecodeValueRequest) ProtoMessage

func (*QueryDecodeValueRequest) ProtoMessage()

func (*QueryDecodeValueRequest) ProtoReflect

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

func (*QueryDecodeValueRequest) Reset

func (x *QueryDecodeValueRequest) Reset()

func (*QueryDecodeValueRequest) String

func (x *QueryDecodeValueRequest) String() string

type QueryDecodeValueResponse

type QueryDecodeValueResponse struct {

	// decodedValue is the decoded value of the hex string.
	DecodedValue string `protobuf:"bytes,1,opt,name=decodedValue,proto3" json:"decodedValue,omitempty"`
	// contains filtered or unexported fields
}

QueryDecodeValueResponse is response type for the Query/DecodeValue RPC method.

func (*QueryDecodeValueResponse) Descriptor deprecated

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

Deprecated: Use QueryDecodeValueResponse.ProtoReflect.Descriptor instead.

func (*QueryDecodeValueResponse) GetDecodedValue

func (x *QueryDecodeValueResponse) GetDecodedValue() string

func (*QueryDecodeValueResponse) ProtoMessage

func (*QueryDecodeValueResponse) ProtoMessage()

func (*QueryDecodeValueResponse) ProtoReflect

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

func (*QueryDecodeValueResponse) Reset

func (x *QueryDecodeValueResponse) Reset()

func (*QueryDecodeValueResponse) String

func (x *QueryDecodeValueResponse) String() string

type QueryGenerateQuerydataRequest

type QueryGenerateQuerydataRequest struct {

	// querytype for which query_data is to be generated.
	Querytype string `protobuf:"bytes,1,opt,name=querytype,proto3" json:"querytype,omitempty"`
	// parameters for which query_data is to be generated.
	Parameters string `protobuf:"bytes,2,opt,name=parameters,proto3" json:"parameters,omitempty"`
	// contains filtered or unexported fields
}

QueryGenerateQuerydataRequest is request type for the Query/GenerateQuerydata RPC method.

func (*QueryGenerateQuerydataRequest) Descriptor deprecated

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

Deprecated: Use QueryGenerateQuerydataRequest.ProtoReflect.Descriptor instead.

func (*QueryGenerateQuerydataRequest) GetParameters

func (x *QueryGenerateQuerydataRequest) GetParameters() string

func (*QueryGenerateQuerydataRequest) GetQuerytype

func (x *QueryGenerateQuerydataRequest) GetQuerytype() string

func (*QueryGenerateQuerydataRequest) ProtoMessage

func (*QueryGenerateQuerydataRequest) ProtoMessage()

func (*QueryGenerateQuerydataRequest) ProtoReflect

func (*QueryGenerateQuerydataRequest) Reset

func (x *QueryGenerateQuerydataRequest) Reset()

func (*QueryGenerateQuerydataRequest) String

type QueryGenerateQuerydataResponse

type QueryGenerateQuerydataResponse struct {

	// query_data is the generated query_data hex string.
	QueryData []byte `protobuf:"bytes,1,opt,name=query_data,json=queryData,proto3" json:"query_data,omitempty"`
	// contains filtered or unexported fields
}

QueryGenerateQuerydataResponse is response type for the Query/GenerateQuerydata RPC method.

func (*QueryGenerateQuerydataResponse) Descriptor deprecated

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

Deprecated: Use QueryGenerateQuerydataResponse.ProtoReflect.Descriptor instead.

func (*QueryGenerateQuerydataResponse) GetQueryData

func (x *QueryGenerateQuerydataResponse) GetQueryData() []byte

func (*QueryGenerateQuerydataResponse) ProtoMessage

func (*QueryGenerateQuerydataResponse) ProtoMessage()

func (*QueryGenerateQuerydataResponse) ProtoReflect

func (*QueryGenerateQuerydataResponse) Reset

func (x *QueryGenerateQuerydataResponse) Reset()

func (*QueryGenerateQuerydataResponse) String

type QueryGetDataSpecRequest

type QueryGetDataSpecRequest struct {

	// queryType is the key to fetch a the corresponding data spec.
	QueryType string `protobuf:"bytes,1,opt,name=query_type,json=queryType,proto3" json:"query_type,omitempty"`
	// contains filtered or unexported fields
}

QueryGetDataSpecRequest is request type for the Query/GetDataSpec RPC method.

func (*QueryGetDataSpecRequest) Descriptor deprecated

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

Deprecated: Use QueryGetDataSpecRequest.ProtoReflect.Descriptor instead.

func (*QueryGetDataSpecRequest) GetQueryType

func (x *QueryGetDataSpecRequest) GetQueryType() string

func (*QueryGetDataSpecRequest) ProtoMessage

func (*QueryGetDataSpecRequest) ProtoMessage()

func (*QueryGetDataSpecRequest) ProtoReflect

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

func (*QueryGetDataSpecRequest) Reset

func (x *QueryGetDataSpecRequest) Reset()

func (*QueryGetDataSpecRequest) String

func (x *QueryGetDataSpecRequest) String() string

type QueryGetDataSpecResponse

type QueryGetDataSpecResponse struct {

	// spec is the data spec corresponding to the query type.
	Spec *DataSpec `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"`
	// contains filtered or unexported fields
}

QueryGetDataSpecResponse is response type for the Query/GetDataSpec RPC method.

func (*QueryGetDataSpecResponse) Descriptor deprecated

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

Deprecated: Use QueryGetDataSpecResponse.ProtoReflect.Descriptor instead.

func (*QueryGetDataSpecResponse) GetSpec

func (x *QueryGetDataSpecResponse) GetSpec() *DataSpec

func (*QueryGetDataSpecResponse) ProtoMessage

func (*QueryGetDataSpecResponse) ProtoMessage()

func (*QueryGetDataSpecResponse) ProtoReflect

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

func (*QueryGetDataSpecResponse) Reset

func (x *QueryGetDataSpecResponse) Reset()

func (*QueryGetDataSpecResponse) String

func (x *QueryGetDataSpecResponse) String() string

type QueryParamsRequest

type QueryParamsRequest struct {
	// contains filtered or unexported fields
}

QueryParamsRequest is request type for the Query/Params RPC method.

func (*QueryParamsRequest) Descriptor deprecated

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

Deprecated: Use QueryParamsRequest.ProtoReflect.Descriptor instead.

func (*QueryParamsRequest) ProtoMessage

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) ProtoReflect

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

func (*QueryParamsRequest) Reset

func (x *QueryParamsRequest) Reset()

func (*QueryParamsRequest) String

func (x *QueryParamsRequest) String() string

type QueryParamsResponse

type QueryParamsResponse struct {

	// params holds all the parameters of this module.
	Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

QueryParamsResponse is response type for the Query/Params RPC method.

func (*QueryParamsResponse) Descriptor deprecated

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

Deprecated: Use QueryParamsResponse.ProtoReflect.Descriptor instead.

func (*QueryParamsResponse) GetParams

func (x *QueryParamsResponse) GetParams() *Params

func (*QueryParamsResponse) ProtoMessage

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) ProtoReflect

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

func (*QueryParamsResponse) Reset

func (x *QueryParamsResponse) Reset()

func (*QueryParamsResponse) String

func (x *QueryParamsResponse) String() string

type QueryServer

type QueryServer interface {
	// Parameters queries the parameters of the module.
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	// Queries a list of GetDataSpec items.
	GetDataSpec(context.Context, *QueryGetDataSpecRequest) (*QueryGetDataSpecResponse, error)
	// Queries a list of DecodeQuerydata items.
	DecodeQuerydata(context.Context, *QueryDecodeQuerydataRequest) (*QueryDecodeQuerydataResponse, error)
	// Queries a list of GenerateQuerydata items.
	GenerateQuerydata(context.Context, *QueryGenerateQuerydataRequest) (*QueryGenerateQuerydataResponse, error)
	// Queries a list of DecodeValue items.
	DecodeValue(context.Context, *QueryDecodeValueRequest) (*QueryDecodeValueResponse, error)
	// contains filtered or unexported methods
}

QueryServer is the server API for Query service. All implementations must embed UnimplementedQueryServer for forward compatibility

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer must be embedded to have forward compatible implementations.

func (UnimplementedMsgServer) RegisterSpec

func (UnimplementedMsgServer) UpdateDataSpec

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer must be embedded to have forward compatible implementations.

func (UnimplementedQueryServer) Params

type UnsafeMsgServer

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

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

type UnsafeQueryServer

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

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

Directories

Path Synopsis
Code generated by protoc-gen-go-pulsar.
Code generated by protoc-gen-go-pulsar.

Jump to

Keyboard shortcuts

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