rc_go

package module
v0.0.0-...-df17d81 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(client_gen func() (Client, error), clientid string, new_client_per_request bool)

Types

type Client

type Client interface {
	Put(string, string) (string, error)
	Get(string) (string, string, error)
	Close()
}

type Operation

type Operation struct {
	Payload map[string]string `json:"payload"`
	Time    float64           `json:"time"`
}

type Preload

type Preload struct {
	Prereq    bool      `json:"prereq"`
	Operation Operation `json:"operation"`
}

Jump to

Keyboard shortcuts

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