A fork of https://github.com/teal-fm/piper
at main 27 lines 822 B view raw
1// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 3package atproto 4 5// schema: com.atproto.server.deleteAccount 6 7import ( 8 "context" 9 10 "github.com/bluesky-social/indigo/xrpc" 11) 12 13// ServerDeleteAccount_Input is the input argument to a com.atproto.server.deleteAccount call. 14type ServerDeleteAccount_Input struct { 15 Did string `json:"did" cborgen:"did"` 16 Password string `json:"password" cborgen:"password"` 17 Token string `json:"token" cborgen:"token"` 18} 19 20// ServerDeleteAccount calls the XRPC method "com.atproto.server.deleteAccount". 21func ServerDeleteAccount(ctx context.Context, c *xrpc.Client, input *ServerDeleteAccount_Input) error { 22 if err := c.Do(ctx, xrpc.Procedure, "application/json", "com.atproto.server.deleteAccount", nil, input, nil); err != nil { 23 return err 24 } 25 26 return nil 27}