handler

package
Version: v0.0.0-...-a1a833e Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2021 License: BSD-3-Clause Imports: 11 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) 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
t or T : Toggle theme light dark auto
y or Y : Canonical URL