Help us shape the future of Go! Take the 2026 Go Developer Survey

handler

package
v3.10.13 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2023 License: Apache-2.0 Imports: 20 Imported by: 0

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