Documentation ¶ Index ¶ func Run(ctx context.Context, handler func(ctx context.Context) (func(), error)) error func Start(ctx context.Context, injector *inject.Injector, ...) (func(), error) type ServerParam Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Run ¶ func Run(ctx context.Context, handler func(ctx context.Context) (func(), error)) error func Start ¶ func Start(ctx context.Context, injector *inject.Injector, registryRoutes func(ctx context.Context, e *gin.Engine) error, parseCurrentUser func(c *gin.Context) (string, error)) (func(), error) Types ¶ type ServerParam ¶ type ServerParam interface { Init(ctx context.Context) error GetInjector(ctx context.Context) *inject.Injector RegistryRoutes(ctx context.Context, e *gin.Engine) error ParseCurrentUser(c *gin.Context) (string, error) } Source Files ¶ View all Source files param.goserver.go Click to show internal directories. Click to hide internal directories.