config

package
v1.0.0-alpha.35 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2022 License: Apache-2.0 Imports: 1 Imported by: 4

Documentation

Overview

Package config contains configuration related structures and functions

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Database

type Database struct {
	Driver
	// MustExist if set skips implicit database creation
	MustExist bool
}

Database contains database and connection config

type Driver

type Driver struct {
	TLS               *tls.Config `json:"tls,omitempty"`
	ApplicationId     string      `json:"application_id,omitempty"`
	ApplicationSecret string      `json:"application_secret,omitempty"`
	Token             string      `json:"token,omitempty"`
	URL               string      `json:"url,omitempty"`
}

Driver contains connection and transport configuration

Jump to

Keyboard shortcuts

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