handler

package
v0.0.0-...-da4b49c Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2023 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCityHandler

func NewCityHandler(crud_city_uc crud_city_usecase.UseCase, search_uc search_usecase.UseCase) pbCity.CityServer

func NewProvinceHandler

func NewProvinceHandler(crud_province_uc crud_province_usecase.UseCase) pbProvince.ProvinceServer

Types

type CityHandler

type CityHandler struct {
	pbCity.UnimplementedCityServer
	// contains filtered or unexported fields
}

func (*CityHandler) FileDownload

func (h *CityHandler) FileDownload(ctx context.Context, req *empty.Empty) (*pbCity.FileDownloadResp, error)

func (*CityHandler) Get

func (h *CityHandler) Get(ctx context.Context, req *pbCity.GetReq) (*pbCity.City, error)

func (*CityHandler) Search

type ProvinceHandler

type ProvinceHandler struct {
	pbProvince.UnimplementedProvinceServer
	// contains filtered or unexported fields
}

func (*ProvinceHandler) Get

func (*ProvinceHandler) GetAll

Directories

Path Synopsis
grst
city
Code generated by protoc-gen-cdd.
Code generated by protoc-gen-cdd.
province
Code generated by protoc-gen-cdd.
Code generated by protoc-gen-cdd.

Jump to

Keyboard shortcuts

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