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
- Variables
- func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)
- func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)deprecated
- func (x *GenesisState) GetNextServiceId() uint32
- func (x *GenesisState) GetParams() *Params
- func (x *GenesisState) GetServices() []*Service
- func (x *GenesisState) GetServicesParams() []*ServiceParamsRecord
- func (*GenesisState) ProtoMessage()
- func (x *GenesisState) ProtoReflect() protoreflect.Message
- func (x *GenesisState) Reset()
- func (x *GenesisState) String() string
- type MsgAccreditService
- func (*MsgAccreditService) Descriptor() ([]byte, []int)deprecated
- func (x *MsgAccreditService) GetAuthority() string
- func (x *MsgAccreditService) GetServiceId() uint32
- func (*MsgAccreditService) ProtoMessage()
- func (x *MsgAccreditService) ProtoReflect() protoreflect.Message
- func (x *MsgAccreditService) Reset()
- func (x *MsgAccreditService) String() string
- type MsgAccreditServiceResponse
- type MsgActivateService
- func (*MsgActivateService) Descriptor() ([]byte, []int)deprecated
- func (x *MsgActivateService) GetSender() string
- func (x *MsgActivateService) GetServiceId() uint32
- func (*MsgActivateService) ProtoMessage()
- func (x *MsgActivateService) ProtoReflect() protoreflect.Message
- func (x *MsgActivateService) Reset()
- func (x *MsgActivateService) String() string
- type MsgActivateServiceResponse
- type MsgClient
- type MsgCreateService
- func (*MsgCreateService) Descriptor() ([]byte, []int)deprecated
- func (x *MsgCreateService) GetDescription() string
- func (x *MsgCreateService) GetFeeAmount() []*v1beta1.Coin
- func (x *MsgCreateService) GetName() string
- func (x *MsgCreateService) GetPictureUrl() string
- func (x *MsgCreateService) GetSender() string
- func (x *MsgCreateService) GetWebsite() string
- func (*MsgCreateService) ProtoMessage()
- func (x *MsgCreateService) ProtoReflect() protoreflect.Message
- func (x *MsgCreateService) Reset()
- func (x *MsgCreateService) String() string
- type MsgCreateServiceResponse
- func (*MsgCreateServiceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MsgCreateServiceResponse) GetNewServiceId() uint32
- func (*MsgCreateServiceResponse) ProtoMessage()
- func (x *MsgCreateServiceResponse) ProtoReflect() protoreflect.Message
- func (x *MsgCreateServiceResponse) Reset()
- func (x *MsgCreateServiceResponse) String() string
- type MsgDeactivateService
- func (*MsgDeactivateService) Descriptor() ([]byte, []int)deprecated
- func (x *MsgDeactivateService) GetSender() string
- func (x *MsgDeactivateService) GetServiceId() uint32
- func (*MsgDeactivateService) ProtoMessage()
- func (x *MsgDeactivateService) ProtoReflect() protoreflect.Message
- func (x *MsgDeactivateService) Reset()
- func (x *MsgDeactivateService) String() string
- type MsgDeactivateServiceResponse
- func (*MsgDeactivateServiceResponse) Descriptor() ([]byte, []int)deprecated
- func (*MsgDeactivateServiceResponse) ProtoMessage()
- func (x *MsgDeactivateServiceResponse) ProtoReflect() protoreflect.Message
- func (x *MsgDeactivateServiceResponse) Reset()
- func (x *MsgDeactivateServiceResponse) String() string
- type MsgDeleteService
- func (*MsgDeleteService) Descriptor() ([]byte, []int)deprecated
- func (x *MsgDeleteService) GetSender() string
- func (x *MsgDeleteService) GetServiceId() uint32
- func (*MsgDeleteService) ProtoMessage()
- func (x *MsgDeleteService) ProtoReflect() protoreflect.Message
- func (x *MsgDeleteService) Reset()
- func (x *MsgDeleteService) String() string
- type MsgDeleteServiceResponse
- type MsgRevokeServiceAccreditation
- func (*MsgRevokeServiceAccreditation) Descriptor() ([]byte, []int)deprecated
- func (x *MsgRevokeServiceAccreditation) GetAuthority() string
- func (x *MsgRevokeServiceAccreditation) GetServiceId() uint32
- func (*MsgRevokeServiceAccreditation) ProtoMessage()
- func (x *MsgRevokeServiceAccreditation) ProtoReflect() protoreflect.Message
- func (x *MsgRevokeServiceAccreditation) Reset()
- func (x *MsgRevokeServiceAccreditation) String() string
- type MsgRevokeServiceAccreditationResponse
- func (*MsgRevokeServiceAccreditationResponse) Descriptor() ([]byte, []int)deprecated
- func (*MsgRevokeServiceAccreditationResponse) ProtoMessage()
- func (x *MsgRevokeServiceAccreditationResponse) ProtoReflect() protoreflect.Message
- func (x *MsgRevokeServiceAccreditationResponse) Reset()
- func (x *MsgRevokeServiceAccreditationResponse) String() string
- type MsgServer
- type MsgSetServiceParams
- func (*MsgSetServiceParams) Descriptor() ([]byte, []int)deprecated
- func (x *MsgSetServiceParams) GetSender() string
- func (x *MsgSetServiceParams) GetServiceId() uint32
- func (x *MsgSetServiceParams) GetServiceParams() *ServiceParams
- func (*MsgSetServiceParams) ProtoMessage()
- func (x *MsgSetServiceParams) ProtoReflect() protoreflect.Message
- func (x *MsgSetServiceParams) Reset()
- func (x *MsgSetServiceParams) String() string
- type MsgSetServiceParamsResponse
- type MsgTransferServiceOwnership
- func (*MsgTransferServiceOwnership) Descriptor() ([]byte, []int)deprecated
- func (x *MsgTransferServiceOwnership) GetNewAdmin() string
- func (x *MsgTransferServiceOwnership) GetSender() string
- func (x *MsgTransferServiceOwnership) GetServiceId() uint32
- func (*MsgTransferServiceOwnership) ProtoMessage()
- func (x *MsgTransferServiceOwnership) ProtoReflect() protoreflect.Message
- func (x *MsgTransferServiceOwnership) Reset()
- func (x *MsgTransferServiceOwnership) String() string
- type MsgTransferServiceOwnershipResponse
- func (*MsgTransferServiceOwnershipResponse) Descriptor() ([]byte, []int)deprecated
- func (*MsgTransferServiceOwnershipResponse) ProtoMessage()
- func (x *MsgTransferServiceOwnershipResponse) ProtoReflect() protoreflect.Message
- func (x *MsgTransferServiceOwnershipResponse) Reset()
- func (x *MsgTransferServiceOwnershipResponse) String() string
- type MsgUpdateParams
- func (*MsgUpdateParams) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUpdateParams) GetAuthority() string
- func (x *MsgUpdateParams) GetParams() *Params
- func (*MsgUpdateParams) ProtoMessage()
- func (x *MsgUpdateParams) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateParams) Reset()
- func (x *MsgUpdateParams) String() string
- type MsgUpdateParamsResponse
- type MsgUpdateService
- func (*MsgUpdateService) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUpdateService) GetDescription() string
- func (x *MsgUpdateService) GetName() string
- func (x *MsgUpdateService) GetPictureUrl() string
- func (x *MsgUpdateService) GetSender() string
- func (x *MsgUpdateService) GetServiceId() uint32
- func (x *MsgUpdateService) GetWebsite() string
- func (*MsgUpdateService) ProtoMessage()
- func (x *MsgUpdateService) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateService) Reset()
- func (x *MsgUpdateService) String() string
- type MsgUpdateServiceResponse
- type Params
- type QueryClient
- type QueryParamsRequest
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryParamsResponse) GetParams() *Params
- func (*QueryParamsResponse) ProtoMessage()
- func (x *QueryParamsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryParamsResponse) Reset()
- func (x *QueryParamsResponse) String() string
- type QueryServer
- type QueryServiceParamsRequest
- func (*QueryServiceParamsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryServiceParamsRequest) GetServiceId() uint32
- func (*QueryServiceParamsRequest) ProtoMessage()
- func (x *QueryServiceParamsRequest) ProtoReflect() protoreflect.Message
- func (x *QueryServiceParamsRequest) Reset()
- func (x *QueryServiceParamsRequest) String() string
- type QueryServiceParamsResponse
- func (*QueryServiceParamsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryServiceParamsResponse) GetServiceParams() *ServiceParams
- func (*QueryServiceParamsResponse) ProtoMessage()
- func (x *QueryServiceParamsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryServiceParamsResponse) Reset()
- func (x *QueryServiceParamsResponse) String() string
- type QueryServiceRequest
- func (*QueryServiceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryServiceRequest) GetServiceId() uint32
- func (*QueryServiceRequest) ProtoMessage()
- func (x *QueryServiceRequest) ProtoReflect() protoreflect.Message
- func (x *QueryServiceRequest) Reset()
- func (x *QueryServiceRequest) String() string
- type QueryServiceResponse
- func (*QueryServiceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryServiceResponse) GetService() *Service
- func (*QueryServiceResponse) ProtoMessage()
- func (x *QueryServiceResponse) ProtoReflect() protoreflect.Message
- func (x *QueryServiceResponse) Reset()
- func (x *QueryServiceResponse) String() string
- type QueryServicesRequest
- func (*QueryServicesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryServicesRequest) GetPagination() *v1beta1.PageRequest
- func (*QueryServicesRequest) ProtoMessage()
- func (x *QueryServicesRequest) ProtoReflect() protoreflect.Message
- func (x *QueryServicesRequest) Reset()
- func (x *QueryServicesRequest) String() string
- type QueryServicesResponse
- func (*QueryServicesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryServicesResponse) GetPagination() *v1beta1.PageResponse
- func (x *QueryServicesResponse) GetServices() []*Service
- func (*QueryServicesResponse) ProtoMessage()
- func (x *QueryServicesResponse) ProtoReflect() protoreflect.Message
- func (x *QueryServicesResponse) Reset()
- func (x *QueryServicesResponse) String() string
- type Service
- func (*Service) Descriptor() ([]byte, []int)deprecated
- func (x *Service) GetAccredited() bool
- func (x *Service) GetAddress() string
- func (x *Service) GetAdmin() string
- func (x *Service) GetDelegatorShares() []*v1beta1.DecCoin
- func (x *Service) GetDescription() string
- func (x *Service) GetId() uint32
- func (x *Service) GetName() string
- func (x *Service) GetPictureUrl() string
- func (x *Service) GetStatus() ServiceStatus
- func (x *Service) GetTokens() []*v1beta1.Coin
- func (x *Service) GetWebsite() string
- func (*Service) ProtoMessage()
- func (x *Service) ProtoReflect() protoreflect.Message
- func (x *Service) Reset()
- func (x *Service) String() string
- type ServiceParams
- type ServiceParamsRecord
- func (*ServiceParamsRecord) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceParamsRecord) GetParams() *ServiceParams
- func (x *ServiceParamsRecord) GetServiceId() uint32
- func (*ServiceParamsRecord) ProtoMessage()
- func (x *ServiceParamsRecord) ProtoReflect() protoreflect.Message
- func (x *ServiceParamsRecord) Reset()
- func (x *ServiceParamsRecord) String() string
- type ServiceStatus
- func (ServiceStatus) Descriptor() protoreflect.EnumDescriptor
- func (x ServiceStatus) Enum() *ServiceStatus
- func (ServiceStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x ServiceStatus) Number() protoreflect.EnumNumber
- func (x ServiceStatus) String() string
- func (ServiceStatus) Type() protoreflect.EnumType
- type UnimplementedMsgServer
- func (UnimplementedMsgServer) AccreditService(context.Context, *MsgAccreditService) (*MsgAccreditServiceResponse, error)
- func (UnimplementedMsgServer) ActivateService(context.Context, *MsgActivateService) (*MsgActivateServiceResponse, error)
- func (UnimplementedMsgServer) CreateService(context.Context, *MsgCreateService) (*MsgCreateServiceResponse, error)
- func (UnimplementedMsgServer) DeactivateService(context.Context, *MsgDeactivateService) (*MsgDeactivateServiceResponse, error)
- func (UnimplementedMsgServer) DeleteService(context.Context, *MsgDeleteService) (*MsgDeleteServiceResponse, error)
- func (UnimplementedMsgServer) RevokeServiceAccreditation(context.Context, *MsgRevokeServiceAccreditation) (*MsgRevokeServiceAccreditationResponse, error)
- func (UnimplementedMsgServer) SetServiceParams(context.Context, *MsgSetServiceParams) (*MsgSetServiceParamsResponse, error)
- func (UnimplementedMsgServer) TransferServiceOwnership(context.Context, *MsgTransferServiceOwnership) (*MsgTransferServiceOwnershipResponse, error)
- func (UnimplementedMsgServer) UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
- func (UnimplementedMsgServer) UpdateService(context.Context, *MsgUpdateService) (*MsgUpdateServiceResponse, error)
- type UnimplementedQueryServer
- func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
- func (UnimplementedQueryServer) Service(context.Context, *QueryServiceRequest) (*QueryServiceResponse, error)
- func (UnimplementedQueryServer) ServiceParams(context.Context, *QueryServiceParamsRequest) (*QueryServiceParamsResponse, error)
- func (UnimplementedQueryServer) Services(context.Context, *QueryServicesRequest) (*QueryServicesResponse, error)
- type UnsafeMsgServer
- type UnsafeQueryServer
Constants ¶
const ( Msg_CreateService_FullMethodName = "/milkyway.services.v1.Msg/CreateService" Msg_UpdateService_FullMethodName = "/milkyway.services.v1.Msg/UpdateService" Msg_ActivateService_FullMethodName = "/milkyway.services.v1.Msg/ActivateService" Msg_DeactivateService_FullMethodName = "/milkyway.services.v1.Msg/DeactivateService" Msg_DeleteService_FullMethodName = "/milkyway.services.v1.Msg/DeleteService" Msg_TransferServiceOwnership_FullMethodName = "/milkyway.services.v1.Msg/TransferServiceOwnership" Msg_SetServiceParams_FullMethodName = "/milkyway.services.v1.Msg/SetServiceParams" Msg_UpdateParams_FullMethodName = "/milkyway.services.v1.Msg/UpdateParams" Msg_AccreditService_FullMethodName = "/milkyway.services.v1.Msg/AccreditService" Msg_RevokeServiceAccreditation_FullMethodName = "/milkyway.services.v1.Msg/RevokeServiceAccreditation" )
const ( Query_Service_FullMethodName = "/milkyway.services.v1.Query/Service" Query_Services_FullMethodName = "/milkyway.services.v1.Query/Services" Query_ServiceParams_FullMethodName = "/milkyway.services.v1.Query/ServiceParams" Query_Params_FullMethodName = "/milkyway.services.v1.Query/Params" )
Variables ¶
var ( ServiceStatus_name = map[int32]string{ 0: "SERVICE_STATUS_UNSPECIFIED", 1: "SERVICE_STATUS_CREATED", 2: "SERVICE_STATUS_ACTIVE", 3: "SERVICE_STATUS_INACTIVE", } ServiceStatus_value = map[string]int32{ "SERVICE_STATUS_UNSPECIFIED": 0, "SERVICE_STATUS_CREATED": 1, "SERVICE_STATUS_ACTIVE": 2, "SERVICE_STATUS_INACTIVE": 3, } )
Enum value maps for ServiceStatus.
var File_milkyway_services_v1_genesis_proto protoreflect.FileDescriptor
var File_milkyway_services_v1_messages_proto protoreflect.FileDescriptor
var File_milkyway_services_v1_models_proto protoreflect.FileDescriptor
var File_milkyway_services_v1_params_proto protoreflect.FileDescriptor
var File_milkyway_services_v1_query_proto protoreflect.FileDescriptor
var Msg_ServiceDesc = grpc.ServiceDesc{ ServiceName: "milkyway.services.v1.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateService", Handler: _Msg_CreateService_Handler, }, { MethodName: "UpdateService", Handler: _Msg_UpdateService_Handler, }, { MethodName: "ActivateService", Handler: _Msg_ActivateService_Handler, }, { MethodName: "DeactivateService", Handler: _Msg_DeactivateService_Handler, }, { MethodName: "DeleteService", Handler: _Msg_DeleteService_Handler, }, { MethodName: "TransferServiceOwnership", Handler: _Msg_TransferServiceOwnership_Handler, }, { MethodName: "SetServiceParams", Handler: _Msg_SetServiceParams_Handler, }, { MethodName: "UpdateParams", Handler: _Msg_UpdateParams_Handler, }, { MethodName: "AccreditService", Handler: _Msg_AccreditService_Handler, }, { MethodName: "RevokeServiceAccreditation", Handler: _Msg_RevokeServiceAccreditation_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "milkyway/services/v1/messages.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)
var Query_ServiceDesc = grpc.ServiceDesc{ ServiceName: "milkyway.services.v1.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Service", Handler: _Query_Service_Handler, }, { MethodName: "Services", Handler: _Query_Services_Handler, }, { MethodName: "ServiceParams", Handler: _Query_ServiceParams_Handler, }, { MethodName: "Params", Handler: _Query_Params_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "milkyway/services/v1/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 GenesisState ¶
type GenesisState struct { // Params defines the parameters of the module. Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` // Services defines the list of services. Services []*Service `protobuf:"bytes,2,rep,name=services,proto3" json:"services,omitempty"` // NextServiceID defines the ID that will be assigned to the // next service that gets created. NextServiceId uint32 `protobuf:"varint,3,opt,name=next_service_id,json=nextServiceId,proto3" json:"next_service_id,omitempty"` // ServicesParams defines the list of service parameters. ServicesParams []*ServiceParamsRecord `protobuf:"bytes,4,rep,name=services_params,json=servicesParams,proto3" json:"services_params,omitempty"` // contains filtered or unexported fields }
GenesisState defines the services module's genesis state.
func (*GenesisState) Descriptor
deprecated
func (*GenesisState) Descriptor() ([]byte, []int)
Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.
func (*GenesisState) GetNextServiceId ¶
func (x *GenesisState) GetNextServiceId() uint32
func (*GenesisState) GetParams ¶
func (x *GenesisState) GetParams() *Params
func (*GenesisState) GetServices ¶
func (x *GenesisState) GetServices() []*Service
func (*GenesisState) GetServicesParams ¶
func (x *GenesisState) GetServicesParams() []*ServiceParamsRecord
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 MsgAccreditService ¶
type MsgAccreditService struct { // Authority is the address that controls the module (defaults to x/gov unless // overwritten). Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // ServiceID represents the ID of the service to be accredited ServiceId uint32 `protobuf:"varint,2,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` // contains filtered or unexported fields }
MsgAccreditService defines the message structure for the AccreditService gRPC service method. It allows the authority to accredit a service.
func (*MsgAccreditService) Descriptor
deprecated
func (*MsgAccreditService) Descriptor() ([]byte, []int)
Deprecated: Use MsgAccreditService.ProtoReflect.Descriptor instead.
func (*MsgAccreditService) GetAuthority ¶
func (x *MsgAccreditService) GetAuthority() string
func (*MsgAccreditService) GetServiceId ¶
func (x *MsgAccreditService) GetServiceId() uint32
func (*MsgAccreditService) ProtoMessage ¶
func (*MsgAccreditService) ProtoMessage()
func (*MsgAccreditService) ProtoReflect ¶
func (x *MsgAccreditService) ProtoReflect() protoreflect.Message
func (*MsgAccreditService) Reset ¶
func (x *MsgAccreditService) Reset()
func (*MsgAccreditService) String ¶
func (x *MsgAccreditService) String() string
type MsgAccreditServiceResponse ¶
type MsgAccreditServiceResponse struct {
// contains filtered or unexported fields
}
MsgAccreditServiceResponse is the return value of MsgAccreditService.
func (*MsgAccreditServiceResponse) Descriptor
deprecated
func (*MsgAccreditServiceResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgAccreditServiceResponse.ProtoReflect.Descriptor instead.
func (*MsgAccreditServiceResponse) ProtoMessage ¶
func (*MsgAccreditServiceResponse) ProtoMessage()
func (*MsgAccreditServiceResponse) ProtoReflect ¶
func (x *MsgAccreditServiceResponse) ProtoReflect() protoreflect.Message
func (*MsgAccreditServiceResponse) Reset ¶
func (x *MsgAccreditServiceResponse) Reset()
func (*MsgAccreditServiceResponse) String ¶
func (x *MsgAccreditServiceResponse) String() string
type MsgActivateService ¶
type MsgActivateService struct { // Sender is the address of the user that wants to activate the service Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` // ServiceID represents the ID of the service to be activated ServiceId uint32 `protobuf:"varint,2,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` // contains filtered or unexported fields }
MsgActivateService defines the message structure for the ActivateService gRPC
func (*MsgActivateService) Descriptor
deprecated
func (*MsgActivateService) Descriptor() ([]byte, []int)
Deprecated: Use MsgActivateService.ProtoReflect.Descriptor instead.
func (*MsgActivateService) GetSender ¶
func (x *MsgActivateService) GetSender() string
func (*MsgActivateService) GetServiceId ¶
func (x *MsgActivateService) GetServiceId() uint32
func (*MsgActivateService) ProtoMessage ¶
func (*MsgActivateService) ProtoMessage()
func (*MsgActivateService) ProtoReflect ¶
func (x *MsgActivateService) ProtoReflect() protoreflect.Message
func (*MsgActivateService) Reset ¶
func (x *MsgActivateService) Reset()
func (*MsgActivateService) String ¶
func (x *MsgActivateService) String() string
type MsgActivateServiceResponse ¶
type MsgActivateServiceResponse struct {
// contains filtered or unexported fields
}
MsgActivateServiceResponse is the return value of MsgActivateService.
func (*MsgActivateServiceResponse) Descriptor
deprecated
func (*MsgActivateServiceResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgActivateServiceResponse.ProtoReflect.Descriptor instead.
func (*MsgActivateServiceResponse) ProtoMessage ¶
func (*MsgActivateServiceResponse) ProtoMessage()
func (*MsgActivateServiceResponse) ProtoReflect ¶
func (x *MsgActivateServiceResponse) ProtoReflect() protoreflect.Message
func (*MsgActivateServiceResponse) Reset ¶
func (x *MsgActivateServiceResponse) Reset()
func (*MsgActivateServiceResponse) String ¶
func (x *MsgActivateServiceResponse) String() string
type MsgClient ¶
type MsgClient interface { // CreateService defines the operation for registering a new service. CreateService(ctx context.Context, in *MsgCreateService, opts ...grpc.CallOption) (*MsgCreateServiceResponse, error) // UpdateService defines the operation for updating an existing service. UpdateService(ctx context.Context, in *MsgUpdateService, opts ...grpc.CallOption) (*MsgUpdateServiceResponse, error) // ActivateService defines the operation for activating an existing // service. ActivateService(ctx context.Context, in *MsgActivateService, opts ...grpc.CallOption) (*MsgActivateServiceResponse, error) // DeactivateService defines the operation for deactivating an existing // service. DeactivateService(ctx context.Context, in *MsgDeactivateService, opts ...grpc.CallOption) (*MsgDeactivateServiceResponse, error) // DeleteService defines the operation for deleting an existing service // that has been deactivated. DeleteService(ctx context.Context, in *MsgDeleteService, opts ...grpc.CallOption) (*MsgDeleteServiceResponse, error) // TransferServiceOwnership defines the operation for transferring the // ownership of a service to another account. TransferServiceOwnership(ctx context.Context, in *MsgTransferServiceOwnership, opts ...grpc.CallOption) (*MsgTransferServiceOwnershipResponse, error) // SetServiceParams defines the operation for setting a service's // parameters. SetServiceParams(ctx context.Context, in *MsgSetServiceParams, opts ...grpc.CallOption) (*MsgSetServiceParamsResponse, error) // UpdateParams defines a (governance) operation for updating the module // parameters. // The authority defaults to the x/gov module account. UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) // AccreditService defines a (governance) operation for accrediting a service. // Since: v1.4.0 AccreditService(ctx context.Context, in *MsgAccreditService, opts ...grpc.CallOption) (*MsgAccreditServiceResponse, error) // RevokeServiceAccreditation defines a (governance) operation for revoking a // service's accreditation. Since: v1.4.0 RevokeServiceAccreditation(ctx context.Context, in *MsgRevokeServiceAccreditation, opts ...grpc.CallOption) (*MsgRevokeServiceAccreditationResponse, 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.
Msg defines the services module's gRPC message service.
func NewMsgClient ¶
func NewMsgClient(cc grpc.ClientConnInterface) MsgClient
type MsgCreateService ¶
type MsgCreateService struct { // Sender is the address of the user registering the service Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` // Name is the name of the service Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Description is the description of the service Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // Website is the website of the service Website string `protobuf:"bytes,4,opt,name=website,proto3" json:"website,omitempty"` // PictureURL is the URL of the service picture PictureUrl string `protobuf:"bytes,5,opt,name=picture_url,json=pictureUrl,proto3" json:"picture_url,omitempty"` // FeeAmount represents the fees that are going to be paid to create the // service. These should always be greater or equals of any of the coins // specified inside the ServiceRegistrationFee field of the modules params. // If no fees are specified inside the module parameters, this field can be // omitted. FeeAmount []*v1beta1.Coin `protobuf:"bytes,6,rep,name=fee_amount,json=feeAmount,proto3" json:"fee_amount,omitempty"` // contains filtered or unexported fields }
MsgCreateServiceResponse defines the message structure for the CreateService gRPC service method. It allows an account to register a new service that can be validated by operators. It requires a sender address as well as the details of the service to be registered.
func (*MsgCreateService) Descriptor
deprecated
func (*MsgCreateService) Descriptor() ([]byte, []int)
Deprecated: Use MsgCreateService.ProtoReflect.Descriptor instead.
func (*MsgCreateService) GetDescription ¶
func (x *MsgCreateService) GetDescription() string
func (*MsgCreateService) GetFeeAmount ¶
func (x *MsgCreateService) GetFeeAmount() []*v1beta1.Coin
func (*MsgCreateService) GetName ¶
func (x *MsgCreateService) GetName() string
func (*MsgCreateService) GetPictureUrl ¶
func (x *MsgCreateService) GetPictureUrl() string
func (*MsgCreateService) GetSender ¶
func (x *MsgCreateService) GetSender() string
func (*MsgCreateService) GetWebsite ¶
func (x *MsgCreateService) GetWebsite() string
func (*MsgCreateService) ProtoMessage ¶
func (*MsgCreateService) ProtoMessage()
func (*MsgCreateService) ProtoReflect ¶
func (x *MsgCreateService) ProtoReflect() protoreflect.Message
func (*MsgCreateService) Reset ¶
func (x *MsgCreateService) Reset()
func (*MsgCreateService) String ¶
func (x *MsgCreateService) String() string
type MsgCreateServiceResponse ¶
type MsgCreateServiceResponse struct { // NewServiceID is the ID of the newly registered service NewServiceId uint32 `protobuf:"varint,1,opt,name=new_service_id,json=newServiceId,proto3" json:"new_service_id,omitempty"` // contains filtered or unexported fields }
MsgCreateServiceResponse is the return value of MsgCreateService. It returns the newly created service ID.
func (*MsgCreateServiceResponse) Descriptor
deprecated
func (*MsgCreateServiceResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgCreateServiceResponse.ProtoReflect.Descriptor instead.
func (*MsgCreateServiceResponse) GetNewServiceId ¶
func (x *MsgCreateServiceResponse) GetNewServiceId() uint32
func (*MsgCreateServiceResponse) ProtoMessage ¶
func (*MsgCreateServiceResponse) ProtoMessage()
func (*MsgCreateServiceResponse) ProtoReflect ¶
func (x *MsgCreateServiceResponse) ProtoReflect() protoreflect.Message
func (*MsgCreateServiceResponse) Reset ¶
func (x *MsgCreateServiceResponse) Reset()
func (*MsgCreateServiceResponse) String ¶
func (x *MsgCreateServiceResponse) String() string
type MsgDeactivateService ¶
type MsgDeactivateService struct { // Sender is the address of the user that wants to deactivate the service Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` // ServiceID represents the ID of the service to be deactivated ServiceId uint32 `protobuf:"varint,2,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` // contains filtered or unexported fields }
MsgDeactivateService defines the message structure for the DeactivateService gRPC service method. It allows the service admin to deactivate an existing service.
func (*MsgDeactivateService) Descriptor
deprecated
func (*MsgDeactivateService) Descriptor() ([]byte, []int)
Deprecated: Use MsgDeactivateService.ProtoReflect.Descriptor instead.
func (*MsgDeactivateService) GetSender ¶
func (x *MsgDeactivateService) GetSender() string
func (*MsgDeactivateService) GetServiceId ¶
func (x *MsgDeactivateService) GetServiceId() uint32
func (*MsgDeactivateService) ProtoMessage ¶
func (*MsgDeactivateService) ProtoMessage()
func (*MsgDeactivateService) ProtoReflect ¶
func (x *MsgDeactivateService) ProtoReflect() protoreflect.Message
func (*MsgDeactivateService) Reset ¶
func (x *MsgDeactivateService) Reset()
func (*MsgDeactivateService) String ¶
func (x *MsgDeactivateService) String() string
type MsgDeactivateServiceResponse ¶
type MsgDeactivateServiceResponse struct {
// contains filtered or unexported fields
}
MsgDeactivateServiceResponse is the return value of MsgDeactivateService.
func (*MsgDeactivateServiceResponse) Descriptor
deprecated
func (*MsgDeactivateServiceResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgDeactivateServiceResponse.ProtoReflect.Descriptor instead.
func (*MsgDeactivateServiceResponse) ProtoMessage ¶
func (*MsgDeactivateServiceResponse) ProtoMessage()
func (*MsgDeactivateServiceResponse) ProtoReflect ¶
func (x *MsgDeactivateServiceResponse) ProtoReflect() protoreflect.Message
func (*MsgDeactivateServiceResponse) Reset ¶
func (x *MsgDeactivateServiceResponse) Reset()
func (*MsgDeactivateServiceResponse) String ¶
func (x *MsgDeactivateServiceResponse) String() string
type MsgDeleteService ¶
type MsgDeleteService struct { // Sender is the address of the user that wants to delete the service Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` // ServiceID represents the ID of the service to be deleted ServiceId uint32 `protobuf:"varint,2,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` // contains filtered or unexported fields }
MsgDeleteService defines the message structure for the DeleteService gRPC service method. It allows the service admin to delete a previously deactivated service
func (*MsgDeleteService) Descriptor
deprecated
func (*MsgDeleteService) Descriptor() ([]byte, []int)
Deprecated: Use MsgDeleteService.ProtoReflect.Descriptor instead.
func (*MsgDeleteService) GetSender ¶
func (x *MsgDeleteService) GetSender() string
func (*MsgDeleteService) GetServiceId ¶
func (x *MsgDeleteService) GetServiceId() uint32
func (*MsgDeleteService) ProtoMessage ¶
func (*MsgDeleteService) ProtoMessage()
func (*MsgDeleteService) ProtoReflect ¶
func (x *MsgDeleteService) ProtoReflect() protoreflect.Message
func (*MsgDeleteService) Reset ¶
func (x *MsgDeleteService) Reset()
func (*MsgDeleteService) String ¶
func (x *MsgDeleteService) String() string
type MsgDeleteServiceResponse ¶
type MsgDeleteServiceResponse struct {
// contains filtered or unexported fields
}
MsgDeleteServiceResponse is the return value of MsgDeleteService.
func (*MsgDeleteServiceResponse) Descriptor
deprecated
func (*MsgDeleteServiceResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgDeleteServiceResponse.ProtoReflect.Descriptor instead.
func (*MsgDeleteServiceResponse) ProtoMessage ¶
func (*MsgDeleteServiceResponse) ProtoMessage()
func (*MsgDeleteServiceResponse) ProtoReflect ¶
func (x *MsgDeleteServiceResponse) ProtoReflect() protoreflect.Message
func (*MsgDeleteServiceResponse) Reset ¶
func (x *MsgDeleteServiceResponse) Reset()
func (*MsgDeleteServiceResponse) String ¶
func (x *MsgDeleteServiceResponse) String() string
type MsgRevokeServiceAccreditation ¶
type MsgRevokeServiceAccreditation struct { // Authority is the address that controls the module (defaults to x/gov unless // overwritten). Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // ServiceID represents the ID of the service to have its accreditation // revoked ServiceId uint32 `protobuf:"varint,2,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` // contains filtered or unexported fields }
MsgRevokeServiceAccreditation defines the message structure for the RevokeServiceAccreditation gRPC service method. It allows the authority to revoke a service's accreditation.
func (*MsgRevokeServiceAccreditation) Descriptor
deprecated
func (*MsgRevokeServiceAccreditation) Descriptor() ([]byte, []int)
Deprecated: Use MsgRevokeServiceAccreditation.ProtoReflect.Descriptor instead.
func (*MsgRevokeServiceAccreditation) GetAuthority ¶
func (x *MsgRevokeServiceAccreditation) GetAuthority() string
func (*MsgRevokeServiceAccreditation) GetServiceId ¶
func (x *MsgRevokeServiceAccreditation) GetServiceId() uint32
func (*MsgRevokeServiceAccreditation) ProtoMessage ¶
func (*MsgRevokeServiceAccreditation) ProtoMessage()
func (*MsgRevokeServiceAccreditation) ProtoReflect ¶
func (x *MsgRevokeServiceAccreditation) ProtoReflect() protoreflect.Message
func (*MsgRevokeServiceAccreditation) Reset ¶
func (x *MsgRevokeServiceAccreditation) Reset()
func (*MsgRevokeServiceAccreditation) String ¶
func (x *MsgRevokeServiceAccreditation) String() string
type MsgRevokeServiceAccreditationResponse ¶
type MsgRevokeServiceAccreditationResponse struct {
// contains filtered or unexported fields
}
MsgRevokeServiceAccreditationResponse is the return value of MsgRevokeServiceAccreditation.
func (*MsgRevokeServiceAccreditationResponse) Descriptor
deprecated
func (*MsgRevokeServiceAccreditationResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgRevokeServiceAccreditationResponse.ProtoReflect.Descriptor instead.
func (*MsgRevokeServiceAccreditationResponse) ProtoMessage ¶
func (*MsgRevokeServiceAccreditationResponse) ProtoMessage()
func (*MsgRevokeServiceAccreditationResponse) ProtoReflect ¶
func (x *MsgRevokeServiceAccreditationResponse) ProtoReflect() protoreflect.Message
func (*MsgRevokeServiceAccreditationResponse) Reset ¶
func (x *MsgRevokeServiceAccreditationResponse) Reset()
func (*MsgRevokeServiceAccreditationResponse) String ¶
func (x *MsgRevokeServiceAccreditationResponse) String() string
type MsgServer ¶
type MsgServer interface { // CreateService defines the operation for registering a new service. CreateService(context.Context, *MsgCreateService) (*MsgCreateServiceResponse, error) // UpdateService defines the operation for updating an existing service. UpdateService(context.Context, *MsgUpdateService) (*MsgUpdateServiceResponse, error) // ActivateService defines the operation for activating an existing // service. ActivateService(context.Context, *MsgActivateService) (*MsgActivateServiceResponse, error) // DeactivateService defines the operation for deactivating an existing // service. DeactivateService(context.Context, *MsgDeactivateService) (*MsgDeactivateServiceResponse, error) // DeleteService defines the operation for deleting an existing service // that has been deactivated. DeleteService(context.Context, *MsgDeleteService) (*MsgDeleteServiceResponse, error) // TransferServiceOwnership defines the operation for transferring the // ownership of a service to another account. TransferServiceOwnership(context.Context, *MsgTransferServiceOwnership) (*MsgTransferServiceOwnershipResponse, error) // SetServiceParams defines the operation for setting a service's // parameters. SetServiceParams(context.Context, *MsgSetServiceParams) (*MsgSetServiceParamsResponse, error) // UpdateParams defines a (governance) operation for updating the module // parameters. // The authority defaults to the x/gov module account. UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) // AccreditService defines a (governance) operation for accrediting a service. // Since: v1.4.0 AccreditService(context.Context, *MsgAccreditService) (*MsgAccreditServiceResponse, error) // RevokeServiceAccreditation defines a (governance) operation for revoking a // service's accreditation. Since: v1.4.0 RevokeServiceAccreditation(context.Context, *MsgRevokeServiceAccreditation) (*MsgRevokeServiceAccreditationResponse, error) // contains filtered or unexported methods }
MsgServer is the server API for Msg service. All implementations must embed UnimplementedMsgServer for forward compatibility.
Msg defines the services module's gRPC message service.
type MsgSetServiceParams ¶
type MsgSetServiceParams struct { // Sender is the address of the user setting the parameters Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` // ServiceID is the ID of the service whose parameters are being set ServiceId uint32 `protobuf:"varint,2,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` // ServiceParams defines the new parameters of the service ServiceParams *ServiceParams `protobuf:"bytes,3,opt,name=service_params,json=serviceParams,proto3" json:"service_params,omitempty"` // contains filtered or unexported fields }
MsgSetServiceParams defines the message structure for the SetServiceParams gRPC service method. It allows a service admin to update the parameters of a service.
func (*MsgSetServiceParams) Descriptor
deprecated
func (*MsgSetServiceParams) Descriptor() ([]byte, []int)
Deprecated: Use MsgSetServiceParams.ProtoReflect.Descriptor instead.
func (*MsgSetServiceParams) GetSender ¶
func (x *MsgSetServiceParams) GetSender() string
func (*MsgSetServiceParams) GetServiceId ¶
func (x *MsgSetServiceParams) GetServiceId() uint32
func (*MsgSetServiceParams) GetServiceParams ¶
func (x *MsgSetServiceParams) GetServiceParams() *ServiceParams
func (*MsgSetServiceParams) ProtoMessage ¶
func (*MsgSetServiceParams) ProtoMessage()
func (*MsgSetServiceParams) ProtoReflect ¶
func (x *MsgSetServiceParams) ProtoReflect() protoreflect.Message
func (*MsgSetServiceParams) Reset ¶
func (x *MsgSetServiceParams) Reset()
func (*MsgSetServiceParams) String ¶
func (x *MsgSetServiceParams) String() string
type MsgSetServiceParamsResponse ¶
type MsgSetServiceParamsResponse struct {
// contains filtered or unexported fields
}
MsgSetServiceParamsResponse is the return value of MsgSetServiceParams.
func (*MsgSetServiceParamsResponse) Descriptor
deprecated
func (*MsgSetServiceParamsResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgSetServiceParamsResponse.ProtoReflect.Descriptor instead.
func (*MsgSetServiceParamsResponse) ProtoMessage ¶
func (*MsgSetServiceParamsResponse) ProtoMessage()
func (*MsgSetServiceParamsResponse) ProtoReflect ¶
func (x *MsgSetServiceParamsResponse) ProtoReflect() protoreflect.Message
func (*MsgSetServiceParamsResponse) Reset ¶
func (x *MsgSetServiceParamsResponse) Reset()
func (*MsgSetServiceParamsResponse) String ¶
func (x *MsgSetServiceParamsResponse) String() string
type MsgTransferServiceOwnership ¶
type MsgTransferServiceOwnership struct { // Sender is the address of the user transferring the ownership Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` // ServiceID represents the ID of the service to transfer ownership ServiceId uint32 `protobuf:"varint,2,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` // NewAdmin is the address of the new admin of the service NewAdmin string `protobuf:"bytes,3,opt,name=new_admin,json=newAdmin,proto3" json:"new_admin,omitempty"` // contains filtered or unexported fields }
MsgTransferServiceOwnership defines the message structure for the TransferServiceOwnership gRPC service method. It allows a service admin to transfer the ownership of the service to another account.
func (*MsgTransferServiceOwnership) Descriptor
deprecated
func (*MsgTransferServiceOwnership) Descriptor() ([]byte, []int)
Deprecated: Use MsgTransferServiceOwnership.ProtoReflect.Descriptor instead.
func (*MsgTransferServiceOwnership) GetNewAdmin ¶
func (x *MsgTransferServiceOwnership) GetNewAdmin() string
func (*MsgTransferServiceOwnership) GetSender ¶
func (x *MsgTransferServiceOwnership) GetSender() string
func (*MsgTransferServiceOwnership) GetServiceId ¶
func (x *MsgTransferServiceOwnership) GetServiceId() uint32
func (*MsgTransferServiceOwnership) ProtoMessage ¶
func (*MsgTransferServiceOwnership) ProtoMessage()
func (*MsgTransferServiceOwnership) ProtoReflect ¶
func (x *MsgTransferServiceOwnership) ProtoReflect() protoreflect.Message
func (*MsgTransferServiceOwnership) Reset ¶
func (x *MsgTransferServiceOwnership) Reset()
func (*MsgTransferServiceOwnership) String ¶
func (x *MsgTransferServiceOwnership) String() string
type MsgTransferServiceOwnershipResponse ¶
type MsgTransferServiceOwnershipResponse struct {
// contains filtered or unexported fields
}
MsgTransferServiceOwnershipResponse is the return value of MsgTransferServiceOwnership.
func (*MsgTransferServiceOwnershipResponse) Descriptor
deprecated
func (*MsgTransferServiceOwnershipResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgTransferServiceOwnershipResponse.ProtoReflect.Descriptor instead.
func (*MsgTransferServiceOwnershipResponse) ProtoMessage ¶
func (*MsgTransferServiceOwnershipResponse) ProtoMessage()
func (*MsgTransferServiceOwnershipResponse) ProtoReflect ¶
func (x *MsgTransferServiceOwnershipResponse) ProtoReflect() protoreflect.Message
func (*MsgTransferServiceOwnershipResponse) Reset ¶
func (x *MsgTransferServiceOwnershipResponse) Reset()
func (*MsgTransferServiceOwnershipResponse) String ¶
func (x *MsgTransferServiceOwnershipResponse) String() string
type MsgUpdateParams ¶
type MsgUpdateParams struct { // Authority is the address that controls the module (defaults to x/gov unless // overwritten). Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // Params define the parameters to update. // // NOTE: All parameters must be supplied. Params *Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"` // contains filtered or unexported fields }
MsgDeactivateService defines the message structure for the UpdateParams gRPC service method. It allows the authority to update the module parameters.
func (*MsgUpdateParams) Descriptor
deprecated
func (*MsgUpdateParams) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateParams.ProtoReflect.Descriptor instead.
func (*MsgUpdateParams) GetAuthority ¶
func (x *MsgUpdateParams) GetAuthority() string
func (*MsgUpdateParams) GetParams ¶
func (x *MsgUpdateParams) GetParams() *Params
func (*MsgUpdateParams) ProtoMessage ¶
func (*MsgUpdateParams) ProtoMessage()
func (*MsgUpdateParams) ProtoReflect ¶
func (x *MsgUpdateParams) ProtoReflect() protoreflect.Message
func (*MsgUpdateParams) Reset ¶
func (x *MsgUpdateParams) Reset()
func (*MsgUpdateParams) String ¶
func (x *MsgUpdateParams) String() string
type MsgUpdateParamsResponse ¶
type MsgUpdateParamsResponse struct {
// contains filtered or unexported fields
}
MsgDeactivateServiceResponse is the return value of MsgUpdateParams.
func (*MsgUpdateParamsResponse) Descriptor
deprecated
func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateParamsResponse.ProtoReflect.Descriptor instead.
func (*MsgUpdateParamsResponse) ProtoMessage ¶
func (*MsgUpdateParamsResponse) ProtoMessage()
func (*MsgUpdateParamsResponse) ProtoReflect ¶
func (x *MsgUpdateParamsResponse) ProtoReflect() protoreflect.Message
func (*MsgUpdateParamsResponse) Reset ¶
func (x *MsgUpdateParamsResponse) Reset()
func (*MsgUpdateParamsResponse) String ¶
func (x *MsgUpdateParamsResponse) String() string
type MsgUpdateService ¶
type MsgUpdateService struct { // Sender is the address of the user updating the service Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` // ID represents the ID of the service to be updated ServiceId uint32 `protobuf:"varint,2,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` // Name is the new name of the service. // If it shouldn't be changed, use [do-not-modify] instead. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // Description is the new description of the service. // If it shouldn't be changed, use [do-not-modify] instead. Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // Website is the new website of the service. // If it shouldn't be changed, use [do-not-modify] instead. Website string `protobuf:"bytes,5,opt,name=website,proto3" json:"website,omitempty"` // PictureURL is the new URL of the service picture. // If it shouldn't be changed, use [do-not-modify] instead. PictureUrl string `protobuf:"bytes,6,opt,name=picture_url,json=pictureUrl,proto3" json:"picture_url,omitempty"` // contains filtered or unexported fields }
MsgUpdateService defines the message structure for the UpdateService gRPC service method. It allows the service admin to update the details of an existing service.
func (*MsgUpdateService) Descriptor
deprecated
func (*MsgUpdateService) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateService.ProtoReflect.Descriptor instead.
func (*MsgUpdateService) GetDescription ¶
func (x *MsgUpdateService) GetDescription() string
func (*MsgUpdateService) GetName ¶
func (x *MsgUpdateService) GetName() string
func (*MsgUpdateService) GetPictureUrl ¶
func (x *MsgUpdateService) GetPictureUrl() string
func (*MsgUpdateService) GetSender ¶
func (x *MsgUpdateService) GetSender() string
func (*MsgUpdateService) GetServiceId ¶
func (x *MsgUpdateService) GetServiceId() uint32
func (*MsgUpdateService) GetWebsite ¶
func (x *MsgUpdateService) GetWebsite() string
func (*MsgUpdateService) ProtoMessage ¶
func (*MsgUpdateService) ProtoMessage()
func (*MsgUpdateService) ProtoReflect ¶
func (x *MsgUpdateService) ProtoReflect() protoreflect.Message
func (*MsgUpdateService) Reset ¶
func (x *MsgUpdateService) Reset()
func (*MsgUpdateService) String ¶
func (x *MsgUpdateService) String() string
type MsgUpdateServiceResponse ¶
type MsgUpdateServiceResponse struct {
// contains filtered or unexported fields
}
MsgUpdateServiceResponse is the return value of MsgUpdateService.
func (*MsgUpdateServiceResponse) Descriptor
deprecated
func (*MsgUpdateServiceResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateServiceResponse.ProtoReflect.Descriptor instead.
func (*MsgUpdateServiceResponse) ProtoMessage ¶
func (*MsgUpdateServiceResponse) ProtoMessage()
func (*MsgUpdateServiceResponse) ProtoReflect ¶
func (x *MsgUpdateServiceResponse) ProtoReflect() protoreflect.Message
func (*MsgUpdateServiceResponse) Reset ¶
func (x *MsgUpdateServiceResponse) Reset()
func (*MsgUpdateServiceResponse) String ¶
func (x *MsgUpdateServiceResponse) String() string
type Params ¶
type Params struct { // ServiceRegistrationFee defines the fee to register a new service. // The fee is drawn from the MsgRegisterService sender's account, // and transferred to the community pool. ServiceRegistrationFee []*v1beta1.Coin `` /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
Params defines the parameters for the module.
func (*Params) Descriptor
deprecated
func (*Params) GetServiceRegistrationFee ¶
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) ProtoReflect ¶
func (x *Params) ProtoReflect() protoreflect.Message
type QueryClient ¶
type QueryClient interface { // Service defines a gRPC query method that returns the service by the given // service id. Service(ctx context.Context, in *QueryServiceRequest, opts ...grpc.CallOption) (*QueryServiceResponse, error) // Services defines a gRPC query method that returns the actively validates // services currently registered in the module. Services(ctx context.Context, in *QueryServicesRequest, opts ...grpc.CallOption) (*QueryServicesResponse, error) // ServiceParams defines a gRPC query method that returns the parameters of // service. ServiceParams(ctx context.Context, in *QueryServiceParamsRequest, opts ...grpc.CallOption) (*QueryServiceParamsResponse, error) // Params defines a gRPC query method that returns the parameters of the // module. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, 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.
Query defines the gRPC querier service.
func NewQueryClient ¶
func NewQueryClient(cc grpc.ClientConnInterface) QueryClient
type QueryParamsRequest ¶
type QueryParamsRequest struct {
// contains filtered or unexported fields
}
QueryParamsRequest is the 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 *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` // contains filtered or unexported fields }
QueryParamsResponse is the 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 { // Service defines a gRPC query method that returns the service by the given // service id. Service(context.Context, *QueryServiceRequest) (*QueryServiceResponse, error) // Services defines a gRPC query method that returns the actively validates // services currently registered in the module. Services(context.Context, *QueryServicesRequest) (*QueryServicesResponse, error) // ServiceParams defines a gRPC query method that returns the parameters of // service. ServiceParams(context.Context, *QueryServiceParamsRequest) (*QueryServiceParamsResponse, error) // Params defines a gRPC query method that returns the parameters of the // module. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // contains filtered or unexported methods }
QueryServer is the server API for Query service. All implementations must embed UnimplementedQueryServer for forward compatibility.
Query defines the gRPC querier service.
type QueryServiceParamsRequest ¶
type QueryServiceParamsRequest struct { ServiceId uint32 `protobuf:"varint,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` // contains filtered or unexported fields }
QueryServiceParamsRequest is the request type for the Query/ServiceParams RPC method.
func (*QueryServiceParamsRequest) Descriptor
deprecated
func (*QueryServiceParamsRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryServiceParamsRequest.ProtoReflect.Descriptor instead.
func (*QueryServiceParamsRequest) GetServiceId ¶
func (x *QueryServiceParamsRequest) GetServiceId() uint32
func (*QueryServiceParamsRequest) ProtoMessage ¶
func (*QueryServiceParamsRequest) ProtoMessage()
func (*QueryServiceParamsRequest) ProtoReflect ¶
func (x *QueryServiceParamsRequest) ProtoReflect() protoreflect.Message
func (*QueryServiceParamsRequest) Reset ¶
func (x *QueryServiceParamsRequest) Reset()
func (*QueryServiceParamsRequest) String ¶
func (x *QueryServiceParamsRequest) String() string
type QueryServiceParamsResponse ¶
type QueryServiceParamsResponse struct { ServiceParams *ServiceParams `protobuf:"bytes,1,opt,name=service_params,json=serviceParams,proto3" json:"service_params,omitempty"` // contains filtered or unexported fields }
QueryServiceParamsResponse is the response type for the Query/ServiceParams RPC method.
func (*QueryServiceParamsResponse) Descriptor
deprecated
func (*QueryServiceParamsResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryServiceParamsResponse.ProtoReflect.Descriptor instead.
func (*QueryServiceParamsResponse) GetServiceParams ¶
func (x *QueryServiceParamsResponse) GetServiceParams() *ServiceParams
func (*QueryServiceParamsResponse) ProtoMessage ¶
func (*QueryServiceParamsResponse) ProtoMessage()
func (*QueryServiceParamsResponse) ProtoReflect ¶
func (x *QueryServiceParamsResponse) ProtoReflect() protoreflect.Message
func (*QueryServiceParamsResponse) Reset ¶
func (x *QueryServiceParamsResponse) Reset()
func (*QueryServiceParamsResponse) String ¶
func (x *QueryServiceParamsResponse) String() string
type QueryServiceRequest ¶
type QueryServiceRequest struct { // ServiceID is the ID of the service to query ServiceId uint32 `protobuf:"varint,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` // contains filtered or unexported fields }
QueryServiceRequest is the request type for the Query/Service RPC method.
func (*QueryServiceRequest) Descriptor
deprecated
func (*QueryServiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryServiceRequest.ProtoReflect.Descriptor instead.
func (*QueryServiceRequest) GetServiceId ¶
func (x *QueryServiceRequest) GetServiceId() uint32
func (*QueryServiceRequest) ProtoMessage ¶
func (*QueryServiceRequest) ProtoMessage()
func (*QueryServiceRequest) ProtoReflect ¶
func (x *QueryServiceRequest) ProtoReflect() protoreflect.Message
func (*QueryServiceRequest) Reset ¶
func (x *QueryServiceRequest) Reset()
func (*QueryServiceRequest) String ¶
func (x *QueryServiceRequest) String() string
type QueryServiceResponse ¶
type QueryServiceResponse struct { Service *Service `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` // contains filtered or unexported fields }
QueryServiceResponse is the response type for the Query/Service RPC method.
func (*QueryServiceResponse) Descriptor
deprecated
func (*QueryServiceResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryServiceResponse.ProtoReflect.Descriptor instead.
func (*QueryServiceResponse) GetService ¶
func (x *QueryServiceResponse) GetService() *Service
func (*QueryServiceResponse) ProtoMessage ¶
func (*QueryServiceResponse) ProtoMessage()
func (*QueryServiceResponse) ProtoReflect ¶
func (x *QueryServiceResponse) ProtoReflect() protoreflect.Message
func (*QueryServiceResponse) Reset ¶
func (x *QueryServiceResponse) Reset()
func (*QueryServiceResponse) String ¶
func (x *QueryServiceResponse) String() string
type QueryServicesRequest ¶
type QueryServicesRequest struct { Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
QueryServicesRequest is the request type for the Query/Services RPC method.
func (*QueryServicesRequest) Descriptor
deprecated
func (*QueryServicesRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryServicesRequest.ProtoReflect.Descriptor instead.
func (*QueryServicesRequest) GetPagination ¶
func (x *QueryServicesRequest) GetPagination() *v1beta1.PageRequest
func (*QueryServicesRequest) ProtoMessage ¶
func (*QueryServicesRequest) ProtoMessage()
func (*QueryServicesRequest) ProtoReflect ¶
func (x *QueryServicesRequest) ProtoReflect() protoreflect.Message
func (*QueryServicesRequest) Reset ¶
func (x *QueryServicesRequest) Reset()
func (*QueryServicesRequest) String ¶
func (x *QueryServicesRequest) String() string
type QueryServicesResponse ¶
type QueryServicesResponse struct { // Services services defines the list of actively validates services Services []*Service `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"` // Pagination defines the pagination response Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
QueryServicesResponse is the response type for the Query/Services RPC method.
func (*QueryServicesResponse) Descriptor
deprecated
func (*QueryServicesResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryServicesResponse.ProtoReflect.Descriptor instead.
func (*QueryServicesResponse) GetPagination ¶
func (x *QueryServicesResponse) GetPagination() *v1beta1.PageResponse
func (*QueryServicesResponse) GetServices ¶
func (x *QueryServicesResponse) GetServices() []*Service
func (*QueryServicesResponse) ProtoMessage ¶
func (*QueryServicesResponse) ProtoMessage()
func (*QueryServicesResponse) ProtoReflect ¶
func (x *QueryServicesResponse) ProtoReflect() protoreflect.Message
func (*QueryServicesResponse) Reset ¶
func (x *QueryServicesResponse) Reset()
func (*QueryServicesResponse) String ¶
func (x *QueryServicesResponse) String() string
type Service ¶
type Service struct { // ID is the unique identifier of the service Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // Status is the status of the service Status ServiceStatus `protobuf:"varint,2,opt,name=status,proto3,enum=milkyway.services.v1.ServiceStatus" json:"status,omitempty"` // Admin is the address of the user that has administrative power over the // service Admin string `protobuf:"bytes,3,opt,name=admin,proto3" json:"admin,omitempty"` // Name is the name of the service Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // Description is the description of the service Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` // Website is the website of the service Website string `protobuf:"bytes,6,opt,name=website,proto3" json:"website,omitempty"` // PictureURL is the URL of the picture of the service PictureUrl string `protobuf:"bytes,7,opt,name=picture_url,json=pictureUrl,proto3" json:"picture_url,omitempty"` // Address is the address of the account associated with the service. // This will be used in order to store all the tokens that are delegated to // this service by various users. Address string `protobuf:"bytes,8,opt,name=address,proto3" json:"address,omitempty"` // Tokens define the delegated tokens. Tokens []*v1beta1.Coin `protobuf:"bytes,9,rep,name=tokens,proto3" json:"tokens,omitempty"` DelegatorShares []*v1beta1.DecCoin `protobuf:"bytes,10,rep,name=delegator_shares,json=delegatorShares,proto3" json:"delegator_shares,omitempty"` // Accredited defines if the service is accredited. // Note: We use this term instead of "trusted" of "verified" in order to // represent something more generic. // Initially, services will be accredited by the on-chain governance process. // In the future, we may add more ways to accredit services (e.g. automatic // ones based on the operators that decide to run the service, or the amount // of cryptoeconomic security that the service was able to capture). Accredited bool `protobuf:"varint,11,opt,name=accredited,proto3" json:"accredited,omitempty"` // contains filtered or unexported fields }
Service defines the fields of a service
func (*Service) Descriptor
deprecated
func (*Service) GetAccredited ¶
func (*Service) GetAddress ¶
func (*Service) GetDelegatorShares ¶
func (*Service) GetDescription ¶
func (*Service) GetPictureUrl ¶
func (*Service) GetStatus ¶
func (x *Service) GetStatus() ServiceStatus
func (*Service) GetWebsite ¶
func (*Service) ProtoMessage ¶
func (*Service) ProtoMessage()
func (*Service) ProtoReflect ¶
func (x *Service) ProtoReflect() protoreflect.Message
type ServiceParams ¶
type ServiceParams struct { // AllowedDenoms defines the list of denoms that can be restaked toward // the service. If the list is empty, any denom can be used. AllowedDenoms []string `protobuf:"bytes,1,rep,name=allowed_denoms,json=allowedDenoms,proto3" json:"allowed_denoms,omitempty"` // contains filtered or unexported fields }
ServiceParams defines the parameters of a service
func (*ServiceParams) Descriptor
deprecated
func (*ServiceParams) Descriptor() ([]byte, []int)
Deprecated: Use ServiceParams.ProtoReflect.Descriptor instead.
func (*ServiceParams) GetAllowedDenoms ¶
func (x *ServiceParams) GetAllowedDenoms() []string
func (*ServiceParams) ProtoMessage ¶
func (*ServiceParams) ProtoMessage()
func (*ServiceParams) ProtoReflect ¶
func (x *ServiceParams) ProtoReflect() protoreflect.Message
func (*ServiceParams) Reset ¶
func (x *ServiceParams) Reset()
func (*ServiceParams) String ¶
func (x *ServiceParams) String() string
type ServiceParamsRecord ¶
type ServiceParamsRecord struct { // ServiceID represents the ID of the service to which the parameters // should be set. ServiceId uint32 `protobuf:"varint,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` // Params represents the parameters that should be set to the // service. Params *ServiceParams `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"` // contains filtered or unexported fields }
ServiceParamsRecord represents the parameters that have been set for a specific service.
func (*ServiceParamsRecord) Descriptor
deprecated
func (*ServiceParamsRecord) Descriptor() ([]byte, []int)
Deprecated: Use ServiceParamsRecord.ProtoReflect.Descriptor instead.
func (*ServiceParamsRecord) GetParams ¶
func (x *ServiceParamsRecord) GetParams() *ServiceParams
func (*ServiceParamsRecord) GetServiceId ¶
func (x *ServiceParamsRecord) GetServiceId() uint32
func (*ServiceParamsRecord) ProtoMessage ¶
func (*ServiceParamsRecord) ProtoMessage()
func (*ServiceParamsRecord) ProtoReflect ¶
func (x *ServiceParamsRecord) ProtoReflect() protoreflect.Message
func (*ServiceParamsRecord) Reset ¶
func (x *ServiceParamsRecord) Reset()
func (*ServiceParamsRecord) String ¶
func (x *ServiceParamsRecord) String() string
type ServiceStatus ¶
type ServiceStatus int32
ServiceStatus defines the status of a service
const ( // SERVICE_STATUS_UNSPECIFIED defines an unspecified status ServiceStatus_SERVICE_STATUS_UNSPECIFIED ServiceStatus = 0 // SERVICE_STATUS_CREATED identifies a recently created service that is not // yet active ServiceStatus_SERVICE_STATUS_CREATED ServiceStatus = 1 // SERVICE_STATUS_ACTIVE identifies an active service ServiceStatus_SERVICE_STATUS_ACTIVE ServiceStatus = 2 // SERVICE_STATUS_INACTIVE identifies an inactive service ServiceStatus_SERVICE_STATUS_INACTIVE ServiceStatus = 3 )
func (ServiceStatus) Descriptor ¶
func (ServiceStatus) Descriptor() protoreflect.EnumDescriptor
func (ServiceStatus) Enum ¶
func (x ServiceStatus) Enum() *ServiceStatus
func (ServiceStatus) EnumDescriptor
deprecated
func (ServiceStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use ServiceStatus.Descriptor instead.
func (ServiceStatus) Number ¶
func (x ServiceStatus) Number() protoreflect.EnumNumber
func (ServiceStatus) String ¶
func (x ServiceStatus) String() string
func (ServiceStatus) Type ¶
func (ServiceStatus) Type() protoreflect.EnumType
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct{}
UnimplementedMsgServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedMsgServer) AccreditService ¶
func (UnimplementedMsgServer) AccreditService(context.Context, *MsgAccreditService) (*MsgAccreditServiceResponse, error)
func (UnimplementedMsgServer) ActivateService ¶
func (UnimplementedMsgServer) ActivateService(context.Context, *MsgActivateService) (*MsgActivateServiceResponse, error)
func (UnimplementedMsgServer) CreateService ¶
func (UnimplementedMsgServer) CreateService(context.Context, *MsgCreateService) (*MsgCreateServiceResponse, error)
func (UnimplementedMsgServer) DeactivateService ¶
func (UnimplementedMsgServer) DeactivateService(context.Context, *MsgDeactivateService) (*MsgDeactivateServiceResponse, error)
func (UnimplementedMsgServer) DeleteService ¶
func (UnimplementedMsgServer) DeleteService(context.Context, *MsgDeleteService) (*MsgDeleteServiceResponse, error)
func (UnimplementedMsgServer) RevokeServiceAccreditation ¶
func (UnimplementedMsgServer) RevokeServiceAccreditation(context.Context, *MsgRevokeServiceAccreditation) (*MsgRevokeServiceAccreditationResponse, error)
func (UnimplementedMsgServer) SetServiceParams ¶
func (UnimplementedMsgServer) SetServiceParams(context.Context, *MsgSetServiceParams) (*MsgSetServiceParamsResponse, error)
func (UnimplementedMsgServer) TransferServiceOwnership ¶
func (UnimplementedMsgServer) TransferServiceOwnership(context.Context, *MsgTransferServiceOwnership) (*MsgTransferServiceOwnershipResponse, error)
func (UnimplementedMsgServer) UpdateParams ¶
func (UnimplementedMsgServer) UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
func (UnimplementedMsgServer) UpdateService ¶
func (UnimplementedMsgServer) UpdateService(context.Context, *MsgUpdateService) (*MsgUpdateServiceResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct{}
UnimplementedQueryServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedQueryServer) Params ¶
func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
func (UnimplementedQueryServer) Service ¶
func (UnimplementedQueryServer) Service(context.Context, *QueryServiceRequest) (*QueryServiceResponse, error)
func (UnimplementedQueryServer) ServiceParams ¶
func (UnimplementedQueryServer) ServiceParams(context.Context, *QueryServiceParamsRequest) (*QueryServiceParamsResponse, error)
func (UnimplementedQueryServer) Services ¶
func (UnimplementedQueryServer) Services(context.Context, *QueryServicesRequest) (*QueryServicesResponse, error)
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.