Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Data ¶
type Data struct { Name string FolderType keybase1.FolderType Private bool TeamID *keybase1.TeamID ResetMembers []keybase1.User }
Data represents the auxiliary data belonging to a KBFS favorite.
type Folder ¶
Folder is a top-level favorited folder name.
func NewFolderFromProtocol ¶
NewFolderFromProtocol creates a Folder from a keybase1.Folder.
type ToAdd ¶
type ToAdd struct { Folder Folder Data Data // Created, if set to true, indicates that this is the first time // the TLF has ever existed. It is only used when adding the TLF // to favorites Created bool }
ToAdd contains the data needed to add a new favorite to the favorites list.
func (ToAdd) ToKBFolder ¶
ToKBFolder converts this data into an object suitable for the keybase1 protocol.
Click to show internal directories.
Click to hide internal directories.