service

package
v0.0.0-...-9653296 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2024 License: MIT Imports: 6 Imported by: 0

README

Service

Documentation

Index

Constants

This section is empty.

Variables

ProviderSet is service providers.

Functions

func HandleClassInfo

func HandleClassInfo(classInfo biz.ClassInfo) *pb.ClassInfo

Types

type ClassInfoProxy

type ClassInfoProxy interface {
	AddClassInfoToClassListService(ctx context.Context, request *v1.AddClassRequest) (*v1.AddClassResponse, error)
	SearchClassInfo(ctx context.Context, keyWords string, xnm, xqm string) ([]biz.ClassInfo, error)
}

type ClassServiceService

type ClassServiceService struct {
	pb.UnimplementedClassServiceServer
	// contains filtered or unexported fields
}

func (*ClassServiceService) AddClass

func (*ClassServiceService) SearchClass

func (s *ClassServiceService) SearchClass(ctx context.Context, req *pb.SearchRequest) (*pb.SearchReply, error)

Jump to

Keyboard shortcuts

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