Documentation ¶
Index ¶
- type ID
- type Key
- func Claim(m map[string]string) *Key
- func Invite(m map[string]string) *Key
- func Message(m map[string]string) *Key
- func Role(m map[string]string) *Key
- func Subject(m map[string]string) *Key
- func Timeline(m map[string]string) *Key
- func Update(m map[string]string) *Key
- func User(m map[string]string) *Key
- func Venture(m map[string]string) *Key
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Key ¶ added in v0.3.0
type Key struct {
// contains filtered or unexported fields
}
func Claim ¶ added in v0.4.3
Claim is the storage key for mapping user sibject claims to IDs. A user can have multiple subject claims.
func Invite ¶ added in v0.5.0
Invite is the storage key for mapping invite IDs. A user can be associated with one invite per venture or timeline.
func Message ¶
Message is the storage key for mapping message IDs. A message can have multiple replies, which are just messages as well.
func Role ¶ added in v0.3.0
Role is the storage key for mapping role IDs. A user can have multiple roles associated to resources. The inserted resource key is the filled, hashed version of any of the other resource keys defined here, e.g. sha265("ven:al9qy:tml") for records of timeline roles.
func Subject ¶ added in v0.4.0
Subject is the storage key for mapping user IDs. A user can have multiple associations with multiple resources.
func Timeline ¶
Timeline is the storage key for mapping timeline IDs. A timeline can have multiple updates.
func Update ¶
Update is the storage key for mapping update IDs. An update can have multiple messages.
func User ¶ added in v0.4.0
User is the storage key for mapping user IDs. A user can have multiple associations with multiple resources.