viewertesting

package
v0.1.18 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: MIT Imports: 1 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