15 lines
389 B
Go
15 lines
389 B
Go
package config
|
|
|
|
import (
|
|
"git.xiaotuo.co/micro/skeleton/internal/queue/jetstream"
|
|
"git.xiaotuo.co/micro/skeleton/internal/storage"
|
|
)
|
|
|
|
type Config struct {
|
|
Env string `json:"env"`
|
|
Port string `json:"port"`
|
|
Storage storage.Config `json:"storage"`
|
|
JetStream jetstream.Config `json:"jet_stream"`
|
|
EtcdServer string `json:"etcd_server"`
|
|
}
|