Documentation
¶
Index ¶
- Variables
- func GetReqID(ctx context.Context) string
- func InitLogger(c struct_logger.Config, out io.Writer, organization, project string)
- func NewServer(handler http.Handler, port int) *http.Server
- func ParseFlags()
- func StartServer(server *http.Server) error
- func StopServer(ctx context.Context, server *http.Server) error
- func WaitForSignal(ctx context.Context, signals ...os.Signal)
Constants ¶
This section is empty.
Variables ¶
View Source
var Flags flags
View Source
var Logger *slog.Logger
Functions ¶
func InitLogger ¶
func ParseFlags ¶
func ParseFlags()
func StartServer ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.