service

package
v0.0.0-...-fb5fdcc Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProviderSet = wire.NewSet(
	NewAreaService,
)

Functions

This section is empty.

Types

type AreaService

type AreaService struct {
	pb.UnimplementedAreaServer
	// contains filtered or unexported fields
}

func NewAreaService

func NewAreaService(area *area.AreaUsecase) *AreaService

func (*AreaService) CascadeListArea

CascadeListArea 级联列表

func (*AreaService) CreateArea

func (s *AreaService) CreateArea(ctx context.Context, req *pb.CreateAreaRequest) (*pb.CreateAreaReply, error)

func (*AreaService) DeleteArea

func (s *AreaService) DeleteArea(ctx context.Context, req *pb.DeleteAreaRequest) (*pb.DeleteAreaReply, error)

func (*AreaService) GetArea

func (s *AreaService) GetArea(ctx context.Context, req *pb.GetAreaRequest) (*pb.GetAreaReply, error)

func (*AreaService) ListArea

func (s *AreaService) ListArea(ctx context.Context, req *pb.ListAreaRequest) (*pb.ListAreaReply, error)

func (*AreaService) UpdateArea

func (s *AreaService) UpdateArea(ctx context.Context, req *pb.UpdateAreaRequest) (*pb.UpdateAreaReply, error)

Jump to

Keyboard shortcuts

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