Documentation ¶
Index ¶
- type Handler
- func (h *Handler) Attach(rtr *mux.Router, opt ...interface{})
- func (h *Handler) Create(ctx context.Context, req *post.CreateI) (*post.CreateO, error)
- func (h *Handler) Delete(ctx context.Context, req *post.DeleteI) (*post.DeleteO, error)
- func (h *Handler) Search(ctx context.Context, req *post.SearchI) (*post.SearchO, error)
- func (h *Handler) Update(ctx context.Context, req *post.UpdateI) (*post.UpdateO, error)
- type HandlerConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
func NewHandler(c HandlerConfig) *Handler
type HandlerConfig ¶
Click to show internal directories.
Click to hide internal directories.