engine

package
v0.0.0-...-ac99608 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Code generated by protoc-gen-hcplugin. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var GetImpl func(key string) ([]byte, error)

GetImpl - this function is called in the implmentation of get operation and should be set by the developer

View Source
var PutImpl func(key string, value []byte) error

PutImpl - this function is called in the implmentation of put operation and should be set by the developer

Functions

func ServeConfig

func ServeConfig() *plugin.ServeConfig

ServeConfig - This is the plugin config thet is used in main function of engine

Types

type KV

type KV struct{}

KV - this is the struct that implements engine operations

func (KV) Get

func (KV) Get(key string) ([]byte, error)

Get - Implementation of Get method for go engine

func (KV) Put

func (KV) Put(key string, value []byte) error

Put - Implementation of Put method for go engine

Jump to

Keyboard shortcuts

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