Documentation ¶ Index ¶ type Manager func NewProfileManager(ipfsProxy ipfs.Proxy) *Manager func (pm *Manager) AddProfile(pr Profile) ([]byte, error) func (pm *Manager) GetProfile(hash []byte) (Profile, error) type Profile func (p *Profile) FromBytes(data []byte) error func (p *Profile) ToBytes() ([]byte, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Manager ¶ type Manager struct { // contains filtered or unexported fields } func NewProfileManager ¶ func NewProfileManager(ipfsProxy ipfs.Proxy) *Manager func (*Manager) AddProfile ¶ func (pm *Manager) AddProfile(pr Profile) ([]byte, error) func (*Manager) GetProfile ¶ func (pm *Manager) GetProfile(hash []byte) (Profile, error) type Profile ¶ type Profile struct { Nickname []byte `rlp:"nil"` Info []byte `rlp:"nil"` } func (*Profile) FromBytes ¶ added in v0.21.0 func (p *Profile) FromBytes(data []byte) error func (*Profile) ToBytes ¶ added in v0.21.0 func (p *Profile) ToBytes() ([]byte, error) Source Files ¶ View all Source files profile.go Click to show internal directories. Click to hide internal directories.