Documentation ¶
Overview ¶
Package comment for comment
Index ¶
- func NewV1() comment.ICommentV1
- type ControllerV1
- func (c *ControllerV1) Compatible(ctx context.Context, req *v1.CompatibleReq) (res *v1.CompatibleRes, err error)
- func (c *ControllerV1) CompatibleCount(ctx context.Context, req *v1.CompatibleCountReq) (res *v1.CompatibleCountRes, err error)
- func (c *ControllerV1) Counter(ctx context.Context, req *v1.CounterReq) (res *v1.CounterRes, err error)
- func (c *ControllerV1) Home(ctx context.Context, req *v1.HomeReq) (res *v1.HomeRes, err error)
- func (c *ControllerV1) Redirect(ctx context.Context, req *v1.RedirectReq) (res *v1.RedirectRes, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewV1 ¶
func NewV1() comment.ICommentV1
Types ¶
type ControllerV1 ¶
type ControllerV1 struct{}
func (*ControllerV1) Compatible ¶
func (c *ControllerV1) Compatible(ctx context.Context, req *v1.CompatibleReq) (res *v1.CompatibleRes, err error)
Compatible .compatible with history interfaces
func (*ControllerV1) CompatibleCount ¶
func (c *ControllerV1) CompatibleCount(ctx context.Context, req *v1.CompatibleCountReq) (res *v1.CompatibleCountRes, err error)
CompatibleCount compatible count
func (*ControllerV1) Counter ¶
func (c *ControllerV1) Counter(ctx context.Context, req *v1.CounterReq) (res *v1.CounterRes, err error)
Counter is the handler for Comment Controller action.
func (*ControllerV1) Redirect ¶
func (c *ControllerV1) Redirect(ctx context.Context, req *v1.RedirectReq) (res *v1.RedirectRes, err error)
Redirect is the handler for Comment Controller action.
Click to show internal directories.
Click to hide internal directories.