cmd

package
v0.0.0-...-8337c00 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Copyright © 2022 NAME HERE <EMAIL ADDRESS>

Copyright © 2022 NAME HERE <EMAIL ADDRESS>

Copyright © 2022 NAME HERE <EMAIL ADDRESS>

Copyright © 2022 NAME HERE <EMAIL ADDRESS>

Copyright © 2022 NAME HERE <EMAIL ADDRESS>

Copyright © 2022 NAME HERE <EMAIL ADDRESS>

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func Provider

func Provider() datasource.DataSource

Types

type GetArgs

type GetArgs struct {
	Key []byte
}

type GetReply

type GetReply struct {
	Result datasource.Item
}

type PutArgs

type PutArgs struct {
	Key   []byte
	Value []byte
	Meta  datasource.ItemMeta
}

type PutReply

type PutReply struct{}

type StashRPCService

type StashRPCService struct{}

func (*StashRPCService) Get

func (h *StashRPCService) Get(r *http.Request, args *GetArgs, reply *GetReply) error

func (*StashRPCService) Put

func (h *StashRPCService) Put(r *http.Request, args *PutArgs, reply *PutReply) error

Jump to

Keyboard shortcuts

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