mini

package
v2.89.1 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2020 License: Apache-2.0, MIT Imports: 35 Imported by: 0

Documentation

Overview

Package mini contains main helpers to start a term-based Berty mini client.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Main

func Main(ctx context.Context, opts *Opts) error

Types

type AppMessageTyped added in v2.76.0

type AppMessageTyped interface {
	proto.Message
	GetType() bertymessenger.AppMessageType
}

type Opts

type Opts struct {
	Bootstrap      []string
	RendezVousPeer *peer.AddrInfo

	RemoteAddr      string
	GroupInvitation string
	Port            uint
	RootDS          datastore.Batching
	Logger          *zap.Logger
}

Jump to

Keyboard shortcuts

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