Verified Commit 3d4f2942 authored by shelikhoo's avatar shelikhoo
Browse files

Add Bridge List Definition

parent f38c91f9
package main
import "sync"
type bridgeListHolder struct {
bridgeInfo map[[20]byte]BridgeInfo
accessBridgeInfo sync.RWMutex
type BridgeListHolder interface {
GetBridgeInfo(fingerprint [20]byte) (BridgeInfo, error)
type BridgeInfo struct {
DisplayName string `json:"displayName"`
WebSocketAddress string `json:"webSocketAddress"`
Fingerprint string `json:"fingerprint"`
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment