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 {}
func ParseShareLink ¶ added in v0.12.0
func ParseShareLink(getShareString string) (*GetShareFile, error)
func (GetShareFile) String ¶ added in v0.12.0
func (s GetShareFile) String() string
Click to show internal directories.
Click to hide internal directories.