arangodb

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2022 License: LGPL-2.1 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArangoDbAdapter

type ArangoDbAdapter struct {
	*adapter.BaseAdapter
	// contains filtered or unexported fields
}

func NewArangoDbAdapter

func NewArangoDbAdapter(name string, config *ArangoDbConfig) *ArangoDbAdapter

func (*ArangoDbAdapter) Close

func (a *ArangoDbAdapter) Close() error

func (*ArangoDbAdapter) Get

func (a *ArangoDbAdapter) Get() driver.Database

func (*ArangoDbAdapter) Setup

func (a *ArangoDbAdapter) Setup() (err error)

type ArangoDbConfig

type ArangoDbConfig struct {
	Servers            []string `json:"Servers,omitempty" config:"Servers,required"`
	Username           string   `json:"Username,omitempty" config:"Username,required"`
	Password           string   `json:"Password,omitempty" config:"Password"`
	Database           string   `json:"Database,omitempty" config:"Database,required"`
	InsecureSkipVerify bool     `json:"InsecureSkipVerify,omitempty" config:"InsecureSkipVerify"`
}

Jump to

Keyboard shortcuts

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