Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { // gRPC server start parameters section // gRPC is TCP port to listen by gRPC server GRPCPort string // HTTP/REST gateway start parameters section // HTTPPort is TCP port to listen by HTTP/REST gateway HTTPPort string // DB Datastore parameters section // DatastoreDBHost is host of database DatastoreDBHost string // DatastoreDBUser is username to connect to database DatastoreDBUser string // DatastoreDBPassword password to connect to database DatastoreDBPassword string // DatastoreDBSchema is schema of database DatastoreDBSchema string // Log parameters section // LogLevel is global log level: Debug(-1), Info(0), Warn(1), Error(2), DPanic(3), Panic(4), Fatal(5) LogLevel int // LogTimeFormat is print time format for logger e.g. 2006-01-02T15:04:05Z07:00 LogTimeFormat string }
Config is configuration for Server
Click to show internal directories.
Click to hide internal directories.