handler

package
Version: v0.0.0-...-3aa4068 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Tag

type Tag struct {
	ParentID string `json:"parentID"`
	Title    string `json:"title"`
	Slug     string `json:"slug"`
	Type     string `json:"type"`
	Count    int64  `json:"count"`
}

type TagService

type TagService struct {
	Store store.Store
}

func (*TagService) DecreaseCount

func (*TagService) IncreaseCount

func (*TagService) List

func (t *TagService) List(ctx context.Context, req *tag.ListRequest, rsp *tag.ListResponse) error

func (*TagService) Update

func (t *TagService) Update(ctx context.Context, req *tag.UpdateRequest, rsp *tag.UpdateResponse) error

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL