Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseFilePathFromImportPath ¶
input is of form github.com/osmosis-labs/osmosis/vXX/{PATH} returns PATH
Types ¶
type CliDescriptor ¶
type CliDescriptor struct{}
type GrpcTemplate ¶
func GrpcTemplateFromQueryYml ¶
func GrpcTemplateFromQueryYml(queryYml QueryYml) GrpcTemplate
type ProtoWrapperDescriptor ¶
type QueryYml ¶
type QueryYml struct { // Keeper struct descriptor Keeper Keeper `yaml:"keeper"` // Path to client folder e.g. "github.com/osmosis-labs/osmosis/v16/x/twap/client" ClientPath string `yaml:"client_path"` // list of all queries, key is the query name, e.g. `GetArithmeticTwap` Queries map[string]YmlQueryDescriptor `yaml:"queries"` // contains filtered or unexported fields }
func ReadYmlFile ¶
type YmlQueryDescriptor ¶
type YmlQueryDescriptor struct { ProtoWrapper *ProtoWrapperDescriptor `yaml:"proto_wrapper,omitempty"` Cli *CliDescriptor }
Click to show internal directories.
Click to hide internal directories.