Back to godoc.org

Package mini

v2.194.1
Latest Go to latest

The highest tagged major version is v2.

Published: today | Licenses: Apache-2.0 , MIT | Module: berty.tech/berty/v2

Overview

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

Index

func Main

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

type Opts

type Opts struct {
	MessengerClient  bertymessenger.MessengerServiceClient
	ProtocolClient   bertyprotocol.ProtocolServiceClient
	Logger           *zap.Logger
	GroupInvitation  string
	DisplayName      string
	LifecycleManager *lifecycle.Manager
}

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier