MCPcopy Create free account
hub / github.com/daodst/chat / InsertAddressBook

Method InsertAddressBook

userapi/internal/api.go:910–912  ·  view source on GitHub ↗
(ctx context.Context, localpart string, friendLocalpart []string)

Source from the content-addressed store, hash-verified

908}
909
910func (a *UserInternalAPI) InsertAddressBook(ctx context.Context, localpart string, friendLocalpart []string) (err error) {
911 return a.DB.InsertAddressBook(ctx, localpart, friendLocalpart)
912}
913
914func (a *UserInternalAPI) SelectChainData(ctx context.Context, localpart string) (*types2.UserChainInfo, error) {
915 return a.DB.SelectChainData(ctx, localpart)

Callers

nothing calls this directly

Calls 1

InsertAddressBookMethod · 0.65

Tested by

no test coverage detected