external

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Examples

Constants

This section is empty.

Variables

This section is empty.

Functions

func Open

func Open(ctx context.Context, url string) (fs_db.DB, error)

Open returns the client for the external fs db.

Example
package main

import (
	"context"

	"github.com/glebziz/fs_db/internal/utils/log"
	"github.com/glebziz/fs_db/pkg/external"
)

func main() {
	db, err := external.Open(context.Background(), "localhost:8888")
	if err != nil {
		log.Fatalln("Open:", err)
	}

	_ = db
}
Output:

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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