Documentation ¶
Index ¶
- func AccountDelete(ctx context.Context, c *xrpc.Client) error
- func AccountGet(ctx context.Context, c *xrpc.Client) error
- func AccountRequestPasswordReset(ctx context.Context, c *xrpc.Client, input *AccountRequestPasswordReset_Input) error
- func AccountResetPassword(ctx context.Context, c *xrpc.Client, input *AccountResetPassword_Input) error
- func PeeringFollow(ctx context.Context, c *xrpc.Client, input *PeeringFollow_Input) error
- func PeeringInit(ctx context.Context, c *xrpc.Client, input *PeeringInit_Input) error
- func RepoBatchWrite(ctx context.Context, c *xrpc.Client, input *RepoBatchWrite_Input) error
- func RepoDeleteRecord(ctx context.Context, c *xrpc.Client, input *RepoDeleteRecord_Input) error
- func SessionDelete(ctx context.Context, c *xrpc.Client) error
- func SyncGetRepo(ctx context.Context, c *xrpc.Client, did string, from string) ([]byte, error)
- func SyncUpdateRepo(ctx context.Context, c *xrpc.Client, input io.Reader, did string) error
- type AccountCreateInviteCode_Input
- type AccountCreateInviteCode_Output
- type AccountCreate_Input
- type AccountCreate_Output
- type AccountRequestPasswordReset_Input
- type AccountResetPassword_Input
- type BlobUpload_Output
- type HandleResolve_Output
- type PeeringFollow_Input
- type PeeringInit_Input
- type PeeringList_Output
- type PeeringList_Peering
- type PeeringPropose_Input
- type PeeringPropose_Output
- type PeeringPropose_Proposal
- type RepoBatchWrite_Create
- type RepoBatchWrite_Delete
- type RepoBatchWrite_Input
- type RepoBatchWrite_Input_Writes_Elem
- type RepoBatchWrite_Update
- type RepoCreateRecord_Input
- type RepoCreateRecord_Output
- type RepoDeleteRecord_Input
- type RepoDescribe_Output
- type RepoGetRecord_Output
- type RepoListRecords_Output
- type RepoListRecords_Record
- type RepoPutRecord_Input
- type RepoPutRecord_Output
- type RepoStrongRef
- type ServerGetAccountsConfig_Links
- type ServerGetAccountsConfig_Output
- type SessionCreate_Input
- type SessionCreate_Output
- type SessionGet_Output
- type SessionRefresh_Output
- type SyncGetRoot_Output
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AccountResetPassword ¶
func PeeringFollow ¶
func PeeringInit ¶
func RepoBatchWrite ¶
func RepoDeleteRecord ¶
func SyncGetRepo ¶
Types ¶
type AccountCreateInviteCode_Output ¶
type AccountCreateInviteCode_Output struct { LexiconTypeID string `json:"$type,omitempty"` Code string `json:"code" cborgen:"code"` }
func AccountCreateInviteCode ¶
func AccountCreateInviteCode(ctx context.Context, c *xrpc.Client, input *AccountCreateInviteCode_Input) (*AccountCreateInviteCode_Output, error)
type AccountCreate_Input ¶
type AccountCreate_Input struct { LexiconTypeID string `json:"$type,omitempty"` Email string `json:"email" cborgen:"email"` Handle string `json:"handle" cborgen:"handle"` InviteCode *string `json:"inviteCode,omitempty" cborgen:"inviteCode"` Password string `json:"password" cborgen:"password"` RecoveryKey *string `json:"recoveryKey,omitempty" cborgen:"recoveryKey"` }
type AccountCreate_Output ¶
type AccountCreate_Output struct { LexiconTypeID string `json:"$type,omitempty"` AccessJwt string `json:"accessJwt" cborgen:"accessJwt"` Did string `json:"did" cborgen:"did"` Handle string `json:"handle" cborgen:"handle"` RefreshJwt string `json:"refreshJwt" cborgen:"refreshJwt"` }
func AccountCreate ¶
func AccountCreate(ctx context.Context, c *xrpc.Client, input *AccountCreate_Input) (*AccountCreate_Output, error)
type BlobUpload_Output ¶
type BlobUpload_Output struct { LexiconTypeID string `json:"$type,omitempty"` Cid string `json:"cid" cborgen:"cid"` }
func BlobUpload ¶
type HandleResolve_Output ¶
type HandleResolve_Output struct { LexiconTypeID string `json:"$type,omitempty"` Did string `json:"did" cborgen:"did"` }
func HandleResolve ¶
type PeeringFollow_Input ¶
type PeeringInit_Input ¶
type PeeringList_Output ¶
type PeeringList_Output struct { LexiconTypeID string `json:"$type,omitempty"` Peerings []*PeeringList_Peering `json:"peerings" cborgen:"peerings"` }
func PeeringList ¶
type PeeringList_Peering ¶
type PeeringPropose_Input ¶
type PeeringPropose_Input struct { LexiconTypeID string `json:"$type,omitempty"` Proposal *PeeringPropose_Proposal `json:"proposal" cborgen:"proposal"` Signature string `json:"signature" cborgen:"signature"` }
type PeeringPropose_Output ¶
type PeeringPropose_Output struct { LexiconTypeID string `json:"$type,omitempty"` Rejected bool `json:"rejected" cborgen:"rejected"` }
func PeeringPropose ¶
func PeeringPropose(ctx context.Context, c *xrpc.Client, input *PeeringPropose_Input) (*PeeringPropose_Output, error)
type PeeringPropose_Proposal ¶
type RepoBatchWrite_Create ¶
type RepoBatchWrite_Create struct { LexiconTypeID string `json:"$type,omitempty"` Action string `json:"action" cborgen:"action"` Collection string `json:"collection" cborgen:"collection"` Rkey *string `json:"rkey,omitempty" cborgen:"rkey"` Value util.LexiconTypeDecoder `json:"value" cborgen:"value"` }
type RepoBatchWrite_Delete ¶
type RepoBatchWrite_Input ¶
type RepoBatchWrite_Input struct { LexiconTypeID string `json:"$type,omitempty"` Did string `json:"did" cborgen:"did"` Validate *bool `json:"validate,omitempty" cborgen:"validate"` Writes []*RepoBatchWrite_Input_Writes_Elem `json:"writes" cborgen:"writes"` }
type RepoBatchWrite_Input_Writes_Elem ¶
type RepoBatchWrite_Input_Writes_Elem struct { RepoBatchWrite_Create *RepoBatchWrite_Create RepoBatchWrite_Update *RepoBatchWrite_Update RepoBatchWrite_Delete *RepoBatchWrite_Delete }
func (*RepoBatchWrite_Input_Writes_Elem) MarshalJSON ¶
func (t *RepoBatchWrite_Input_Writes_Elem) MarshalJSON() ([]byte, error)
func (*RepoBatchWrite_Input_Writes_Elem) UnmarshalJSON ¶
func (t *RepoBatchWrite_Input_Writes_Elem) UnmarshalJSON(b []byte) error
type RepoBatchWrite_Update ¶
type RepoCreateRecord_Input ¶
type RepoCreateRecord_Input struct { LexiconTypeID string `json:"$type,omitempty"` Collection string `json:"collection" cborgen:"collection"` Did string `json:"did" cborgen:"did"` Record util.LexiconTypeDecoder `json:"record" cborgen:"record"` Validate *bool `json:"validate,omitempty" cborgen:"validate"` }
type RepoCreateRecord_Output ¶
type RepoCreateRecord_Output struct { LexiconTypeID string `json:"$type,omitempty"` Cid string `json:"cid" cborgen:"cid"` Uri string `json:"uri" cborgen:"uri"` }
func RepoCreateRecord ¶
func RepoCreateRecord(ctx context.Context, c *xrpc.Client, input *RepoCreateRecord_Input) (*RepoCreateRecord_Output, error)
type RepoDeleteRecord_Input ¶
type RepoDescribe_Output ¶
type RepoDescribe_Output struct { LexiconTypeID string `json:"$type,omitempty"` Collections []string `json:"collections" cborgen:"collections"` Did string `json:"did" cborgen:"did"` DidDoc util.LexiconTypeDecoder `json:"didDoc" cborgen:"didDoc"` Handle string `json:"handle" cborgen:"handle"` HandleIsCorrect bool `json:"handleIsCorrect" cborgen:"handleIsCorrect"` }
func RepoDescribe ¶
type RepoGetRecord_Output ¶
type RepoGetRecord_Output struct { LexiconTypeID string `json:"$type,omitempty"` Cid *string `json:"cid,omitempty" cborgen:"cid"` Uri string `json:"uri" cborgen:"uri"` Value util.LexiconTypeDecoder `json:"value" cborgen:"value"` }
type RepoListRecords_Output ¶
type RepoListRecords_Output struct { LexiconTypeID string `json:"$type,omitempty"` Cursor *string `json:"cursor,omitempty" cborgen:"cursor"` Records []*RepoListRecords_Record `json:"records" cborgen:"records"` }
type RepoListRecords_Record ¶
type RepoListRecords_Record struct { LexiconTypeID string `json:"$type,omitempty"` Cid string `json:"cid" cborgen:"cid"` Uri string `json:"uri" cborgen:"uri"` Value util.LexiconTypeDecoder `json:"value" cborgen:"value"` }
type RepoPutRecord_Input ¶
type RepoPutRecord_Input struct { LexiconTypeID string `json:"$type,omitempty"` Collection string `json:"collection" cborgen:"collection"` Did string `json:"did" cborgen:"did"` Record util.LexiconTypeDecoder `json:"record" cborgen:"record"` Rkey string `json:"rkey" cborgen:"rkey"` Validate *bool `json:"validate,omitempty" cborgen:"validate"` }
type RepoPutRecord_Output ¶
type RepoPutRecord_Output struct { LexiconTypeID string `json:"$type,omitempty"` Cid string `json:"cid" cborgen:"cid"` Uri string `json:"uri" cborgen:"uri"` }
func RepoPutRecord ¶
func RepoPutRecord(ctx context.Context, c *xrpc.Client, input *RepoPutRecord_Input) (*RepoPutRecord_Output, error)
type RepoStrongRef ¶
type RepoStrongRef struct { LexiconTypeID string `json:"$type,omitempty"` Cid string `json:"cid" cborgen:"cid"` Uri string `json:"uri" cborgen:"uri"` }
func (*RepoStrongRef) MarshalCBOR ¶
func (t *RepoStrongRef) MarshalCBOR(w io.Writer) error
func (*RepoStrongRef) UnmarshalCBOR ¶
func (t *RepoStrongRef) UnmarshalCBOR(r io.Reader) (err error)
type ServerGetAccountsConfig_Output ¶
type ServerGetAccountsConfig_Output struct { LexiconTypeID string `json:"$type,omitempty"` AvailableUserDomains []string `json:"availableUserDomains" cborgen:"availableUserDomains"` InviteCodeRequired *bool `json:"inviteCodeRequired,omitempty" cborgen:"inviteCodeRequired"` Links *ServerGetAccountsConfig_Links `json:"links,omitempty" cborgen:"links"` }
func ServerGetAccountsConfig ¶
type SessionCreate_Input ¶
type SessionCreate_Output ¶
type SessionCreate_Output struct { LexiconTypeID string `json:"$type,omitempty"` AccessJwt string `json:"accessJwt" cborgen:"accessJwt"` Did string `json:"did" cborgen:"did"` Handle string `json:"handle" cborgen:"handle"` RefreshJwt string `json:"refreshJwt" cborgen:"refreshJwt"` }
func SessionCreate ¶
func SessionCreate(ctx context.Context, c *xrpc.Client, input *SessionCreate_Input) (*SessionCreate_Output, error)
type SessionGet_Output ¶
type SessionGet_Output struct { LexiconTypeID string `json:"$type,omitempty"` Did string `json:"did" cborgen:"did"` Handle string `json:"handle" cborgen:"handle"` }
func SessionGet ¶
type SessionRefresh_Output ¶
type SessionRefresh_Output struct { LexiconTypeID string `json:"$type,omitempty"` AccessJwt string `json:"accessJwt" cborgen:"accessJwt"` Did string `json:"did" cborgen:"did"` Handle string `json:"handle" cborgen:"handle"` RefreshJwt string `json:"refreshJwt" cborgen:"refreshJwt"` }
func SessionRefresh ¶
type SyncGetRoot_Output ¶
type SyncGetRoot_Output struct { LexiconTypeID string `json:"$type,omitempty"` Root string `json:"root" cborgen:"root"` }
func SyncGetRoot ¶
Source Files ¶
- accountcreate.go
- accountcreateInviteCode.go
- accountdelete.go
- accountget.go
- accountrequestPasswordReset.go
- accountresetPassword.go
- blobupload.go
- cbor_gen.go
- handleresolve.go
- peeringfollow.go
- peeringinit.go
- peeringlist.go
- peeringpropose.go
- repobatchWrite.go
- repocreateRecord.go
- repodeleteRecord.go
- repodescribe.go
- repogetRecord.go
- repolistRecords.go
- repoputRecord.go
- repostrongRef.go
- servergetAccountsConfig.go
- sessioncreate.go
- sessiondelete.go
- sessionget.go
- sessionrefresh.go
- syncgetRepo.go
- syncgetRoot.go
- syncupdateRepo.go
Click to show internal directories.
Click to hide internal directories.