server

package
v0.0.0-...-fd1a453 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 12, 2025 License: Apache-2.0, MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Serve

func Serve(r *gin.Engine, ctx context.Context)

Serve starts the server with gin's default engine. Server gracefully shut's down

func ServeSync

func ServeSync(ctx context.Context, wg *sync.WaitGroup)

Serve sync starts the server with a given wait group. When server starts, the wait group counter is increased and processes that depend on server can be ran synchronously with it

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL