helpers

package
v0.0.0-...-c88a890 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

* Erascan - erasure protocol explorer * https://github.com/MikaelLazarev/erascan * * Copyright (c) 2019. Mikael Lazarev

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertOIDToString

func ConvertOIDToString(OID interface{}) (string, error)

func GetClient

func GetClient(uri string) *mongo.Client

func TestConnectionDB

func TestConnectionDB(c *mongo.Client) error

Types

type Store

type Store struct {
	Client *mongo.Client
	DB     *mongo.Database
}

func Connect

func Connect(uri string, dbname string) *Store

Jump to

Keyboard shortcuts

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