Documentation ¶
Index ¶
- type Handler
- func (h *Handler) Delete(ctx context.Context, req *pb.DeleteRequest) (*pb.DeleteResponse, error)
- func (h *Handler) Get(ctx context.Context, req *pb.GetRequest) (*pb.GetResponse, error)
- func (h *Handler) Id() string
- func (h *Handler) Name() string
- func (h *Handler) Save(ctx context.Context, req *pb.SaveRequest) (*pb.SaveResponse, error)
- func (h *Handler) ServiceName() string
- func (h *Handler) Set(ctx context.Context, req *pb.SetRequest) (*pb.SetResponse, error)
- func (h *Handler) Watch(req *pb.WatchRequest, stream pb.Config_WatchServer) error
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 (*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) Save ¶ added in v4.0.1
func (h *Handler) Save(ctx context.Context, req *pb.SaveRequest) (*pb.SaveResponse, error)
func (*Handler) ServiceName ¶
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
Click to show internal directories.
Click to hide internal directories.