api

package
v0.0.0-...-50ba02b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 17, 2021 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type AffiliateHandler

type AffiliateHandler struct {
	*BaseHandler
	// contains filtered or unexported fields
}

func NewAffiliateHandler

func NewAffiliateHandler(
	baseHandler *BaseHandler,
	linkRepo repo.LinkRepo,
	rewardRepo repo.RewardRepo,
	linkSvc service.LinkService,
) *AffiliateHandler

func (*AffiliateHandler) Route

func (h *AffiliateHandler) Route() chi.Router

type BaseHandler

type BaseHandler struct {
}

func NewBaseHandler

func NewBaseHandler() *BaseHandler

func (*BaseHandler) Route

func (h *BaseHandler) Route() chi.Router

type UploadEntity

type UploadEntity struct {
	FileName string `json:"file_name"`
	Url      string `json:"url,omitempty"`
	Preview  string `json:"preview,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL