Documentation ¶
Index ¶
- func AddToSocialList(appCtx AppCtx, owner common.AccountId, listType SocialListType, ...) error
- func Auth(appCtx AppCtx, username string, password string, ip net.IP, port int32) (common.AccountId, error)
- func CreateAccount(app AppCtx, username string, password string) (common.AccountId, error)
- func GetSocialList(appCtx AppCtx, owner common.AccountId, listType SocialListType) ([]common.AccountId, error)
- func GetUserContacts(appCtx AppCtx, accountIDs []common.AccountId) ([]common.Contact, error)
- func HashPassword(password string) (string, error)
- func RemoveFromSocialList(appCtx AppCtx, owner common.AccountId, listType string, ...) error
- func UpdateUserContact(appCtx AppCtx, accountId common.AccountId, ip net.IP, port int32) error
- type AppCtx
- type SocialListType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddToSocialList ¶
func CreateAccount ¶
func GetSocialList ¶
func GetUserContacts ¶
func HashPassword ¶
func RemoveFromSocialList ¶
Types ¶
type SocialListType ¶
type SocialListType string
const ( SocialListType_BLOCKED SocialListType = "BLOCKED" SocialListType_FOLLOWS SocialListType = "FOLLOWS" SocialListType_FOLLOWING SocialListType = "FOLLOWING" )
Click to show internal directories.
Click to hide internal directories.