service

package
v0.0.0-...-7a2dd3a Latest Latest
Warning

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

Go to latest
Published: May 2, 2022 License: BSD-2-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InvalidArgumentError

type InvalidArgumentError struct {
	// contains filtered or unexported fields
}

func (*InvalidArgumentError) Error

func (e *InvalidArgumentError) Error() string

func (*InvalidArgumentError) Type

func (e *InvalidArgumentError) Type() string

type KifuServiceError

type KifuServiceError interface {
	error
	Type() string
}

type Service

type Service struct {
	// contains filtered or unexported fields
}

func NewService

func NewService(table db.DB) *Service

func (*Service) DeleteKifu

func (*Service) GetKifu

func (*Service) GetSamePositions

func (*Service) PostKifu

func (s *Service) PostKifu(
	ctx context.Context,
	req *kifupb.PostKifuRequest,
) (*kifupb.PostKifuResponse, error)

func (*Service) RecentKifu

Jump to

Keyboard shortcuts

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