Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AddLinkRes ¶
type AddLinkSvc ¶
type AddLinkSvc struct {
Database component.DatabaseItf
}
func (*AddLinkSvc) Do ¶
func (s *AddLinkSvc) Do(ctx context.Context, params AddLinkParams) (AddLinkRes, error)
type GetLinkParams ¶
type GetLinkRes ¶
type GetLinkSvc ¶
type GetLinkSvc struct {
Database component.DatabaseItf
}
func (*GetLinkSvc) Do ¶
func (s *GetLinkSvc) Do(ctx context.Context, params GetLinkParams) (GetLinkRes, error)
type RedirectRes ¶
type RedirectSvc ¶
type RedirectSvc struct { Cache component.CacheItf Database component.DatabaseItf }
func (*RedirectSvc) Do ¶
func (s *RedirectSvc) Do(ctx context.Context, code string) (RedirectRes, error)
Click to show internal directories.
Click to hide internal directories.