Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPathByFullyQualifiedName ¶
GetPathByFullyQualifiedName is used to get the grpc path of specified fully qualified name
Types ¶
type Config ¶
type Config struct { ProtoImportPaths []string SyncGitManger *synchronization.Config `yaml:"sync"` }
Config defines the config structure
func (*Config) RegisterFlagsWithPrefix ¶
RegisterFlagsWithPrefix is used to register flags
type Manager ¶
Manager is the implement of Provider
func (*Manager) GetImportPaths ¶
GetImportPaths implements Provider
type Provider ¶
type Provider interface { Start(ctx *mbcontext.Context) error // GetMethod is used to get descriptor of specified grpc path GetMethod(name string) (*desc.MethodDescriptor, bool) // get proto importPaths GetImportPaths() []string }
Provider is used to read, parse and manage Proto files
Click to show internal directories.
Click to hide internal directories.