kvstore

package
v0.2.25-beta.0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddNIPostBuilderState

func AddNIPostBuilderState(db sql.Executor, state *types.NIPostBuilderState) error

AddNIPostBuilderState adds the data for nipost builder state to the key-value store.

func AddNIPostChallenge

func AddNIPostChallenge(db sql.Executor, ch *types.NIPostChallenge) error

AddNIPostChallenge adds the data for nipost to the key-value store.

func ClearNIPostBuilderState

func ClearNIPostBuilderState(db sql.Executor) error

ClearNIPostBuilderState clears the data for nipost builder state from the key-value store.

func ClearNIPostChallenge

func ClearNIPostChallenge(db sql.Executor) error

ClearNIPostChallenge clears the data for nipost from the key-value store.

func GetNIPostBuilderState

func GetNIPostBuilderState(db sql.Executor) (*types.NIPostBuilderState, error)

GetNIPostBuilderState returns the data for nipost builder state from the key-value store.

func GetNIPostChallenge

func GetNIPostChallenge(db sql.Executor) (*types.NIPostChallenge, error)

GetNIPostChallenge returns the data for nipost from the key-value store.

Types

This section is empty.

Jump to

Keyboard shortcuts

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