config

package
v2.470.3 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: Apache-2.0, MIT Imports: 1 Imported by: 0

Documentation

Overview

file generated. see /config.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDefaultRDVPMaddr

func GetDefaultRDVPMaddr() []string

Types

type BertyConfig

type BertyConfig struct {
	Berty struct {
		Contacts map[string]struct {
			Link        string `json:"link"`
			Name        string `json:"name"`
			Description string `json:"description"`
			Kind        string `json:"kind"`
			Suggestion  bool   `json:"suggestion"`
			Icon        string `json:"icon"`
		} `json:"contacts"`
		Conversations map[string]struct {
			Link        string `json:"link"`
			Name        string `json:"name"`
			Description string `json:"description"`
			Suggestion  bool   `json:"suggestion"`
		} `json:"conversations"`
	} `json:"berty"`
	P2P struct {
		RDVP []struct {
			Maddr string `json:"maddr"`
		} `json:"rdvp"`
		StaticRelays []string `json:"static-relays" yaml:"static-relays"`
	} `json:"p2p"`
}

BertyConfig represents the configuration file defined in /config/config.yml

var Config BertyConfig

Jump to

Keyboard shortcuts

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