viewertesting

package
v0.1.0-alpha.26 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLoggedInViewer

func GetLoggedInViewer(viewerID string) (viewer.ViewerContext, error)

Types

type LoggedinViewerContext

type LoggedinViewerContext struct {
	ViewerID string
}

func (LoggedinViewerContext) GetViewer

func (LoggedinViewerContext) GetViewerID

func (v LoggedinViewerContext) GetViewerID() string

type OmniViewerContext

type OmniViewerContext struct {
	viewer.LoggedOutViewerContext
}

func (OmniViewerContext) IsOmniscient

func (OmniViewerContext) IsOmniscient() bool

Jump to

Keyboard shortcuts

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