visibility

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsPublic added in v0.10.0

func IsPublic(tokens []string) bool

IsPublic checks if the public token is in the token array

func NewAPI

func NewAPI(mdb *mongo.Database) apis.Visibility

NewAPI creates a new apiImpl object that will use the provided db

Types

This section is empty.

Jump to

Keyboard shortcuts

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