startup

package
v1.1.8 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureDbIndexes

func EnsureDbIndexes(db mongo.Database)

func Server

func Server()

func TestServer

func TestServer() (network.Router, Module, Teardown)

Types

type Module

type Module network.Module[module]

func NewModule

func NewModule(context context.Context, env *config.Env, db mongo.Database, store redis.Store) Module

type Shutdown

type Shutdown = func()

type Teardown

type Teardown = func()

Jump to

Keyboard shortcuts

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