Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractAutoCLIOptions ¶
func ExtractAutoCLIOptions(appModules map[string]appmodule.AppModule) (map[string]*autocliv1.ModuleOptions, error)
ExtractAutoCLIOptions extracts autocli ModuleOptions from the provided app modules. Example Usage: ExtractAutoCLIOptions(ModuleManager.Modules) Note, runtimev2/services.ExtractAutoCLIOptions differs from runtimev1/services.ExtractAutoCLIOptions as it supports only modules implementing fully the core appmodule interface.
func NewContextAwareTransactionService ¶
func NewContextAwareTransactionService() transaction.Service
Types ¶
type AutoCLIQueryService ¶
type AutoCLIQueryService struct { autocliv1.UnimplementedQueryServer // contains filtered or unexported fields }
AutoCLIQueryService implements the cosmos.autocli.v1.Query service.
func NewAutoCLIQueryService ¶
func NewAutoCLIQueryService(appModules map[string]appmodulev2.AppModule) (*AutoCLIQueryService, error)
NewAutoCLIQueryService returns a AutoCLIQueryService for the provided modules.
func (AutoCLIQueryService) AppOptions ¶
func (a AutoCLIQueryService) AppOptions(context.Context, *autocliv1.AppOptionsRequest) (*autocliv1.AppOptionsResponse, error)
type ContextAwareCometInfoService ¶
type ContextAwareCometInfoService struct{}
type ContextAwareTransactionService ¶
type ContextAwareTransactionService struct{}
ContextAwareTransactionService implements the transaction.Service interface. It is used to retrieve the execution mode in the context.
func (ContextAwareTransactionService) ExecMode ¶
func (c ContextAwareTransactionService) ExecMode(ctx context.Context) transaction.ExecMode
ExecMode returns the execution mode stored in the context.
type ReflectionService ¶
type ReflectionService struct { reflectionv1.UnimplementedReflectionServiceServer // contains filtered or unexported fields }
ReflectionService implements the cosmos.reflection.v1 service.
func NewReflectionService ¶
func NewReflectionService() (*ReflectionService, error)
func (ReflectionService) FileDescriptors ¶
func (r ReflectionService) FileDescriptors(_ context.Context, _ *reflectionv1.FileDescriptorsRequest) (*reflectionv1.FileDescriptorsResponse, error)