sv_thread

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FormatFull     = "full"
	FormatMetadata = "metadata"
	FormatMinimal  = "minimal"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ResolveOpt

type ResolveOpt func(o ResolveOpts) ResolveOpts

func ResolveFormat

func ResolveFormat(format string) ResolveOpt

type ResolveOpts

type ResolveOpts struct {
	Format string
}

func (ResolveOpts) Apply

func (z ResolveOpts) Apply(opts ...ResolveOpt) ResolveOpts

type Thread

type Thread interface {
	List() (threads []*mo_thread.Thread, err error)
	Resolve(id string, opts ...ResolveOpt) (thread *mo_thread.Thread, err error)
}

func New

func New(ctx goog_context.Context, userId string) Thread

Jump to

Keyboard shortcuts

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