services

package
v2.0.0-...-4fea3fb Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

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

type ContextAwareCometInfoService

type ContextAwareCometInfoService struct{}

func (*ContextAwareCometInfoService) CometInfo

CometInfo implements comet.Service.

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

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

Jump to

Keyboard shortcuts

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