server

package
v1.9.2 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run()

Types

type DataSources

type DataSources struct {
	MongoDBClient *mongo.Client
	// contains filtered or unexported fields
}

func NewDataSources added in v1.7.0

func NewDataSources(cfg *config.DataSources) (*DataSources, error)

NewDataSources creates and initialises the data sources for the server.

func (*DataSources) Close added in v1.7.0

func (ds *DataSources) Close(ctx context.Context)

Close disconnects any open connections to the data sources.

Jump to

Keyboard shortcuts

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