go/

directory
v2.35.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2020 License: Apache-2.0, MIT

README

Berty go/

go.dev reference Code coverage

Please, read the main README.md file first.

This folder contains most of the go code needed by the project.

Download

Main binary: go get -u berty.tech/berty/v2/go/cmd/berty

Fetch library to your go cache: go get -u berty.tech/berty/v2

Main components

  • ./cmd/...: binaries / entrypoints
    • go get -v berty.tech/berty/v2/go/cmd/berty
  • ./pkg/...: packages especially made to be imported by other projects
  • ./internal/: internal packages that can be useful to understand how things are working under the hood
    • you won't be able to import them directly from your projects; if you think that an internal package should be made public, open an issue
  • ./framework: bridges used by mobile apps

Directories

Path Synopsis
cmd
berty
Berty is the main CLI tool to manage the Berty ecosystem
Berty is the main CLI tool to manage the Berty ecosystem
rdvp
rdvp is a service to hold berty's rendezvous point
rdvp is a service to hold berty's rendezvous point
framework
internal
gomodhack
Package gomodhack ensures that `go mod` detect some required dependencies.
Package gomodhack ensures that `go mod` detect some required dependencies.
pkg
bertyprotocol
Package bertyprotocol contains code for integrating the Berty protocol in your project
Package bertyprotocol contains code for integrating the Berty protocol in your project

Jump to

Keyboard shortcuts

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