Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { StartTime time.Time // StartTime is the timestamp when the application started. ServiceName string // ServiceName is the name of the service. GrpcPort string `mapstructure:"GRPC_PORT"` // GrpcPort is the port number for the gRPC server. GatewayPort string `mapstructure:"GATEWAY_PORT"` // RestPort is the port number for the REST server. Mail email.Config // Mail holds the configuration for mail-related settings. Database db.Config // DBConfig holds the configuration for the database. }
Config represents the application configuration.
Click to show internal directories.
Click to hide internal directories.