handler

package
v0.0.0-...-2af310e Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2022 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 Ai

type Ai struct{}

func New

func New() *Ai

Return a new handler

func (*Ai) Call

func (e *Ai) Call(ctx context.Context, req *pb.CallRequest, rsp *pb.CallResponse) error

func (*Ai) Check

func (e *Ai) Check(ctx context.Context, req *pb.CheckRequest, rsp *pb.CheckResponse) error

func (*Ai) Moderate

func (e *Ai) Moderate(ctx context.Context, req *pb.ModerateRequest, rsp *pb.ModerateResponse) error

Jump to

Keyboard shortcuts

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