grpc

package
v4.0.7 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2023 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	pb.UnimplementedConfigServer
	// contains filtered or unexported fields
}

func NewHandler added in v4.0.1

func NewHandler(name string) *Handler

func (*Handler) Delete added in v4.0.1

func (h *Handler) Delete(ctx context.Context, req *pb.DeleteRequest) (*pb.DeleteResponse, error)

func (*Handler) Get

func (h *Handler) Get(ctx context.Context, req *pb.GetRequest) (*pb.GetResponse, error)

func (*Handler) Id

func (h *Handler) Id() string

func (*Handler) Name

func (h *Handler) Name() string

func (*Handler) Save added in v4.0.1

func (h *Handler) Save(ctx context.Context, req *pb.SaveRequest) (*pb.SaveResponse, error)

func (*Handler) ServiceName

func (h *Handler) ServiceName() string

func (*Handler) Set

func (h *Handler) Set(ctx context.Context, req *pb.SetRequest) (*pb.SetResponse, error)

func (*Handler) Watch added in v4.0.1

func (h *Handler) Watch(req *pb.WatchRequest, stream pb.Config_WatchServer) error

Jump to

Keyboard shortcuts

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