listing

package
v0.0.0-...-6346ec2 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, opts Options) error

Types

type MongoOptions

type MongoOptions struct {
	URL        string
	Database   string
	Collection string
}

type Options

type Options struct {
	// Port is the address port to listen
	Port string

	// Mongo defines MongoDB server connection parameters
	Mongo MongoOptions
}

Options is a set of options to be passed to Run

Directories

Path Synopsis
repo

Jump to

Keyboard shortcuts

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