controller

package
v0.0.0-...-9982bc2 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2023 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	v1.UnsafeStreakServiceServer
	// contains filtered or unexported fields
}

Controller represents struct that implements StreakServiceServer.

func New

func New(svc *service.Service) Controller

func (Controller) CheckStreak

func (c Controller) CheckStreak(
	ctx context.Context,
	req *v1.CheckStreakRequest,
) (*v1.CheckStreakResponse, error)

func (Controller) GetStreaksHistory

func (Controller) ListenEvents

func (c Controller) ListenEvents(ctx context.Context)

func (Controller) Register

func (c Controller) Register(reg grpc.ServiceRegistrar)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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