hitokoto

package
v0.0.0-...-15e3088 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2023 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAdminV1

func NewAdminV1() hitokoto.IHitokotoAdminV1

func NewV1

func NewV1() hitokoto.IHitokotoV1

Types

type ControllerAdminV1

type ControllerAdminV1 struct{}

func (*ControllerAdminV1) DeleteList

func (c *ControllerAdminV1) DeleteList(ctx context.Context, req *adminV1.DeleteListReq) (res *adminV1.DeleteListRes, err error)

func (*ControllerAdminV1) GetList

func (c *ControllerAdminV1) GetList(ctx context.Context, req *adminV1.GetListReq) (res *adminV1.GetListRes, err error)

func (*ControllerAdminV1) MoveList

func (c *ControllerAdminV1) MoveList(ctx context.Context, req *adminV1.MoveListReq) (res *adminV1.MoveListRes, err error)

func (*ControllerAdminV1) MoveSentence

func (c *ControllerAdminV1) MoveSentence(ctx context.Context, req *adminV1.MoveSentenceReq) (res *adminV1.MoveSentenceRes, err error)

func (*ControllerAdminV1) UpdateOne

func (c *ControllerAdminV1) UpdateOne(ctx context.Context, req *adminV1.UpdateOneReq) (res *adminV1.UpdateOneRes, err error)

type ControllerV1

type ControllerV1 struct{}

func (*ControllerV1) GetHitokoto

func (c *ControllerV1) GetHitokoto(ctx context.Context, req *v1.GetHitokotoReq) (res *v1.GetHitokotoRes, err error)

func (*ControllerV1) GetOnePolls

func (c *ControllerV1) GetOnePolls(ctx context.Context, req *v1.GetOnePollsReq) (res *v1.GetOnePollsRes, err error)

Jump to

Keyboard shortcuts

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