Documentation ¶
Index ¶
- func IsInvalidConfig(err error) bool
- func IsInvalidInput(err error) bool
- func IsInvalidUser(err error) bool
- type Handler
- func (h *Handler) Attach(g *grpc.Server)
- func (h *Handler) Create(ctx context.Context, req *texupd.CreateI) (*texupd.CreateO, error)
- func (h *Handler) Delete(ctx context.Context, req *texupd.DeleteI) (*texupd.DeleteO, error)
- func (h *Handler) Search(ctx context.Context, req *texupd.SearchI) (*texupd.SearchO, error)
- func (h *Handler) Update(ctx context.Context, req *texupd.UpdateI) (*texupd.UpdateO, error)
- type HandlerConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsInvalidConfig ¶
func IsInvalidInput ¶
func IsInvalidUser ¶
Types ¶
type Handler ¶
type Handler struct { texupd.UnimplementedAPIServer // contains filtered or unexported fields }
func NewHandler ¶
func NewHandler(config HandlerConfig) (*Handler, error)
Click to show internal directories.
Click to hide internal directories.