Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Env string Log struct { Level string } bootstrap.GrpcServerRunnerConfig `mapstructure:",squash" yaml:",inline"` HttpServer struct { Port int } Img2Vec struct { Addr string } Milvus struct { Addr string VectorDim int MetricType entity.MetricType NProbe int CollectionName string } ObjectDetector struct { Addr string } Redis struct { Addr string } }
func ParseConfig ¶
ParseConfig parses config file specified by path into config struct and validates it.
func ParseDevConfig ¶
func ParseDevConfig() Config
Click to show internal directories.
Click to hide internal directories.