Documentation ¶
Index ¶
- func CastDbIDToString(dbID thread.ID) string
- func GetThreadContext(parentCtx context.Context, threadName string, dbID thread.ID, hub bool, ...) (context.Context, error)
- func IsMetaFileName(pathOrName string) bool
- 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, threadsClient *tc.Client) (context.Context, error)
Readies a context to access a thread given its name and dbid
func IsMetaFileName ¶ added in v0.0.22
Types ¶
type DeterministicThreadVariant ¶
type DeterministicThreadVariant string
const (
MetathreadThreadVariant DeterministicThreadVariant = "metathread"
)
Click to show internal directories.
Click to hide internal directories.