handler

package
v3.15.0 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2022 License: Apache-2.0 Imports: 19 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// contains filtered or unexported fields
}

func NewConfig

func NewConfig(key string) *Config

func (*Config) Delete

func (c *Config) Delete(ctx context.Context, req *pb.DeleteRequest, rsp *pb.DeleteResponse) error

func (*Config) Get

func (c *Config) Get(ctx context.Context, req *pb.GetRequest, rsp *pb.GetResponse) error

func (*Config) Read

func (c *Config) Read(ctx context.Context, req *pb.ReadRequest, rsp *pb.ReadResponse) error

Read method is only here for backwards compatibility

func (*Config) Set

func (c *Config) Set(ctx context.Context, req *pb.SetRequest, rsp *pb.SetResponse) error

Jump to

Keyboard shortcuts

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