types

package
v0.12.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const GET_SHARE_FILE_PREFIX = "sds://"
View Source
const SHARE_LINK_LENGTH = 23

Variables

View Source
var (
	P2P_SERVER_KEY             = ContextKey{Key: "PPServerKey"}
	LISTEN_OFFLINE_QUIT_CH_KEY = ContextKey{Key: "ListenOfflineQuitCh"}
	PP_NETWORK_KEY             = ContextKey{Key: "PpNetworkKey"}
)

Functions

This section is empty.

Types

type ContextKey added in v0.10.0

type ContextKey struct {
	Key string
}

type GetShareFile added in v0.12.0

type GetShareFile struct {
	ShareLink string
	Password  string
}
func ParseShareLink(getShareString string) (*GetShareFile, error)

func (GetShareFile) String added in v0.12.0

func (s GetShareFile) String() string

Jump to

Keyboard shortcuts

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