arangodb

package
v0.0.0-...-95f7d39 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Url           string             `json:"url" yaml:"url"`
	Username      string             `json:"username" yaml:"username"`
	Password      string             `json:"password" yaml:"password"`
	Database      string             `json:"database" yaml:"database"`
	Collection    string             `json:"collection" yaml:"collection"`
	CollectionMap *bloblang.Executor `json:"collection_map" yaml:"collection_map"`
}

Config is a config struct for an arango connection.

func (Config) Client

func (a Config) Client() (arango.Client, error)

Client returns a new arangodb client based on the configuration parameters.

Jump to

Keyboard shortcuts

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