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 *user.CreateI) (*user.CreateO, error)
- func (h *Handler) Delete(ctx context.Context, req *user.DeleteI) (*user.DeleteO, error)
- func (h *Handler) Search(ctx context.Context, req *user.SearchI) (*user.SearchO, error)
- func (h *Handler) Update(ctx context.Context, req *user.UpdateI) (*user.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 { user.UnimplementedAPIServer // contains filtered or unexported fields }
func NewHandler ¶
func NewHandler(config HandlerConfig) (*Handler, error)
Click to show internal directories.
Click to hide internal directories.