1package plc
2
3import (
4 "context"
5
6 didres "github.com/bluesky-social/indigo/did"
7 "github.com/whyrusleeping/go-did"
8)
9
10type PLCClient interface {
11 didres.Resolver
12 CreateDID(ctx context.Context, sigkey *did.PrivKey, recovery string, handle string, service string) (string, error)
13 UpdateUserHandle(ctx context.Context, didstr string, nhandle string) error
14}