Documentation
¶
Index ¶
- func CastDbIDToString(dbID thread.ID) string
- func GetThreadContext(parentCtx context.Context, threadName string, dbID thread.ID, hub bool, ...) (context.Context, error)
- func NewDeterministicThreadID(kc keychain.Keychain, threadVariant DeterministicThreadVariant) (thread.ID, error)
- func ParseDbIDFromString(dbID string) (*thread.ID, error)
- func RandBytes(size int) ([]byte, error)
- type DeterministicThreadVariant
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CastDbIDToString ¶
func GetThreadContext ¶
func GetThreadContext(parentCtx context.Context, threadName string, dbID thread.ID, hub bool, kc keychain.Keychain, hubAuth hub.HubAuth) (context.Context, error)
Readies a context to access a thread given its name and dbid
Types ¶
type DeterministicThreadVariant ¶
type DeterministicThreadVariant string
const (
MetathreadThreadVariant DeterministicThreadVariant = "metathread"
)
Click to show internal directories.
Click to hide internal directories.