globals

package
v0.0.0-...-483990c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 26, 2020 License: BSD-3-Clause, BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultTeamTopic = "general"

Functions

This section is empty.

Types

type ChatContext

type ChatContext struct {
	InboxSource         types.InboxSource         // source of remote inbox entries for chat
	ConvSource          types.ConversationSource  // source of remote message bodies for chat
	MessageDeliverer    types.MessageDeliverer    // background message delivery service
	ServerCacheVersions types.ServerCacheVersions // server side versions for chat caches
	Searcher            types.Searcher            // For searching chat messages
	Syncer              types.Syncer              // For syncing inbox with server
	FetchRetrier        types.FetchRetrier        // For retrying failed fetch requests
	ConvLoader          types.ConvLoader          // background conversation loader
	PushHandler         types.PushHandler         // for handling push notifications from chat server
	TeamChannelSource   types.TeamChannelSource   // source of all channels in a team
	AttachmentURLSrv    types.AttachmentURLSrv    // source of URLs for loading attachments
	EphemeralPurger     types.EphemeralPurger     // triggers background purges of ephemeral chats
	ActivityNotifier    types.ActivityNotifier    // notify clients of chat of new activity
	AttachmentUploader  types.AttachmentUploader  // upload attachments
	NativeVideoHelper   types.NativeVideoHelper   // connection to native for doing things with video
	StellarLoader       types.StellarLoader       // stellar payment/request loader
}

type ChatContextified

type ChatContextified struct {
	// contains filtered or unexported fields
}

func NewChatContextified

func NewChatContextified(gc *ChatContext) ChatContextified

func (ChatContextified) ChatG

func (c ChatContextified) ChatG() *ChatContext

type Context

type Context struct {
	*libkb.GlobalContext
	*ChatContext
}

func NewContext

func NewContext(g *libkb.GlobalContext, c *ChatContext) *Context

func (*Context) ExternalG

func (c *Context) ExternalG() *libkb.GlobalContext

func (*Context) MetaContext

func (c *Context) MetaContext(ctx context.Context) libkb.MetaContext

type Contextified

type Contextified struct {
	// contains filtered or unexported fields
}

func NewContextified

func NewContextified(gc *Context) Contextified

func (Contextified) G

func (c Contextified) G() *Context

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL