Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ConfigDefault = Config{ ForceSet: nil, AppName: "demo", Port: "5000", CtxTimeout: time.Second * 3, Concurrency: fiber.DefaultConcurrency, ReleaseMode: false, RWTimeout: time.Second * 2, RequestLogger: os.Stdout, ResponseLogger: os.Stdout, UseLiveness: conv.ToPtr(true), UseReadiness: conv.ToPtr(false), UseCors: conv.ToPtr(false), UseCacheControl: conv.ToPtr(false), UseAuth: conv.ToPtr(true), }
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { ForceSet *fiber.Config AppName string Port string CtxTimeout time.Duration Concurrency int ReleaseMode bool RequestLogger io.Writer ResponseLogger io.Writer RWTimeout time.Duration // middlewares UseLiveness *bool UseReadiness *bool UseCors *bool UseCacheControl *bool UseAuth *bool RouteChart []routechart.Chart }
Click to show internal directories.
Click to hide internal directories.