Versions in this module Expand all Collapse all v0 v0.1.2 Apr 14, 2024 v0.1.1 Apr 13, 2024 v0.1.0 Apr 13, 2024 Changes in this version + type AgoraIO struct + APP_CERTIFICATE string + APP_ID string + TOKEN_EXPIRE_TIME int + USER_UUID string + type Clickhouse struct + DEFAULT_DB string + HOST string + PASS string + PORT int + USER string + type Config struct + AgoraIO AgoraIO + Clickhouse Clickhouse + Firestore Firestore + Grpc Grpc + Http Http + Logger Logger + MongoDB MongoDB + Mssql Mssql + Mysql Mysql + Postgresql Postgresql + Redis Redis + Server Server + Sqs Sqs + Swagger Swagger + func ParseConfig() (*Config, error) + type Firestore struct + CREDENTIALS_PATH string + DEFULT_COLLECTION string + PROJECT_ID string + type Grpc struct + COOKIE_LIFE_TIME int + PORT string + READ_TIMEOUT time.Duration + SESSION_COOKIE_NAME string + SSL_CERT_KEY string + SSL_CERT_PATH string + TIMEOUT time.Duration + WRITE_TIMEOUT time.Duration + type Http struct + COOKIE_LIFE_TIME int + PORT string + READ_TIMEOUT time.Duration + SESSION_COOKIE_NAME string + SSL_CERT_KEY string + SSL_CERT_PATH string + TIMEOUT time.Duration + WRITE_TIMEOUT time.Duration + type Logger struct + DISABLE_CALLER bool + DISABLE_STACKTRACE bool + ENCODING string + LEVEL string + type MongoDB struct + DEFAULT_DB string + HOST string + MONGO_DB_ATLAS string + PASS string + PORT int + USER string + type Mssql struct + DEFAULT_DB string + HOST string + MAX_CONN int + PASS string + PORT int + USER string + type Mysql struct + DEFAULT_DB string + HOST string + MAX_CONN int + PASS string + PORT int + USER string + type Postgresql struct + DEFAULT_DB string + DRIVER string + HOST string + MAX_CONN int + PASS string + PORT int + USER string + type Redis struct + DEFAULT_DB int + HOST string + MIN_IDLE_CONN int + PASS string + POOL_SIZE int + POOL_TIMEOUT int + PORT int + USER string + type Server struct + API_VER string + APP_DEBUG bool + APP_ENV string + APP_SECRET string + APP_VERSION string + JWT_TOKEN_EXPIRE_TIME int + MAX_CONN_AGE time.Duration + MAX_CONN_IDLE time.Duration + PROJECT_NAME string + READ_TIMEOUT time.Duration + SERVICE_NAME string + TIMEOUT int + WRITE_TIMEOUT time.Duration + type Sqs struct + APP_ID string + AWS_ACCESS_KEY_ID string + AWS_SECRET_ACCESS_KEY string + REGION string + SMS_NORMAL_QUEUE string + SMS_OTP_QUEUE string + type Swagger struct + SWAGGER_BASIC_AUTH_PASSWORD string + SWAGGER_BASIC_AUTH_USERNAME string