handler

package
v0.0.0-...-e8f9835 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Paginate

func Paginate(page, pageSize int) func(db *gorm.DB) *gorm.DB

Types

type SpaceServer

type SpaceServer struct {
	proto.UnimplementedSpaceServer
}

func (*SpaceServer) AdSaveOrUpdate

func (*SpaceServer) AdSaveOrUpdate(ctx context.Context, req *proto.AdSaveOrUpdateRequest) (*empty.Empty, error)

func (*SpaceServer) AdUpdateStatus

func (*SpaceServer) AdUpdateStatus(ctx context.Context, req *proto.AdUpdateStatusRequest) (*empty.Empty, error)

func (*SpaceServer) GetAdById

func (*SpaceServer) GetAdList

func (*SpaceServer) GetAllAds

func (*SpaceServer) GetAllSpaces

func (*SpaceServer) GetSpaceById

func (*SpaceServer) SpaceSaveOrUpdate

func (*SpaceServer) SpaceSaveOrUpdate(ctx context.Context, req *proto.SpaceSaveOrUpdateRequest) (*empty.Empty, error)

Jump to

Keyboard shortcuts

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