RK provide bootstrapper for popular frameworks in order to save time for learning complex initializing process.


In advanced user guide, we will introduce how to enable bellow functionalities by modifying boot.yaml.

Functionality Description
Locale How to distinguish environment based os OS.Environment
Logging Use user defined logging
TLS Enable TLS support
Config Use viper config
AppInfo Use custom application information
Multiple entries Start multiple Echo entries
Shutdown hook Register shutdown hook functions
Error type Use standard error type
Override bootstrapper Override bootstrapper
Trace RPC with logs Trace RPC logs based on traceId


Distinguish entries based on different environment.


Customise logging.


Enable TLS/SSL for the server.


How to read configs in local file system.


How to specify application info in boot.yaml?

Multiple entries

How to start multiple GoFrame server with different port in one process?

Error type

What is the best way to return an RPC error?

Shutdown hook

How to add shutdown hook function while receiving shutdown signal?

Override bootstrapper

Is there any way to override boot.yaml or values in boot.yaml at start time?

Trace RPC with logs

How to trace RPC with logs?

Static file handler with Web UI

How to list download static files via Web UI?

Last modified December 6, 2021 : Add GoFrame documentations (b2e3c31)