SYMBOL INDEX (22244 symbols across 2579 files) FILE: book-shop/app/facade/handlers/handler_item/add.go function AddProduct (line 39) | func AddProduct(ctx context.Context, c *app.RequestContext) { FILE: book-shop/app/facade/handlers/handler_item/del.go function DelProduct (line 38) | func DelProduct(ctx context.Context, c *app.RequestContext) { FILE: book-shop/app/facade/handlers/handler_item/edit.go function EditProduct (line 39) | func EditProduct(ctx context.Context, c *app.RequestContext) { FILE: book-shop/app/facade/handlers/handler_item/get.go function GetProduct (line 39) | func GetProduct(ctx context.Context, c *app.RequestContext) { FILE: book-shop/app/facade/handlers/handler_item/list.go function ListProduct (line 38) | func ListProduct(ctx context.Context, c *app.RequestContext) { FILE: book-shop/app/facade/handlers/handler_item/mget2c.go function MGetProduct2C (line 40) | func MGetProduct2C(ctx context.Context, c *app.RequestContext) { FILE: book-shop/app/facade/handlers/handler_item/offline.go function OfflineProduct (line 38) | func OfflineProduct(ctx context.Context, c *app.RequestContext) { FILE: book-shop/app/facade/handlers/handler_item/online.go function OnlineProduct (line 38) | func OnlineProduct(ctx context.Context, c *app.RequestContext) { FILE: book-shop/app/facade/handlers/handler_item/search.go function SearchProduct (line 38) | func SearchProduct(ctx context.Context, c *app.RequestContext) { FILE: book-shop/app/facade/handlers/handler_order/cancel.go function CancelOrder (line 38) | func CancelOrder(ctx context.Context, c *app.RequestContext) { FILE: book-shop/app/facade/handlers/handler_order/create.go function CreateOrder (line 41) | func CreateOrder(ctx context.Context, c *app.RequestContext) { FILE: book-shop/app/facade/handlers/handler_order/get.go function GetOrder (line 39) | func GetOrder(ctx context.Context, c *app.RequestContext) { FILE: book-shop/app/facade/handlers/handler_order/list.go function ListOrder (line 39) | func ListOrder(ctx context.Context, c *app.RequestContext) { FILE: book-shop/app/facade/handlers/handler_user/shop_login.go function ShopLogin (line 34) | func ShopLogin(ctx context.Context, c *app.RequestContext) { FILE: book-shop/app/facade/handlers/handler_user/user_login.go function UserLogin (line 34) | func UserLogin(ctx context.Context, c *app.RequestContext) { FILE: book-shop/app/facade/handlers/handler_user/user_register.go function UserRegister (line 37) | func UserRegister(ctx context.Context, c *app.RequestContext) { FILE: book-shop/app/facade/infras/client/init.go function Init (line 19) | func Init() { FILE: book-shop/app/facade/infras/client/item.go function initItemRpc (line 33) | func initItemRpc() { function AddProduct (line 52) | func AddProduct(ctx context.Context, req *item.AddReq) (int64, error) { function EditProduct (line 63) | func EditProduct(ctx context.Context, req *item.EditReq) error { function OperateProduct (line 74) | func OperateProduct(ctx context.Context, productId int64, operate string... function GetProduct (line 104) | func GetProduct(ctx context.Context, productId int64) (*item.Product, er... function MGetProducts2C (line 115) | func MGetProducts2C(ctx context.Context, productIds []int64) (map[int64]... function SearchProduct (line 128) | func SearchProduct(ctx context.Context, req *item.SearchReq) ([]*item.Pr... function ListProduct (line 139) | func ListProduct(ctx context.Context, req *item.ListReq) ([]*item.Produc... FILE: book-shop/app/facade/infras/client/order.go function initOrderRpc (line 33) | func initOrderRpc() { function CreateOrder (line 52) | func CreateOrder(ctx context.Context, req *order.CreateOrderReq) error { function CancelOrder (line 63) | func CancelOrder(ctx context.Context, orderId int64) error { function GetOrderById (line 74) | func GetOrderById(ctx context.Context, orderId int64) (*order.OrderItem,... function ListOrder (line 87) | func ListOrder(ctx context.Context, userId int64, status *int64) ([]*ord... FILE: book-shop/app/facade/infras/client/user.go function initUserRpc (line 34) | func initUserRpc() { function CreateUser (line 53) | func CreateUser(ctx context.Context, req *user.CreateUserReq) error { function CheckUser (line 64) | func CheckUser(ctx context.Context, req *user.CheckUserReq) (int64, erro... FILE: book-shop/app/facade/main.go function Init (line 39) | func Init() { function main (line 118) | func main() { FILE: book-shop/app/facade/model/model.go type Response (line 32) | type Response struct function SendResponse (line 39) | func SendResponse(c *app.RequestContext, err error, data interface{}) { type UserParam (line 48) | type UserParam struct type LoginResponse (line 53) | type LoginResponse struct type AddProductRequest (line 59) | type AddProductRequest struct type EditProductRequest (line 70) | type EditProductRequest struct type OperateProductReq (line 82) | type OperateProductReq struct type SearchProductReq (line 86) | type SearchProductReq struct type ListProductReq (line 92) | type ListProductReq struct type CreateOrderReq (line 98) | type CreateOrderReq struct type CancelOrderReq (line 104) | type CancelOrderReq struct type ListOrderReq (line 108) | type ListOrderReq struct FILE: book-shop/app/item/common/constant/constant.go constant ProductStatusOnline (line 21) | ProductStatusOnline ProductStatus = 0 constant ProductStatusOffline (line 22) | ProductStatusOffline ProductStatus = 1 constant ProductStatusDelete (line 23) | ProductStatusDelete ProductStatus = 2 constant StateOperationTypeAdd (line 35) | StateOperationTypeAdd StateOperationType = 1 constant StateOperationTypeSave (line 36) | StateOperationTypeSave StateOperationType = 2 constant StateOperationTypeDel (line 37) | StateOperationTypeDel StateOperationType = 3 constant StateOperationTypeOffline (line 38) | StateOperationTypeOffline StateOperationType = 4 constant StateOperationTypeOnline (line 39) | StateOperationTypeOnline StateOperationType = 5 FILE: book-shop/app/item/common/converter/dto_2_entity.go function ConvertDTO2Entity (line 24) | func ConvertDTO2Entity(dto *item.Product) *entity.ProductEntity { function ConvertAddReq2Entity (line 45) | func ConvertAddReq2Entity(req *item.AddReq) (*entity.ProductEntity, erro... function ConvertEditReq2Entity (line 72) | func ConvertEditReq2Entity(originEntity *entity.ProductEntity, req *item... FILE: book-shop/app/item/common/converter/entity_2_dto.go function ConvertEntity2DTO (line 23) | func ConvertEntity2DTO(e *entity.ProductEntity) *item.Product { FILE: book-shop/app/item/common/entity/product_entity.go type ProductEntity (line 20) | type ProductEntity struct method Clone (line 31) | func (entity *ProductEntity) Clone() (*ProductEntity, error) { type PropertyEntity (line 37) | type PropertyEntity struct FILE: book-shop/app/item/common/po/product_po.go type Product (line 23) | type Product struct method TableName (line 37) | func (p *Product) TableName() string { FILE: book-shop/app/item/domain/repository/product_2c_repository.go type Product2CRepository (line 24) | type Product2CRepository interface FILE: book-shop/app/item/domain/repository/product_repository.go type ProductRepository (line 24) | type ProductRepository interface FILE: book-shop/app/item/domain/repository/repository_registry.go type RepositoryRegistry (line 18) | type RepositoryRegistry struct method GetProductRepository (line 30) | func (r *RepositoryRegistry) GetProductRepository() ProductRepository { method SetProductRepository (line 34) | func (r *RepositoryRegistry) SetProductRepository(productRepositoryIns... method GetProduct2CRepository (line 38) | func (r *RepositoryRegistry) GetProduct2CRepository() Product2CReposit... method SetProduct2CRepository (line 42) | func (r *RepositoryRegistry) SetProduct2CRepository(product2CRepositor... method GetStockRepository (line 46) | func (r *RepositoryRegistry) GetStockRepository() StockRepository { method SetStockRepository (line 50) | func (r *RepositoryRegistry) SetStockRepository(stockRepositoryIns Sto... function GetRegistry (line 26) | func GetRegistry() *RepositoryRegistry { FILE: book-shop/app/item/domain/repository/stock_repository.go type StockRepository (line 22) | type StockRepository interface FILE: book-shop/app/item/domain/service/product_query_service.go type ProductQueryService (line 26) | type ProductQueryService struct method GetProduct (line 35) | func (s *ProductQueryService) GetProduct(ctx context.Context, productI... method ListProducts (line 43) | func (s *ProductQueryService) ListProducts(ctx context.Context, name, ... method MGet2C (line 61) | func (s *ProductQueryService) MGet2C(ctx context.Context, productIds [... method Search (line 69) | func (s *ProductQueryService) Search(ctx context.Context, name, descri... function GetProductQueryServiceInstance (line 31) | func GetProductQueryServiceInstance() *ProductQueryService { FILE: book-shop/app/item/domain/service/product_state_service.go type ProductStateService (line 29) | type ProductStateService struct method GetCanTransferFunc (line 101) | func (s *ProductStateService) GetCanTransferFunc(operationType constan... method getConstructTargetInfoFunc (line 110) | func (s *ProductStateService) getConstructTargetInfoFunc(operationType... method ConstructTargetInfo (line 119) | func (s *ProductStateService) ConstructTargetInfo(originProduct *entit... method OperateProduct (line 139) | func (s *ProductStateService) OperateProduct(ctx context.Context, orig... function GetProductStateService (line 33) | func GetProductStateService() *ProductStateService { type ProductStateInfo (line 37) | type ProductStateInfo struct type CanTransferFunc (line 41) | type CanTransferFunc type ConstructTargetInfoFunc (line 43) | type ConstructTargetInfoFunc FILE: book-shop/app/item/domain/service/product_stock_service.go type ProductStockService (line 24) | type ProductStockService struct method IncreaseStockNum (line 32) | func (s *ProductStockService) IncreaseStockNum(ctx context.Context, pr... method DecreaseStockNum (line 36) | func (s *ProductStockService) DecreaseStockNum(ctx context.Context, pr... function GetProductStockServiceInstance (line 28) | func GetProductStockServiceInstance() *ProductStockService { FILE: book-shop/app/item/domain/service/product_update_service.go type ProductUpdateService (line 26) | type ProductUpdateService struct method AddProduct (line 34) | func (s *ProductUpdateService) AddProduct(ctx context.Context, entity ... method EditProduct (line 42) | func (s *ProductUpdateService) EditProduct(ctx context.Context, origin... function GetProductUpdateServiceInstance (line 30) | func GetProductUpdateServiceInstance() *ProductUpdateService { FILE: book-shop/app/item/handler.go type ItemServiceImpl (line 26) | type ItemServiceImpl struct method Add (line 29) | func (s *ItemServiceImpl) Add(ctx context.Context, req *item.AddReq) (... method Edit (line 35) | func (s *ItemServiceImpl) Edit(ctx context.Context, req *item.EditReq)... method Delete (line 41) | func (s *ItemServiceImpl) Delete(ctx context.Context, req *item.Delete... method Online (line 47) | func (s *ItemServiceImpl) Online(ctx context.Context, req *item.Online... method Offline (line 53) | func (s *ItemServiceImpl) Offline(ctx context.Context, req *item.Offli... method Get (line 59) | func (s *ItemServiceImpl) Get(ctx context.Context, req *item.GetReq) (... method Search (line 65) | func (s *ItemServiceImpl) Search(ctx context.Context, req *item.Search... method List (line 71) | func (s *ItemServiceImpl) List(ctx context.Context, req *item.ListReq)... method MGet2C (line 77) | func (s *ItemServiceImpl) MGet2C(ctx context.Context, req *item.MGet2C... method DecrStock (line 83) | func (s *ItemServiceImpl) DecrStock(ctx context.Context, req *item.Dec... method DecrStockRevert (line 89) | func (s *ItemServiceImpl) DecrStockRevert(ctx context.Context, req *it... FILE: book-shop/app/item/handler/add_handler.go type AddHandler (line 27) | type AddHandler struct method Add (line 39) | func (h *AddHandler) Add() (*item.AddResp, error) { function NewAddHandler (line 32) | func NewAddHandler(ctx context.Context, req *item.AddReq) *AddHandler { FILE: book-shop/app/item/handler/decrease_stock_handler.go type DecrStockHandler (line 26) | type DecrStockHandler struct method DecrStock (line 38) | func (h *DecrStockHandler) DecrStock() (*item.DecrStockResp, error) { function NewDecrStockHandler (line 31) | func NewDecrStockHandler(ctx context.Context, req *item.DecrStockReq) *D... FILE: book-shop/app/item/handler/decrease_stock_revert_handler.go type DecrStockRevertHandler (line 26) | type DecrStockRevertHandler struct method DecrStockRevert (line 38) | func (h *DecrStockRevertHandler) DecrStockRevert() (*item.DecrStockRes... function NewDecrStockRevertHandler (line 31) | func NewDecrStockRevertHandler(ctx context.Context, req *item.DecrStockR... FILE: book-shop/app/item/handler/delete_handler.go type DeleteHandler (line 27) | type DeleteHandler struct method Delete (line 39) | func (h *DeleteHandler) Delete() (*item.DeleteResp, error) { function NewDeleteHandler (line 32) | func NewDeleteHandler(ctx context.Context, req *item.DeleteReq) *DeleteH... FILE: book-shop/app/item/handler/edit_handler.go type EditHandler (line 27) | type EditHandler struct method Edit (line 39) | func (h *EditHandler) Edit() (*item.EditResp, error) { function NewEditHandler (line 32) | func NewEditHandler(ctx context.Context, req *item.EditReq) *EditHandler { FILE: book-shop/app/item/handler/get_handler.go type GetHandler (line 27) | type GetHandler struct method Get (line 39) | func (h *GetHandler) Get() (*item.GetResp, error) { function NewGetHandler (line 32) | func NewGetHandler(ctx context.Context, req *item.GetReq) *GetHandler { FILE: book-shop/app/item/handler/list_handler.go type ListHandler (line 27) | type ListHandler struct method List (line 39) | func (h *ListHandler) List() (*item.ListResp, error) { function NewListHandler (line 32) | func NewListHandler(ctx context.Context, req *item.ListReq) *ListHandler { FILE: book-shop/app/item/handler/mget2c_handler.go type MGet2CHandler (line 27) | type MGet2CHandler struct method MGet (line 39) | func (h *MGet2CHandler) MGet() (*item.MGet2CResp, error) { function NewMGet2CHandler (line 32) | func NewMGet2CHandler(ctx context.Context, req *item.MGet2CReq) *MGet2CH... FILE: book-shop/app/item/handler/offline_handler.go type OfflineHandler (line 27) | type OfflineHandler struct method Offline (line 39) | func (h *OfflineHandler) Offline() (*item.OfflineResp, error) { function NewOfflineHandler (line 32) | func NewOfflineHandler(ctx context.Context, req *item.OfflineReq) *Offli... FILE: book-shop/app/item/handler/online_handler.go type OnlineHandler (line 27) | type OnlineHandler struct method Online (line 39) | func (h *OnlineHandler) Online() (*item.OnlineResp, error) { function NewOnlineHandler (line 32) | func NewOnlineHandler(ctx context.Context, req *item.OnlineReq) *OnlineH... FILE: book-shop/app/item/handler/search_handler.go type SearchHandler (line 27) | type SearchHandler struct method Search (line 39) | func (h *SearchHandler) Search() (*item.SearchResp, error) { function NewSearchHandler (line 32) | func NewSearchHandler(ctx context.Context, req *item.SearchReq) *SearchH... FILE: book-shop/app/item/infras/es/client.go function GetESClient (line 36) | func GetESClient() *elastic.Client { function UpsertProductES (line 53) | func UpsertProductES(ctx context.Context, productId int64, product *enti... function BatchGetProductById (line 59) | func BatchGetProductById(ctx context.Context, productIds []int64) ([]*en... function SearchProduct (line 77) | func SearchProduct(ctx context.Context, filter map[string]interface{}) (... function getEntityFromSource (line 101) | func getEntityFromSource(source string) *entity.ProductEntity { function getDocFromEntity (line 121) | func getDocFromEntity(e *entity.ProductEntity) map[string]interface{} { FILE: book-shop/app/item/infras/init.go function Init (line 20) | func Init() { FILE: book-shop/app/item/infras/repository/converter/product_do_2_po.go type productDO2POConverter (line 25) | type productDO2POConverter struct method Convert2po (line 29) | func (converter *productDO2POConverter) Convert2po(ctx context.Context... FILE: book-shop/app/item/infras/repository/converter/product_po_2_do.go type productPO2DOConverter (line 25) | type productPO2DOConverter struct method Convert2do (line 29) | func (converter *productPO2DOConverter) Convert2do(ctx context.Context... FILE: book-shop/app/item/infras/repository/differ/po_diff.go type productPODiffer (line 23) | type productPODiffer struct method GetChangedMap (line 27) | func (differ *productPODiffer) GetChangedMap(origin, target *po.Produc... FILE: book-shop/app/item/infras/repository/init.go function register (line 27) | func register() { function initDB (line 36) | func initDB() { function Init (line 49) | func Init() { FILE: book-shop/app/item/infras/repository/product_2c_repo_impl.go type Product2CRepositoryImpl (line 25) | type Product2CRepositoryImpl struct method MGetProducts2C (line 27) | func (i Product2CRepositoryImpl) MGetProducts2C(ctx context.Context, p... method SearchProducts (line 32) | func (i Product2CRepositoryImpl) SearchProducts(ctx context.Context, n... FILE: book-shop/app/item/infras/repository/product_repo_impl.go type ProductRepositoryImpl (line 31) | type ProductRepositoryImpl struct method AddProduct (line 33) | func (i ProductRepositoryImpl) AddProduct(ctx context.Context, product... method UpdateProduct (line 51) | func (i ProductRepositoryImpl) UpdateProduct(ctx context.Context, orig... method GetProductById (line 73) | func (i ProductRepositoryImpl) GetProductById(ctx context.Context, pro... method ListProducts (line 89) | func (i ProductRepositoryImpl) ListProducts(ctx context.Context, filte... FILE: book-shop/app/item/infras/repository/stock_repo_impl.go type StockRepositoryImpl (line 26) | type StockRepositoryImpl struct method IncrStock (line 28) | func (i StockRepositoryImpl) IncrStock(ctx context.Context, productId,... method DecrStock (line 32) | func (i StockRepositoryImpl) DecrStock(ctx context.Context, productId,... method updateStock (line 36) | func (i StockRepositoryImpl) updateStock(ctx context.Context, productI... FILE: book-shop/app/item/main.go function Init (line 30) | func Init() { function main (line 34) | func main() { FILE: book-shop/app/order/common/converter.go function ConvertCreateReq2PO (line 27) | func ConvertCreateReq2PO(ctx context.Context, req *order.CreateOrderReq)... function ConvertPO2DTO (line 49) | func ConvertPO2DTO(ctx context.Context, po *db.Order) *order.OrderItem { FILE: book-shop/app/order/dal/client/init.go function Init (line 18) | func Init() { FILE: book-shop/app/order/dal/client/item.go function initItemRpc (line 35) | func initItemRpc() { function DecreaseStock (line 54) | func DecreaseStock(ctx context.Context, productId, stockNum int64) error { function DecreaseStockRevert (line 69) | func DecreaseStockRevert(ctx context.Context, productId, stockNum int64)... function GetProductSnapshot (line 84) | func GetProductSnapshot(ctx context.Context, productId int64) (string, e... FILE: book-shop/app/order/dal/client/user.go function initUserRpc (line 33) | func initUserRpc() { function GetUserName (line 52) | func GetUserName(ctx context.Context, userId int64) (string, error) { FILE: book-shop/app/order/dal/db/init.go function Init (line 27) | func Init() { FILE: book-shop/app/order/dal/db/order.go type Order (line 26) | type Order struct method TableName (line 37) | func (o *Order) TableName() string { function CreateOrder (line 41) | func CreateOrder(ctx context.Context, orders []*Order) error { function UpdateOrder (line 45) | func UpdateOrder(ctx context.Context, orderId int64, updateMap map[strin... function ListOrders (line 50) | func ListOrders(ctx context.Context, filterMap map[string]interface{}) (... function GetOrderById (line 63) | func GetOrderById(ctx context.Context, orderId int64) (*Order, error) { FILE: book-shop/app/order/handler.go type OrderServiceImpl (line 28) | type OrderServiceImpl struct method CreateOrder (line 31) | func (s *OrderServiceImpl) CreateOrder(ctx context.Context, req *order... method CancelOrder (line 44) | func (s *OrderServiceImpl) CancelOrder(ctx context.Context, req *order... method ListOrder (line 57) | func (s *OrderServiceImpl) ListOrder(ctx context.Context, req *order.L... method GetOrderById (line 75) | func (s *OrderServiceImpl) GetOrderById(ctx context.Context, req *orde... FILE: book-shop/app/order/main.go function Init (line 31) | func Init() { function main (line 36) | func main() { FILE: book-shop/app/order/module/order_query_module.go type QueryModule (line 24) | type QueryModule struct method ListOrder (line 34) | func (m QueryModule) ListOrder(userId int64, status *int64) ([]*db.Ord... method GetOrderById (line 44) | func (m QueryModule) GetOrderById(orderId int64) (*db.Order, error) { function NewQueryModule (line 28) | func NewQueryModule(ctx context.Context) QueryModule { FILE: book-shop/app/order/module/order_update_module.go type UpdateModule (line 27) | type UpdateModule struct method CreateOrder (line 37) | func (m UpdateModule) CreateOrder(req *order.CreateOrderReq) error { method createRollback (line 59) | func (m UpdateModule) createRollback(req *order.CreateOrderReq) { method CancelOrder (line 63) | func (m UpdateModule) CancelOrder(req *order.CancelOrderReq) error { method cancelRollback (line 85) | func (m UpdateModule) cancelRollback(productId, stockNum int64) { function NewUpdateModule (line 31) | func NewUpdateModule(ctx context.Context) UpdateModule { FILE: book-shop/app/user/handler.go type UserServiceImpl (line 27) | type UserServiceImpl struct method CreateUser (line 30) | func (s *UserServiceImpl) CreateUser(ctx context.Context, req *user.Cr... method MGetUser (line 48) | func (s *UserServiceImpl) MGetUser(ctx context.Context, req *user.MGet... method CheckUser (line 67) | func (s *UserServiceImpl) CheckUser(ctx context.Context, req *user.Che... FILE: book-shop/app/user/infras/db/init.go function Init (line 27) | func Init() { FILE: book-shop/app/user/infras/db/user.go type User (line 25) | type User struct method TableName (line 31) | func (u *User) TableName() string { function MGetUsers (line 36) | func MGetUsers(ctx context.Context, userIDs []int64) ([]*User, error) { function CreateUser (line 49) | func CreateUser(ctx context.Context, users []*User) error { function QueryUser (line 54) | func QueryUser(ctx context.Context, userName string) ([]*User, error) { FILE: book-shop/app/user/infras/redis/client.go function init (line 28) | func init() { function GetClient (line 44) | func GetClient() redigo.Conn { function Upsert (line 48) | func Upsert(userId int64, userInfo string) error { function Del (line 56) | func Del(userId int64) error { function IsExist (line 64) | func IsExist(userId int64) (bool, error) { function MGet (line 72) | func MGet(userIds []int64) ([]string, error) { FILE: book-shop/app/user/main.go function Init (line 30) | func Init() { function main (line 34) | func main() { FILE: book-shop/app/user/service/user_service.go type UserService (line 31) | type UserService struct method CreateUser (line 41) | func (s *UserService) CreateUser(req *user.CreateUserReq) error { method MGetUser (line 62) | func (s *UserService) MGetUser(req *user.MGetUserReq) ([]*user.User, e... method CheckUser (line 99) | func (s *UserService) CheckUser(req *user.CheckUserReq) (int64, error) { method getDtoFromString (line 121) | func (s *UserService) getDtoFromString(userInfo string) *user.User { function NewUserService (line 35) | func NewUserService(ctx context.Context) *UserService { FILE: book-shop/deploy/mysql/init.sql type `t_user` (line 1) | create table `t_user` type `t_product` (line 13) | create table `t_product` type `t_order` (line 33) | create table `t_order` FILE: book-shop/docs/docs.go constant docTemplate (line 7) | docTemplate = `{ function init (line 818) | func init() { FILE: book-shop/kitex_gen/base/base.go type BaseResp (line 11) | type BaseResp struct method GetStatusMessage (line 25) | func (p *BaseResp) GetStatusMessage() (v string) { method GetStatusCode (line 29) | func (p *BaseResp) GetStatusCode() (v int32) { method GetExtra (line 35) | func (p *BaseResp) GetExtra() (v map[string]string) { method SetStatusMessage (line 41) | func (p *BaseResp) SetStatusMessage(val string) { method SetStatusCode (line 44) | func (p *BaseResp) SetStatusCode(val int32) { method SetExtra (line 47) | func (p *BaseResp) SetExtra(val map[string]string) { method IsSetExtra (line 57) | func (p *BaseResp) IsSetExtra() bool { method Read (line 61) | func (p *BaseResp) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 140) | func (p *BaseResp) ReadField1(iprot thrift.TProtocol) error { method ReadField2 (line 149) | func (p *BaseResp) ReadField2(iprot thrift.TProtocol) error { method ReadField3 (line 158) | func (p *BaseResp) ReadField3(iprot thrift.TProtocol) error { method Write (line 187) | func (p *BaseResp) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 224) | func (p *BaseResp) writeField1(oprot thrift.TProtocol) (err error) { method writeField2 (line 241) | func (p *BaseResp) writeField2(oprot thrift.TProtocol) (err error) { method writeField3 (line 258) | func (p *BaseResp) writeField3(oprot thrift.TProtocol) (err error) { method String (line 290) | func (p *BaseResp) String() string { method DeepEqual (line 297) | func (p *BaseResp) DeepEqual(ano *BaseResp) bool { method Field1DeepEqual (line 315) | func (p *BaseResp) Field1DeepEqual(src string) bool { method Field2DeepEqual (line 322) | func (p *BaseResp) Field2DeepEqual(src int32) bool { method Field3DeepEqual (line 329) | func (p *BaseResp) Field3DeepEqual(src map[string]string) bool { function NewBaseResp (line 17) | func NewBaseResp() *BaseResp { FILE: book-shop/kitex_gen/base/k-base.go method FastRead (line 26) | func (p *BaseResp) FastRead(buf []byte) (int, error) { method FastReadField1 (line 125) | func (p *BaseResp) FastReadField1(buf []byte) (int, error) { method FastReadField2 (line 139) | func (p *BaseResp) FastReadField2(buf []byte) (int, error) { method FastReadField3 (line 153) | func (p *BaseResp) FastReadField3(buf []byte) (int, error) { method FastWrite (line 194) | func (p *BaseResp) FastWrite(buf []byte) int { method FastWriteNocopy (line 198) | func (p *BaseResp) FastWriteNocopy(buf []byte, binaryWriter bthrift.Bina... method BLength (line 211) | func (p *BaseResp) BLength() int { method fastWriteField1 (line 224) | func (p *BaseResp) fastWriteField1(buf []byte, binaryWriter bthrift.Bina... method fastWriteField2 (line 233) | func (p *BaseResp) fastWriteField2(buf []byte, binaryWriter bthrift.Bina... method fastWriteField3 (line 242) | func (p *BaseResp) fastWriteField3(buf []byte, binaryWriter bthrift.Bina... method field1Length (line 264) | func (p *BaseResp) field1Length() int { method field2Length (line 273) | func (p *BaseResp) field2Length() int { method field3Length (line 282) | func (p *BaseResp) field3Length() int { FILE: book-shop/kitex_gen/cwg/bookshop/item/item.go type Status (line 15) | type Status method String (line 23) | func (p Status) String() string { method Scan (line 49) | func (p *Status) Scan(value interface{}) (err error) { method Value (line 56) | func (p *Status) Value() (driver.Value, error) { constant Status_Online (line 18) | Status_Online Status = 0 constant Status_Offline (line 19) | Status_Offline Status = 1 constant Status_Delete (line 20) | Status_Delete Status = 2 function StatusFromString (line 35) | func StatusFromString(s string) (Status, error) { function StatusPtr (line 47) | func StatusPtr(v Status) *Status { return &v } type BookProperty (line 63) | type BookProperty struct method GetIsbn (line 73) | func (p *BookProperty) GetIsbn() (v string) { method GetSpuName (line 77) | func (p *BookProperty) GetSpuName() (v string) { method GetSpuPrice (line 81) | func (p *BookProperty) GetSpuPrice() (v int64) { method SetIsbn (line 84) | func (p *BookProperty) SetIsbn(val string) { method SetSpuName (line 87) | func (p *BookProperty) SetSpuName(val string) { method SetSpuPrice (line 90) | func (p *BookProperty) SetSpuPrice(val int64) { method Read (line 100) | func (p *BookProperty) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 179) | func (p *BookProperty) ReadField1(iprot thrift.TProtocol) error { method ReadField2 (line 188) | func (p *BookProperty) ReadField2(iprot thrift.TProtocol) error { method ReadField3 (line 197) | func (p *BookProperty) ReadField3(iprot thrift.TProtocol) error { method Write (line 206) | func (p *BookProperty) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 243) | func (p *BookProperty) writeField1(oprot thrift.TProtocol) (err error) { method writeField2 (line 260) | func (p *BookProperty) writeField2(oprot thrift.TProtocol) (err error) { method writeField3 (line 277) | func (p *BookProperty) writeField3(oprot thrift.TProtocol) (err error) { method String (line 294) | func (p *BookProperty) String() string { method DeepEqual (line 301) | func (p *BookProperty) DeepEqual(ano *BookProperty) bool { method Field1DeepEqual (line 319) | func (p *BookProperty) Field1DeepEqual(src string) bool { method Field2DeepEqual (line 326) | func (p *BookProperty) Field2DeepEqual(src string) bool { method Field3DeepEqual (line 333) | func (p *BookProperty) Field3DeepEqual(src int64) bool { function NewBookProperty (line 69) | func NewBookProperty() *BookProperty { type Product (line 341) | type Product struct method GetProductId (line 356) | func (p *Product) GetProductId() (v int64) { method GetName (line 360) | func (p *Product) GetName() (v string) { method GetPic (line 364) | func (p *Product) GetPic() (v string) { method GetDescription (line 368) | func (p *Product) GetDescription() (v string) { method GetProperty (line 374) | func (p *Product) GetProperty() (v *BookProperty) { method GetPrice (line 381) | func (p *Product) GetPrice() (v int64) { method GetStock (line 385) | func (p *Product) GetStock() (v int64) { method GetStatus (line 389) | func (p *Product) GetStatus() (v Status) { method SetProductId (line 392) | func (p *Product) SetProductId(val int64) { method SetName (line 395) | func (p *Product) SetName(val string) { method SetPic (line 398) | func (p *Product) SetPic(val string) { method SetDescription (line 401) | func (p *Product) SetDescription(val string) { method SetProperty (line 404) | func (p *Product) SetProperty(val *BookProperty) { method SetPrice (line 407) | func (p *Product) SetPrice(val int64) { method SetStock (line 410) | func (p *Product) SetStock(val int64) { method SetStatus (line 413) | func (p *Product) SetStatus(val Status) { method IsSetProperty (line 428) | func (p *Product) IsSetProperty() bool { method Read (line 432) | func (p *Product) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 561) | func (p *Product) ReadField1(iprot thrift.TProtocol) error { method ReadField2 (line 570) | func (p *Product) ReadField2(iprot thrift.TProtocol) error { method ReadField3 (line 579) | func (p *Product) ReadField3(iprot thrift.TProtocol) error { method ReadField4 (line 588) | func (p *Product) ReadField4(iprot thrift.TProtocol) error { method ReadField5 (line 597) | func (p *Product) ReadField5(iprot thrift.TProtocol) error { method ReadField6 (line 605) | func (p *Product) ReadField6(iprot thrift.TProtocol) error { method ReadField7 (line 614) | func (p *Product) ReadField7(iprot thrift.TProtocol) error { method ReadField8 (line 623) | func (p *Product) ReadField8(iprot thrift.TProtocol) error { method Write (line 632) | func (p *Product) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 689) | func (p *Product) writeField1(oprot thrift.TProtocol) (err error) { method writeField2 (line 706) | func (p *Product) writeField2(oprot thrift.TProtocol) (err error) { method writeField3 (line 723) | func (p *Product) writeField3(oprot thrift.TProtocol) (err error) { method writeField4 (line 740) | func (p *Product) writeField4(oprot thrift.TProtocol) (err error) { method writeField5 (line 757) | func (p *Product) writeField5(oprot thrift.TProtocol) (err error) { method writeField6 (line 774) | func (p *Product) writeField6(oprot thrift.TProtocol) (err error) { method writeField7 (line 791) | func (p *Product) writeField7(oprot thrift.TProtocol) (err error) { method writeField8 (line 808) | func (p *Product) writeField8(oprot thrift.TProtocol) (err error) { method String (line 825) | func (p *Product) String() string { method DeepEqual (line 832) | func (p *Product) DeepEqual(ano *Product) bool { method Field1DeepEqual (line 865) | func (p *Product) Field1DeepEqual(src int64) bool { method Field2DeepEqual (line 872) | func (p *Product) Field2DeepEqual(src string) bool { method Field3DeepEqual (line 879) | func (p *Product) Field3DeepEqual(src string) bool { method Field4DeepEqual (line 886) | func (p *Product) Field4DeepEqual(src string) bool { method Field5DeepEqual (line 893) | func (p *Product) Field5DeepEqual(src *BookProperty) bool { method Field6DeepEqual (line 900) | func (p *Product) Field6DeepEqual(src int64) bool { method Field7DeepEqual (line 907) | func (p *Product) Field7DeepEqual(src int64) bool { method Field8DeepEqual (line 914) | func (p *Product) Field8DeepEqual(src Status) bool { function NewProduct (line 352) | func NewProduct() *Product { type AddReq (line 922) | type AddReq struct method GetName (line 935) | func (p *AddReq) GetName() (v string) { method GetPic (line 939) | func (p *AddReq) GetPic() (v string) { method GetDescription (line 943) | func (p *AddReq) GetDescription() (v string) { method GetProperty (line 949) | func (p *AddReq) GetProperty() (v *BookProperty) { method GetPrice (line 956) | func (p *AddReq) GetPrice() (v int64) { method GetStock (line 960) | func (p *AddReq) GetStock() (v int64) { method SetName (line 963) | func (p *AddReq) SetName(val string) { method SetPic (line 966) | func (p *AddReq) SetPic(val string) { method SetDescription (line 969) | func (p *AddReq) SetDescription(val string) { method SetProperty (line 972) | func (p *AddReq) SetProperty(val *BookProperty) { method SetPrice (line 975) | func (p *AddReq) SetPrice(val int64) { method SetStock (line 978) | func (p *AddReq) SetStock(val int64) { method IsSetProperty (line 991) | func (p *AddReq) IsSetProperty() bool { method Read (line 995) | func (p *AddReq) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 1147) | func (p *AddReq) ReadField1(iprot thrift.TProtocol) error { method ReadField2 (line 1156) | func (p *AddReq) ReadField2(iprot thrift.TProtocol) error { method ReadField3 (line 1165) | func (p *AddReq) ReadField3(iprot thrift.TProtocol) error { method ReadField4 (line 1174) | func (p *AddReq) ReadField4(iprot thrift.TProtocol) error { method ReadField5 (line 1182) | func (p *AddReq) ReadField5(iprot thrift.TProtocol) error { method ReadField6 (line 1191) | func (p *AddReq) ReadField6(iprot thrift.TProtocol) error { method Write (line 1200) | func (p *AddReq) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 1249) | func (p *AddReq) writeField1(oprot thrift.TProtocol) (err error) { method writeField2 (line 1266) | func (p *AddReq) writeField2(oprot thrift.TProtocol) (err error) { method writeField3 (line 1283) | func (p *AddReq) writeField3(oprot thrift.TProtocol) (err error) { method writeField4 (line 1300) | func (p *AddReq) writeField4(oprot thrift.TProtocol) (err error) { method writeField5 (line 1317) | func (p *AddReq) writeField5(oprot thrift.TProtocol) (err error) { method writeField6 (line 1334) | func (p *AddReq) writeField6(oprot thrift.TProtocol) (err error) { method String (line 1351) | func (p *AddReq) String() string { method DeepEqual (line 1358) | func (p *AddReq) DeepEqual(ano *AddReq) bool { method Field1DeepEqual (line 1385) | func (p *AddReq) Field1DeepEqual(src string) bool { method Field2DeepEqual (line 1392) | func (p *AddReq) Field2DeepEqual(src string) bool { method Field3DeepEqual (line 1399) | func (p *AddReq) Field3DeepEqual(src string) bool { method Field4DeepEqual (line 1406) | func (p *AddReq) Field4DeepEqual(src *BookProperty) bool { method Field5DeepEqual (line 1413) | func (p *AddReq) Field5DeepEqual(src int64) bool { method Field6DeepEqual (line 1420) | func (p *AddReq) Field6DeepEqual(src int64) bool { function NewAddReq (line 931) | func NewAddReq() *AddReq { type AddResp (line 1428) | type AddResp struct method GetProductId (line 1437) | func (p *AddResp) GetProductId() (v int64) { method GetBaseResp (line 1443) | func (p *AddResp) GetBaseResp() (v *base.BaseResp) { method SetProductId (line 1449) | func (p *AddResp) SetProductId(val int64) { method SetBaseResp (line 1452) | func (p *AddResp) SetBaseResp(val *base.BaseResp) { method IsSetBaseResp (line 1461) | func (p *AddResp) IsSetBaseResp() bool { method Read (line 1465) | func (p *AddResp) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 1534) | func (p *AddResp) ReadField1(iprot thrift.TProtocol) error { method ReadField255 (line 1543) | func (p *AddResp) ReadField255(iprot thrift.TProtocol) error { method Write (line 1551) | func (p *AddResp) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 1584) | func (p *AddResp) writeField1(oprot thrift.TProtocol) (err error) { method writeField255 (line 1601) | func (p *AddResp) writeField255(oprot thrift.TProtocol) (err error) { method String (line 1618) | func (p *AddResp) String() string { method DeepEqual (line 1625) | func (p *AddResp) DeepEqual(ano *AddResp) bool { method Field1DeepEqual (line 1640) | func (p *AddResp) Field1DeepEqual(src int64) bool { method Field255DeepEqual (line 1647) | func (p *AddResp) Field255DeepEqual(src *base.BaseResp) bool { function NewAddResp (line 1433) | func NewAddResp() *AddResp { type EditReq (line 1655) | type EditReq struct method GetProductId (line 1669) | func (p *EditReq) GetProductId() (v int64) { method GetName (line 1675) | func (p *EditReq) GetName() (v string) { method GetPic (line 1684) | func (p *EditReq) GetPic() (v string) { method GetDescription (line 1693) | func (p *EditReq) GetDescription() (v string) { method GetProperty (line 1702) | func (p *EditReq) GetProperty() (v *BookProperty) { method GetPrice (line 1711) | func (p *EditReq) GetPrice() (v int64) { method GetStock (line 1720) | func (p *EditReq) GetStock() (v int64) { method SetProductId (line 1726) | func (p *EditReq) SetProductId(val int64) { method SetName (line 1729) | func (p *EditReq) SetName(val *string) { method SetPic (line 1732) | func (p *EditReq) SetPic(val *string) { method SetDescription (line 1735) | func (p *EditReq) SetDescription(val *string) { method SetProperty (line 1738) | func (p *EditReq) SetProperty(val *BookProperty) { method SetPrice (line 1741) | func (p *EditReq) SetPrice(val *int64) { method SetStock (line 1744) | func (p *EditReq) SetStock(val *int64) { method IsSetName (line 1758) | func (p *EditReq) IsSetName() bool { method IsSetPic (line 1762) | func (p *EditReq) IsSetPic() bool { method IsSetDescription (line 1766) | func (p *EditReq) IsSetDescription() bool { method IsSetProperty (line 1770) | func (p *EditReq) IsSetProperty() bool { method IsSetPrice (line 1774) | func (p *EditReq) IsSetPrice() bool { method IsSetStock (line 1778) | func (p *EditReq) IsSetStock() bool { method Read (line 1782) | func (p *EditReq) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 1909) | func (p *EditReq) ReadField1(iprot thrift.TProtocol) error { method ReadField2 (line 1918) | func (p *EditReq) ReadField2(iprot thrift.TProtocol) error { method ReadField3 (line 1927) | func (p *EditReq) ReadField3(iprot thrift.TProtocol) error { method ReadField4 (line 1936) | func (p *EditReq) ReadField4(iprot thrift.TProtocol) error { method ReadField5 (line 1945) | func (p *EditReq) ReadField5(iprot thrift.TProtocol) error { method ReadField6 (line 1953) | func (p *EditReq) ReadField6(iprot thrift.TProtocol) error { method ReadField7 (line 1962) | func (p *EditReq) ReadField7(iprot thrift.TProtocol) error { method Write (line 1971) | func (p *EditReq) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 2024) | func (p *EditReq) writeField1(oprot thrift.TProtocol) (err error) { method writeField2 (line 2041) | func (p *EditReq) writeField2(oprot thrift.TProtocol) (err error) { method writeField3 (line 2060) | func (p *EditReq) writeField3(oprot thrift.TProtocol) (err error) { method writeField4 (line 2079) | func (p *EditReq) writeField4(oprot thrift.TProtocol) (err error) { method writeField5 (line 2098) | func (p *EditReq) writeField5(oprot thrift.TProtocol) (err error) { method writeField6 (line 2117) | func (p *EditReq) writeField6(oprot thrift.TProtocol) (err error) { method writeField7 (line 2136) | func (p *EditReq) writeField7(oprot thrift.TProtocol) (err error) { method String (line 2155) | func (p *EditReq) String() string { method DeepEqual (line 2162) | func (p *EditReq) DeepEqual(ano *EditReq) bool { method Field1DeepEqual (line 2192) | func (p *EditReq) Field1DeepEqual(src int64) bool { method Field2DeepEqual (line 2199) | func (p *EditReq) Field2DeepEqual(src *string) bool { method Field3DeepEqual (line 2211) | func (p *EditReq) Field3DeepEqual(src *string) bool { method Field4DeepEqual (line 2223) | func (p *EditReq) Field4DeepEqual(src *string) bool { method Field5DeepEqual (line 2235) | func (p *EditReq) Field5DeepEqual(src *BookProperty) bool { method Field6DeepEqual (line 2242) | func (p *EditReq) Field6DeepEqual(src *int64) bool { method Field7DeepEqual (line 2254) | func (p *EditReq) Field7DeepEqual(src *int64) bool { function NewEditReq (line 1665) | func NewEditReq() *EditReq { type EditResp (line 2267) | type EditResp struct method GetBaseResp (line 2277) | func (p *EditResp) GetBaseResp() (v *base.BaseResp) { method SetBaseResp (line 2283) | func (p *EditResp) SetBaseResp(val *base.BaseResp) { method IsSetBaseResp (line 2291) | func (p *EditResp) IsSetBaseResp() bool { method Read (line 2295) | func (p *EditResp) Read(iprot thrift.TProtocol) (err error) { method ReadField255 (line 2354) | func (p *EditResp) ReadField255(iprot thrift.TProtocol) error { method Write (line 2362) | func (p *EditResp) Write(oprot thrift.TProtocol) (err error) { method writeField255 (line 2391) | func (p *EditResp) writeField255(oprot thrift.TProtocol) (err error) { method String (line 2408) | func (p *EditResp) String() string { method DeepEqual (line 2415) | func (p *EditResp) DeepEqual(ano *EditResp) bool { method Field255DeepEqual (line 2427) | func (p *EditResp) Field255DeepEqual(src *base.BaseResp) bool { function NewEditResp (line 2271) | func NewEditResp() *EditResp { type DeleteReq (line 2435) | type DeleteReq struct method GetProductId (line 2443) | func (p *DeleteReq) GetProductId() (v int64) { method SetProductId (line 2446) | func (p *DeleteReq) SetProductId(val int64) { method Read (line 2454) | func (p *DeleteReq) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 2521) | func (p *DeleteReq) ReadField1(iprot thrift.TProtocol) error { method Write (line 2530) | func (p *DeleteReq) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 2559) | func (p *DeleteReq) writeField1(oprot thrift.TProtocol) (err error) { method String (line 2576) | func (p *DeleteReq) String() string { method DeepEqual (line 2583) | func (p *DeleteReq) DeepEqual(ano *DeleteReq) bool { method Field1DeepEqual (line 2595) | func (p *DeleteReq) Field1DeepEqual(src int64) bool { function NewDeleteReq (line 2439) | func NewDeleteReq() *DeleteReq { type DeleteResp (line 2603) | type DeleteResp struct method GetBaseResp (line 2613) | func (p *DeleteResp) GetBaseResp() (v *base.BaseResp) { method SetBaseResp (line 2619) | func (p *DeleteResp) SetBaseResp(val *base.BaseResp) { method IsSetBaseResp (line 2627) | func (p *DeleteResp) IsSetBaseResp() bool { method Read (line 2631) | func (p *DeleteResp) Read(iprot thrift.TProtocol) (err error) { method ReadField255 (line 2690) | func (p *DeleteResp) ReadField255(iprot thrift.TProtocol) error { method Write (line 2698) | func (p *DeleteResp) Write(oprot thrift.TProtocol) (err error) { method writeField255 (line 2727) | func (p *DeleteResp) writeField255(oprot thrift.TProtocol) (err error) { method String (line 2744) | func (p *DeleteResp) String() string { method DeepEqual (line 2751) | func (p *DeleteResp) DeepEqual(ano *DeleteResp) bool { method Field255DeepEqual (line 2763) | func (p *DeleteResp) Field255DeepEqual(src *base.BaseResp) bool { function NewDeleteResp (line 2607) | func NewDeleteResp() *DeleteResp { type OnlineReq (line 2771) | type OnlineReq struct method GetProductId (line 2779) | func (p *OnlineReq) GetProductId() (v int64) { method SetProductId (line 2782) | func (p *OnlineReq) SetProductId(val int64) { method Read (line 2790) | func (p *OnlineReq) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 2857) | func (p *OnlineReq) ReadField1(iprot thrift.TProtocol) error { method Write (line 2866) | func (p *OnlineReq) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 2895) | func (p *OnlineReq) writeField1(oprot thrift.TProtocol) (err error) { method String (line 2912) | func (p *OnlineReq) String() string { method DeepEqual (line 2919) | func (p *OnlineReq) DeepEqual(ano *OnlineReq) bool { method Field1DeepEqual (line 2931) | func (p *OnlineReq) Field1DeepEqual(src int64) bool { function NewOnlineReq (line 2775) | func NewOnlineReq() *OnlineReq { type OnlineResp (line 2939) | type OnlineResp struct method GetBaseResp (line 2949) | func (p *OnlineResp) GetBaseResp() (v *base.BaseResp) { method SetBaseResp (line 2955) | func (p *OnlineResp) SetBaseResp(val *base.BaseResp) { method IsSetBaseResp (line 2963) | func (p *OnlineResp) IsSetBaseResp() bool { method Read (line 2967) | func (p *OnlineResp) Read(iprot thrift.TProtocol) (err error) { method ReadField255 (line 3026) | func (p *OnlineResp) ReadField255(iprot thrift.TProtocol) error { method Write (line 3034) | func (p *OnlineResp) Write(oprot thrift.TProtocol) (err error) { method writeField255 (line 3063) | func (p *OnlineResp) writeField255(oprot thrift.TProtocol) (err error) { method String (line 3080) | func (p *OnlineResp) String() string { method DeepEqual (line 3087) | func (p *OnlineResp) DeepEqual(ano *OnlineResp) bool { method Field255DeepEqual (line 3099) | func (p *OnlineResp) Field255DeepEqual(src *base.BaseResp) bool { function NewOnlineResp (line 2943) | func NewOnlineResp() *OnlineResp { type OfflineReq (line 3107) | type OfflineReq struct method GetProductId (line 3115) | func (p *OfflineReq) GetProductId() (v int64) { method SetProductId (line 3118) | func (p *OfflineReq) SetProductId(val int64) { method Read (line 3126) | func (p *OfflineReq) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 3193) | func (p *OfflineReq) ReadField1(iprot thrift.TProtocol) error { method Write (line 3202) | func (p *OfflineReq) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 3231) | func (p *OfflineReq) writeField1(oprot thrift.TProtocol) (err error) { method String (line 3248) | func (p *OfflineReq) String() string { method DeepEqual (line 3255) | func (p *OfflineReq) DeepEqual(ano *OfflineReq) bool { method Field1DeepEqual (line 3267) | func (p *OfflineReq) Field1DeepEqual(src int64) bool { function NewOfflineReq (line 3111) | func NewOfflineReq() *OfflineReq { type OfflineResp (line 3275) | type OfflineResp struct method GetBaseResp (line 3285) | func (p *OfflineResp) GetBaseResp() (v *base.BaseResp) { method SetBaseResp (line 3291) | func (p *OfflineResp) SetBaseResp(val *base.BaseResp) { method IsSetBaseResp (line 3299) | func (p *OfflineResp) IsSetBaseResp() bool { method Read (line 3303) | func (p *OfflineResp) Read(iprot thrift.TProtocol) (err error) { method ReadField255 (line 3362) | func (p *OfflineResp) ReadField255(iprot thrift.TProtocol) error { method Write (line 3370) | func (p *OfflineResp) Write(oprot thrift.TProtocol) (err error) { method writeField255 (line 3399) | func (p *OfflineResp) writeField255(oprot thrift.TProtocol) (err error) { method String (line 3416) | func (p *OfflineResp) String() string { method DeepEqual (line 3423) | func (p *OfflineResp) DeepEqual(ano *OfflineResp) bool { method Field255DeepEqual (line 3435) | func (p *OfflineResp) Field255DeepEqual(src *base.BaseResp) bool { function NewOfflineResp (line 3279) | func NewOfflineResp() *OfflineResp { type GetReq (line 3443) | type GetReq struct method GetProductId (line 3451) | func (p *GetReq) GetProductId() (v int64) { method SetProductId (line 3454) | func (p *GetReq) SetProductId(val int64) { method Read (line 3462) | func (p *GetReq) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 3529) | func (p *GetReq) ReadField1(iprot thrift.TProtocol) error { method Write (line 3538) | func (p *GetReq) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 3567) | func (p *GetReq) writeField1(oprot thrift.TProtocol) (err error) { method String (line 3584) | func (p *GetReq) String() string { method DeepEqual (line 3591) | func (p *GetReq) DeepEqual(ano *GetReq) bool { method Field1DeepEqual (line 3603) | func (p *GetReq) Field1DeepEqual(src int64) bool { function NewGetReq (line 3447) | func NewGetReq() *GetReq { type GetResp (line 3611) | type GetResp struct method GetProduct (line 3622) | func (p *GetResp) GetProduct() (v *Product) { method GetBaseResp (line 3631) | func (p *GetResp) GetBaseResp() (v *base.BaseResp) { method SetProduct (line 3637) | func (p *GetResp) SetProduct(val *Product) { method SetBaseResp (line 3640) | func (p *GetResp) SetBaseResp(val *base.BaseResp) { method IsSetProduct (line 3649) | func (p *GetResp) IsSetProduct() bool { method IsSetBaseResp (line 3653) | func (p *GetResp) IsSetBaseResp() bool { method Read (line 3657) | func (p *GetResp) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 3726) | func (p *GetResp) ReadField1(iprot thrift.TProtocol) error { method ReadField255 (line 3734) | func (p *GetResp) ReadField255(iprot thrift.TProtocol) error { method Write (line 3742) | func (p *GetResp) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 3775) | func (p *GetResp) writeField1(oprot thrift.TProtocol) (err error) { method writeField255 (line 3792) | func (p *GetResp) writeField255(oprot thrift.TProtocol) (err error) { method String (line 3809) | func (p *GetResp) String() string { method DeepEqual (line 3816) | func (p *GetResp) DeepEqual(ano *GetResp) bool { method Field1DeepEqual (line 3831) | func (p *GetResp) Field1DeepEqual(src *Product) bool { method Field255DeepEqual (line 3838) | func (p *GetResp) Field255DeepEqual(src *base.BaseResp) bool { function NewGetResp (line 3616) | func NewGetResp() *GetResp { type MGet2CReq (line 3846) | type MGet2CReq struct method GetProductIds (line 3854) | func (p *MGet2CReq) GetProductIds() (v []int64) { method SetProductIds (line 3857) | func (p *MGet2CReq) SetProductIds(val []int64) { method Read (line 3865) | func (p *MGet2CReq) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 3932) | func (p *MGet2CReq) ReadField1(iprot thrift.TProtocol) error { method Write (line 3954) | func (p *MGet2CReq) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 3983) | func (p *MGet2CReq) writeField1(oprot thrift.TProtocol) (err error) { method String (line 4008) | func (p *MGet2CReq) String() string { method DeepEqual (line 4015) | func (p *MGet2CReq) DeepEqual(ano *MGet2CReq) bool { method Field1DeepEqual (line 4027) | func (p *MGet2CReq) Field1DeepEqual(src []int64) bool { function NewMGet2CReq (line 3850) | func NewMGet2CReq() *MGet2CReq { type MGet2CResp (line 4041) | type MGet2CResp struct method GetProductMap (line 4050) | func (p *MGet2CResp) GetProductMap() (v map[int64]*Product) { method GetBaseResp (line 4056) | func (p *MGet2CResp) GetBaseResp() (v *base.BaseResp) { method SetProductMap (line 4062) | func (p *MGet2CResp) SetProductMap(val map[int64]*Product) { method SetBaseResp (line 4065) | func (p *MGet2CResp) SetBaseResp(val *base.BaseResp) { method IsSetBaseResp (line 4074) | func (p *MGet2CResp) IsSetBaseResp() bool { method Read (line 4078) | func (p *MGet2CResp) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 4147) | func (p *MGet2CResp) ReadField1(iprot thrift.TProtocol) error { method ReadField255 (line 4173) | func (p *MGet2CResp) ReadField255(iprot thrift.TProtocol) error { method Write (line 4181) | func (p *MGet2CResp) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 4214) | func (p *MGet2CResp) writeField1(oprot thrift.TProtocol) (err error) { method writeField255 (line 4244) | func (p *MGet2CResp) writeField255(oprot thrift.TProtocol) (err error) { method String (line 4261) | func (p *MGet2CResp) String() string { method DeepEqual (line 4268) | func (p *MGet2CResp) DeepEqual(ano *MGet2CResp) bool { method Field1DeepEqual (line 4283) | func (p *MGet2CResp) Field1DeepEqual(src map[int64]*Product) bool { method Field255DeepEqual (line 4296) | func (p *MGet2CResp) Field255DeepEqual(src *base.BaseResp) bool { function NewMGet2CResp (line 4046) | func NewMGet2CResp() *MGet2CResp { type SearchReq (line 4304) | type SearchReq struct method GetName (line 4316) | func (p *SearchReq) GetName() (v string) { method GetDescription (line 4325) | func (p *SearchReq) GetDescription() (v string) { method GetSpuName (line 4334) | func (p *SearchReq) GetSpuName() (v string) { method SetName (line 4340) | func (p *SearchReq) SetName(val *string) { method SetDescription (line 4343) | func (p *SearchReq) SetDescription(val *string) { method SetSpuName (line 4346) | func (p *SearchReq) SetSpuName(val *string) { method IsSetName (line 4356) | func (p *SearchReq) IsSetName() bool { method IsSetDescription (line 4360) | func (p *SearchReq) IsSetDescription() bool { method IsSetSpuName (line 4364) | func (p *SearchReq) IsSetSpuName() bool { method Read (line 4368) | func (p *SearchReq) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 4447) | func (p *SearchReq) ReadField1(iprot thrift.TProtocol) error { method ReadField2 (line 4456) | func (p *SearchReq) ReadField2(iprot thrift.TProtocol) error { method ReadField3 (line 4465) | func (p *SearchReq) ReadField3(iprot thrift.TProtocol) error { method Write (line 4474) | func (p *SearchReq) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 4511) | func (p *SearchReq) writeField1(oprot thrift.TProtocol) (err error) { method writeField2 (line 4530) | func (p *SearchReq) writeField2(oprot thrift.TProtocol) (err error) { method writeField3 (line 4549) | func (p *SearchReq) writeField3(oprot thrift.TProtocol) (err error) { method String (line 4568) | func (p *SearchReq) String() string { method DeepEqual (line 4575) | func (p *SearchReq) DeepEqual(ano *SearchReq) bool { method Field1DeepEqual (line 4593) | func (p *SearchReq) Field1DeepEqual(src *string) bool { method Field2DeepEqual (line 4605) | func (p *SearchReq) Field2DeepEqual(src *string) bool { method Field3DeepEqual (line 4617) | func (p *SearchReq) Field3DeepEqual(src *string) bool { function NewSearchReq (line 4310) | func NewSearchReq() *SearchReq { type SearchResp (line 4630) | type SearchResp struct method GetProducts (line 4639) | func (p *SearchResp) GetProducts() (v []*Product) { method GetBaseResp (line 4645) | func (p *SearchResp) GetBaseResp() (v *base.BaseResp) { method SetProducts (line 4651) | func (p *SearchResp) SetProducts(val []*Product) { method SetBaseResp (line 4654) | func (p *SearchResp) SetBaseResp(val *base.BaseResp) { method IsSetBaseResp (line 4663) | func (p *SearchResp) IsSetBaseResp() bool { method Read (line 4667) | func (p *SearchResp) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 4736) | func (p *SearchResp) ReadField1(iprot thrift.TProtocol) error { method ReadField255 (line 4756) | func (p *SearchResp) ReadField255(iprot thrift.TProtocol) error { method Write (line 4764) | func (p *SearchResp) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 4797) | func (p *SearchResp) writeField1(oprot thrift.TProtocol) (err error) { method writeField255 (line 4822) | func (p *SearchResp) writeField255(oprot thrift.TProtocol) (err error) { method String (line 4839) | func (p *SearchResp) String() string { method DeepEqual (line 4846) | func (p *SearchResp) DeepEqual(ano *SearchResp) bool { method Field1DeepEqual (line 4861) | func (p *SearchResp) Field1DeepEqual(src []*Product) bool { method Field255DeepEqual (line 4874) | func (p *SearchResp) Field255DeepEqual(src *base.BaseResp) bool { function NewSearchResp (line 4635) | func NewSearchResp() *SearchResp { type ListReq (line 4882) | type ListReq struct method GetName (line 4894) | func (p *ListReq) GetName() (v string) { method GetSpuName (line 4903) | func (p *ListReq) GetSpuName() (v string) { method GetStatus (line 4912) | func (p *ListReq) GetStatus() (v Status) { method SetName (line 4918) | func (p *ListReq) SetName(val *string) { method SetSpuName (line 4921) | func (p *ListReq) SetSpuName(val *string) { method SetStatus (line 4924) | func (p *ListReq) SetStatus(val *Status) { method IsSetName (line 4934) | func (p *ListReq) IsSetName() bool { method IsSetSpuName (line 4938) | func (p *ListReq) IsSetSpuName() bool { method IsSetStatus (line 4942) | func (p *ListReq) IsSetStatus() bool { method Read (line 4946) | func (p *ListReq) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 5025) | func (p *ListReq) ReadField1(iprot thrift.TProtocol) error { method ReadField2 (line 5034) | func (p *ListReq) ReadField2(iprot thrift.TProtocol) error { method ReadField3 (line 5043) | func (p *ListReq) ReadField3(iprot thrift.TProtocol) error { method Write (line 5053) | func (p *ListReq) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 5090) | func (p *ListReq) writeField1(oprot thrift.TProtocol) (err error) { method writeField2 (line 5109) | func (p *ListReq) writeField2(oprot thrift.TProtocol) (err error) { method writeField3 (line 5128) | func (p *ListReq) writeField3(oprot thrift.TProtocol) (err error) { method String (line 5147) | func (p *ListReq) String() string { method DeepEqual (line 5154) | func (p *ListReq) DeepEqual(ano *ListReq) bool { method Field1DeepEqual (line 5172) | func (p *ListReq) Field1DeepEqual(src *string) bool { method Field2DeepEqual (line 5184) | func (p *ListReq) Field2DeepEqual(src *string) bool { method Field3DeepEqual (line 5196) | func (p *ListReq) Field3DeepEqual(src *Status) bool { function NewListReq (line 4888) | func NewListReq() *ListReq { type ListResp (line 5209) | type ListResp struct method GetProducts (line 5218) | func (p *ListResp) GetProducts() (v []*Product) { method GetBaseResp (line 5224) | func (p *ListResp) GetBaseResp() (v *base.BaseResp) { method SetProducts (line 5230) | func (p *ListResp) SetProducts(val []*Product) { method SetBaseResp (line 5233) | func (p *ListResp) SetBaseResp(val *base.BaseResp) { method IsSetBaseResp (line 5242) | func (p *ListResp) IsSetBaseResp() bool { method Read (line 5246) | func (p *ListResp) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 5315) | func (p *ListResp) ReadField1(iprot thrift.TProtocol) error { method ReadField255 (line 5335) | func (p *ListResp) ReadField255(iprot thrift.TProtocol) error { method Write (line 5343) | func (p *ListResp) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 5376) | func (p *ListResp) writeField1(oprot thrift.TProtocol) (err error) { method writeField255 (line 5401) | func (p *ListResp) writeField255(oprot thrift.TProtocol) (err error) { method String (line 5418) | func (p *ListResp) String() string { method DeepEqual (line 5425) | func (p *ListResp) DeepEqual(ano *ListResp) bool { method Field1DeepEqual (line 5440) | func (p *ListResp) Field1DeepEqual(src []*Product) bool { method Field255DeepEqual (line 5453) | func (p *ListResp) Field255DeepEqual(src *base.BaseResp) bool { function NewListResp (line 5214) | func NewListResp() *ListResp { type DecrStockReq (line 5461) | type DecrStockReq struct method GetProductId (line 5470) | func (p *DecrStockReq) GetProductId() (v int64) { method GetStockNum (line 5474) | func (p *DecrStockReq) GetStockNum() (v int64) { method SetProductId (line 5477) | func (p *DecrStockReq) SetProductId(val int64) { method SetStockNum (line 5480) | func (p *DecrStockReq) SetStockNum(val int64) { method Read (line 5489) | func (p *DecrStockReq) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 5573) | func (p *DecrStockReq) ReadField1(iprot thrift.TProtocol) error { method ReadField2 (line 5582) | func (p *DecrStockReq) ReadField2(iprot thrift.TProtocol) error { method Write (line 5591) | func (p *DecrStockReq) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 5624) | func (p *DecrStockReq) writeField1(oprot thrift.TProtocol) (err error) { method writeField2 (line 5641) | func (p *DecrStockReq) writeField2(oprot thrift.TProtocol) (err error) { method String (line 5658) | func (p *DecrStockReq) String() string { method DeepEqual (line 5665) | func (p *DecrStockReq) DeepEqual(ano *DecrStockReq) bool { method Field1DeepEqual (line 5680) | func (p *DecrStockReq) Field1DeepEqual(src int64) bool { method Field2DeepEqual (line 5687) | func (p *DecrStockReq) Field2DeepEqual(src int64) bool { function NewDecrStockReq (line 5466) | func NewDecrStockReq() *DecrStockReq { type DecrStockResp (line 5695) | type DecrStockResp struct method GetBaseResp (line 5705) | func (p *DecrStockResp) GetBaseResp() (v *base.BaseResp) { method SetBaseResp (line 5711) | func (p *DecrStockResp) SetBaseResp(val *base.BaseResp) { method IsSetBaseResp (line 5719) | func (p *DecrStockResp) IsSetBaseResp() bool { method Read (line 5723) | func (p *DecrStockResp) Read(iprot thrift.TProtocol) (err error) { method ReadField255 (line 5782) | func (p *DecrStockResp) ReadField255(iprot thrift.TProtocol) error { method Write (line 5790) | func (p *DecrStockResp) Write(oprot thrift.TProtocol) (err error) { method writeField255 (line 5819) | func (p *DecrStockResp) writeField255(oprot thrift.TProtocol) (err err... method String (line 5836) | func (p *DecrStockResp) String() string { method DeepEqual (line 5843) | func (p *DecrStockResp) DeepEqual(ano *DecrStockResp) bool { method Field255DeepEqual (line 5855) | func (p *DecrStockResp) Field255DeepEqual(src *base.BaseResp) bool { function NewDecrStockResp (line 5699) | func NewDecrStockResp() *DecrStockResp { type ItemService (line 5863) | type ItemService interface type ItemServiceClient (line 5887) | type ItemServiceClient struct method Client_ (line 5909) | func (p *ItemServiceClient) Client_() thrift.TClient { method Add (line 5913) | func (p *ItemServiceClient) Add(ctx context.Context, req *AddReq) (r *... method Edit (line 5923) | func (p *ItemServiceClient) Edit(ctx context.Context, req *EditReq) (r... method Delete (line 5933) | func (p *ItemServiceClient) Delete(ctx context.Context, req *DeleteReq... method Online (line 5943) | func (p *ItemServiceClient) Online(ctx context.Context, req *OnlineReq... method Offline (line 5953) | func (p *ItemServiceClient) Offline(ctx context.Context, req *OfflineR... method Get (line 5963) | func (p *ItemServiceClient) Get(ctx context.Context, req *GetReq) (r *... method MGet2C (line 5973) | func (p *ItemServiceClient) MGet2C(ctx context.Context, req *MGet2CReq... method Search (line 5983) | func (p *ItemServiceClient) Search(ctx context.Context, req *SearchReq... method List (line 5993) | func (p *ItemServiceClient) List(ctx context.Context, req *ListReq) (r... method DecrStock (line 6003) | func (p *ItemServiceClient) DecrStock(ctx context.Context, req *DecrSt... method DecrStockRevert (line 6013) | func (p *ItemServiceClient) DecrStockRevert(ctx context.Context, req *... function NewItemServiceClientFactory (line 5891) | func NewItemServiceClientFactory(t thrift.TTransport, f thrift.TProtocol... function NewItemServiceClientProtocol (line 5897) | func NewItemServiceClientProtocol(t thrift.TTransport, iprot thrift.TPro... function NewItemServiceClient (line 5903) | func NewItemServiceClient(c thrift.TClient) *ItemServiceClient { type ItemServiceProcessor (line 6023) | type ItemServiceProcessor struct method AddToProcessorMap (line 6028) | func (p *ItemServiceProcessor) AddToProcessorMap(key string, processor... method GetProcessorFunction (line 6032) | func (p *ItemServiceProcessor) GetProcessorFunction(key string) (proce... method ProcessorMap (line 6037) | func (p *ItemServiceProcessor) ProcessorMap() map[string]thrift.TProce... method Process (line 6056) | func (p *ItemServiceProcessor) Process(ctx context.Context, iprot, opr... function NewItemServiceProcessor (line 6041) | func NewItemServiceProcessor(handler ItemService) *ItemServiceProcessor { type itemServiceProcessorAdd (line 6074) | type itemServiceProcessorAdd struct method Process (line 6078) | func (p *itemServiceProcessorAdd) Process(ctx context.Context, seqId i... type itemServiceProcessorEdit (line 6122) | type itemServiceProcessorEdit struct method Process (line 6126) | func (p *itemServiceProcessorEdit) Process(ctx context.Context, seqId ... type itemServiceProcessorDelete (line 6170) | type itemServiceProcessorDelete struct method Process (line 6174) | func (p *itemServiceProcessorDelete) Process(ctx context.Context, seqI... type itemServiceProcessorOnline (line 6218) | type itemServiceProcessorOnline struct method Process (line 6222) | func (p *itemServiceProcessorOnline) Process(ctx context.Context, seqI... type itemServiceProcessorOffline (line 6266) | type itemServiceProcessorOffline struct method Process (line 6270) | func (p *itemServiceProcessorOffline) Process(ctx context.Context, seq... type itemServiceProcessorGet (line 6314) | type itemServiceProcessorGet struct method Process (line 6318) | func (p *itemServiceProcessorGet) Process(ctx context.Context, seqId i... type itemServiceProcessorMGet2C (line 6362) | type itemServiceProcessorMGet2C struct method Process (line 6366) | func (p *itemServiceProcessorMGet2C) Process(ctx context.Context, seqI... type itemServiceProcessorSearch (line 6410) | type itemServiceProcessorSearch struct method Process (line 6414) | func (p *itemServiceProcessorSearch) Process(ctx context.Context, seqI... type itemServiceProcessorList (line 6458) | type itemServiceProcessorList struct method Process (line 6462) | func (p *itemServiceProcessorList) Process(ctx context.Context, seqId ... type itemServiceProcessorDecrStock (line 6506) | type itemServiceProcessorDecrStock struct method Process (line 6510) | func (p *itemServiceProcessorDecrStock) Process(ctx context.Context, s... type itemServiceProcessorDecrStockRevert (line 6554) | type itemServiceProcessorDecrStockRevert struct method Process (line 6558) | func (p *itemServiceProcessorDecrStockRevert) Process(ctx context.Cont... type ItemServiceAddArgs (line 6602) | type ItemServiceAddArgs struct method GetReq (line 6612) | func (p *ItemServiceAddArgs) GetReq() (v *AddReq) { method SetReq (line 6618) | func (p *ItemServiceAddArgs) SetReq(val *AddReq) { method IsSetReq (line 6626) | func (p *ItemServiceAddArgs) IsSetReq() bool { method Read (line 6630) | func (p *ItemServiceAddArgs) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 6689) | func (p *ItemServiceAddArgs) ReadField1(iprot thrift.TProtocol) error { method Write (line 6697) | func (p *ItemServiceAddArgs) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 6726) | func (p *ItemServiceAddArgs) writeField1(oprot thrift.TProtocol) (err ... method String (line 6743) | func (p *ItemServiceAddArgs) String() string { method DeepEqual (line 6750) | func (p *ItemServiceAddArgs) DeepEqual(ano *ItemServiceAddArgs) bool { method Field1DeepEqual (line 6762) | func (p *ItemServiceAddArgs) Field1DeepEqual(src *AddReq) bool { function NewItemServiceAddArgs (line 6606) | func NewItemServiceAddArgs() *ItemServiceAddArgs { type ItemServiceAddResult (line 6770) | type ItemServiceAddResult struct method GetSuccess (line 6780) | func (p *ItemServiceAddResult) GetSuccess() (v *AddResp) { method SetSuccess (line 6786) | func (p *ItemServiceAddResult) SetSuccess(x interface{}) { method IsSetSuccess (line 6794) | func (p *ItemServiceAddResult) IsSetSuccess() bool { method Read (line 6798) | func (p *ItemServiceAddResult) Read(iprot thrift.TProtocol) (err error) { method ReadField0 (line 6857) | func (p *ItemServiceAddResult) ReadField0(iprot thrift.TProtocol) error { method Write (line 6865) | func (p *ItemServiceAddResult) Write(oprot thrift.TProtocol) (err erro... method writeField0 (line 6894) | func (p *ItemServiceAddResult) writeField0(oprot thrift.TProtocol) (er... method String (line 6913) | func (p *ItemServiceAddResult) String() string { method DeepEqual (line 6920) | func (p *ItemServiceAddResult) DeepEqual(ano *ItemServiceAddResult) bo... method Field0DeepEqual (line 6932) | func (p *ItemServiceAddResult) Field0DeepEqual(src *AddResp) bool { function NewItemServiceAddResult (line 6774) | func NewItemServiceAddResult() *ItemServiceAddResult { type ItemServiceEditArgs (line 6940) | type ItemServiceEditArgs struct method GetReq (line 6950) | func (p *ItemServiceEditArgs) GetReq() (v *EditReq) { method SetReq (line 6956) | func (p *ItemServiceEditArgs) SetReq(val *EditReq) { method IsSetReq (line 6964) | func (p *ItemServiceEditArgs) IsSetReq() bool { method Read (line 6968) | func (p *ItemServiceEditArgs) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 7027) | func (p *ItemServiceEditArgs) ReadField1(iprot thrift.TProtocol) error { method Write (line 7035) | func (p *ItemServiceEditArgs) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 7064) | func (p *ItemServiceEditArgs) writeField1(oprot thrift.TProtocol) (err... method String (line 7081) | func (p *ItemServiceEditArgs) String() string { method DeepEqual (line 7088) | func (p *ItemServiceEditArgs) DeepEqual(ano *ItemServiceEditArgs) bool { method Field1DeepEqual (line 7100) | func (p *ItemServiceEditArgs) Field1DeepEqual(src *EditReq) bool { function NewItemServiceEditArgs (line 6944) | func NewItemServiceEditArgs() *ItemServiceEditArgs { type ItemServiceEditResult (line 7108) | type ItemServiceEditResult struct method GetSuccess (line 7118) | func (p *ItemServiceEditResult) GetSuccess() (v *EditResp) { method SetSuccess (line 7124) | func (p *ItemServiceEditResult) SetSuccess(x interface{}) { method IsSetSuccess (line 7132) | func (p *ItemServiceEditResult) IsSetSuccess() bool { method Read (line 7136) | func (p *ItemServiceEditResult) Read(iprot thrift.TProtocol) (err erro... method ReadField0 (line 7195) | func (p *ItemServiceEditResult) ReadField0(iprot thrift.TProtocol) err... method Write (line 7203) | func (p *ItemServiceEditResult) Write(oprot thrift.TProtocol) (err err... method writeField0 (line 7232) | func (p *ItemServiceEditResult) writeField0(oprot thrift.TProtocol) (e... method String (line 7251) | func (p *ItemServiceEditResult) String() string { method DeepEqual (line 7258) | func (p *ItemServiceEditResult) DeepEqual(ano *ItemServiceEditResult) ... method Field0DeepEqual (line 7270) | func (p *ItemServiceEditResult) Field0DeepEqual(src *EditResp) bool { function NewItemServiceEditResult (line 7112) | func NewItemServiceEditResult() *ItemServiceEditResult { type ItemServiceDeleteArgs (line 7278) | type ItemServiceDeleteArgs struct method GetReq (line 7288) | func (p *ItemServiceDeleteArgs) GetReq() (v *DeleteReq) { method SetReq (line 7294) | func (p *ItemServiceDeleteArgs) SetReq(val *DeleteReq) { method IsSetReq (line 7302) | func (p *ItemServiceDeleteArgs) IsSetReq() bool { method Read (line 7306) | func (p *ItemServiceDeleteArgs) Read(iprot thrift.TProtocol) (err erro... method ReadField1 (line 7365) | func (p *ItemServiceDeleteArgs) ReadField1(iprot thrift.TProtocol) err... method Write (line 7373) | func (p *ItemServiceDeleteArgs) Write(oprot thrift.TProtocol) (err err... method writeField1 (line 7402) | func (p *ItemServiceDeleteArgs) writeField1(oprot thrift.TProtocol) (e... method String (line 7419) | func (p *ItemServiceDeleteArgs) String() string { method DeepEqual (line 7426) | func (p *ItemServiceDeleteArgs) DeepEqual(ano *ItemServiceDeleteArgs) ... method Field1DeepEqual (line 7438) | func (p *ItemServiceDeleteArgs) Field1DeepEqual(src *DeleteReq) bool { function NewItemServiceDeleteArgs (line 7282) | func NewItemServiceDeleteArgs() *ItemServiceDeleteArgs { type ItemServiceDeleteResult (line 7446) | type ItemServiceDeleteResult struct method GetSuccess (line 7456) | func (p *ItemServiceDeleteResult) GetSuccess() (v *DeleteResp) { method SetSuccess (line 7462) | func (p *ItemServiceDeleteResult) SetSuccess(x interface{}) { method IsSetSuccess (line 7470) | func (p *ItemServiceDeleteResult) IsSetSuccess() bool { method Read (line 7474) | func (p *ItemServiceDeleteResult) Read(iprot thrift.TProtocol) (err er... method ReadField0 (line 7533) | func (p *ItemServiceDeleteResult) ReadField0(iprot thrift.TProtocol) e... method Write (line 7541) | func (p *ItemServiceDeleteResult) Write(oprot thrift.TProtocol) (err e... method writeField0 (line 7570) | func (p *ItemServiceDeleteResult) writeField0(oprot thrift.TProtocol) ... method String (line 7589) | func (p *ItemServiceDeleteResult) String() string { method DeepEqual (line 7596) | func (p *ItemServiceDeleteResult) DeepEqual(ano *ItemServiceDeleteResu... method Field0DeepEqual (line 7608) | func (p *ItemServiceDeleteResult) Field0DeepEqual(src *DeleteResp) bool { function NewItemServiceDeleteResult (line 7450) | func NewItemServiceDeleteResult() *ItemServiceDeleteResult { type ItemServiceOnlineArgs (line 7616) | type ItemServiceOnlineArgs struct method GetReq (line 7626) | func (p *ItemServiceOnlineArgs) GetReq() (v *OnlineReq) { method SetReq (line 7632) | func (p *ItemServiceOnlineArgs) SetReq(val *OnlineReq) { method IsSetReq (line 7640) | func (p *ItemServiceOnlineArgs) IsSetReq() bool { method Read (line 7644) | func (p *ItemServiceOnlineArgs) Read(iprot thrift.TProtocol) (err erro... method ReadField1 (line 7703) | func (p *ItemServiceOnlineArgs) ReadField1(iprot thrift.TProtocol) err... method Write (line 7711) | func (p *ItemServiceOnlineArgs) Write(oprot thrift.TProtocol) (err err... method writeField1 (line 7740) | func (p *ItemServiceOnlineArgs) writeField1(oprot thrift.TProtocol) (e... method String (line 7757) | func (p *ItemServiceOnlineArgs) String() string { method DeepEqual (line 7764) | func (p *ItemServiceOnlineArgs) DeepEqual(ano *ItemServiceOnlineArgs) ... method Field1DeepEqual (line 7776) | func (p *ItemServiceOnlineArgs) Field1DeepEqual(src *OnlineReq) bool { function NewItemServiceOnlineArgs (line 7620) | func NewItemServiceOnlineArgs() *ItemServiceOnlineArgs { type ItemServiceOnlineResult (line 7784) | type ItemServiceOnlineResult struct method GetSuccess (line 7794) | func (p *ItemServiceOnlineResult) GetSuccess() (v *OnlineResp) { method SetSuccess (line 7800) | func (p *ItemServiceOnlineResult) SetSuccess(x interface{}) { method IsSetSuccess (line 7808) | func (p *ItemServiceOnlineResult) IsSetSuccess() bool { method Read (line 7812) | func (p *ItemServiceOnlineResult) Read(iprot thrift.TProtocol) (err er... method ReadField0 (line 7871) | func (p *ItemServiceOnlineResult) ReadField0(iprot thrift.TProtocol) e... method Write (line 7879) | func (p *ItemServiceOnlineResult) Write(oprot thrift.TProtocol) (err e... method writeField0 (line 7908) | func (p *ItemServiceOnlineResult) writeField0(oprot thrift.TProtocol) ... method String (line 7927) | func (p *ItemServiceOnlineResult) String() string { method DeepEqual (line 7934) | func (p *ItemServiceOnlineResult) DeepEqual(ano *ItemServiceOnlineResu... method Field0DeepEqual (line 7946) | func (p *ItemServiceOnlineResult) Field0DeepEqual(src *OnlineResp) bool { function NewItemServiceOnlineResult (line 7788) | func NewItemServiceOnlineResult() *ItemServiceOnlineResult { type ItemServiceOfflineArgs (line 7954) | type ItemServiceOfflineArgs struct method GetReq (line 7964) | func (p *ItemServiceOfflineArgs) GetReq() (v *OfflineReq) { method SetReq (line 7970) | func (p *ItemServiceOfflineArgs) SetReq(val *OfflineReq) { method IsSetReq (line 7978) | func (p *ItemServiceOfflineArgs) IsSetReq() bool { method Read (line 7982) | func (p *ItemServiceOfflineArgs) Read(iprot thrift.TProtocol) (err err... method ReadField1 (line 8041) | func (p *ItemServiceOfflineArgs) ReadField1(iprot thrift.TProtocol) er... method Write (line 8049) | func (p *ItemServiceOfflineArgs) Write(oprot thrift.TProtocol) (err er... method writeField1 (line 8078) | func (p *ItemServiceOfflineArgs) writeField1(oprot thrift.TProtocol) (... method String (line 8095) | func (p *ItemServiceOfflineArgs) String() string { method DeepEqual (line 8102) | func (p *ItemServiceOfflineArgs) DeepEqual(ano *ItemServiceOfflineArgs... method Field1DeepEqual (line 8114) | func (p *ItemServiceOfflineArgs) Field1DeepEqual(src *OfflineReq) bool { function NewItemServiceOfflineArgs (line 7958) | func NewItemServiceOfflineArgs() *ItemServiceOfflineArgs { type ItemServiceOfflineResult (line 8122) | type ItemServiceOfflineResult struct method GetSuccess (line 8132) | func (p *ItemServiceOfflineResult) GetSuccess() (v *OfflineResp) { method SetSuccess (line 8138) | func (p *ItemServiceOfflineResult) SetSuccess(x interface{}) { method IsSetSuccess (line 8146) | func (p *ItemServiceOfflineResult) IsSetSuccess() bool { method Read (line 8150) | func (p *ItemServiceOfflineResult) Read(iprot thrift.TProtocol) (err e... method ReadField0 (line 8209) | func (p *ItemServiceOfflineResult) ReadField0(iprot thrift.TProtocol) ... method Write (line 8217) | func (p *ItemServiceOfflineResult) Write(oprot thrift.TProtocol) (err ... method writeField0 (line 8246) | func (p *ItemServiceOfflineResult) writeField0(oprot thrift.TProtocol)... method String (line 8265) | func (p *ItemServiceOfflineResult) String() string { method DeepEqual (line 8272) | func (p *ItemServiceOfflineResult) DeepEqual(ano *ItemServiceOfflineRe... method Field0DeepEqual (line 8284) | func (p *ItemServiceOfflineResult) Field0DeepEqual(src *OfflineResp) b... function NewItemServiceOfflineResult (line 8126) | func NewItemServiceOfflineResult() *ItemServiceOfflineResult { type ItemServiceGetArgs (line 8292) | type ItemServiceGetArgs struct method GetReq (line 8302) | func (p *ItemServiceGetArgs) GetReq() (v *GetReq) { method SetReq (line 8308) | func (p *ItemServiceGetArgs) SetReq(val *GetReq) { method IsSetReq (line 8316) | func (p *ItemServiceGetArgs) IsSetReq() bool { method Read (line 8320) | func (p *ItemServiceGetArgs) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 8379) | func (p *ItemServiceGetArgs) ReadField1(iprot thrift.TProtocol) error { method Write (line 8387) | func (p *ItemServiceGetArgs) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 8416) | func (p *ItemServiceGetArgs) writeField1(oprot thrift.TProtocol) (err ... method String (line 8433) | func (p *ItemServiceGetArgs) String() string { method DeepEqual (line 8440) | func (p *ItemServiceGetArgs) DeepEqual(ano *ItemServiceGetArgs) bool { method Field1DeepEqual (line 8452) | func (p *ItemServiceGetArgs) Field1DeepEqual(src *GetReq) bool { function NewItemServiceGetArgs (line 8296) | func NewItemServiceGetArgs() *ItemServiceGetArgs { type ItemServiceGetResult (line 8460) | type ItemServiceGetResult struct method GetSuccess (line 8470) | func (p *ItemServiceGetResult) GetSuccess() (v *GetResp) { method SetSuccess (line 8476) | func (p *ItemServiceGetResult) SetSuccess(x interface{}) { method IsSetSuccess (line 8484) | func (p *ItemServiceGetResult) IsSetSuccess() bool { method Read (line 8488) | func (p *ItemServiceGetResult) Read(iprot thrift.TProtocol) (err error) { method ReadField0 (line 8547) | func (p *ItemServiceGetResult) ReadField0(iprot thrift.TProtocol) error { method Write (line 8555) | func (p *ItemServiceGetResult) Write(oprot thrift.TProtocol) (err erro... method writeField0 (line 8584) | func (p *ItemServiceGetResult) writeField0(oprot thrift.TProtocol) (er... method String (line 8603) | func (p *ItemServiceGetResult) String() string { method DeepEqual (line 8610) | func (p *ItemServiceGetResult) DeepEqual(ano *ItemServiceGetResult) bo... method Field0DeepEqual (line 8622) | func (p *ItemServiceGetResult) Field0DeepEqual(src *GetResp) bool { function NewItemServiceGetResult (line 8464) | func NewItemServiceGetResult() *ItemServiceGetResult { type ItemServiceMGet2CArgs (line 8630) | type ItemServiceMGet2CArgs struct method GetReq (line 8640) | func (p *ItemServiceMGet2CArgs) GetReq() (v *MGet2CReq) { method SetReq (line 8646) | func (p *ItemServiceMGet2CArgs) SetReq(val *MGet2CReq) { method IsSetReq (line 8654) | func (p *ItemServiceMGet2CArgs) IsSetReq() bool { method Read (line 8658) | func (p *ItemServiceMGet2CArgs) Read(iprot thrift.TProtocol) (err erro... method ReadField1 (line 8717) | func (p *ItemServiceMGet2CArgs) ReadField1(iprot thrift.TProtocol) err... method Write (line 8725) | func (p *ItemServiceMGet2CArgs) Write(oprot thrift.TProtocol) (err err... method writeField1 (line 8754) | func (p *ItemServiceMGet2CArgs) writeField1(oprot thrift.TProtocol) (e... method String (line 8771) | func (p *ItemServiceMGet2CArgs) String() string { method DeepEqual (line 8778) | func (p *ItemServiceMGet2CArgs) DeepEqual(ano *ItemServiceMGet2CArgs) ... method Field1DeepEqual (line 8790) | func (p *ItemServiceMGet2CArgs) Field1DeepEqual(src *MGet2CReq) bool { function NewItemServiceMGet2CArgs (line 8634) | func NewItemServiceMGet2CArgs() *ItemServiceMGet2CArgs { type ItemServiceMGet2CResult (line 8798) | type ItemServiceMGet2CResult struct method GetSuccess (line 8808) | func (p *ItemServiceMGet2CResult) GetSuccess() (v *MGet2CResp) { method SetSuccess (line 8814) | func (p *ItemServiceMGet2CResult) SetSuccess(x interface{}) { method IsSetSuccess (line 8822) | func (p *ItemServiceMGet2CResult) IsSetSuccess() bool { method Read (line 8826) | func (p *ItemServiceMGet2CResult) Read(iprot thrift.TProtocol) (err er... method ReadField0 (line 8885) | func (p *ItemServiceMGet2CResult) ReadField0(iprot thrift.TProtocol) e... method Write (line 8893) | func (p *ItemServiceMGet2CResult) Write(oprot thrift.TProtocol) (err e... method writeField0 (line 8922) | func (p *ItemServiceMGet2CResult) writeField0(oprot thrift.TProtocol) ... method String (line 8941) | func (p *ItemServiceMGet2CResult) String() string { method DeepEqual (line 8948) | func (p *ItemServiceMGet2CResult) DeepEqual(ano *ItemServiceMGet2CResu... method Field0DeepEqual (line 8960) | func (p *ItemServiceMGet2CResult) Field0DeepEqual(src *MGet2CResp) bool { function NewItemServiceMGet2CResult (line 8802) | func NewItemServiceMGet2CResult() *ItemServiceMGet2CResult { type ItemServiceSearchArgs (line 8968) | type ItemServiceSearchArgs struct method GetReq (line 8978) | func (p *ItemServiceSearchArgs) GetReq() (v *SearchReq) { method SetReq (line 8984) | func (p *ItemServiceSearchArgs) SetReq(val *SearchReq) { method IsSetReq (line 8992) | func (p *ItemServiceSearchArgs) IsSetReq() bool { method Read (line 8996) | func (p *ItemServiceSearchArgs) Read(iprot thrift.TProtocol) (err erro... method ReadField1 (line 9055) | func (p *ItemServiceSearchArgs) ReadField1(iprot thrift.TProtocol) err... method Write (line 9063) | func (p *ItemServiceSearchArgs) Write(oprot thrift.TProtocol) (err err... method writeField1 (line 9092) | func (p *ItemServiceSearchArgs) writeField1(oprot thrift.TProtocol) (e... method String (line 9109) | func (p *ItemServiceSearchArgs) String() string { method DeepEqual (line 9116) | func (p *ItemServiceSearchArgs) DeepEqual(ano *ItemServiceSearchArgs) ... method Field1DeepEqual (line 9128) | func (p *ItemServiceSearchArgs) Field1DeepEqual(src *SearchReq) bool { function NewItemServiceSearchArgs (line 8972) | func NewItemServiceSearchArgs() *ItemServiceSearchArgs { type ItemServiceSearchResult (line 9136) | type ItemServiceSearchResult struct method GetSuccess (line 9146) | func (p *ItemServiceSearchResult) GetSuccess() (v *SearchResp) { method SetSuccess (line 9152) | func (p *ItemServiceSearchResult) SetSuccess(x interface{}) { method IsSetSuccess (line 9160) | func (p *ItemServiceSearchResult) IsSetSuccess() bool { method Read (line 9164) | func (p *ItemServiceSearchResult) Read(iprot thrift.TProtocol) (err er... method ReadField0 (line 9223) | func (p *ItemServiceSearchResult) ReadField0(iprot thrift.TProtocol) e... method Write (line 9231) | func (p *ItemServiceSearchResult) Write(oprot thrift.TProtocol) (err e... method writeField0 (line 9260) | func (p *ItemServiceSearchResult) writeField0(oprot thrift.TProtocol) ... method String (line 9279) | func (p *ItemServiceSearchResult) String() string { method DeepEqual (line 9286) | func (p *ItemServiceSearchResult) DeepEqual(ano *ItemServiceSearchResu... method Field0DeepEqual (line 9298) | func (p *ItemServiceSearchResult) Field0DeepEqual(src *SearchResp) bool { function NewItemServiceSearchResult (line 9140) | func NewItemServiceSearchResult() *ItemServiceSearchResult { type ItemServiceListArgs (line 9306) | type ItemServiceListArgs struct method GetReq (line 9316) | func (p *ItemServiceListArgs) GetReq() (v *ListReq) { method SetReq (line 9322) | func (p *ItemServiceListArgs) SetReq(val *ListReq) { method IsSetReq (line 9330) | func (p *ItemServiceListArgs) IsSetReq() bool { method Read (line 9334) | func (p *ItemServiceListArgs) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 9393) | func (p *ItemServiceListArgs) ReadField1(iprot thrift.TProtocol) error { method Write (line 9401) | func (p *ItemServiceListArgs) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 9430) | func (p *ItemServiceListArgs) writeField1(oprot thrift.TProtocol) (err... method String (line 9447) | func (p *ItemServiceListArgs) String() string { method DeepEqual (line 9454) | func (p *ItemServiceListArgs) DeepEqual(ano *ItemServiceListArgs) bool { method Field1DeepEqual (line 9466) | func (p *ItemServiceListArgs) Field1DeepEqual(src *ListReq) bool { function NewItemServiceListArgs (line 9310) | func NewItemServiceListArgs() *ItemServiceListArgs { type ItemServiceListResult (line 9474) | type ItemServiceListResult struct method GetSuccess (line 9484) | func (p *ItemServiceListResult) GetSuccess() (v *ListResp) { method SetSuccess (line 9490) | func (p *ItemServiceListResult) SetSuccess(x interface{}) { method IsSetSuccess (line 9498) | func (p *ItemServiceListResult) IsSetSuccess() bool { method Read (line 9502) | func (p *ItemServiceListResult) Read(iprot thrift.TProtocol) (err erro... method ReadField0 (line 9561) | func (p *ItemServiceListResult) ReadField0(iprot thrift.TProtocol) err... method Write (line 9569) | func (p *ItemServiceListResult) Write(oprot thrift.TProtocol) (err err... method writeField0 (line 9598) | func (p *ItemServiceListResult) writeField0(oprot thrift.TProtocol) (e... method String (line 9617) | func (p *ItemServiceListResult) String() string { method DeepEqual (line 9624) | func (p *ItemServiceListResult) DeepEqual(ano *ItemServiceListResult) ... method Field0DeepEqual (line 9636) | func (p *ItemServiceListResult) Field0DeepEqual(src *ListResp) bool { function NewItemServiceListResult (line 9478) | func NewItemServiceListResult() *ItemServiceListResult { type ItemServiceDecrStockArgs (line 9644) | type ItemServiceDecrStockArgs struct method GetReq (line 9654) | func (p *ItemServiceDecrStockArgs) GetReq() (v *DecrStockReq) { method SetReq (line 9660) | func (p *ItemServiceDecrStockArgs) SetReq(val *DecrStockReq) { method IsSetReq (line 9668) | func (p *ItemServiceDecrStockArgs) IsSetReq() bool { method Read (line 9672) | func (p *ItemServiceDecrStockArgs) Read(iprot thrift.TProtocol) (err e... method ReadField1 (line 9731) | func (p *ItemServiceDecrStockArgs) ReadField1(iprot thrift.TProtocol) ... method Write (line 9739) | func (p *ItemServiceDecrStockArgs) Write(oprot thrift.TProtocol) (err ... method writeField1 (line 9768) | func (p *ItemServiceDecrStockArgs) writeField1(oprot thrift.TProtocol)... method String (line 9785) | func (p *ItemServiceDecrStockArgs) String() string { method DeepEqual (line 9792) | func (p *ItemServiceDecrStockArgs) DeepEqual(ano *ItemServiceDecrStock... method Field1DeepEqual (line 9804) | func (p *ItemServiceDecrStockArgs) Field1DeepEqual(src *DecrStockReq) ... function NewItemServiceDecrStockArgs (line 9648) | func NewItemServiceDecrStockArgs() *ItemServiceDecrStockArgs { type ItemServiceDecrStockResult (line 9812) | type ItemServiceDecrStockResult struct method GetSuccess (line 9822) | func (p *ItemServiceDecrStockResult) GetSuccess() (v *DecrStockResp) { method SetSuccess (line 9828) | func (p *ItemServiceDecrStockResult) SetSuccess(x interface{}) { method IsSetSuccess (line 9836) | func (p *ItemServiceDecrStockResult) IsSetSuccess() bool { method Read (line 9840) | func (p *ItemServiceDecrStockResult) Read(iprot thrift.TProtocol) (err... method ReadField0 (line 9899) | func (p *ItemServiceDecrStockResult) ReadField0(iprot thrift.TProtocol... method Write (line 9907) | func (p *ItemServiceDecrStockResult) Write(oprot thrift.TProtocol) (er... method writeField0 (line 9936) | func (p *ItemServiceDecrStockResult) writeField0(oprot thrift.TProtoco... method String (line 9955) | func (p *ItemServiceDecrStockResult) String() string { method DeepEqual (line 9962) | func (p *ItemServiceDecrStockResult) DeepEqual(ano *ItemServiceDecrSto... method Field0DeepEqual (line 9974) | func (p *ItemServiceDecrStockResult) Field0DeepEqual(src *DecrStockRes... function NewItemServiceDecrStockResult (line 9816) | func NewItemServiceDecrStockResult() *ItemServiceDecrStockResult { type ItemServiceDecrStockRevertArgs (line 9982) | type ItemServiceDecrStockRevertArgs struct method GetReq (line 9992) | func (p *ItemServiceDecrStockRevertArgs) GetReq() (v *DecrStockReq) { method SetReq (line 9998) | func (p *ItemServiceDecrStockRevertArgs) SetReq(val *DecrStockReq) { method IsSetReq (line 10006) | func (p *ItemServiceDecrStockRevertArgs) IsSetReq() bool { method Read (line 10010) | func (p *ItemServiceDecrStockRevertArgs) Read(iprot thrift.TProtocol) ... method ReadField1 (line 10069) | func (p *ItemServiceDecrStockRevertArgs) ReadField1(iprot thrift.TProt... method Write (line 10077) | func (p *ItemServiceDecrStockRevertArgs) Write(oprot thrift.TProtocol)... method writeField1 (line 10106) | func (p *ItemServiceDecrStockRevertArgs) writeField1(oprot thrift.TPro... method String (line 10123) | func (p *ItemServiceDecrStockRevertArgs) String() string { method DeepEqual (line 10130) | func (p *ItemServiceDecrStockRevertArgs) DeepEqual(ano *ItemServiceDec... method Field1DeepEqual (line 10142) | func (p *ItemServiceDecrStockRevertArgs) Field1DeepEqual(src *DecrStoc... function NewItemServiceDecrStockRevertArgs (line 9986) | func NewItemServiceDecrStockRevertArgs() *ItemServiceDecrStockRevertArgs { type ItemServiceDecrStockRevertResult (line 10150) | type ItemServiceDecrStockRevertResult struct method GetSuccess (line 10160) | func (p *ItemServiceDecrStockRevertResult) GetSuccess() (v *DecrStockR... method SetSuccess (line 10166) | func (p *ItemServiceDecrStockRevertResult) SetSuccess(x interface{}) { method IsSetSuccess (line 10174) | func (p *ItemServiceDecrStockRevertResult) IsSetSuccess() bool { method Read (line 10178) | func (p *ItemServiceDecrStockRevertResult) Read(iprot thrift.TProtocol... method ReadField0 (line 10237) | func (p *ItemServiceDecrStockRevertResult) ReadField0(iprot thrift.TPr... method Write (line 10245) | func (p *ItemServiceDecrStockRevertResult) Write(oprot thrift.TProtoco... method writeField0 (line 10274) | func (p *ItemServiceDecrStockRevertResult) writeField0(oprot thrift.TP... method String (line 10293) | func (p *ItemServiceDecrStockRevertResult) String() string { method DeepEqual (line 10300) | func (p *ItemServiceDecrStockRevertResult) DeepEqual(ano *ItemServiceD... method Field0DeepEqual (line 10312) | func (p *ItemServiceDecrStockRevertResult) Field0DeepEqual(src *DecrSt... function NewItemServiceDecrStockRevertResult (line 10154) | func NewItemServiceDecrStockRevertResult() *ItemServiceDecrStockRevertRe... FILE: book-shop/kitex_gen/cwg/bookshop/item/itemservice/client.go type Client (line 13) | type Client interface function NewClient (line 28) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 44) | func MustNewClient(destService string, opts ...client.Option) Client { type kItemServiceClient (line 52) | type kItemServiceClient struct method Add (line 56) | func (p *kItemServiceClient) Add(ctx context.Context, req *item.AddReq... method Edit (line 61) | func (p *kItemServiceClient) Edit(ctx context.Context, req *item.EditR... method Delete (line 66) | func (p *kItemServiceClient) Delete(ctx context.Context, req *item.Del... method Online (line 71) | func (p *kItemServiceClient) Online(ctx context.Context, req *item.Onl... method Offline (line 76) | func (p *kItemServiceClient) Offline(ctx context.Context, req *item.Of... method Get (line 81) | func (p *kItemServiceClient) Get(ctx context.Context, req *item.GetReq... method MGet2C (line 86) | func (p *kItemServiceClient) MGet2C(ctx context.Context, req *item.MGe... method Search (line 91) | func (p *kItemServiceClient) Search(ctx context.Context, req *item.Sea... method List (line 96) | func (p *kItemServiceClient) List(ctx context.Context, req *item.ListR... method DecrStock (line 101) | func (p *kItemServiceClient) DecrStock(ctx context.Context, req *item.... method DecrStockRevert (line 106) | func (p *kItemServiceClient) DecrStockRevert(ctx context.Context, req ... FILE: book-shop/kitex_gen/cwg/bookshop/item/itemservice/invoker.go function NewInvoker (line 11) | func NewInvoker(handler item.ItemService, opts ...server.Option) server.... FILE: book-shop/kitex_gen/cwg/bookshop/item/itemservice/itemservice.go function serviceInfo (line 12) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 18) | func NewServiceInfo() *kitex.ServiceInfo { function addHandler (line 48) | func addHandler(ctx context.Context, handler interface{}, arg, result in... function newItemServiceAddArgs (line 58) | func newItemServiceAddArgs() interface{} { function newItemServiceAddResult (line 62) | func newItemServiceAddResult() interface{} { function editHandler (line 66) | func editHandler(ctx context.Context, handler interface{}, arg, result i... function newItemServiceEditArgs (line 76) | func newItemServiceEditArgs() interface{} { function newItemServiceEditResult (line 80) | func newItemServiceEditResult() interface{} { function deleteHandler (line 84) | func deleteHandler(ctx context.Context, handler interface{}, arg, result... function newItemServiceDeleteArgs (line 94) | func newItemServiceDeleteArgs() interface{} { function newItemServiceDeleteResult (line 98) | func newItemServiceDeleteResult() interface{} { function onlineHandler (line 102) | func onlineHandler(ctx context.Context, handler interface{}, arg, result... function newItemServiceOnlineArgs (line 112) | func newItemServiceOnlineArgs() interface{} { function newItemServiceOnlineResult (line 116) | func newItemServiceOnlineResult() interface{} { function offlineHandler (line 120) | func offlineHandler(ctx context.Context, handler interface{}, arg, resul... function newItemServiceOfflineArgs (line 130) | func newItemServiceOfflineArgs() interface{} { function newItemServiceOfflineResult (line 134) | func newItemServiceOfflineResult() interface{} { function getHandler (line 138) | func getHandler(ctx context.Context, handler interface{}, arg, result in... function newItemServiceGetArgs (line 148) | func newItemServiceGetArgs() interface{} { function newItemServiceGetResult (line 152) | func newItemServiceGetResult() interface{} { function mGet2CHandler (line 156) | func mGet2CHandler(ctx context.Context, handler interface{}, arg, result... function newItemServiceMGet2CArgs (line 166) | func newItemServiceMGet2CArgs() interface{} { function newItemServiceMGet2CResult (line 170) | func newItemServiceMGet2CResult() interface{} { function searchHandler (line 174) | func searchHandler(ctx context.Context, handler interface{}, arg, result... function newItemServiceSearchArgs (line 184) | func newItemServiceSearchArgs() interface{} { function newItemServiceSearchResult (line 188) | func newItemServiceSearchResult() interface{} { function listHandler (line 192) | func listHandler(ctx context.Context, handler interface{}, arg, result i... function newItemServiceListArgs (line 202) | func newItemServiceListArgs() interface{} { function newItemServiceListResult (line 206) | func newItemServiceListResult() interface{} { function decrStockHandler (line 210) | func decrStockHandler(ctx context.Context, handler interface{}, arg, res... function newItemServiceDecrStockArgs (line 220) | func newItemServiceDecrStockArgs() interface{} { function newItemServiceDecrStockResult (line 224) | func newItemServiceDecrStockResult() interface{} { function decrStockRevertHandler (line 228) | func decrStockRevertHandler(ctx context.Context, handler interface{}, ar... function newItemServiceDecrStockRevertArgs (line 238) | func newItemServiceDecrStockRevertArgs() interface{} { function newItemServiceDecrStockRevertResult (line 242) | func newItemServiceDecrStockRevertResult() interface{} { type kClient (line 246) | type kClient struct method Add (line 256) | func (p *kClient) Add(ctx context.Context, req *item.AddReq) (r *item.... method Edit (line 266) | func (p *kClient) Edit(ctx context.Context, req *item.EditReq) (r *ite... method Delete (line 276) | func (p *kClient) Delete(ctx context.Context, req *item.DeleteReq) (r ... method Online (line 286) | func (p *kClient) Online(ctx context.Context, req *item.OnlineReq) (r ... method Offline (line 296) | func (p *kClient) Offline(ctx context.Context, req *item.OfflineReq) (... method Get (line 306) | func (p *kClient) Get(ctx context.Context, req *item.GetReq) (r *item.... method MGet2C (line 316) | func (p *kClient) MGet2C(ctx context.Context, req *item.MGet2CReq) (r ... method Search (line 326) | func (p *kClient) Search(ctx context.Context, req *item.SearchReq) (r ... method List (line 336) | func (p *kClient) List(ctx context.Context, req *item.ListReq) (r *ite... method DecrStock (line 346) | func (p *kClient) DecrStock(ctx context.Context, req *item.DecrStockRe... method DecrStockRevert (line 356) | func (p *kClient) DecrStockRevert(ctx context.Context, req *item.DecrS... function newServiceClient (line 250) | func newServiceClient(c client.Client) *kClient { FILE: book-shop/kitex_gen/cwg/bookshop/item/itemservice/server.go function NewServer (line 10) | func NewServer(handler item.ItemService, opts ...server.Option) server.S... FILE: book-shop/kitex_gen/cwg/bookshop/item/k-item.go method FastRead (line 28) | func (p *BookProperty) FastRead(buf []byte) (int, error) { method FastReadField1 (line 127) | func (p *BookProperty) FastReadField1(buf []byte) (int, error) { method FastReadField2 (line 141) | func (p *BookProperty) FastReadField2(buf []byte) (int, error) { method FastReadField3 (line 155) | func (p *BookProperty) FastReadField3(buf []byte) (int, error) { method FastWrite (line 170) | func (p *BookProperty) FastWrite(buf []byte) int { method FastWriteNocopy (line 174) | func (p *BookProperty) FastWriteNocopy(buf []byte, binaryWriter bthrift.... method BLength (line 187) | func (p *BookProperty) BLength() int { method fastWriteField1 (line 200) | func (p *BookProperty) fastWriteField1(buf []byte, binaryWriter bthrift.... method fastWriteField2 (line 209) | func (p *BookProperty) fastWriteField2(buf []byte, binaryWriter bthrift.... method fastWriteField3 (line 218) | func (p *BookProperty) fastWriteField3(buf []byte, binaryWriter bthrift.... method field1Length (line 227) | func (p *BookProperty) field1Length() int { method field2Length (line 236) | func (p *BookProperty) field2Length() int { method field3Length (line 245) | func (p *BookProperty) field3Length() int { method FastRead (line 254) | func (p *Product) FastRead(buf []byte) (int, error) { method FastReadField1 (line 423) | func (p *Product) FastReadField1(buf []byte) (int, error) { method FastReadField2 (line 437) | func (p *Product) FastReadField2(buf []byte) (int, error) { method FastReadField3 (line 451) | func (p *Product) FastReadField3(buf []byte) (int, error) { method FastReadField4 (line 465) | func (p *Product) FastReadField4(buf []byte) (int, error) { method FastReadField5 (line 479) | func (p *Product) FastReadField5(buf []byte) (int, error) { method FastReadField6 (line 492) | func (p *Product) FastReadField6(buf []byte) (int, error) { method FastReadField7 (line 506) | func (p *Product) FastReadField7(buf []byte) (int, error) { method FastReadField8 (line 520) | func (p *Product) FastReadField8(buf []byte) (int, error) { method FastWrite (line 535) | func (p *Product) FastWrite(buf []byte) int { method FastWriteNocopy (line 539) | func (p *Product) FastWriteNocopy(buf []byte, binaryWriter bthrift.Binar... method BLength (line 557) | func (p *Product) BLength() int { method fastWriteField1 (line 575) | func (p *Product) fastWriteField1(buf []byte, binaryWriter bthrift.Binar... method fastWriteField2 (line 584) | func (p *Product) fastWriteField2(buf []byte, binaryWriter bthrift.Binar... method fastWriteField3 (line 593) | func (p *Product) fastWriteField3(buf []byte, binaryWriter bthrift.Binar... method fastWriteField4 (line 602) | func (p *Product) fastWriteField4(buf []byte, binaryWriter bthrift.Binar... method fastWriteField5 (line 611) | func (p *Product) fastWriteField5(buf []byte, binaryWriter bthrift.Binar... method fastWriteField6 (line 619) | func (p *Product) fastWriteField6(buf []byte, binaryWriter bthrift.Binar... method fastWriteField7 (line 628) | func (p *Product) fastWriteField7(buf []byte, binaryWriter bthrift.Binar... method fastWriteField8 (line 637) | func (p *Product) fastWriteField8(buf []byte, binaryWriter bthrift.Binar... method field1Length (line 646) | func (p *Product) field1Length() int { method field2Length (line 655) | func (p *Product) field2Length() int { method field3Length (line 664) | func (p *Product) field3Length() int { method field4Length (line 673) | func (p *Product) field4Length() int { method field5Length (line 682) | func (p *Product) field5Length() int { method field6Length (line 690) | func (p *Product) field6Length() int { method field7Length (line 699) | func (p *Product) field7Length() int { method field8Length (line 708) | func (p *Product) field8Length() int { method FastRead (line 717) | func (p *AddReq) FastRead(buf []byte) (int, error) { method FastReadField1 (line 901) | func (p *AddReq) FastReadField1(buf []byte) (int, error) { method FastReadField2 (line 915) | func (p *AddReq) FastReadField2(buf []byte) (int, error) { method FastReadField3 (line 929) | func (p *AddReq) FastReadField3(buf []byte) (int, error) { method FastReadField4 (line 943) | func (p *AddReq) FastReadField4(buf []byte) (int, error) { method FastReadField5 (line 956) | func (p *AddReq) FastReadField5(buf []byte) (int, error) { method FastReadField6 (line 970) | func (p *AddReq) FastReadField6(buf []byte) (int, error) { method FastWrite (line 985) | func (p *AddReq) FastWrite(buf []byte) int { method FastWriteNocopy (line 989) | func (p *AddReq) FastWriteNocopy(buf []byte, binaryWriter bthrift.Binary... method BLength (line 1005) | func (p *AddReq) BLength() int { method fastWriteField1 (line 1021) | func (p *AddReq) fastWriteField1(buf []byte, binaryWriter bthrift.Binary... method fastWriteField2 (line 1030) | func (p *AddReq) fastWriteField2(buf []byte, binaryWriter bthrift.Binary... method fastWriteField3 (line 1039) | func (p *AddReq) fastWriteField3(buf []byte, binaryWriter bthrift.Binary... method fastWriteField4 (line 1048) | func (p *AddReq) fastWriteField4(buf []byte, binaryWriter bthrift.Binary... method fastWriteField5 (line 1056) | func (p *AddReq) fastWriteField5(buf []byte, binaryWriter bthrift.Binary... method fastWriteField6 (line 1065) | func (p *AddReq) fastWriteField6(buf []byte, binaryWriter bthrift.Binary... method field1Length (line 1074) | func (p *AddReq) field1Length() int { method field2Length (line 1083) | func (p *AddReq) field2Length() int { method field3Length (line 1092) | func (p *AddReq) field3Length() int { method field4Length (line 1101) | func (p *AddReq) field4Length() int { method field5Length (line 1109) | func (p *AddReq) field5Length() int { method field6Length (line 1118) | func (p *AddReq) field6Length() int { method FastRead (line 1127) | func (p *AddResp) FastRead(buf []byte) (int, error) { method FastReadField1 (line 1212) | func (p *AddResp) FastReadField1(buf []byte) (int, error) { method FastReadField255 (line 1226) | func (p *AddResp) FastReadField255(buf []byte) (int, error) { method FastWrite (line 1240) | func (p *AddResp) FastWrite(buf []byte) int { method FastWriteNocopy (line 1244) | func (p *AddResp) FastWriteNocopy(buf []byte, binaryWriter bthrift.Binar... method BLength (line 1256) | func (p *AddResp) BLength() int { method fastWriteField1 (line 1268) | func (p *AddResp) fastWriteField1(buf []byte, binaryWriter bthrift.Binar... method fastWriteField255 (line 1277) | func (p *AddResp) fastWriteField255(buf []byte, binaryWriter bthrift.Bin... method field1Length (line 1285) | func (p *AddResp) field1Length() int { method field255Length (line 1294) | func (p *AddResp) field255Length() int { method FastRead (line 1302) | func (p *EditReq) FastRead(buf []byte) (int, error) { method FastReadField1 (line 1465) | func (p *EditReq) FastReadField1(buf []byte) (int, error) { method FastReadField2 (line 1479) | func (p *EditReq) FastReadField2(buf []byte) (int, error) { method FastReadField3 (line 1492) | func (p *EditReq) FastReadField3(buf []byte) (int, error) { method FastReadField4 (line 1505) | func (p *EditReq) FastReadField4(buf []byte) (int, error) { method FastReadField5 (line 1518) | func (p *EditReq) FastReadField5(buf []byte) (int, error) { method FastReadField6 (line 1531) | func (p *EditReq) FastReadField6(buf []byte) (int, error) { method FastReadField7 (line 1544) | func (p *EditReq) FastReadField7(buf []byte) (int, error) { method FastWrite (line 1558) | func (p *EditReq) FastWrite(buf []byte) int { method FastWriteNocopy (line 1562) | func (p *EditReq) FastWriteNocopy(buf []byte, binaryWriter bthrift.Binar... method BLength (line 1579) | func (p *EditReq) BLength() int { method fastWriteField1 (line 1596) | func (p *EditReq) fastWriteField1(buf []byte, binaryWriter bthrift.Binar... method fastWriteField2 (line 1605) | func (p *EditReq) fastWriteField2(buf []byte, binaryWriter bthrift.Binar... method fastWriteField3 (line 1616) | func (p *EditReq) fastWriteField3(buf []byte, binaryWriter bthrift.Binar... method fastWriteField4 (line 1627) | func (p *EditReq) fastWriteField4(buf []byte, binaryWriter bthrift.Binar... method fastWriteField5 (line 1638) | func (p *EditReq) fastWriteField5(buf []byte, binaryWriter bthrift.Binar... method fastWriteField6 (line 1648) | func (p *EditReq) fastWriteField6(buf []byte, binaryWriter bthrift.Binar... method fastWriteField7 (line 1659) | func (p *EditReq) fastWriteField7(buf []byte, binaryWriter bthrift.Binar... method field1Length (line 1670) | func (p *EditReq) field1Length() int { method field2Length (line 1679) | func (p *EditReq) field2Length() int { method field3Length (line 1690) | func (p *EditReq) field3Length() int { method field4Length (line 1701) | func (p *EditReq) field4Length() int { method field5Length (line 1712) | func (p *EditReq) field5Length() int { method field6Length (line 1722) | func (p *EditReq) field6Length() int { method field7Length (line 1733) | func (p *EditReq) field7Length() int { method FastRead (line 1744) | func (p *EditResp) FastRead(buf []byte) (int, error) { method FastReadField255 (line 1815) | func (p *EditResp) FastReadField255(buf []byte) (int, error) { method FastWrite (line 1829) | func (p *EditResp) FastWrite(buf []byte) int { method FastWriteNocopy (line 1833) | func (p *EditResp) FastWriteNocopy(buf []byte, binaryWriter bthrift.Bina... method BLength (line 1844) | func (p *EditResp) BLength() int { method fastWriteField255 (line 1855) | func (p *EditResp) fastWriteField255(buf []byte, binaryWriter bthrift.Bi... method field255Length (line 1863) | func (p *EditResp) field255Length() int { method FastRead (line 1871) | func (p *DeleteReq) FastRead(buf []byte) (int, error) { method FastReadField1 (line 1950) | func (p *DeleteReq) FastReadField1(buf []byte) (int, error) { method FastWrite (line 1965) | func (p *DeleteReq) FastWrite(buf []byte) int { method FastWriteNocopy (line 1969) | func (p *DeleteReq) FastWriteNocopy(buf []byte, binaryWriter bthrift.Bin... method BLength (line 1980) | func (p *DeleteReq) BLength() int { method fastWriteField1 (line 1991) | func (p *DeleteReq) fastWriteField1(buf []byte, binaryWriter bthrift.Bin... method field1Length (line 2000) | func (p *DeleteReq) field1Length() int { method FastRead (line 2009) | func (p *DeleteResp) FastRead(buf []byte) (int, error) { method FastReadField255 (line 2080) | func (p *DeleteResp) FastReadField255(buf []byte) (int, error) { method FastWrite (line 2094) | func (p *DeleteResp) FastWrite(buf []byte) int { method FastWriteNocopy (line 2098) | func (p *DeleteResp) FastWriteNocopy(buf []byte, binaryWriter bthrift.Bi... method BLength (line 2109) | func (p *DeleteResp) BLength() int { method fastWriteField255 (line 2120) | func (p *DeleteResp) fastWriteField255(buf []byte, binaryWriter bthrift.... method field255Length (line 2128) | func (p *DeleteResp) field255Length() int { method FastRead (line 2136) | func (p *OnlineReq) FastRead(buf []byte) (int, error) { method FastReadField1 (line 2215) | func (p *OnlineReq) FastReadField1(buf []byte) (int, error) { method FastWrite (line 2230) | func (p *OnlineReq) FastWrite(buf []byte) int { method FastWriteNocopy (line 2234) | func (p *OnlineReq) FastWriteNocopy(buf []byte, binaryWriter bthrift.Bin... method BLength (line 2245) | func (p *OnlineReq) BLength() int { method fastWriteField1 (line 2256) | func (p *OnlineReq) fastWriteField1(buf []byte, binaryWriter bthrift.Bin... method field1Length (line 2265) | func (p *OnlineReq) field1Length() int { method FastRead (line 2274) | func (p *OnlineResp) FastRead(buf []byte) (int, error) { method FastReadField255 (line 2345) | func (p *OnlineResp) FastReadField255(buf []byte) (int, error) { method FastWrite (line 2359) | func (p *OnlineResp) FastWrite(buf []byte) int { method FastWriteNocopy (line 2363) | func (p *OnlineResp) FastWriteNocopy(buf []byte, binaryWriter bthrift.Bi... method BLength (line 2374) | func (p *OnlineResp) BLength() int { method fastWriteField255 (line 2385) | func (p *OnlineResp) fastWriteField255(buf []byte, binaryWriter bthrift.... method field255Length (line 2393) | func (p *OnlineResp) field255Length() int { method FastRead (line 2401) | func (p *OfflineReq) FastRead(buf []byte) (int, error) { method FastReadField1 (line 2480) | func (p *OfflineReq) FastReadField1(buf []byte) (int, error) { method FastWrite (line 2495) | func (p *OfflineReq) FastWrite(buf []byte) int { method FastWriteNocopy (line 2499) | func (p *OfflineReq) FastWriteNocopy(buf []byte, binaryWriter bthrift.Bi... method BLength (line 2510) | func (p *OfflineReq) BLength() int { method fastWriteField1 (line 2521) | func (p *OfflineReq) fastWriteField1(buf []byte, binaryWriter bthrift.Bi... method field1Length (line 2530) | func (p *OfflineReq) field1Length() int { method FastRead (line 2539) | func (p *OfflineResp) FastRead(buf []byte) (int, error) { method FastReadField255 (line 2610) | func (p *OfflineResp) FastReadField255(buf []byte) (int, error) { method FastWrite (line 2624) | func (p *OfflineResp) FastWrite(buf []byte) int { method FastWriteNocopy (line 2628) | func (p *OfflineResp) FastWriteNocopy(buf []byte, binaryWriter bthrift.B... method BLength (line 2639) | func (p *OfflineResp) BLength() int { method fastWriteField255 (line 2650) | func (p *OfflineResp) fastWriteField255(buf []byte, binaryWriter bthrift... method field255Length (line 2658) | func (p *OfflineResp) field255Length() int { method FastRead (line 2666) | func (p *GetReq) FastRead(buf []byte) (int, error) { method FastReadField1 (line 2745) | func (p *GetReq) FastReadField1(buf []byte) (int, error) { method FastWrite (line 2760) | func (p *GetReq) FastWrite(buf []byte) int { method FastWriteNocopy (line 2764) | func (p *GetReq) FastWriteNocopy(buf []byte, binaryWriter bthrift.Binary... method BLength (line 2775) | func (p *GetReq) BLength() int { method fastWriteField1 (line 2786) | func (p *GetReq) fastWriteField1(buf []byte, binaryWriter bthrift.Binary... method field1Length (line 2795) | func (p *GetReq) field1Length() int { method FastRead (line 2804) | func (p *GetResp) FastRead(buf []byte) (int, error) { method FastReadField1 (line 2889) | func (p *GetResp) FastReadField1(buf []byte) (int, error) { method FastReadField255 (line 2902) | func (p *GetResp) FastReadField255(buf []byte) (int, error) { method FastWrite (line 2916) | func (p *GetResp) FastWrite(buf []byte) int { method FastWriteNocopy (line 2920) | func (p *GetResp) FastWriteNocopy(buf []byte, binaryWriter bthrift.Binar... method BLength (line 2932) | func (p *GetResp) BLength() int { method fastWriteField1 (line 2944) | func (p *GetResp) fastWriteField1(buf []byte, binaryWriter bthrift.Binar... method fastWriteField255 (line 2952) | func (p *GetResp) fastWriteField255(buf []byte, binaryWriter bthrift.Bin... method field1Length (line 2960) | func (p *GetResp) field1Length() int { method field255Length (line 2968) | func (p *GetResp) field255Length() int { method FastRead (line 2976) | func (p *MGet2CReq) FastRead(buf []byte) (int, error) { method FastReadField1 (line 3055) | func (p *MGet2CReq) FastReadField1(buf []byte) (int, error) { method FastWrite (line 3086) | func (p *MGet2CReq) FastWrite(buf []byte) int { method FastWriteNocopy (line 3090) | func (p *MGet2CReq) FastWriteNocopy(buf []byte, binaryWriter bthrift.Bin... method BLength (line 3101) | func (p *MGet2CReq) BLength() int { method fastWriteField1 (line 3112) | func (p *MGet2CReq) fastWriteField1(buf []byte, binaryWriter bthrift.Bin... method field1Length (line 3129) | func (p *MGet2CReq) field1Length() int { method FastRead (line 3140) | func (p *MGet2CResp) FastRead(buf []byte) (int, error) { method FastReadField1 (line 3225) | func (p *MGet2CResp) FastReadField1(buf []byte) (int, error) { method FastReadField255 (line 3261) | func (p *MGet2CResp) FastReadField255(buf []byte) (int, error) { method FastWrite (line 3275) | func (p *MGet2CResp) FastWrite(buf []byte) int { method FastWriteNocopy (line 3279) | func (p *MGet2CResp) FastWriteNocopy(buf []byte, binaryWriter bthrift.Bi... method BLength (line 3291) | func (p *MGet2CResp) BLength() int { method fastWriteField1 (line 3303) | func (p *MGet2CResp) fastWriteField1(buf []byte, binaryWriter bthrift.Bi... method fastWriteField255 (line 3322) | func (p *MGet2CResp) fastWriteField255(buf []byte, binaryWriter bthrift.... method field1Length (line 3330) | func (p *MGet2CResp) field1Length() int { method field255Length (line 3345) | func (p *MGet2CResp) field255Length() int { method FastRead (line 3353) | func (p *SearchReq) FastRead(buf []byte) (int, error) { method FastReadField1 (line 3452) | func (p *SearchReq) FastReadField1(buf []byte) (int, error) { method FastReadField2 (line 3465) | func (p *SearchReq) FastReadField2(buf []byte) (int, error) { method FastReadField3 (line 3478) | func (p *SearchReq) FastReadField3(buf []byte) (int, error) { method FastWrite (line 3492) | func (p *SearchReq) FastWrite(buf []byte) int { method FastWriteNocopy (line 3496) | func (p *SearchReq) FastWriteNocopy(buf []byte, binaryWriter bthrift.Bin... method BLength (line 3509) | func (p *SearchReq) BLength() int { method fastWriteField1 (line 3522) | func (p *SearchReq) fastWriteField1(buf []byte, binaryWriter bthrift.Bin... method fastWriteField2 (line 3533) | func (p *SearchReq) fastWriteField2(buf []byte, binaryWriter bthrift.Bin... method fastWriteField3 (line 3544) | func (p *SearchReq) fastWriteField3(buf []byte, binaryWriter bthrift.Bin... method field1Length (line 3555) | func (p *SearchReq) field1Length() int { method field2Length (line 3566) | func (p *SearchReq) field2Length() int { method field3Length (line 3577) | func (p *SearchReq) field3Length() int { method FastRead (line 3588) | func (p *SearchResp) FastRead(buf []byte) (int, error) { method FastReadField1 (line 3673) | func (p *SearchResp) FastReadField1(buf []byte) (int, error) { method FastReadField255 (line 3700) | func (p *SearchResp) FastReadField255(buf []byte) (int, error) { method FastWrite (line 3714) | func (p *SearchResp) FastWrite(buf []byte) int { method FastWriteNocopy (line 3718) | func (p *SearchResp) FastWriteNocopy(buf []byte, binaryWriter bthrift.Bi... method BLength (line 3730) | func (p *SearchResp) BLength() int { method fastWriteField1 (line 3742) | func (p *SearchResp) fastWriteField1(buf []byte, binaryWriter bthrift.Bi... method fastWriteField255 (line 3758) | func (p *SearchResp) fastWriteField255(buf []byte, binaryWriter bthrift.... method field1Length (line 3766) | func (p *SearchResp) field1Length() int { method field255Length (line 3778) | func (p *SearchResp) field255Length() int { method FastRead (line 3786) | func (p *ListReq) FastRead(buf []byte) (int, error) { method FastReadField1 (line 3885) | func (p *ListReq) FastReadField1(buf []byte) (int, error) { method FastReadField2 (line 3898) | func (p *ListReq) FastReadField2(buf []byte) (int, error) { method FastReadField3 (line 3911) | func (p *ListReq) FastReadField3(buf []byte) (int, error) { method FastWrite (line 3927) | func (p *ListReq) FastWrite(buf []byte) int { method FastWriteNocopy (line 3931) | func (p *ListReq) FastWriteNocopy(buf []byte, binaryWriter bthrift.Binar... method BLength (line 3944) | func (p *ListReq) BLength() int { method fastWriteField1 (line 3957) | func (p *ListReq) fastWriteField1(buf []byte, binaryWriter bthrift.Binar... method fastWriteField2 (line 3968) | func (p *ListReq) fastWriteField2(buf []byte, binaryWriter bthrift.Binar... method fastWriteField3 (line 3979) | func (p *ListReq) fastWriteField3(buf []byte, binaryWriter bthrift.Binar... method field1Length (line 3990) | func (p *ListReq) field1Length() int { method field2Length (line 4001) | func (p *ListReq) field2Length() int { method field3Length (line 4012) | func (p *ListReq) field3Length() int { method FastRead (line 4023) | func (p *ListResp) FastRead(buf []byte) (int, error) { method FastReadField1 (line 4108) | func (p *ListResp) FastReadField1(buf []byte) (int, error) { method FastReadField255 (line 4135) | func (p *ListResp) FastReadField255(buf []byte) (int, error) { method FastWrite (line 4149) | func (p *ListResp) FastWrite(buf []byte) int { method FastWriteNocopy (line 4153) | func (p *ListResp) FastWriteNocopy(buf []byte, binaryWriter bthrift.Bina... method BLength (line 4165) | func (p *ListResp) BLength() int { method fastWriteField1 (line 4177) | func (p *ListResp) fastWriteField1(buf []byte, binaryWriter bthrift.Bina... method fastWriteField255 (line 4193) | func (p *ListResp) fastWriteField255(buf []byte, binaryWriter bthrift.Bi... method field1Length (line 4201) | func (p *ListResp) field1Length() int { method field255Length (line 4213) | func (p *ListResp) field255Length() int { method FastRead (line 4221) | func (p *DecrStockReq) FastRead(buf []byte) (int, error) { method FastReadField1 (line 4321) | func (p *DecrStockReq) FastReadField1(buf []byte) (int, error) { method FastReadField2 (line 4335) | func (p *DecrStockReq) FastReadField2(buf []byte) (int, error) { method FastWrite (line 4350) | func (p *DecrStockReq) FastWrite(buf []byte) int { method FastWriteNocopy (line 4354) | func (p *DecrStockReq) FastWriteNocopy(buf []byte, binaryWriter bthrift.... method BLength (line 4366) | func (p *DecrStockReq) BLength() int { method fastWriteField1 (line 4378) | func (p *DecrStockReq) fastWriteField1(buf []byte, binaryWriter bthrift.... method fastWriteField2 (line 4387) | func (p *DecrStockReq) fastWriteField2(buf []byte, binaryWriter bthrift.... method field1Length (line 4396) | func (p *DecrStockReq) field1Length() int { method field2Length (line 4405) | func (p *DecrStockReq) field2Length() int { method FastRead (line 4414) | func (p *DecrStockResp) FastRead(buf []byte) (int, error) { method FastReadField255 (line 4485) | func (p *DecrStockResp) FastReadField255(buf []byte) (int, error) { method FastWrite (line 4499) | func (p *DecrStockResp) FastWrite(buf []byte) int { method FastWriteNocopy (line 4503) | func (p *DecrStockResp) FastWriteNocopy(buf []byte, binaryWriter bthrift... method BLength (line 4514) | func (p *DecrStockResp) BLength() int { method fastWriteField255 (line 4525) | func (p *DecrStockResp) fastWriteField255(buf []byte, binaryWriter bthri... method field255Length (line 4533) | func (p *DecrStockResp) field255Length() int { method FastRead (line 4541) | func (p *ItemServiceAddArgs) FastRead(buf []byte) (int, error) { method FastReadField1 (line 4612) | func (p *ItemServiceAddArgs) FastReadField1(buf []byte) (int, error) { method FastWrite (line 4626) | func (p *ItemServiceAddArgs) FastWrite(buf []byte) int { method FastWriteNocopy (line 4630) | func (p *ItemServiceAddArgs) FastWriteNocopy(buf []byte, binaryWriter bt... method BLength (line 4641) | func (p *ItemServiceAddArgs) BLength() int { method fastWriteField1 (line 4652) | func (p *ItemServiceAddArgs) fastWriteField1(buf []byte, binaryWriter bt... method field1Length (line 4660) | func (p *ItemServiceAddArgs) field1Length() int { method FastRead (line 4668) | func (p *ItemServiceAddResult) FastRead(buf []byte) (int, error) { method FastReadField0 (line 4739) | func (p *ItemServiceAddResult) FastReadField0(buf []byte) (int, error) { method FastWrite (line 4753) | func (p *ItemServiceAddResult) FastWrite(buf []byte) int { method FastWriteNocopy (line 4757) | func (p *ItemServiceAddResult) FastWriteNocopy(buf []byte, binaryWriter ... method BLength (line 4768) | func (p *ItemServiceAddResult) BLength() int { method fastWriteField0 (line 4779) | func (p *ItemServiceAddResult) fastWriteField0(buf []byte, binaryWriter ... method field0Length (line 4789) | func (p *ItemServiceAddResult) field0Length() int { method FastRead (line 4799) | func (p *ItemServiceEditArgs) FastRead(buf []byte) (int, error) { method FastReadField1 (line 4870) | func (p *ItemServiceEditArgs) FastReadField1(buf []byte) (int, error) { method FastWrite (line 4884) | func (p *ItemServiceEditArgs) FastWrite(buf []byte) int { method FastWriteNocopy (line 4888) | func (p *ItemServiceEditArgs) FastWriteNocopy(buf []byte, binaryWriter b... method BLength (line 4899) | func (p *ItemServiceEditArgs) BLength() int { method fastWriteField1 (line 4910) | func (p *ItemServiceEditArgs) fastWriteField1(buf []byte, binaryWriter b... method field1Length (line 4918) | func (p *ItemServiceEditArgs) field1Length() int { method FastRead (line 4926) | func (p *ItemServiceEditResult) FastRead(buf []byte) (int, error) { method FastReadField0 (line 4997) | func (p *ItemServiceEditResult) FastReadField0(buf []byte) (int, error) { method FastWrite (line 5011) | func (p *ItemServiceEditResult) FastWrite(buf []byte) int { method FastWriteNocopy (line 5015) | func (p *ItemServiceEditResult) FastWriteNocopy(buf []byte, binaryWriter... method BLength (line 5026) | func (p *ItemServiceEditResult) BLength() int { method fastWriteField0 (line 5037) | func (p *ItemServiceEditResult) fastWriteField0(buf []byte, binaryWriter... method field0Length (line 5047) | func (p *ItemServiceEditResult) field0Length() int { method FastRead (line 5057) | func (p *ItemServiceDeleteArgs) FastRead(buf []byte) (int, error) { method FastReadField1 (line 5128) | func (p *ItemServiceDeleteArgs) FastReadField1(buf []byte) (int, error) { method FastWrite (line 5142) | func (p *ItemServiceDeleteArgs) FastWrite(buf []byte) int { method FastWriteNocopy (line 5146) | func (p *ItemServiceDeleteArgs) FastWriteNocopy(buf []byte, binaryWriter... method BLength (line 5157) | func (p *ItemServiceDeleteArgs) BLength() int { method fastWriteField1 (line 5168) | func (p *ItemServiceDeleteArgs) fastWriteField1(buf []byte, binaryWriter... method field1Length (line 5176) | func (p *ItemServiceDeleteArgs) field1Length() int { method FastRead (line 5184) | func (p *ItemServiceDeleteResult) FastRead(buf []byte) (int, error) { method FastReadField0 (line 5255) | func (p *ItemServiceDeleteResult) FastReadField0(buf []byte) (int, error) { method FastWrite (line 5269) | func (p *ItemServiceDeleteResult) FastWrite(buf []byte) int { method FastWriteNocopy (line 5273) | func (p *ItemServiceDeleteResult) FastWriteNocopy(buf []byte, binaryWrit... method BLength (line 5284) | func (p *ItemServiceDeleteResult) BLength() int { method fastWriteField0 (line 5295) | func (p *ItemServiceDeleteResult) fastWriteField0(buf []byte, binaryWrit... method field0Length (line 5305) | func (p *ItemServiceDeleteResult) field0Length() int { method FastRead (line 5315) | func (p *ItemServiceOnlineArgs) FastRead(buf []byte) (int, error) { method FastReadField1 (line 5386) | func (p *ItemServiceOnlineArgs) FastReadField1(buf []byte) (int, error) { method FastWrite (line 5400) | func (p *ItemServiceOnlineArgs) FastWrite(buf []byte) int { method FastWriteNocopy (line 5404) | func (p *ItemServiceOnlineArgs) FastWriteNocopy(buf []byte, binaryWriter... method BLength (line 5415) | func (p *ItemServiceOnlineArgs) BLength() int { method fastWriteField1 (line 5426) | func (p *ItemServiceOnlineArgs) fastWriteField1(buf []byte, binaryWriter... method field1Length (line 5434) | func (p *ItemServiceOnlineArgs) field1Length() int { method FastRead (line 5442) | func (p *ItemServiceOnlineResult) FastRead(buf []byte) (int, error) { method FastReadField0 (line 5513) | func (p *ItemServiceOnlineResult) FastReadField0(buf []byte) (int, error) { method FastWrite (line 5527) | func (p *ItemServiceOnlineResult) FastWrite(buf []byte) int { method FastWriteNocopy (line 5531) | func (p *ItemServiceOnlineResult) FastWriteNocopy(buf []byte, binaryWrit... method BLength (line 5542) | func (p *ItemServiceOnlineResult) BLength() int { method fastWriteField0 (line 5553) | func (p *ItemServiceOnlineResult) fastWriteField0(buf []byte, binaryWrit... method field0Length (line 5563) | func (p *ItemServiceOnlineResult) field0Length() int { method FastRead (line 5573) | func (p *ItemServiceOfflineArgs) FastRead(buf []byte) (int, error) { method FastReadField1 (line 5644) | func (p *ItemServiceOfflineArgs) FastReadField1(buf []byte) (int, error) { method FastWrite (line 5658) | func (p *ItemServiceOfflineArgs) FastWrite(buf []byte) int { method FastWriteNocopy (line 5662) | func (p *ItemServiceOfflineArgs) FastWriteNocopy(buf []byte, binaryWrite... method BLength (line 5673) | func (p *ItemServiceOfflineArgs) BLength() int { method fastWriteField1 (line 5684) | func (p *ItemServiceOfflineArgs) fastWriteField1(buf []byte, binaryWrite... method field1Length (line 5692) | func (p *ItemServiceOfflineArgs) field1Length() int { method FastRead (line 5700) | func (p *ItemServiceOfflineResult) FastRead(buf []byte) (int, error) { method FastReadField0 (line 5771) | func (p *ItemServiceOfflineResult) FastReadField0(buf []byte) (int, erro... method FastWrite (line 5785) | func (p *ItemServiceOfflineResult) FastWrite(buf []byte) int { method FastWriteNocopy (line 5789) | func (p *ItemServiceOfflineResult) FastWriteNocopy(buf []byte, binaryWri... method BLength (line 5800) | func (p *ItemServiceOfflineResult) BLength() int { method fastWriteField0 (line 5811) | func (p *ItemServiceOfflineResult) fastWriteField0(buf []byte, binaryWri... method field0Length (line 5821) | func (p *ItemServiceOfflineResult) field0Length() int { method FastRead (line 5831) | func (p *ItemServiceGetArgs) FastRead(buf []byte) (int, error) { method FastReadField1 (line 5902) | func (p *ItemServiceGetArgs) FastReadField1(buf []byte) (int, error) { method FastWrite (line 5916) | func (p *ItemServiceGetArgs) FastWrite(buf []byte) int { method FastWriteNocopy (line 5920) | func (p *ItemServiceGetArgs) FastWriteNocopy(buf []byte, binaryWriter bt... method BLength (line 5931) | func (p *ItemServiceGetArgs) BLength() int { method fastWriteField1 (line 5942) | func (p *ItemServiceGetArgs) fastWriteField1(buf []byte, binaryWriter bt... method field1Length (line 5950) | func (p *ItemServiceGetArgs) field1Length() int { method FastRead (line 5958) | func (p *ItemServiceGetResult) FastRead(buf []byte) (int, error) { method FastReadField0 (line 6029) | func (p *ItemServiceGetResult) FastReadField0(buf []byte) (int, error) { method FastWrite (line 6043) | func (p *ItemServiceGetResult) FastWrite(buf []byte) int { method FastWriteNocopy (line 6047) | func (p *ItemServiceGetResult) FastWriteNocopy(buf []byte, binaryWriter ... method BLength (line 6058) | func (p *ItemServiceGetResult) BLength() int { method fastWriteField0 (line 6069) | func (p *ItemServiceGetResult) fastWriteField0(buf []byte, binaryWriter ... method field0Length (line 6079) | func (p *ItemServiceGetResult) field0Length() int { method FastRead (line 6089) | func (p *ItemServiceMGet2CArgs) FastRead(buf []byte) (int, error) { method FastReadField1 (line 6160) | func (p *ItemServiceMGet2CArgs) FastReadField1(buf []byte) (int, error) { method FastWrite (line 6174) | func (p *ItemServiceMGet2CArgs) FastWrite(buf []byte) int { method FastWriteNocopy (line 6178) | func (p *ItemServiceMGet2CArgs) FastWriteNocopy(buf []byte, binaryWriter... method BLength (line 6189) | func (p *ItemServiceMGet2CArgs) BLength() int { method fastWriteField1 (line 6200) | func (p *ItemServiceMGet2CArgs) fastWriteField1(buf []byte, binaryWriter... method field1Length (line 6208) | func (p *ItemServiceMGet2CArgs) field1Length() int { method FastRead (line 6216) | func (p *ItemServiceMGet2CResult) FastRead(buf []byte) (int, error) { method FastReadField0 (line 6287) | func (p *ItemServiceMGet2CResult) FastReadField0(buf []byte) (int, error) { method FastWrite (line 6301) | func (p *ItemServiceMGet2CResult) FastWrite(buf []byte) int { method FastWriteNocopy (line 6305) | func (p *ItemServiceMGet2CResult) FastWriteNocopy(buf []byte, binaryWrit... method BLength (line 6316) | func (p *ItemServiceMGet2CResult) BLength() int { method fastWriteField0 (line 6327) | func (p *ItemServiceMGet2CResult) fastWriteField0(buf []byte, binaryWrit... method field0Length (line 6337) | func (p *ItemServiceMGet2CResult) field0Length() int { method FastRead (line 6347) | func (p *ItemServiceSearchArgs) FastRead(buf []byte) (int, error) { method FastReadField1 (line 6418) | func (p *ItemServiceSearchArgs) FastReadField1(buf []byte) (int, error) { method FastWrite (line 6432) | func (p *ItemServiceSearchArgs) FastWrite(buf []byte) int { method FastWriteNocopy (line 6436) | func (p *ItemServiceSearchArgs) FastWriteNocopy(buf []byte, binaryWriter... method BLength (line 6447) | func (p *ItemServiceSearchArgs) BLength() int { method fastWriteField1 (line 6458) | func (p *ItemServiceSearchArgs) fastWriteField1(buf []byte, binaryWriter... method field1Length (line 6466) | func (p *ItemServiceSearchArgs) field1Length() int { method FastRead (line 6474) | func (p *ItemServiceSearchResult) FastRead(buf []byte) (int, error) { method FastReadField0 (line 6545) | func (p *ItemServiceSearchResult) FastReadField0(buf []byte) (int, error) { method FastWrite (line 6559) | func (p *ItemServiceSearchResult) FastWrite(buf []byte) int { method FastWriteNocopy (line 6563) | func (p *ItemServiceSearchResult) FastWriteNocopy(buf []byte, binaryWrit... method BLength (line 6574) | func (p *ItemServiceSearchResult) BLength() int { method fastWriteField0 (line 6585) | func (p *ItemServiceSearchResult) fastWriteField0(buf []byte, binaryWrit... method field0Length (line 6595) | func (p *ItemServiceSearchResult) field0Length() int { method FastRead (line 6605) | func (p *ItemServiceListArgs) FastRead(buf []byte) (int, error) { method FastReadField1 (line 6676) | func (p *ItemServiceListArgs) FastReadField1(buf []byte) (int, error) { method FastWrite (line 6690) | func (p *ItemServiceListArgs) FastWrite(buf []byte) int { method FastWriteNocopy (line 6694) | func (p *ItemServiceListArgs) FastWriteNocopy(buf []byte, binaryWriter b... method BLength (line 6705) | func (p *ItemServiceListArgs) BLength() int { method fastWriteField1 (line 6716) | func (p *ItemServiceListArgs) fastWriteField1(buf []byte, binaryWriter b... method field1Length (line 6724) | func (p *ItemServiceListArgs) field1Length() int { method FastRead (line 6732) | func (p *ItemServiceListResult) FastRead(buf []byte) (int, error) { method FastReadField0 (line 6803) | func (p *ItemServiceListResult) FastReadField0(buf []byte) (int, error) { method FastWrite (line 6817) | func (p *ItemServiceListResult) FastWrite(buf []byte) int { method FastWriteNocopy (line 6821) | func (p *ItemServiceListResult) FastWriteNocopy(buf []byte, binaryWriter... method BLength (line 6832) | func (p *ItemServiceListResult) BLength() int { method fastWriteField0 (line 6843) | func (p *ItemServiceListResult) fastWriteField0(buf []byte, binaryWriter... method field0Length (line 6853) | func (p *ItemServiceListResult) field0Length() int { method FastRead (line 6863) | func (p *ItemServiceDecrStockArgs) FastRead(buf []byte) (int, error) { method FastReadField1 (line 6934) | func (p *ItemServiceDecrStockArgs) FastReadField1(buf []byte) (int, erro... method FastWrite (line 6948) | func (p *ItemServiceDecrStockArgs) FastWrite(buf []byte) int { method FastWriteNocopy (line 6952) | func (p *ItemServiceDecrStockArgs) FastWriteNocopy(buf []byte, binaryWri... method BLength (line 6963) | func (p *ItemServiceDecrStockArgs) BLength() int { method fastWriteField1 (line 6974) | func (p *ItemServiceDecrStockArgs) fastWriteField1(buf []byte, binaryWri... method field1Length (line 6982) | func (p *ItemServiceDecrStockArgs) field1Length() int { method FastRead (line 6990) | func (p *ItemServiceDecrStockResult) FastRead(buf []byte) (int, error) { method FastReadField0 (line 7061) | func (p *ItemServiceDecrStockResult) FastReadField0(buf []byte) (int, er... method FastWrite (line 7075) | func (p *ItemServiceDecrStockResult) FastWrite(buf []byte) int { method FastWriteNocopy (line 7079) | func (p *ItemServiceDecrStockResult) FastWriteNocopy(buf []byte, binaryW... method BLength (line 7090) | func (p *ItemServiceDecrStockResult) BLength() int { method fastWriteField0 (line 7101) | func (p *ItemServiceDecrStockResult) fastWriteField0(buf []byte, binaryW... method field0Length (line 7111) | func (p *ItemServiceDecrStockResult) field0Length() int { method FastRead (line 7121) | func (p *ItemServiceDecrStockRevertArgs) FastRead(buf []byte) (int, erro... method FastReadField1 (line 7192) | func (p *ItemServiceDecrStockRevertArgs) FastReadField1(buf []byte) (int... method FastWrite (line 7206) | func (p *ItemServiceDecrStockRevertArgs) FastWrite(buf []byte) int { method FastWriteNocopy (line 7210) | func (p *ItemServiceDecrStockRevertArgs) FastWriteNocopy(buf []byte, bin... method BLength (line 7221) | func (p *ItemServiceDecrStockRevertArgs) BLength() int { method fastWriteField1 (line 7232) | func (p *ItemServiceDecrStockRevertArgs) fastWriteField1(buf []byte, bin... method field1Length (line 7240) | func (p *ItemServiceDecrStockRevertArgs) field1Length() int { method FastRead (line 7248) | func (p *ItemServiceDecrStockRevertResult) FastRead(buf []byte) (int, er... method FastReadField0 (line 7319) | func (p *ItemServiceDecrStockRevertResult) FastReadField0(buf []byte) (i... method FastWrite (line 7333) | func (p *ItemServiceDecrStockRevertResult) FastWrite(buf []byte) int { method FastWriteNocopy (line 7337) | func (p *ItemServiceDecrStockRevertResult) FastWriteNocopy(buf []byte, b... method BLength (line 7348) | func (p *ItemServiceDecrStockRevertResult) BLength() int { method fastWriteField0 (line 7359) | func (p *ItemServiceDecrStockRevertResult) fastWriteField0(buf []byte, b... method field0Length (line 7369) | func (p *ItemServiceDecrStockRevertResult) field0Length() int { method GetFirstArgument (line 7379) | func (p *ItemServiceAddArgs) GetFirstArgument() interface{} { method GetResult (line 7383) | func (p *ItemServiceAddResult) GetResult() interface{} { method GetFirstArgument (line 7387) | func (p *ItemServiceEditArgs) GetFirstArgument() interface{} { method GetResult (line 7391) | func (p *ItemServiceEditResult) GetResult() interface{} { method GetFirstArgument (line 7395) | func (p *ItemServiceDeleteArgs) GetFirstArgument() interface{} { method GetResult (line 7399) | func (p *ItemServiceDeleteResult) GetResult() interface{} { method GetFirstArgument (line 7403) | func (p *ItemServiceOnlineArgs) GetFirstArgument() interface{} { method GetResult (line 7407) | func (p *ItemServiceOnlineResult) GetResult() interface{} { method GetFirstArgument (line 7411) | func (p *ItemServiceOfflineArgs) GetFirstArgument() interface{} { method GetResult (line 7415) | func (p *ItemServiceOfflineResult) GetResult() interface{} { method GetFirstArgument (line 7419) | func (p *ItemServiceGetArgs) GetFirstArgument() interface{} { method GetResult (line 7423) | func (p *ItemServiceGetResult) GetResult() interface{} { method GetFirstArgument (line 7427) | func (p *ItemServiceMGet2CArgs) GetFirstArgument() interface{} { method GetResult (line 7431) | func (p *ItemServiceMGet2CResult) GetResult() interface{} { method GetFirstArgument (line 7435) | func (p *ItemServiceSearchArgs) GetFirstArgument() interface{} { method GetResult (line 7439) | func (p *ItemServiceSearchResult) GetResult() interface{} { method GetFirstArgument (line 7443) | func (p *ItemServiceListArgs) GetFirstArgument() interface{} { method GetResult (line 7447) | func (p *ItemServiceListResult) GetResult() interface{} { method GetFirstArgument (line 7451) | func (p *ItemServiceDecrStockArgs) GetFirstArgument() interface{} { method GetResult (line 7455) | func (p *ItemServiceDecrStockResult) GetResult() interface{} { method GetFirstArgument (line 7459) | func (p *ItemServiceDecrStockRevertArgs) GetFirstArgument() interface{} { method GetResult (line 7463) | func (p *ItemServiceDecrStockRevertResult) GetResult() interface{} { FILE: book-shop/kitex_gen/cwg/bookshop/order/k-order.go method FastRead (line 28) | func (p *OrderItem) FastRead(buf []byte) (int, error) { method FastReadField1 (line 225) | func (p *OrderItem) FastReadField1(buf []byte) (int, error) { method FastReadField2 (line 239) | func (p *OrderItem) FastReadField2(buf []byte) (int, error) { method FastReadField3 (line 253) | func (p *OrderItem) FastReadField3(buf []byte) (int, error) { method FastReadField4 (line 267) | func (p *OrderItem) FastReadField4(buf []byte) (int, error) { method FastReadField5 (line 281) | func (p *OrderItem) FastReadField5(buf []byte) (int, error) { method FastReadField6 (line 295) | func (p *OrderItem) FastReadField6(buf []byte) (int, error) { method FastReadField7 (line 309) | func (p *OrderItem) FastReadField7(buf []byte) (int, error) { method FastReadField8 (line 323) | func (p *OrderItem) FastReadField8(buf []byte) (int, error) { method FastReadField9 (line 337) | func (p *OrderItem) FastReadField9(buf []byte) (int, error) { method FastReadField10 (line 351) | func (p *OrderItem) FastReadField10(buf []byte) (int, error) { method FastWrite (line 366) | func (p *OrderItem) FastWrite(buf []byte) int { method FastWriteNocopy (line 370) | func (p *OrderItem) FastWriteNocopy(buf []byte, binaryWriter bthrift.Bin... method BLength (line 390) | func (p *OrderItem) BLength() int { method fastWriteField1 (line 410) | func (p *OrderItem) fastWriteField1(buf []byte, binaryWriter bthrift.Bin... method fastWriteField2 (line 419) | func (p *OrderItem) fastWriteField2(buf []byte, binaryWriter bthrift.Bin... method fastWriteField3 (line 428) | func (p *OrderItem) fastWriteField3(buf []byte, binaryWriter bthrift.Bin... method fastWriteField4 (line 437) | func (p *OrderItem) fastWriteField4(buf []byte, binaryWriter bthrift.Bin... method fastWriteField5 (line 446) | func (p *OrderItem) fastWriteField5(buf []byte, binaryWriter bthrift.Bin... method fastWriteField6 (line 455) | func (p *OrderItem) fastWriteField6(buf []byte, binaryWriter bthrift.Bin... method fastWriteField7 (line 464) | func (p *OrderItem) fastWriteField7(buf []byte, binaryWriter bthrift.Bin... method fastWriteField8 (line 473) | func (p *OrderItem) fastWriteField8(buf []byte, binaryWriter bthrift.Bin... method fastWriteField9 (line 482) | func (p *OrderItem) fastWriteField9(buf []byte, binaryWriter bthrift.Bin... method fastWriteField10 (line 491) | func (p *OrderItem) fastWriteField10(buf []byte, binaryWriter bthrift.Bi... method field1Length (line 500) | func (p *OrderItem) field1Length() int { method field2Length (line 509) | func (p *OrderItem) field2Length() int { method field3Length (line 518) | func (p *OrderItem) field3Length() int { method field4Length (line 527) | func (p *OrderItem) field4Length() int { method field5Length (line 536) | func (p *OrderItem) field5Length() int { method field6Length (line 545) | func (p *OrderItem) field6Length() int { method field7Length (line 554) | func (p *OrderItem) field7Length() int { method field8Length (line 563) | func (p *OrderItem) field8Length() int { method field9Length (line 572) | func (p *OrderItem) field9Length() int { method field10Length (line 581) | func (p *OrderItem) field10Length() int { method FastRead (line 590) | func (p *CreateOrderReq) FastRead(buf []byte) (int, error) { method FastReadField1 (line 732) | func (p *CreateOrderReq) FastReadField1(buf []byte) (int, error) { method FastReadField2 (line 746) | func (p *CreateOrderReq) FastReadField2(buf []byte) (int, error) { method FastReadField3 (line 760) | func (p *CreateOrderReq) FastReadField3(buf []byte) (int, error) { method FastReadField4 (line 774) | func (p *CreateOrderReq) FastReadField4(buf []byte) (int, error) { method FastWrite (line 789) | func (p *CreateOrderReq) FastWrite(buf []byte) int { method FastWriteNocopy (line 793) | func (p *CreateOrderReq) FastWriteNocopy(buf []byte, binaryWriter bthrif... method BLength (line 807) | func (p *CreateOrderReq) BLength() int { method fastWriteField1 (line 821) | func (p *CreateOrderReq) fastWriteField1(buf []byte, binaryWriter bthrif... method fastWriteField2 (line 830) | func (p *CreateOrderReq) fastWriteField2(buf []byte, binaryWriter bthrif... method fastWriteField3 (line 839) | func (p *CreateOrderReq) fastWriteField3(buf []byte, binaryWriter bthrif... method fastWriteField4 (line 848) | func (p *CreateOrderReq) fastWriteField4(buf []byte, binaryWriter bthrif... method field1Length (line 857) | func (p *CreateOrderReq) field1Length() int { method field2Length (line 866) | func (p *CreateOrderReq) field2Length() int { method field3Length (line 875) | func (p *CreateOrderReq) field3Length() int { method field4Length (line 884) | func (p *CreateOrderReq) field4Length() int { method FastRead (line 893) | func (p *CreateOrderResp) FastRead(buf []byte) (int, error) { method FastReadField255 (line 964) | func (p *CreateOrderResp) FastReadField255(buf []byte) (int, error) { method FastWrite (line 978) | func (p *CreateOrderResp) FastWrite(buf []byte) int { method FastWriteNocopy (line 982) | func (p *CreateOrderResp) FastWriteNocopy(buf []byte, binaryWriter bthri... method BLength (line 993) | func (p *CreateOrderResp) BLength() int { method fastWriteField255 (line 1004) | func (p *CreateOrderResp) fastWriteField255(buf []byte, binaryWriter bth... method field255Length (line 1012) | func (p *CreateOrderResp) field255Length() int { method FastRead (line 1020) | func (p *CancelOrderReq) FastRead(buf []byte) (int, error) { method FastReadField1 (line 1099) | func (p *CancelOrderReq) FastReadField1(buf []byte) (int, error) { method FastWrite (line 1114) | func (p *CancelOrderReq) FastWrite(buf []byte) int { method FastWriteNocopy (line 1118) | func (p *CancelOrderReq) FastWriteNocopy(buf []byte, binaryWriter bthrif... method BLength (line 1129) | func (p *CancelOrderReq) BLength() int { method fastWriteField1 (line 1140) | func (p *CancelOrderReq) fastWriteField1(buf []byte, binaryWriter bthrif... method field1Length (line 1149) | func (p *CancelOrderReq) field1Length() int { method FastRead (line 1158) | func (p *CancelOrderResp) FastRead(buf []byte) (int, error) { method FastReadField255 (line 1229) | func (p *CancelOrderResp) FastReadField255(buf []byte) (int, error) { method FastWrite (line 1243) | func (p *CancelOrderResp) FastWrite(buf []byte) int { method FastWriteNocopy (line 1247) | func (p *CancelOrderResp) FastWriteNocopy(buf []byte, binaryWriter bthri... method BLength (line 1258) | func (p *CancelOrderResp) BLength() int { method fastWriteField255 (line 1269) | func (p *CancelOrderResp) fastWriteField255(buf []byte, binaryWriter bth... method field255Length (line 1277) | func (p *CancelOrderResp) field255Length() int { method FastRead (line 1285) | func (p *ListOrderReq) FastRead(buf []byte) (int, error) { method FastReadField1 (line 1378) | func (p *ListOrderReq) FastReadField1(buf []byte) (int, error) { method FastReadField2 (line 1392) | func (p *ListOrderReq) FastReadField2(buf []byte) (int, error) { method FastWrite (line 1408) | func (p *ListOrderReq) FastWrite(buf []byte) int { method FastWriteNocopy (line 1412) | func (p *ListOrderReq) FastWriteNocopy(buf []byte, binaryWriter bthrift.... method BLength (line 1424) | func (p *ListOrderReq) BLength() int { method fastWriteField1 (line 1436) | func (p *ListOrderReq) fastWriteField1(buf []byte, binaryWriter bthrift.... method fastWriteField2 (line 1445) | func (p *ListOrderReq) fastWriteField2(buf []byte, binaryWriter bthrift.... method field1Length (line 1456) | func (p *ListOrderReq) field1Length() int { method field2Length (line 1465) | func (p *ListOrderReq) field2Length() int { method FastRead (line 1476) | func (p *ListOrderResp) FastRead(buf []byte) (int, error) { method FastReadField1 (line 1561) | func (p *ListOrderResp) FastReadField1(buf []byte) (int, error) { method FastReadField255 (line 1588) | func (p *ListOrderResp) FastReadField255(buf []byte) (int, error) { method FastWrite (line 1602) | func (p *ListOrderResp) FastWrite(buf []byte) int { method FastWriteNocopy (line 1606) | func (p *ListOrderResp) FastWriteNocopy(buf []byte, binaryWriter bthrift... method BLength (line 1618) | func (p *ListOrderResp) BLength() int { method fastWriteField1 (line 1630) | func (p *ListOrderResp) fastWriteField1(buf []byte, binaryWriter bthrift... method fastWriteField255 (line 1646) | func (p *ListOrderResp) fastWriteField255(buf []byte, binaryWriter bthri... method field1Length (line 1654) | func (p *ListOrderResp) field1Length() int { method field255Length (line 1666) | func (p *ListOrderResp) field255Length() int { method FastRead (line 1674) | func (p *GetOrderByIdReq) FastRead(buf []byte) (int, error) { method FastReadField1 (line 1753) | func (p *GetOrderByIdReq) FastReadField1(buf []byte) (int, error) { method FastWrite (line 1768) | func (p *GetOrderByIdReq) FastWrite(buf []byte) int { method FastWriteNocopy (line 1772) | func (p *GetOrderByIdReq) FastWriteNocopy(buf []byte, binaryWriter bthri... method BLength (line 1783) | func (p *GetOrderByIdReq) BLength() int { method fastWriteField1 (line 1794) | func (p *GetOrderByIdReq) fastWriteField1(buf []byte, binaryWriter bthri... method field1Length (line 1803) | func (p *GetOrderByIdReq) field1Length() int { method FastRead (line 1812) | func (p *GetOrderByIdResp) FastRead(buf []byte) (int, error) { method FastReadField1 (line 1897) | func (p *GetOrderByIdResp) FastReadField1(buf []byte) (int, error) { method FastReadField255 (line 1910) | func (p *GetOrderByIdResp) FastReadField255(buf []byte) (int, error) { method FastWrite (line 1924) | func (p *GetOrderByIdResp) FastWrite(buf []byte) int { method FastWriteNocopy (line 1928) | func (p *GetOrderByIdResp) FastWriteNocopy(buf []byte, binaryWriter bthr... method BLength (line 1940) | func (p *GetOrderByIdResp) BLength() int { method fastWriteField1 (line 1952) | func (p *GetOrderByIdResp) fastWriteField1(buf []byte, binaryWriter bthr... method fastWriteField255 (line 1960) | func (p *GetOrderByIdResp) fastWriteField255(buf []byte, binaryWriter bt... method field1Length (line 1968) | func (p *GetOrderByIdResp) field1Length() int { method field255Length (line 1976) | func (p *GetOrderByIdResp) field255Length() int { method FastRead (line 1984) | func (p *OrderServiceCreateOrderArgs) FastRead(buf []byte) (int, error) { method FastReadField1 (line 2055) | func (p *OrderServiceCreateOrderArgs) FastReadField1(buf []byte) (int, e... method FastWrite (line 2069) | func (p *OrderServiceCreateOrderArgs) FastWrite(buf []byte) int { method FastWriteNocopy (line 2073) | func (p *OrderServiceCreateOrderArgs) FastWriteNocopy(buf []byte, binary... method BLength (line 2084) | func (p *OrderServiceCreateOrderArgs) BLength() int { method fastWriteField1 (line 2095) | func (p *OrderServiceCreateOrderArgs) fastWriteField1(buf []byte, binary... method field1Length (line 2103) | func (p *OrderServiceCreateOrderArgs) field1Length() int { method FastRead (line 2111) | func (p *OrderServiceCreateOrderResult) FastRead(buf []byte) (int, error) { method FastReadField0 (line 2182) | func (p *OrderServiceCreateOrderResult) FastReadField0(buf []byte) (int,... method FastWrite (line 2196) | func (p *OrderServiceCreateOrderResult) FastWrite(buf []byte) int { method FastWriteNocopy (line 2200) | func (p *OrderServiceCreateOrderResult) FastWriteNocopy(buf []byte, bina... method BLength (line 2211) | func (p *OrderServiceCreateOrderResult) BLength() int { method fastWriteField0 (line 2222) | func (p *OrderServiceCreateOrderResult) fastWriteField0(buf []byte, bina... method field0Length (line 2232) | func (p *OrderServiceCreateOrderResult) field0Length() int { method FastRead (line 2242) | func (p *OrderServiceCancelOrderArgs) FastRead(buf []byte) (int, error) { method FastReadField1 (line 2313) | func (p *OrderServiceCancelOrderArgs) FastReadField1(buf []byte) (int, e... method FastWrite (line 2327) | func (p *OrderServiceCancelOrderArgs) FastWrite(buf []byte) int { method FastWriteNocopy (line 2331) | func (p *OrderServiceCancelOrderArgs) FastWriteNocopy(buf []byte, binary... method BLength (line 2342) | func (p *OrderServiceCancelOrderArgs) BLength() int { method fastWriteField1 (line 2353) | func (p *OrderServiceCancelOrderArgs) fastWriteField1(buf []byte, binary... method field1Length (line 2361) | func (p *OrderServiceCancelOrderArgs) field1Length() int { method FastRead (line 2369) | func (p *OrderServiceCancelOrderResult) FastRead(buf []byte) (int, error) { method FastReadField0 (line 2440) | func (p *OrderServiceCancelOrderResult) FastReadField0(buf []byte) (int,... method FastWrite (line 2454) | func (p *OrderServiceCancelOrderResult) FastWrite(buf []byte) int { method FastWriteNocopy (line 2458) | func (p *OrderServiceCancelOrderResult) FastWriteNocopy(buf []byte, bina... method BLength (line 2469) | func (p *OrderServiceCancelOrderResult) BLength() int { method fastWriteField0 (line 2480) | func (p *OrderServiceCancelOrderResult) fastWriteField0(buf []byte, bina... method field0Length (line 2490) | func (p *OrderServiceCancelOrderResult) field0Length() int { method FastRead (line 2500) | func (p *OrderServiceListOrderArgs) FastRead(buf []byte) (int, error) { method FastReadField1 (line 2571) | func (p *OrderServiceListOrderArgs) FastReadField1(buf []byte) (int, err... method FastWrite (line 2585) | func (p *OrderServiceListOrderArgs) FastWrite(buf []byte) int { method FastWriteNocopy (line 2589) | func (p *OrderServiceListOrderArgs) FastWriteNocopy(buf []byte, binaryWr... method BLength (line 2600) | func (p *OrderServiceListOrderArgs) BLength() int { method fastWriteField1 (line 2611) | func (p *OrderServiceListOrderArgs) fastWriteField1(buf []byte, binaryWr... method field1Length (line 2619) | func (p *OrderServiceListOrderArgs) field1Length() int { method FastRead (line 2627) | func (p *OrderServiceListOrderResult) FastRead(buf []byte) (int, error) { method FastReadField0 (line 2698) | func (p *OrderServiceListOrderResult) FastReadField0(buf []byte) (int, e... method FastWrite (line 2712) | func (p *OrderServiceListOrderResult) FastWrite(buf []byte) int { method FastWriteNocopy (line 2716) | func (p *OrderServiceListOrderResult) FastWriteNocopy(buf []byte, binary... method BLength (line 2727) | func (p *OrderServiceListOrderResult) BLength() int { method fastWriteField0 (line 2738) | func (p *OrderServiceListOrderResult) fastWriteField0(buf []byte, binary... method field0Length (line 2748) | func (p *OrderServiceListOrderResult) field0Length() int { method FastRead (line 2758) | func (p *OrderServiceGetOrderByIdArgs) FastRead(buf []byte) (int, error) { method FastReadField1 (line 2829) | func (p *OrderServiceGetOrderByIdArgs) FastReadField1(buf []byte) (int, ... method FastWrite (line 2843) | func (p *OrderServiceGetOrderByIdArgs) FastWrite(buf []byte) int { method FastWriteNocopy (line 2847) | func (p *OrderServiceGetOrderByIdArgs) FastWriteNocopy(buf []byte, binar... method BLength (line 2858) | func (p *OrderServiceGetOrderByIdArgs) BLength() int { method fastWriteField1 (line 2869) | func (p *OrderServiceGetOrderByIdArgs) fastWriteField1(buf []byte, binar... method field1Length (line 2877) | func (p *OrderServiceGetOrderByIdArgs) field1Length() int { method FastRead (line 2885) | func (p *OrderServiceGetOrderByIdResult) FastRead(buf []byte) (int, erro... method FastReadField0 (line 2956) | func (p *OrderServiceGetOrderByIdResult) FastReadField0(buf []byte) (int... method FastWrite (line 2970) | func (p *OrderServiceGetOrderByIdResult) FastWrite(buf []byte) int { method FastWriteNocopy (line 2974) | func (p *OrderServiceGetOrderByIdResult) FastWriteNocopy(buf []byte, bin... method BLength (line 2985) | func (p *OrderServiceGetOrderByIdResult) BLength() int { method fastWriteField0 (line 2996) | func (p *OrderServiceGetOrderByIdResult) fastWriteField0(buf []byte, bin... method field0Length (line 3006) | func (p *OrderServiceGetOrderByIdResult) field0Length() int { method GetFirstArgument (line 3016) | func (p *OrderServiceCreateOrderArgs) GetFirstArgument() interface{} { method GetResult (line 3020) | func (p *OrderServiceCreateOrderResult) GetResult() interface{} { method GetFirstArgument (line 3024) | func (p *OrderServiceCancelOrderArgs) GetFirstArgument() interface{} { method GetResult (line 3028) | func (p *OrderServiceCancelOrderResult) GetResult() interface{} { method GetFirstArgument (line 3032) | func (p *OrderServiceListOrderArgs) GetFirstArgument() interface{} { method GetResult (line 3036) | func (p *OrderServiceListOrderResult) GetResult() interface{} { method GetFirstArgument (line 3040) | func (p *OrderServiceGetOrderByIdArgs) GetFirstArgument() interface{} { method GetResult (line 3044) | func (p *OrderServiceGetOrderByIdResult) GetResult() interface{} { FILE: book-shop/kitex_gen/cwg/bookshop/order/order.go type Status (line 15) | type Status method String (line 23) | func (p Status) String() string { method Scan (line 49) | func (p *Status) Scan(value interface{}) (err error) { method Value (line 56) | func (p *Status) Value() (driver.Value, error) { constant Status_Finish (line 18) | Status_Finish Status = 0 constant Status_Cancel (line 19) | Status_Cancel Status = 1 constant Status_Pending (line 20) | Status_Pending Status = 2 function StatusFromString (line 35) | func StatusFromString(s string) (Status, error) { function StatusPtr (line 47) | func StatusPtr(v Status) *Status { return &v } type OrderItem (line 63) | type OrderItem struct method GetOrderId (line 80) | func (p *OrderItem) GetOrderId() (v int64) { method GetUserId (line 84) | func (p *OrderItem) GetUserId() (v int64) { method GetUserName (line 88) | func (p *OrderItem) GetUserName() (v string) { method GetAddress (line 92) | func (p *OrderItem) GetAddress() (v string) { method GetProductId (line 96) | func (p *OrderItem) GetProductId() (v int64) { method GetStockNum (line 100) | func (p *OrderItem) GetStockNum() (v int64) { method GetProductSnapshot (line 104) | func (p *OrderItem) GetProductSnapshot() (v string) { method GetStatus (line 108) | func (p *OrderItem) GetStatus() (v Status) { method GetCreateTime (line 112) | func (p *OrderItem) GetCreateTime() (v int64) { method GetUpdateTime (line 116) | func (p *OrderItem) GetUpdateTime() (v int64) { method SetOrderId (line 119) | func (p *OrderItem) SetOrderId(val int64) { method SetUserId (line 122) | func (p *OrderItem) SetUserId(val int64) { method SetUserName (line 125) | func (p *OrderItem) SetUserName(val string) { method SetAddress (line 128) | func (p *OrderItem) SetAddress(val string) { method SetProductId (line 131) | func (p *OrderItem) SetProductId(val int64) { method SetStockNum (line 134) | func (p *OrderItem) SetStockNum(val int64) { method SetProductSnapshot (line 137) | func (p *OrderItem) SetProductSnapshot(val string) { method SetStatus (line 140) | func (p *OrderItem) SetStatus(val Status) { method SetCreateTime (line 143) | func (p *OrderItem) SetCreateTime(val int64) { method SetUpdateTime (line 146) | func (p *OrderItem) SetUpdateTime(val int64) { method Read (line 163) | func (p *OrderItem) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 312) | func (p *OrderItem) ReadField1(iprot thrift.TProtocol) error { method ReadField2 (line 321) | func (p *OrderItem) ReadField2(iprot thrift.TProtocol) error { method ReadField3 (line 330) | func (p *OrderItem) ReadField3(iprot thrift.TProtocol) error { method ReadField4 (line 339) | func (p *OrderItem) ReadField4(iprot thrift.TProtocol) error { method ReadField5 (line 348) | func (p *OrderItem) ReadField5(iprot thrift.TProtocol) error { method ReadField6 (line 357) | func (p *OrderItem) ReadField6(iprot thrift.TProtocol) error { method ReadField7 (line 366) | func (p *OrderItem) ReadField7(iprot thrift.TProtocol) error { method ReadField8 (line 375) | func (p *OrderItem) ReadField8(iprot thrift.TProtocol) error { method ReadField9 (line 384) | func (p *OrderItem) ReadField9(iprot thrift.TProtocol) error { method ReadField10 (line 393) | func (p *OrderItem) ReadField10(iprot thrift.TProtocol) error { method Write (line 402) | func (p *OrderItem) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 467) | func (p *OrderItem) writeField1(oprot thrift.TProtocol) (err error) { method writeField2 (line 484) | func (p *OrderItem) writeField2(oprot thrift.TProtocol) (err error) { method writeField3 (line 501) | func (p *OrderItem) writeField3(oprot thrift.TProtocol) (err error) { method writeField4 (line 518) | func (p *OrderItem) writeField4(oprot thrift.TProtocol) (err error) { method writeField5 (line 535) | func (p *OrderItem) writeField5(oprot thrift.TProtocol) (err error) { method writeField6 (line 552) | func (p *OrderItem) writeField6(oprot thrift.TProtocol) (err error) { method writeField7 (line 569) | func (p *OrderItem) writeField7(oprot thrift.TProtocol) (err error) { method writeField8 (line 586) | func (p *OrderItem) writeField8(oprot thrift.TProtocol) (err error) { method writeField9 (line 603) | func (p *OrderItem) writeField9(oprot thrift.TProtocol) (err error) { method writeField10 (line 620) | func (p *OrderItem) writeField10(oprot thrift.TProtocol) (err error) { method String (line 637) | func (p *OrderItem) String() string { method DeepEqual (line 644) | func (p *OrderItem) DeepEqual(ano *OrderItem) bool { method Field1DeepEqual (line 683) | func (p *OrderItem) Field1DeepEqual(src int64) bool { method Field2DeepEqual (line 690) | func (p *OrderItem) Field2DeepEqual(src int64) bool { method Field3DeepEqual (line 697) | func (p *OrderItem) Field3DeepEqual(src string) bool { method Field4DeepEqual (line 704) | func (p *OrderItem) Field4DeepEqual(src string) bool { method Field5DeepEqual (line 711) | func (p *OrderItem) Field5DeepEqual(src int64) bool { method Field6DeepEqual (line 718) | func (p *OrderItem) Field6DeepEqual(src int64) bool { method Field7DeepEqual (line 725) | func (p *OrderItem) Field7DeepEqual(src string) bool { method Field8DeepEqual (line 732) | func (p *OrderItem) Field8DeepEqual(src Status) bool { method Field9DeepEqual (line 739) | func (p *OrderItem) Field9DeepEqual(src int64) bool { method Field10DeepEqual (line 746) | func (p *OrderItem) Field10DeepEqual(src int64) bool { function NewOrderItem (line 76) | func NewOrderItem() *OrderItem { type CreateOrderReq (line 754) | type CreateOrderReq struct method GetUserId (line 765) | func (p *CreateOrderReq) GetUserId() (v int64) { method GetAddress (line 769) | func (p *CreateOrderReq) GetAddress() (v string) { method GetProductId (line 773) | func (p *CreateOrderReq) GetProductId() (v int64) { method GetStockNum (line 777) | func (p *CreateOrderReq) GetStockNum() (v int64) { method SetUserId (line 780) | func (p *CreateOrderReq) SetUserId(val int64) { method SetAddress (line 783) | func (p *CreateOrderReq) SetAddress(val string) { method SetProductId (line 786) | func (p *CreateOrderReq) SetProductId(val int64) { method SetStockNum (line 789) | func (p *CreateOrderReq) SetStockNum(val int64) { method Read (line 800) | func (p *CreateOrderReq) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 918) | func (p *CreateOrderReq) ReadField1(iprot thrift.TProtocol) error { method ReadField2 (line 927) | func (p *CreateOrderReq) ReadField2(iprot thrift.TProtocol) error { method ReadField3 (line 936) | func (p *CreateOrderReq) ReadField3(iprot thrift.TProtocol) error { method ReadField4 (line 945) | func (p *CreateOrderReq) ReadField4(iprot thrift.TProtocol) error { method Write (line 954) | func (p *CreateOrderReq) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 995) | func (p *CreateOrderReq) writeField1(oprot thrift.TProtocol) (err erro... method writeField2 (line 1012) | func (p *CreateOrderReq) writeField2(oprot thrift.TProtocol) (err erro... method writeField3 (line 1029) | func (p *CreateOrderReq) writeField3(oprot thrift.TProtocol) (err erro... method writeField4 (line 1046) | func (p *CreateOrderReq) writeField4(oprot thrift.TProtocol) (err erro... method String (line 1063) | func (p *CreateOrderReq) String() string { method DeepEqual (line 1070) | func (p *CreateOrderReq) DeepEqual(ano *CreateOrderReq) bool { method Field1DeepEqual (line 1091) | func (p *CreateOrderReq) Field1DeepEqual(src int64) bool { method Field2DeepEqual (line 1098) | func (p *CreateOrderReq) Field2DeepEqual(src string) bool { method Field3DeepEqual (line 1105) | func (p *CreateOrderReq) Field3DeepEqual(src int64) bool { method Field4DeepEqual (line 1112) | func (p *CreateOrderReq) Field4DeepEqual(src int64) bool { function NewCreateOrderReq (line 761) | func NewCreateOrderReq() *CreateOrderReq { type CreateOrderResp (line 1120) | type CreateOrderResp struct method GetBaseResp (line 1130) | func (p *CreateOrderResp) GetBaseResp() (v *base.BaseResp) { method SetBaseResp (line 1136) | func (p *CreateOrderResp) SetBaseResp(val *base.BaseResp) { method IsSetBaseResp (line 1144) | func (p *CreateOrderResp) IsSetBaseResp() bool { method Read (line 1148) | func (p *CreateOrderResp) Read(iprot thrift.TProtocol) (err error) { method ReadField255 (line 1207) | func (p *CreateOrderResp) ReadField255(iprot thrift.TProtocol) error { method Write (line 1215) | func (p *CreateOrderResp) Write(oprot thrift.TProtocol) (err error) { method writeField255 (line 1244) | func (p *CreateOrderResp) writeField255(oprot thrift.TProtocol) (err e... method String (line 1261) | func (p *CreateOrderResp) String() string { method DeepEqual (line 1268) | func (p *CreateOrderResp) DeepEqual(ano *CreateOrderResp) bool { method Field255DeepEqual (line 1280) | func (p *CreateOrderResp) Field255DeepEqual(src *base.BaseResp) bool { function NewCreateOrderResp (line 1124) | func NewCreateOrderResp() *CreateOrderResp { type CancelOrderReq (line 1288) | type CancelOrderReq struct method GetOrderId (line 1296) | func (p *CancelOrderReq) GetOrderId() (v int64) { method SetOrderId (line 1299) | func (p *CancelOrderReq) SetOrderId(val int64) { method Read (line 1307) | func (p *CancelOrderReq) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 1374) | func (p *CancelOrderReq) ReadField1(iprot thrift.TProtocol) error { method Write (line 1383) | func (p *CancelOrderReq) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 1412) | func (p *CancelOrderReq) writeField1(oprot thrift.TProtocol) (err erro... method String (line 1429) | func (p *CancelOrderReq) String() string { method DeepEqual (line 1436) | func (p *CancelOrderReq) DeepEqual(ano *CancelOrderReq) bool { method Field1DeepEqual (line 1448) | func (p *CancelOrderReq) Field1DeepEqual(src int64) bool { function NewCancelOrderReq (line 1292) | func NewCancelOrderReq() *CancelOrderReq { type CancelOrderResp (line 1456) | type CancelOrderResp struct method GetBaseResp (line 1466) | func (p *CancelOrderResp) GetBaseResp() (v *base.BaseResp) { method SetBaseResp (line 1472) | func (p *CancelOrderResp) SetBaseResp(val *base.BaseResp) { method IsSetBaseResp (line 1480) | func (p *CancelOrderResp) IsSetBaseResp() bool { method Read (line 1484) | func (p *CancelOrderResp) Read(iprot thrift.TProtocol) (err error) { method ReadField255 (line 1543) | func (p *CancelOrderResp) ReadField255(iprot thrift.TProtocol) error { method Write (line 1551) | func (p *CancelOrderResp) Write(oprot thrift.TProtocol) (err error) { method writeField255 (line 1580) | func (p *CancelOrderResp) writeField255(oprot thrift.TProtocol) (err e... method String (line 1597) | func (p *CancelOrderResp) String() string { method DeepEqual (line 1604) | func (p *CancelOrderResp) DeepEqual(ano *CancelOrderResp) bool { method Field255DeepEqual (line 1616) | func (p *CancelOrderResp) Field255DeepEqual(src *base.BaseResp) bool { function NewCancelOrderResp (line 1460) | func NewCancelOrderResp() *CancelOrderResp { type ListOrderReq (line 1624) | type ListOrderReq struct method GetUserId (line 1633) | func (p *ListOrderReq) GetUserId() (v int64) { method GetStatus (line 1639) | func (p *ListOrderReq) GetStatus() (v Status) { method SetUserId (line 1645) | func (p *ListOrderReq) SetUserId(val int64) { method SetStatus (line 1648) | func (p *ListOrderReq) SetStatus(val *Status) { method IsSetStatus (line 1657) | func (p *ListOrderReq) IsSetStatus() bool { method Read (line 1661) | func (p *ListOrderReq) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 1738) | func (p *ListOrderReq) ReadField1(iprot thrift.TProtocol) error { method ReadField2 (line 1747) | func (p *ListOrderReq) ReadField2(iprot thrift.TProtocol) error { method Write (line 1757) | func (p *ListOrderReq) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 1790) | func (p *ListOrderReq) writeField1(oprot thrift.TProtocol) (err error) { method writeField2 (line 1807) | func (p *ListOrderReq) writeField2(oprot thrift.TProtocol) (err error) { method String (line 1826) | func (p *ListOrderReq) String() string { method DeepEqual (line 1833) | func (p *ListOrderReq) DeepEqual(ano *ListOrderReq) bool { method Field1DeepEqual (line 1848) | func (p *ListOrderReq) Field1DeepEqual(src int64) bool { method Field2DeepEqual (line 1855) | func (p *ListOrderReq) Field2DeepEqual(src *Status) bool { function NewListOrderReq (line 1629) | func NewListOrderReq() *ListOrderReq { type ListOrderResp (line 1868) | type ListOrderResp struct method GetOrders (line 1877) | func (p *ListOrderResp) GetOrders() (v []*OrderItem) { method GetBaseResp (line 1883) | func (p *ListOrderResp) GetBaseResp() (v *base.BaseResp) { method SetOrders (line 1889) | func (p *ListOrderResp) SetOrders(val []*OrderItem) { method SetBaseResp (line 1892) | func (p *ListOrderResp) SetBaseResp(val *base.BaseResp) { method IsSetBaseResp (line 1901) | func (p *ListOrderResp) IsSetBaseResp() bool { method Read (line 1905) | func (p *ListOrderResp) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 1974) | func (p *ListOrderResp) ReadField1(iprot thrift.TProtocol) error { method ReadField255 (line 1994) | func (p *ListOrderResp) ReadField255(iprot thrift.TProtocol) error { method Write (line 2002) | func (p *ListOrderResp) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 2035) | func (p *ListOrderResp) writeField1(oprot thrift.TProtocol) (err error) { method writeField255 (line 2060) | func (p *ListOrderResp) writeField255(oprot thrift.TProtocol) (err err... method String (line 2077) | func (p *ListOrderResp) String() string { method DeepEqual (line 2084) | func (p *ListOrderResp) DeepEqual(ano *ListOrderResp) bool { method Field1DeepEqual (line 2099) | func (p *ListOrderResp) Field1DeepEqual(src []*OrderItem) bool { method Field255DeepEqual (line 2112) | func (p *ListOrderResp) Field255DeepEqual(src *base.BaseResp) bool { function NewListOrderResp (line 1873) | func NewListOrderResp() *ListOrderResp { type GetOrderByIdReq (line 2120) | type GetOrderByIdReq struct method GetOrderId (line 2128) | func (p *GetOrderByIdReq) GetOrderId() (v int64) { method SetOrderId (line 2131) | func (p *GetOrderByIdReq) SetOrderId(val int64) { method Read (line 2139) | func (p *GetOrderByIdReq) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 2206) | func (p *GetOrderByIdReq) ReadField1(iprot thrift.TProtocol) error { method Write (line 2215) | func (p *GetOrderByIdReq) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 2244) | func (p *GetOrderByIdReq) writeField1(oprot thrift.TProtocol) (err err... method String (line 2261) | func (p *GetOrderByIdReq) String() string { method DeepEqual (line 2268) | func (p *GetOrderByIdReq) DeepEqual(ano *GetOrderByIdReq) bool { method Field1DeepEqual (line 2280) | func (p *GetOrderByIdReq) Field1DeepEqual(src int64) bool { function NewGetOrderByIdReq (line 2124) | func NewGetOrderByIdReq() *GetOrderByIdReq { type GetOrderByIdResp (line 2288) | type GetOrderByIdResp struct method GetOrder (line 2299) | func (p *GetOrderByIdResp) GetOrder() (v *OrderItem) { method GetBaseResp (line 2308) | func (p *GetOrderByIdResp) GetBaseResp() (v *base.BaseResp) { method SetOrder (line 2314) | func (p *GetOrderByIdResp) SetOrder(val *OrderItem) { method SetBaseResp (line 2317) | func (p *GetOrderByIdResp) SetBaseResp(val *base.BaseResp) { method IsSetOrder (line 2326) | func (p *GetOrderByIdResp) IsSetOrder() bool { method IsSetBaseResp (line 2330) | func (p *GetOrderByIdResp) IsSetBaseResp() bool { method Read (line 2334) | func (p *GetOrderByIdResp) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 2403) | func (p *GetOrderByIdResp) ReadField1(iprot thrift.TProtocol) error { method ReadField255 (line 2411) | func (p *GetOrderByIdResp) ReadField255(iprot thrift.TProtocol) error { method Write (line 2419) | func (p *GetOrderByIdResp) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 2452) | func (p *GetOrderByIdResp) writeField1(oprot thrift.TProtocol) (err er... method writeField255 (line 2469) | func (p *GetOrderByIdResp) writeField255(oprot thrift.TProtocol) (err ... method String (line 2486) | func (p *GetOrderByIdResp) String() string { method DeepEqual (line 2493) | func (p *GetOrderByIdResp) DeepEqual(ano *GetOrderByIdResp) bool { method Field1DeepEqual (line 2508) | func (p *GetOrderByIdResp) Field1DeepEqual(src *OrderItem) bool { method Field255DeepEqual (line 2515) | func (p *GetOrderByIdResp) Field255DeepEqual(src *base.BaseResp) bool { function NewGetOrderByIdResp (line 2293) | func NewGetOrderByIdResp() *GetOrderByIdResp { type OrderService (line 2523) | type OrderService interface type OrderServiceClient (line 2533) | type OrderServiceClient struct method Client_ (line 2555) | func (p *OrderServiceClient) Client_() thrift.TClient { method CreateOrder (line 2559) | func (p *OrderServiceClient) CreateOrder(ctx context.Context, req *Cre... method CancelOrder (line 2569) | func (p *OrderServiceClient) CancelOrder(ctx context.Context, req *Can... method ListOrder (line 2579) | func (p *OrderServiceClient) ListOrder(ctx context.Context, req *ListO... method GetOrderById (line 2589) | func (p *OrderServiceClient) GetOrderById(ctx context.Context, req *Ge... function NewOrderServiceClientFactory (line 2537) | func NewOrderServiceClientFactory(t thrift.TTransport, f thrift.TProtoco... function NewOrderServiceClientProtocol (line 2543) | func NewOrderServiceClientProtocol(t thrift.TTransport, iprot thrift.TPr... function NewOrderServiceClient (line 2549) | func NewOrderServiceClient(c thrift.TClient) *OrderServiceClient { type OrderServiceProcessor (line 2599) | type OrderServiceProcessor struct method AddToProcessorMap (line 2604) | func (p *OrderServiceProcessor) AddToProcessorMap(key string, processo... method GetProcessorFunction (line 2608) | func (p *OrderServiceProcessor) GetProcessorFunction(key string) (proc... method ProcessorMap (line 2613) | func (p *OrderServiceProcessor) ProcessorMap() map[string]thrift.TProc... method Process (line 2625) | func (p *OrderServiceProcessor) Process(ctx context.Context, iprot, op... function NewOrderServiceProcessor (line 2617) | func NewOrderServiceProcessor(handler OrderService) *OrderServiceProcess... type orderServiceProcessorCreateOrder (line 2643) | type orderServiceProcessorCreateOrder struct method Process (line 2647) | func (p *orderServiceProcessorCreateOrder) Process(ctx context.Context... type orderServiceProcessorCancelOrder (line 2691) | type orderServiceProcessorCancelOrder struct method Process (line 2695) | func (p *orderServiceProcessorCancelOrder) Process(ctx context.Context... type orderServiceProcessorListOrder (line 2739) | type orderServiceProcessorListOrder struct method Process (line 2743) | func (p *orderServiceProcessorListOrder) Process(ctx context.Context, ... type orderServiceProcessorGetOrderById (line 2787) | type orderServiceProcessorGetOrderById struct method Process (line 2791) | func (p *orderServiceProcessorGetOrderById) Process(ctx context.Contex... type OrderServiceCreateOrderArgs (line 2835) | type OrderServiceCreateOrderArgs struct method GetReq (line 2845) | func (p *OrderServiceCreateOrderArgs) GetReq() (v *CreateOrderReq) { method SetReq (line 2851) | func (p *OrderServiceCreateOrderArgs) SetReq(val *CreateOrderReq) { method IsSetReq (line 2859) | func (p *OrderServiceCreateOrderArgs) IsSetReq() bool { method Read (line 2863) | func (p *OrderServiceCreateOrderArgs) Read(iprot thrift.TProtocol) (er... method ReadField1 (line 2922) | func (p *OrderServiceCreateOrderArgs) ReadField1(iprot thrift.TProtoco... method Write (line 2930) | func (p *OrderServiceCreateOrderArgs) Write(oprot thrift.TProtocol) (e... method writeField1 (line 2959) | func (p *OrderServiceCreateOrderArgs) writeField1(oprot thrift.TProtoc... method String (line 2976) | func (p *OrderServiceCreateOrderArgs) String() string { method DeepEqual (line 2983) | func (p *OrderServiceCreateOrderArgs) DeepEqual(ano *OrderServiceCreat... method Field1DeepEqual (line 2995) | func (p *OrderServiceCreateOrderArgs) Field1DeepEqual(src *CreateOrder... function NewOrderServiceCreateOrderArgs (line 2839) | func NewOrderServiceCreateOrderArgs() *OrderServiceCreateOrderArgs { type OrderServiceCreateOrderResult (line 3003) | type OrderServiceCreateOrderResult struct method GetSuccess (line 3013) | func (p *OrderServiceCreateOrderResult) GetSuccess() (v *CreateOrderRe... method SetSuccess (line 3019) | func (p *OrderServiceCreateOrderResult) SetSuccess(x interface{}) { method IsSetSuccess (line 3027) | func (p *OrderServiceCreateOrderResult) IsSetSuccess() bool { method Read (line 3031) | func (p *OrderServiceCreateOrderResult) Read(iprot thrift.TProtocol) (... method ReadField0 (line 3090) | func (p *OrderServiceCreateOrderResult) ReadField0(iprot thrift.TProto... method Write (line 3098) | func (p *OrderServiceCreateOrderResult) Write(oprot thrift.TProtocol) ... method writeField0 (line 3127) | func (p *OrderServiceCreateOrderResult) writeField0(oprot thrift.TProt... method String (line 3146) | func (p *OrderServiceCreateOrderResult) String() string { method DeepEqual (line 3153) | func (p *OrderServiceCreateOrderResult) DeepEqual(ano *OrderServiceCre... method Field0DeepEqual (line 3165) | func (p *OrderServiceCreateOrderResult) Field0DeepEqual(src *CreateOrd... function NewOrderServiceCreateOrderResult (line 3007) | func NewOrderServiceCreateOrderResult() *OrderServiceCreateOrderResult { type OrderServiceCancelOrderArgs (line 3173) | type OrderServiceCancelOrderArgs struct method GetReq (line 3183) | func (p *OrderServiceCancelOrderArgs) GetReq() (v *CancelOrderReq) { method SetReq (line 3189) | func (p *OrderServiceCancelOrderArgs) SetReq(val *CancelOrderReq) { method IsSetReq (line 3197) | func (p *OrderServiceCancelOrderArgs) IsSetReq() bool { method Read (line 3201) | func (p *OrderServiceCancelOrderArgs) Read(iprot thrift.TProtocol) (er... method ReadField1 (line 3260) | func (p *OrderServiceCancelOrderArgs) ReadField1(iprot thrift.TProtoco... method Write (line 3268) | func (p *OrderServiceCancelOrderArgs) Write(oprot thrift.TProtocol) (e... method writeField1 (line 3297) | func (p *OrderServiceCancelOrderArgs) writeField1(oprot thrift.TProtoc... method String (line 3314) | func (p *OrderServiceCancelOrderArgs) String() string { method DeepEqual (line 3321) | func (p *OrderServiceCancelOrderArgs) DeepEqual(ano *OrderServiceCance... method Field1DeepEqual (line 3333) | func (p *OrderServiceCancelOrderArgs) Field1DeepEqual(src *CancelOrder... function NewOrderServiceCancelOrderArgs (line 3177) | func NewOrderServiceCancelOrderArgs() *OrderServiceCancelOrderArgs { type OrderServiceCancelOrderResult (line 3341) | type OrderServiceCancelOrderResult struct method GetSuccess (line 3351) | func (p *OrderServiceCancelOrderResult) GetSuccess() (v *CancelOrderRe... method SetSuccess (line 3357) | func (p *OrderServiceCancelOrderResult) SetSuccess(x interface{}) { method IsSetSuccess (line 3365) | func (p *OrderServiceCancelOrderResult) IsSetSuccess() bool { method Read (line 3369) | func (p *OrderServiceCancelOrderResult) Read(iprot thrift.TProtocol) (... method ReadField0 (line 3428) | func (p *OrderServiceCancelOrderResult) ReadField0(iprot thrift.TProto... method Write (line 3436) | func (p *OrderServiceCancelOrderResult) Write(oprot thrift.TProtocol) ... method writeField0 (line 3465) | func (p *OrderServiceCancelOrderResult) writeField0(oprot thrift.TProt... method String (line 3484) | func (p *OrderServiceCancelOrderResult) String() string { method DeepEqual (line 3491) | func (p *OrderServiceCancelOrderResult) DeepEqual(ano *OrderServiceCan... method Field0DeepEqual (line 3503) | func (p *OrderServiceCancelOrderResult) Field0DeepEqual(src *CancelOrd... function NewOrderServiceCancelOrderResult (line 3345) | func NewOrderServiceCancelOrderResult() *OrderServiceCancelOrderResult { type OrderServiceListOrderArgs (line 3511) | type OrderServiceListOrderArgs struct method GetReq (line 3521) | func (p *OrderServiceListOrderArgs) GetReq() (v *ListOrderReq) { method SetReq (line 3527) | func (p *OrderServiceListOrderArgs) SetReq(val *ListOrderReq) { method IsSetReq (line 3535) | func (p *OrderServiceListOrderArgs) IsSetReq() bool { method Read (line 3539) | func (p *OrderServiceListOrderArgs) Read(iprot thrift.TProtocol) (err ... method ReadField1 (line 3598) | func (p *OrderServiceListOrderArgs) ReadField1(iprot thrift.TProtocol)... method Write (line 3606) | func (p *OrderServiceListOrderArgs) Write(oprot thrift.TProtocol) (err... method writeField1 (line 3635) | func (p *OrderServiceListOrderArgs) writeField1(oprot thrift.TProtocol... method String (line 3652) | func (p *OrderServiceListOrderArgs) String() string { method DeepEqual (line 3659) | func (p *OrderServiceListOrderArgs) DeepEqual(ano *OrderServiceListOrd... method Field1DeepEqual (line 3671) | func (p *OrderServiceListOrderArgs) Field1DeepEqual(src *ListOrderReq)... function NewOrderServiceListOrderArgs (line 3515) | func NewOrderServiceListOrderArgs() *OrderServiceListOrderArgs { type OrderServiceListOrderResult (line 3679) | type OrderServiceListOrderResult struct method GetSuccess (line 3689) | func (p *OrderServiceListOrderResult) GetSuccess() (v *ListOrderResp) { method SetSuccess (line 3695) | func (p *OrderServiceListOrderResult) SetSuccess(x interface{}) { method IsSetSuccess (line 3703) | func (p *OrderServiceListOrderResult) IsSetSuccess() bool { method Read (line 3707) | func (p *OrderServiceListOrderResult) Read(iprot thrift.TProtocol) (er... method ReadField0 (line 3766) | func (p *OrderServiceListOrderResult) ReadField0(iprot thrift.TProtoco... method Write (line 3774) | func (p *OrderServiceListOrderResult) Write(oprot thrift.TProtocol) (e... method writeField0 (line 3803) | func (p *OrderServiceListOrderResult) writeField0(oprot thrift.TProtoc... method String (line 3822) | func (p *OrderServiceListOrderResult) String() string { method DeepEqual (line 3829) | func (p *OrderServiceListOrderResult) DeepEqual(ano *OrderServiceListO... method Field0DeepEqual (line 3841) | func (p *OrderServiceListOrderResult) Field0DeepEqual(src *ListOrderRe... function NewOrderServiceListOrderResult (line 3683) | func NewOrderServiceListOrderResult() *OrderServiceListOrderResult { type OrderServiceGetOrderByIdArgs (line 3849) | type OrderServiceGetOrderByIdArgs struct method GetReq (line 3859) | func (p *OrderServiceGetOrderByIdArgs) GetReq() (v *GetOrderByIdReq) { method SetReq (line 3865) | func (p *OrderServiceGetOrderByIdArgs) SetReq(val *GetOrderByIdReq) { method IsSetReq (line 3873) | func (p *OrderServiceGetOrderByIdArgs) IsSetReq() bool { method Read (line 3877) | func (p *OrderServiceGetOrderByIdArgs) Read(iprot thrift.TProtocol) (e... method ReadField1 (line 3936) | func (p *OrderServiceGetOrderByIdArgs) ReadField1(iprot thrift.TProtoc... method Write (line 3944) | func (p *OrderServiceGetOrderByIdArgs) Write(oprot thrift.TProtocol) (... method writeField1 (line 3973) | func (p *OrderServiceGetOrderByIdArgs) writeField1(oprot thrift.TProto... method String (line 3990) | func (p *OrderServiceGetOrderByIdArgs) String() string { method DeepEqual (line 3997) | func (p *OrderServiceGetOrderByIdArgs) DeepEqual(ano *OrderServiceGetO... method Field1DeepEqual (line 4009) | func (p *OrderServiceGetOrderByIdArgs) Field1DeepEqual(src *GetOrderBy... function NewOrderServiceGetOrderByIdArgs (line 3853) | func NewOrderServiceGetOrderByIdArgs() *OrderServiceGetOrderByIdArgs { type OrderServiceGetOrderByIdResult (line 4017) | type OrderServiceGetOrderByIdResult struct method GetSuccess (line 4027) | func (p *OrderServiceGetOrderByIdResult) GetSuccess() (v *GetOrderById... method SetSuccess (line 4033) | func (p *OrderServiceGetOrderByIdResult) SetSuccess(x interface{}) { method IsSetSuccess (line 4041) | func (p *OrderServiceGetOrderByIdResult) IsSetSuccess() bool { method Read (line 4045) | func (p *OrderServiceGetOrderByIdResult) Read(iprot thrift.TProtocol) ... method ReadField0 (line 4104) | func (p *OrderServiceGetOrderByIdResult) ReadField0(iprot thrift.TProt... method Write (line 4112) | func (p *OrderServiceGetOrderByIdResult) Write(oprot thrift.TProtocol)... method writeField0 (line 4141) | func (p *OrderServiceGetOrderByIdResult) writeField0(oprot thrift.TPro... method String (line 4160) | func (p *OrderServiceGetOrderByIdResult) String() string { method DeepEqual (line 4167) | func (p *OrderServiceGetOrderByIdResult) DeepEqual(ano *OrderServiceGe... method Field0DeepEqual (line 4179) | func (p *OrderServiceGetOrderByIdResult) Field0DeepEqual(src *GetOrder... function NewOrderServiceGetOrderByIdResult (line 4021) | func NewOrderServiceGetOrderByIdResult() *OrderServiceGetOrderByIdResult { FILE: book-shop/kitex_gen/cwg/bookshop/order/orderservice/client.go type Client (line 13) | type Client interface function NewClient (line 21) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 37) | func MustNewClient(destService string, opts ...client.Option) Client { type kOrderServiceClient (line 45) | type kOrderServiceClient struct method CreateOrder (line 49) | func (p *kOrderServiceClient) CreateOrder(ctx context.Context, req *or... method CancelOrder (line 54) | func (p *kOrderServiceClient) CancelOrder(ctx context.Context, req *or... method ListOrder (line 59) | func (p *kOrderServiceClient) ListOrder(ctx context.Context, req *orde... method GetOrderById (line 64) | func (p *kOrderServiceClient) GetOrderById(ctx context.Context, req *o... FILE: book-shop/kitex_gen/cwg/bookshop/order/orderservice/invoker.go function NewInvoker (line 11) | func NewInvoker(handler order.OrderService, opts ...server.Option) serve... FILE: book-shop/kitex_gen/cwg/bookshop/order/orderservice/orderservice.go function serviceInfo (line 12) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 18) | func NewServiceInfo() *kitex.ServiceInfo { function createOrderHandler (line 41) | func createOrderHandler(ctx context.Context, handler interface{}, arg, r... function newOrderServiceCreateOrderArgs (line 51) | func newOrderServiceCreateOrderArgs() interface{} { function newOrderServiceCreateOrderResult (line 55) | func newOrderServiceCreateOrderResult() interface{} { function cancelOrderHandler (line 59) | func cancelOrderHandler(ctx context.Context, handler interface{}, arg, r... function newOrderServiceCancelOrderArgs (line 69) | func newOrderServiceCancelOrderArgs() interface{} { function newOrderServiceCancelOrderResult (line 73) | func newOrderServiceCancelOrderResult() interface{} { function listOrderHandler (line 77) | func listOrderHandler(ctx context.Context, handler interface{}, arg, res... function newOrderServiceListOrderArgs (line 87) | func newOrderServiceListOrderArgs() interface{} { function newOrderServiceListOrderResult (line 91) | func newOrderServiceListOrderResult() interface{} { function getOrderByIdHandler (line 95) | func getOrderByIdHandler(ctx context.Context, handler interface{}, arg, ... function newOrderServiceGetOrderByIdArgs (line 105) | func newOrderServiceGetOrderByIdArgs() interface{} { function newOrderServiceGetOrderByIdResult (line 109) | func newOrderServiceGetOrderByIdResult() interface{} { type kClient (line 113) | type kClient struct method CreateOrder (line 123) | func (p *kClient) CreateOrder(ctx context.Context, req *order.CreateOr... method CancelOrder (line 133) | func (p *kClient) CancelOrder(ctx context.Context, req *order.CancelOr... method ListOrder (line 143) | func (p *kClient) ListOrder(ctx context.Context, req *order.ListOrderR... method GetOrderById (line 153) | func (p *kClient) GetOrderById(ctx context.Context, req *order.GetOrde... function newServiceClient (line 117) | func newServiceClient(c client.Client) *kClient { FILE: book-shop/kitex_gen/cwg/bookshop/order/orderservice/server.go function NewServer (line 10) | func NewServer(handler order.OrderService, opts ...server.Option) server... FILE: book-shop/kitex_gen/cwg/bookshop/user/k-user.go method FastRead (line 28) | func (p *User) FastRead(buf []byte) (int, error) { method FastReadField1 (line 113) | func (p *User) FastReadField1(buf []byte) (int, error) { method FastReadField2 (line 127) | func (p *User) FastReadField2(buf []byte) (int, error) { method FastWrite (line 142) | func (p *User) FastWrite(buf []byte) int { method FastWriteNocopy (line 146) | func (p *User) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWr... method BLength (line 158) | func (p *User) BLength() int { method fastWriteField1 (line 170) | func (p *User) fastWriteField1(buf []byte, binaryWriter bthrift.BinaryWr... method fastWriteField2 (line 179) | func (p *User) fastWriteField2(buf []byte, binaryWriter bthrift.BinaryWr... method field1Length (line 188) | func (p *User) field1Length() int { method field2Length (line 197) | func (p *User) field2Length() int { method FastRead (line 206) | func (p *CreateUserReq) FastRead(buf []byte) (int, error) { method FastReadField1 (line 291) | func (p *CreateUserReq) FastReadField1(buf []byte) (int, error) { method FastReadField2 (line 305) | func (p *CreateUserReq) FastReadField2(buf []byte) (int, error) { method FastWrite (line 320) | func (p *CreateUserReq) FastWrite(buf []byte) int { method FastWriteNocopy (line 324) | func (p *CreateUserReq) FastWriteNocopy(buf []byte, binaryWriter bthrift... method BLength (line 336) | func (p *CreateUserReq) BLength() int { method fastWriteField1 (line 348) | func (p *CreateUserReq) fastWriteField1(buf []byte, binaryWriter bthrift... method fastWriteField2 (line 357) | func (p *CreateUserReq) fastWriteField2(buf []byte, binaryWriter bthrift... method field1Length (line 366) | func (p *CreateUserReq) field1Length() int { method field2Length (line 375) | func (p *CreateUserReq) field2Length() int { method FastRead (line 384) | func (p *CreateUserResp) FastRead(buf []byte) (int, error) { method FastReadField255 (line 455) | func (p *CreateUserResp) FastReadField255(buf []byte) (int, error) { method FastWrite (line 469) | func (p *CreateUserResp) FastWrite(buf []byte) int { method FastWriteNocopy (line 473) | func (p *CreateUserResp) FastWriteNocopy(buf []byte, binaryWriter bthrif... method BLength (line 484) | func (p *CreateUserResp) BLength() int { method fastWriteField255 (line 495) | func (p *CreateUserResp) fastWriteField255(buf []byte, binaryWriter bthr... method field255Length (line 503) | func (p *CreateUserResp) field255Length() int { method FastRead (line 511) | func (p *MGetUserReq) FastRead(buf []byte) (int, error) { method FastReadField1 (line 582) | func (p *MGetUserReq) FastReadField1(buf []byte) (int, error) { method FastWrite (line 613) | func (p *MGetUserReq) FastWrite(buf []byte) int { method FastWriteNocopy (line 617) | func (p *MGetUserReq) FastWriteNocopy(buf []byte, binaryWriter bthrift.B... method BLength (line 628) | func (p *MGetUserReq) BLength() int { method fastWriteField1 (line 639) | func (p *MGetUserReq) fastWriteField1(buf []byte, binaryWriter bthrift.B... method field1Length (line 656) | func (p *MGetUserReq) field1Length() int { method FastRead (line 667) | func (p *MGetUserResp) FastRead(buf []byte) (int, error) { method FastReadField1 (line 752) | func (p *MGetUserResp) FastReadField1(buf []byte) (int, error) { method FastReadField255 (line 779) | func (p *MGetUserResp) FastReadField255(buf []byte) (int, error) { method FastWrite (line 793) | func (p *MGetUserResp) FastWrite(buf []byte) int { method FastWriteNocopy (line 797) | func (p *MGetUserResp) FastWriteNocopy(buf []byte, binaryWriter bthrift.... method BLength (line 809) | func (p *MGetUserResp) BLength() int { method fastWriteField1 (line 821) | func (p *MGetUserResp) fastWriteField1(buf []byte, binaryWriter bthrift.... method fastWriteField255 (line 837) | func (p *MGetUserResp) fastWriteField255(buf []byte, binaryWriter bthrif... method field1Length (line 845) | func (p *MGetUserResp) field1Length() int { method field255Length (line 857) | func (p *MGetUserResp) field255Length() int { method FastRead (line 865) | func (p *CheckUserReq) FastRead(buf []byte) (int, error) { method FastReadField1 (line 950) | func (p *CheckUserReq) FastReadField1(buf []byte) (int, error) { method FastReadField2 (line 964) | func (p *CheckUserReq) FastReadField2(buf []byte) (int, error) { method FastWrite (line 979) | func (p *CheckUserReq) FastWrite(buf []byte) int { method FastWriteNocopy (line 983) | func (p *CheckUserReq) FastWriteNocopy(buf []byte, binaryWriter bthrift.... method BLength (line 995) | func (p *CheckUserReq) BLength() int { method fastWriteField1 (line 1007) | func (p *CheckUserReq) fastWriteField1(buf []byte, binaryWriter bthrift.... method fastWriteField2 (line 1016) | func (p *CheckUserReq) fastWriteField2(buf []byte, binaryWriter bthrift.... method field1Length (line 1025) | func (p *CheckUserReq) field1Length() int { method field2Length (line 1034) | func (p *CheckUserReq) field2Length() int { method FastRead (line 1043) | func (p *CheckUserResp) FastRead(buf []byte) (int, error) { method FastReadField1 (line 1128) | func (p *CheckUserResp) FastReadField1(buf []byte) (int, error) { method FastReadField255 (line 1142) | func (p *CheckUserResp) FastReadField255(buf []byte) (int, error) { method FastWrite (line 1156) | func (p *CheckUserResp) FastWrite(buf []byte) int { method FastWriteNocopy (line 1160) | func (p *CheckUserResp) FastWriteNocopy(buf []byte, binaryWriter bthrift... method BLength (line 1172) | func (p *CheckUserResp) BLength() int { method fastWriteField1 (line 1184) | func (p *CheckUserResp) fastWriteField1(buf []byte, binaryWriter bthrift... method fastWriteField255 (line 1193) | func (p *CheckUserResp) fastWriteField255(buf []byte, binaryWriter bthri... method field1Length (line 1201) | func (p *CheckUserResp) field1Length() int { method field255Length (line 1210) | func (p *CheckUserResp) field255Length() int { method FastRead (line 1218) | func (p *UserServiceCreateUserArgs) FastRead(buf []byte) (int, error) { method FastReadField1 (line 1289) | func (p *UserServiceCreateUserArgs) FastReadField1(buf []byte) (int, err... method FastWrite (line 1303) | func (p *UserServiceCreateUserArgs) FastWrite(buf []byte) int { method FastWriteNocopy (line 1307) | func (p *UserServiceCreateUserArgs) FastWriteNocopy(buf []byte, binaryWr... method BLength (line 1318) | func (p *UserServiceCreateUserArgs) BLength() int { method fastWriteField1 (line 1329) | func (p *UserServiceCreateUserArgs) fastWriteField1(buf []byte, binaryWr... method field1Length (line 1337) | func (p *UserServiceCreateUserArgs) field1Length() int { method FastRead (line 1345) | func (p *UserServiceCreateUserResult) FastRead(buf []byte) (int, error) { method FastReadField0 (line 1416) | func (p *UserServiceCreateUserResult) FastReadField0(buf []byte) (int, e... method FastWrite (line 1430) | func (p *UserServiceCreateUserResult) FastWrite(buf []byte) int { method FastWriteNocopy (line 1434) | func (p *UserServiceCreateUserResult) FastWriteNocopy(buf []byte, binary... method BLength (line 1445) | func (p *UserServiceCreateUserResult) BLength() int { method fastWriteField0 (line 1456) | func (p *UserServiceCreateUserResult) fastWriteField0(buf []byte, binary... method field0Length (line 1466) | func (p *UserServiceCreateUserResult) field0Length() int { method FastRead (line 1476) | func (p *UserServiceMGetUserArgs) FastRead(buf []byte) (int, error) { method FastReadField1 (line 1547) | func (p *UserServiceMGetUserArgs) FastReadField1(buf []byte) (int, error) { method FastWrite (line 1561) | func (p *UserServiceMGetUserArgs) FastWrite(buf []byte) int { method FastWriteNocopy (line 1565) | func (p *UserServiceMGetUserArgs) FastWriteNocopy(buf []byte, binaryWrit... method BLength (line 1576) | func (p *UserServiceMGetUserArgs) BLength() int { method fastWriteField1 (line 1587) | func (p *UserServiceMGetUserArgs) fastWriteField1(buf []byte, binaryWrit... method field1Length (line 1595) | func (p *UserServiceMGetUserArgs) field1Length() int { method FastRead (line 1603) | func (p *UserServiceMGetUserResult) FastRead(buf []byte) (int, error) { method FastReadField0 (line 1674) | func (p *UserServiceMGetUserResult) FastReadField0(buf []byte) (int, err... method FastWrite (line 1688) | func (p *UserServiceMGetUserResult) FastWrite(buf []byte) int { method FastWriteNocopy (line 1692) | func (p *UserServiceMGetUserResult) FastWriteNocopy(buf []byte, binaryWr... method BLength (line 1703) | func (p *UserServiceMGetUserResult) BLength() int { method fastWriteField0 (line 1714) | func (p *UserServiceMGetUserResult) fastWriteField0(buf []byte, binaryWr... method field0Length (line 1724) | func (p *UserServiceMGetUserResult) field0Length() int { method FastRead (line 1734) | func (p *UserServiceCheckUserArgs) FastRead(buf []byte) (int, error) { method FastReadField1 (line 1805) | func (p *UserServiceCheckUserArgs) FastReadField1(buf []byte) (int, erro... method FastWrite (line 1819) | func (p *UserServiceCheckUserArgs) FastWrite(buf []byte) int { method FastWriteNocopy (line 1823) | func (p *UserServiceCheckUserArgs) FastWriteNocopy(buf []byte, binaryWri... method BLength (line 1834) | func (p *UserServiceCheckUserArgs) BLength() int { method fastWriteField1 (line 1845) | func (p *UserServiceCheckUserArgs) fastWriteField1(buf []byte, binaryWri... method field1Length (line 1853) | func (p *UserServiceCheckUserArgs) field1Length() int { method FastRead (line 1861) | func (p *UserServiceCheckUserResult) FastRead(buf []byte) (int, error) { method FastReadField0 (line 1932) | func (p *UserServiceCheckUserResult) FastReadField0(buf []byte) (int, er... method FastWrite (line 1946) | func (p *UserServiceCheckUserResult) FastWrite(buf []byte) int { method FastWriteNocopy (line 1950) | func (p *UserServiceCheckUserResult) FastWriteNocopy(buf []byte, binaryW... method BLength (line 1961) | func (p *UserServiceCheckUserResult) BLength() int { method fastWriteField0 (line 1972) | func (p *UserServiceCheckUserResult) fastWriteField0(buf []byte, binaryW... method field0Length (line 1982) | func (p *UserServiceCheckUserResult) field0Length() int { method GetFirstArgument (line 1992) | func (p *UserServiceCreateUserArgs) GetFirstArgument() interface{} { method GetResult (line 1996) | func (p *UserServiceCreateUserResult) GetResult() interface{} { method GetFirstArgument (line 2000) | func (p *UserServiceMGetUserArgs) GetFirstArgument() interface{} { method GetResult (line 2004) | func (p *UserServiceMGetUserResult) GetResult() interface{} { method GetFirstArgument (line 2008) | func (p *UserServiceCheckUserArgs) GetFirstArgument() interface{} { method GetResult (line 2012) | func (p *UserServiceCheckUserResult) GetResult() interface{} { FILE: book-shop/kitex_gen/cwg/bookshop/user/user.go type User (line 13) | type User struct method GetUserId (line 22) | func (p *User) GetUserId() (v int64) { method GetUserName (line 26) | func (p *User) GetUserName() (v string) { method SetUserId (line 29) | func (p *User) SetUserId(val int64) { method SetUserName (line 32) | func (p *User) SetUserName(val string) { method Read (line 41) | func (p *User) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 110) | func (p *User) ReadField1(iprot thrift.TProtocol) error { method ReadField2 (line 119) | func (p *User) ReadField2(iprot thrift.TProtocol) error { method Write (line 128) | func (p *User) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 161) | func (p *User) writeField1(oprot thrift.TProtocol) (err error) { method writeField2 (line 178) | func (p *User) writeField2(oprot thrift.TProtocol) (err error) { method String (line 195) | func (p *User) String() string { method DeepEqual (line 202) | func (p *User) DeepEqual(ano *User) bool { method Field1DeepEqual (line 217) | func (p *User) Field1DeepEqual(src int64) bool { method Field2DeepEqual (line 224) | func (p *User) Field2DeepEqual(src string) bool { function NewUser (line 18) | func NewUser() *User { type CreateUserReq (line 232) | type CreateUserReq struct method GetUserName (line 241) | func (p *CreateUserReq) GetUserName() (v string) { method GetPassword (line 245) | func (p *CreateUserReq) GetPassword() (v string) { method SetUserName (line 248) | func (p *CreateUserReq) SetUserName(val string) { method SetPassword (line 251) | func (p *CreateUserReq) SetPassword(val string) { method Read (line 260) | func (p *CreateUserReq) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 329) | func (p *CreateUserReq) ReadField1(iprot thrift.TProtocol) error { method ReadField2 (line 338) | func (p *CreateUserReq) ReadField2(iprot thrift.TProtocol) error { method Write (line 347) | func (p *CreateUserReq) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 380) | func (p *CreateUserReq) writeField1(oprot thrift.TProtocol) (err error) { method writeField2 (line 397) | func (p *CreateUserReq) writeField2(oprot thrift.TProtocol) (err error) { method String (line 414) | func (p *CreateUserReq) String() string { method DeepEqual (line 421) | func (p *CreateUserReq) DeepEqual(ano *CreateUserReq) bool { method Field1DeepEqual (line 436) | func (p *CreateUserReq) Field1DeepEqual(src string) bool { method Field2DeepEqual (line 443) | func (p *CreateUserReq) Field2DeepEqual(src string) bool { function NewCreateUserReq (line 237) | func NewCreateUserReq() *CreateUserReq { type CreateUserResp (line 451) | type CreateUserResp struct method GetBaseResp (line 461) | func (p *CreateUserResp) GetBaseResp() (v *base.BaseResp) { method SetBaseResp (line 467) | func (p *CreateUserResp) SetBaseResp(val *base.BaseResp) { method IsSetBaseResp (line 475) | func (p *CreateUserResp) IsSetBaseResp() bool { method Read (line 479) | func (p *CreateUserResp) Read(iprot thrift.TProtocol) (err error) { method ReadField255 (line 538) | func (p *CreateUserResp) ReadField255(iprot thrift.TProtocol) error { method Write (line 546) | func (p *CreateUserResp) Write(oprot thrift.TProtocol) (err error) { method writeField255 (line 575) | func (p *CreateUserResp) writeField255(oprot thrift.TProtocol) (err er... method String (line 592) | func (p *CreateUserResp) String() string { method DeepEqual (line 599) | func (p *CreateUserResp) DeepEqual(ano *CreateUserResp) bool { method Field255DeepEqual (line 611) | func (p *CreateUserResp) Field255DeepEqual(src *base.BaseResp) bool { function NewCreateUserResp (line 455) | func NewCreateUserResp() *CreateUserResp { type MGetUserReq (line 619) | type MGetUserReq struct method GetIds (line 627) | func (p *MGetUserReq) GetIds() (v []int64) { method SetIds (line 630) | func (p *MGetUserReq) SetIds(val []int64) { method Read (line 638) | func (p *MGetUserReq) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 697) | func (p *MGetUserReq) ReadField1(iprot thrift.TProtocol) error { method Write (line 719) | func (p *MGetUserReq) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 748) | func (p *MGetUserReq) writeField1(oprot thrift.TProtocol) (err error) { method String (line 773) | func (p *MGetUserReq) String() string { method DeepEqual (line 780) | func (p *MGetUserReq) DeepEqual(ano *MGetUserReq) bool { method Field1DeepEqual (line 792) | func (p *MGetUserReq) Field1DeepEqual(src []int64) bool { function NewMGetUserReq (line 623) | func NewMGetUserReq() *MGetUserReq { type MGetUserResp (line 806) | type MGetUserResp struct method GetUsers (line 815) | func (p *MGetUserResp) GetUsers() (v []*User) { method GetBaseResp (line 821) | func (p *MGetUserResp) GetBaseResp() (v *base.BaseResp) { method SetUsers (line 827) | func (p *MGetUserResp) SetUsers(val []*User) { method SetBaseResp (line 830) | func (p *MGetUserResp) SetBaseResp(val *base.BaseResp) { method IsSetBaseResp (line 839) | func (p *MGetUserResp) IsSetBaseResp() bool { method Read (line 843) | func (p *MGetUserResp) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 912) | func (p *MGetUserResp) ReadField1(iprot thrift.TProtocol) error { method ReadField255 (line 932) | func (p *MGetUserResp) ReadField255(iprot thrift.TProtocol) error { method Write (line 940) | func (p *MGetUserResp) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 973) | func (p *MGetUserResp) writeField1(oprot thrift.TProtocol) (err error) { method writeField255 (line 998) | func (p *MGetUserResp) writeField255(oprot thrift.TProtocol) (err erro... method String (line 1015) | func (p *MGetUserResp) String() string { method DeepEqual (line 1022) | func (p *MGetUserResp) DeepEqual(ano *MGetUserResp) bool { method Field1DeepEqual (line 1037) | func (p *MGetUserResp) Field1DeepEqual(src []*User) bool { method Field255DeepEqual (line 1050) | func (p *MGetUserResp) Field255DeepEqual(src *base.BaseResp) bool { function NewMGetUserResp (line 811) | func NewMGetUserResp() *MGetUserResp { type CheckUserReq (line 1058) | type CheckUserReq struct method GetUserName (line 1067) | func (p *CheckUserReq) GetUserName() (v string) { method GetPassword (line 1071) | func (p *CheckUserReq) GetPassword() (v string) { method SetUserName (line 1074) | func (p *CheckUserReq) SetUserName(val string) { method SetPassword (line 1077) | func (p *CheckUserReq) SetPassword(val string) { method Read (line 1086) | func (p *CheckUserReq) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 1155) | func (p *CheckUserReq) ReadField1(iprot thrift.TProtocol) error { method ReadField2 (line 1164) | func (p *CheckUserReq) ReadField2(iprot thrift.TProtocol) error { method Write (line 1173) | func (p *CheckUserReq) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 1206) | func (p *CheckUserReq) writeField1(oprot thrift.TProtocol) (err error) { method writeField2 (line 1223) | func (p *CheckUserReq) writeField2(oprot thrift.TProtocol) (err error) { method String (line 1240) | func (p *CheckUserReq) String() string { method DeepEqual (line 1247) | func (p *CheckUserReq) DeepEqual(ano *CheckUserReq) bool { method Field1DeepEqual (line 1262) | func (p *CheckUserReq) Field1DeepEqual(src string) bool { method Field2DeepEqual (line 1269) | func (p *CheckUserReq) Field2DeepEqual(src string) bool { function NewCheckUserReq (line 1063) | func NewCheckUserReq() *CheckUserReq { type CheckUserResp (line 1277) | type CheckUserResp struct method GetUserId (line 1286) | func (p *CheckUserResp) GetUserId() (v int64) { method GetBaseResp (line 1292) | func (p *CheckUserResp) GetBaseResp() (v *base.BaseResp) { method SetUserId (line 1298) | func (p *CheckUserResp) SetUserId(val int64) { method SetBaseResp (line 1301) | func (p *CheckUserResp) SetBaseResp(val *base.BaseResp) { method IsSetBaseResp (line 1310) | func (p *CheckUserResp) IsSetBaseResp() bool { method Read (line 1314) | func (p *CheckUserResp) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 1383) | func (p *CheckUserResp) ReadField1(iprot thrift.TProtocol) error { method ReadField255 (line 1392) | func (p *CheckUserResp) ReadField255(iprot thrift.TProtocol) error { method Write (line 1400) | func (p *CheckUserResp) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 1433) | func (p *CheckUserResp) writeField1(oprot thrift.TProtocol) (err error) { method writeField255 (line 1450) | func (p *CheckUserResp) writeField255(oprot thrift.TProtocol) (err err... method String (line 1467) | func (p *CheckUserResp) String() string { method DeepEqual (line 1474) | func (p *CheckUserResp) DeepEqual(ano *CheckUserResp) bool { method Field1DeepEqual (line 1489) | func (p *CheckUserResp) Field1DeepEqual(src int64) bool { method Field255DeepEqual (line 1496) | func (p *CheckUserResp) Field255DeepEqual(src *base.BaseResp) bool { function NewCheckUserResp (line 1282) | func NewCheckUserResp() *CheckUserResp { type UserService (line 1504) | type UserService interface type UserServiceClient (line 1512) | type UserServiceClient struct method Client_ (line 1534) | func (p *UserServiceClient) Client_() thrift.TClient { method CreateUser (line 1538) | func (p *UserServiceClient) CreateUser(ctx context.Context, req *Creat... method MGetUser (line 1548) | func (p *UserServiceClient) MGetUser(ctx context.Context, req *MGetUse... method CheckUser (line 1558) | func (p *UserServiceClient) CheckUser(ctx context.Context, req *CheckU... function NewUserServiceClientFactory (line 1516) | func NewUserServiceClientFactory(t thrift.TTransport, f thrift.TProtocol... function NewUserServiceClientProtocol (line 1522) | func NewUserServiceClientProtocol(t thrift.TTransport, iprot thrift.TPro... function NewUserServiceClient (line 1528) | func NewUserServiceClient(c thrift.TClient) *UserServiceClient { type UserServiceProcessor (line 1568) | type UserServiceProcessor struct method AddToProcessorMap (line 1573) | func (p *UserServiceProcessor) AddToProcessorMap(key string, processor... method GetProcessorFunction (line 1577) | func (p *UserServiceProcessor) GetProcessorFunction(key string) (proce... method ProcessorMap (line 1582) | func (p *UserServiceProcessor) ProcessorMap() map[string]thrift.TProce... method Process (line 1593) | func (p *UserServiceProcessor) Process(ctx context.Context, iprot, opr... function NewUserServiceProcessor (line 1586) | func NewUserServiceProcessor(handler UserService) *UserServiceProcessor { type userServiceProcessorCreateUser (line 1611) | type userServiceProcessorCreateUser struct method Process (line 1615) | func (p *userServiceProcessorCreateUser) Process(ctx context.Context, ... type userServiceProcessorMGetUser (line 1659) | type userServiceProcessorMGetUser struct method Process (line 1663) | func (p *userServiceProcessorMGetUser) Process(ctx context.Context, se... type userServiceProcessorCheckUser (line 1707) | type userServiceProcessorCheckUser struct method Process (line 1711) | func (p *userServiceProcessorCheckUser) Process(ctx context.Context, s... type UserServiceCreateUserArgs (line 1755) | type UserServiceCreateUserArgs struct method GetReq (line 1765) | func (p *UserServiceCreateUserArgs) GetReq() (v *CreateUserReq) { method SetReq (line 1771) | func (p *UserServiceCreateUserArgs) SetReq(val *CreateUserReq) { method IsSetReq (line 1779) | func (p *UserServiceCreateUserArgs) IsSetReq() bool { method Read (line 1783) | func (p *UserServiceCreateUserArgs) Read(iprot thrift.TProtocol) (err ... method ReadField1 (line 1842) | func (p *UserServiceCreateUserArgs) ReadField1(iprot thrift.TProtocol)... method Write (line 1850) | func (p *UserServiceCreateUserArgs) Write(oprot thrift.TProtocol) (err... method writeField1 (line 1879) | func (p *UserServiceCreateUserArgs) writeField1(oprot thrift.TProtocol... method String (line 1896) | func (p *UserServiceCreateUserArgs) String() string { method DeepEqual (line 1903) | func (p *UserServiceCreateUserArgs) DeepEqual(ano *UserServiceCreateUs... method Field1DeepEqual (line 1915) | func (p *UserServiceCreateUserArgs) Field1DeepEqual(src *CreateUserReq... function NewUserServiceCreateUserArgs (line 1759) | func NewUserServiceCreateUserArgs() *UserServiceCreateUserArgs { type UserServiceCreateUserResult (line 1923) | type UserServiceCreateUserResult struct method GetSuccess (line 1933) | func (p *UserServiceCreateUserResult) GetSuccess() (v *CreateUserResp) { method SetSuccess (line 1939) | func (p *UserServiceCreateUserResult) SetSuccess(x interface{}) { method IsSetSuccess (line 1947) | func (p *UserServiceCreateUserResult) IsSetSuccess() bool { method Read (line 1951) | func (p *UserServiceCreateUserResult) Read(iprot thrift.TProtocol) (er... method ReadField0 (line 2010) | func (p *UserServiceCreateUserResult) ReadField0(iprot thrift.TProtoco... method Write (line 2018) | func (p *UserServiceCreateUserResult) Write(oprot thrift.TProtocol) (e... method writeField0 (line 2047) | func (p *UserServiceCreateUserResult) writeField0(oprot thrift.TProtoc... method String (line 2066) | func (p *UserServiceCreateUserResult) String() string { method DeepEqual (line 2073) | func (p *UserServiceCreateUserResult) DeepEqual(ano *UserServiceCreate... method Field0DeepEqual (line 2085) | func (p *UserServiceCreateUserResult) Field0DeepEqual(src *CreateUserR... function NewUserServiceCreateUserResult (line 1927) | func NewUserServiceCreateUserResult() *UserServiceCreateUserResult { type UserServiceMGetUserArgs (line 2093) | type UserServiceMGetUserArgs struct method GetReq (line 2103) | func (p *UserServiceMGetUserArgs) GetReq() (v *MGetUserReq) { method SetReq (line 2109) | func (p *UserServiceMGetUserArgs) SetReq(val *MGetUserReq) { method IsSetReq (line 2117) | func (p *UserServiceMGetUserArgs) IsSetReq() bool { method Read (line 2121) | func (p *UserServiceMGetUserArgs) Read(iprot thrift.TProtocol) (err er... method ReadField1 (line 2180) | func (p *UserServiceMGetUserArgs) ReadField1(iprot thrift.TProtocol) e... method Write (line 2188) | func (p *UserServiceMGetUserArgs) Write(oprot thrift.TProtocol) (err e... method writeField1 (line 2217) | func (p *UserServiceMGetUserArgs) writeField1(oprot thrift.TProtocol) ... method String (line 2234) | func (p *UserServiceMGetUserArgs) String() string { method DeepEqual (line 2241) | func (p *UserServiceMGetUserArgs) DeepEqual(ano *UserServiceMGetUserAr... method Field1DeepEqual (line 2253) | func (p *UserServiceMGetUserArgs) Field1DeepEqual(src *MGetUserReq) bo... function NewUserServiceMGetUserArgs (line 2097) | func NewUserServiceMGetUserArgs() *UserServiceMGetUserArgs { type UserServiceMGetUserResult (line 2261) | type UserServiceMGetUserResult struct method GetSuccess (line 2271) | func (p *UserServiceMGetUserResult) GetSuccess() (v *MGetUserResp) { method SetSuccess (line 2277) | func (p *UserServiceMGetUserResult) SetSuccess(x interface{}) { method IsSetSuccess (line 2285) | func (p *UserServiceMGetUserResult) IsSetSuccess() bool { method Read (line 2289) | func (p *UserServiceMGetUserResult) Read(iprot thrift.TProtocol) (err ... method ReadField0 (line 2348) | func (p *UserServiceMGetUserResult) ReadField0(iprot thrift.TProtocol)... method Write (line 2356) | func (p *UserServiceMGetUserResult) Write(oprot thrift.TProtocol) (err... method writeField0 (line 2385) | func (p *UserServiceMGetUserResult) writeField0(oprot thrift.TProtocol... method String (line 2404) | func (p *UserServiceMGetUserResult) String() string { method DeepEqual (line 2411) | func (p *UserServiceMGetUserResult) DeepEqual(ano *UserServiceMGetUser... method Field0DeepEqual (line 2423) | func (p *UserServiceMGetUserResult) Field0DeepEqual(src *MGetUserResp)... function NewUserServiceMGetUserResult (line 2265) | func NewUserServiceMGetUserResult() *UserServiceMGetUserResult { type UserServiceCheckUserArgs (line 2431) | type UserServiceCheckUserArgs struct method GetReq (line 2441) | func (p *UserServiceCheckUserArgs) GetReq() (v *CheckUserReq) { method SetReq (line 2447) | func (p *UserServiceCheckUserArgs) SetReq(val *CheckUserReq) { method IsSetReq (line 2455) | func (p *UserServiceCheckUserArgs) IsSetReq() bool { method Read (line 2459) | func (p *UserServiceCheckUserArgs) Read(iprot thrift.TProtocol) (err e... method ReadField1 (line 2518) | func (p *UserServiceCheckUserArgs) ReadField1(iprot thrift.TProtocol) ... method Write (line 2526) | func (p *UserServiceCheckUserArgs) Write(oprot thrift.TProtocol) (err ... method writeField1 (line 2555) | func (p *UserServiceCheckUserArgs) writeField1(oprot thrift.TProtocol)... method String (line 2572) | func (p *UserServiceCheckUserArgs) String() string { method DeepEqual (line 2579) | func (p *UserServiceCheckUserArgs) DeepEqual(ano *UserServiceCheckUser... method Field1DeepEqual (line 2591) | func (p *UserServiceCheckUserArgs) Field1DeepEqual(src *CheckUserReq) ... function NewUserServiceCheckUserArgs (line 2435) | func NewUserServiceCheckUserArgs() *UserServiceCheckUserArgs { type UserServiceCheckUserResult (line 2599) | type UserServiceCheckUserResult struct method GetSuccess (line 2609) | func (p *UserServiceCheckUserResult) GetSuccess() (v *CheckUserResp) { method SetSuccess (line 2615) | func (p *UserServiceCheckUserResult) SetSuccess(x interface{}) { method IsSetSuccess (line 2623) | func (p *UserServiceCheckUserResult) IsSetSuccess() bool { method Read (line 2627) | func (p *UserServiceCheckUserResult) Read(iprot thrift.TProtocol) (err... method ReadField0 (line 2686) | func (p *UserServiceCheckUserResult) ReadField0(iprot thrift.TProtocol... method Write (line 2694) | func (p *UserServiceCheckUserResult) Write(oprot thrift.TProtocol) (er... method writeField0 (line 2723) | func (p *UserServiceCheckUserResult) writeField0(oprot thrift.TProtoco... method String (line 2742) | func (p *UserServiceCheckUserResult) String() string { method DeepEqual (line 2749) | func (p *UserServiceCheckUserResult) DeepEqual(ano *UserServiceCheckUs... method Field0DeepEqual (line 2761) | func (p *UserServiceCheckUserResult) Field0DeepEqual(src *CheckUserRes... function NewUserServiceCheckUserResult (line 2603) | func NewUserServiceCheckUserResult() *UserServiceCheckUserResult { FILE: book-shop/kitex_gen/cwg/bookshop/user/userservice/client.go type Client (line 13) | type Client interface function NewClient (line 20) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 36) | func MustNewClient(destService string, opts ...client.Option) Client { type kUserServiceClient (line 44) | type kUserServiceClient struct method CreateUser (line 48) | func (p *kUserServiceClient) CreateUser(ctx context.Context, req *user... method MGetUser (line 53) | func (p *kUserServiceClient) MGetUser(ctx context.Context, req *user.M... method CheckUser (line 58) | func (p *kUserServiceClient) CheckUser(ctx context.Context, req *user.... FILE: book-shop/kitex_gen/cwg/bookshop/user/userservice/invoker.go function NewInvoker (line 11) | func NewInvoker(handler user.UserService, opts ...server.Option) server.... FILE: book-shop/kitex_gen/cwg/bookshop/user/userservice/server.go function NewServer (line 10) | func NewServer(handler user.UserService, opts ...server.Option) server.S... FILE: book-shop/kitex_gen/cwg/bookshop/user/userservice/userservice.go function serviceInfo (line 12) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 18) | func NewServiceInfo() *kitex.ServiceInfo { function createUserHandler (line 40) | func createUserHandler(ctx context.Context, handler interface{}, arg, re... function newUserServiceCreateUserArgs (line 50) | func newUserServiceCreateUserArgs() interface{} { function newUserServiceCreateUserResult (line 54) | func newUserServiceCreateUserResult() interface{} { function mGetUserHandler (line 58) | func mGetUserHandler(ctx context.Context, handler interface{}, arg, resu... function newUserServiceMGetUserArgs (line 68) | func newUserServiceMGetUserArgs() interface{} { function newUserServiceMGetUserResult (line 72) | func newUserServiceMGetUserResult() interface{} { function checkUserHandler (line 76) | func checkUserHandler(ctx context.Context, handler interface{}, arg, res... function newUserServiceCheckUserArgs (line 86) | func newUserServiceCheckUserArgs() interface{} { function newUserServiceCheckUserResult (line 90) | func newUserServiceCheckUserResult() interface{} { type kClient (line 94) | type kClient struct method CreateUser (line 104) | func (p *kClient) CreateUser(ctx context.Context, req *user.CreateUser... method MGetUser (line 114) | func (p *kClient) MGetUser(ctx context.Context, req *user.MGetUserReq)... method CheckUser (line 124) | func (p *kClient) CheckUser(ctx context.Context, req *user.CheckUserRe... function newServiceClient (line 98) | func newServiceClient(c client.Client) *kClient { FILE: book-shop/pkg/conf/conf.go constant UserTableName (line 19) | UserTableName = "t_user" constant ProductTableName (line 20) | ProductTableName = "t_product" constant OrderTableName (line 21) | OrderTableName = "t_order" constant SecretKey (line 23) | SecretKey = "secret key" constant IdentityKey (line 24) | IdentityKey = "id" constant ShopLoginName (line 26) | ShopLoginName = "admin" constant ShopLoginPassword (line 27) | ShopLoginPassword = "123" constant MySQLDefaultDSN (line 29) | MySQLDefaultDSN = "gorm:gorm@tcp(localhost:3306)/gorm?charset=utf8&parse... constant EtcdAddress (line 30) | EtcdAddress = "127.0.0.1:2379" constant ESAddress (line 31) | ESAddress = "http://localhost:9200" constant RedisAddress (line 32) | RedisAddress = "127.0.0.1:6379" constant RedisConnPoolSize (line 34) | RedisConnPoolSize = 20 constant RedisKey_User (line 36) | RedisKey_User = "user-" constant ProductESIndex (line 38) | ProductESIndex = "product" constant UserRpcServiceName (line 40) | UserRpcServiceName = "cwg.bookshop.user" constant OrderRpcServiceName (line 41) | OrderRpcServiceName = "cwg.bookshop.order" constant ItemRpcServiceName (line 42) | ItemRpcServiceName = "cwg.bookshop.item" constant UserServiceAddress (line 43) | UserServiceAddress = "127.0.0.1:8889" constant OrderServiceAddress (line 44) | OrderServiceAddress = "127.0.0.1:8890" constant ItemServiceAddress (line 45) | ItemServiceAddress = "127.0.0.1:8891" constant FacadeServiceAddress (line 46) | FacadeServiceAddress = "127.0.0.1:8080" FILE: book-shop/pkg/errno/errno.go constant SuccessCode (line 25) | SuccessCode = 0 constant ServiceErrCode (line 26) | ServiceErrCode = 10001 constant ParamErrCode (line 27) | ParamErrCode = 10002 constant LoginErrCode (line 30) | LoginErrCode = 11001 constant UserNotExistErrCode (line 31) | UserNotExistErrCode = 11002 constant UserAlreadyExistErrCode (line 32) | UserAlreadyExistErrCode = 11003 type ErrNo (line 35) | type ErrNo struct method Error (line 40) | func (e ErrNo) Error() string { method WithMessage (line 48) | func (e ErrNo) WithMessage(msg string) ErrNo { function NewErrNo (line 44) | func NewErrNo(code int64, msg string) ErrNo { function ConvertErr (line 63) | func ConvertErr(err error) ErrNo { FILE: book-shop/pkg/errno/resp.go function BuildBaseResp (line 25) | func BuildBaseResp(err error) *base.BaseResp { function baseResp (line 39) | func baseResp(err ErrNo) *base.BaseResp { FILE: book-shop/pkg/utils/idgen.go function GenerateID (line 22) | func GenerateID() (int64, error) { FILE: book-shop/pkg/utils/logutil.go type Level (line 24) | type Level method KitexLogLevel (line 37) | func (level Level) KitexLogLevel() klog.Level { constant LevelTrace (line 27) | LevelTrace Level = "trace" constant LevelDebug (line 28) | LevelDebug Level = "debug" constant LevelInfo (line 29) | LevelInfo Level = "info" constant LevelNotice (line 30) | LevelNotice Level = "notice" constant LevelWarn (line 31) | LevelWarn Level = "warn" constant LevelError (line 32) | LevelError Level = "error" constant LevelFatal (line 33) | LevelFatal Level = "fatal" FILE: bookinfo/cmd/details/cmd.go function NewCommand (line 25) | func NewCommand() *cobra.Command { FILE: bookinfo/cmd/main.go type Runnable (line 34) | type Runnable interface function main (line 46) | func main() { FILE: bookinfo/cmd/productpage/cmd.go function NewCommand (line 25) | func NewCommand() *cobra.Command { FILE: bookinfo/cmd/ratings/cmd.go function NewCommand (line 25) | func NewCommand() *cobra.Command { FILE: bookinfo/cmd/reviews/cmd.go function NewCommand (line 25) | func NewCommand() *cobra.Command { FILE: bookinfo/internal/handler/productpage/product.go type Handler (line 34) | type Handler struct method GetProduct (line 45) | func (h *Handler) GetProduct(ctx context.Context, c *app.RequestContex... function New (line 40) | func New(reviewsClient reviewsservice.Client, detailsClient detailsservi... FILE: bookinfo/internal/server/details/options.go type Options (line 23) | type Options struct function DefaultOptions (line 28) | func DefaultOptions() *Options { function Configure (line 35) | func Configure(configProvider configparser.Provider) (*Options, error) { FILE: bookinfo/internal/server/details/server.go type Server (line 34) | type Server struct method Run (line 54) | func (s *Server) Run(ctx context.Context) error { type ServerOptions (line 40) | type ServerOptions struct function DefaultServerOptions (line 46) | func DefaultServerOptions() *ServerOptions { FILE: bookinfo/internal/server/details/wire.go function NewServer (line 30) | func NewServer(ctx context.Context) (*Server, error) { FILE: bookinfo/internal/server/details/wire_gen.go function NewServer (line 17) | func NewServer(ctx context.Context) (*Server, error) { FILE: bookinfo/internal/server/productpage/options.go type Options (line 24) | type Options struct function DefaultOptions (line 31) | func DefaultOptions() *Options { function Configure (line 40) | func Configure(configProvider configparser.Provider) (*Options, error) { FILE: bookinfo/internal/server/productpage/server.go type Server (line 32) | type Server struct method Run (line 52) | func (s *Server) Run(ctx context.Context) error { type ServerOptions (line 38) | type ServerOptions struct function DefaultServerOptions (line 44) | func DefaultServerOptions() *ServerOptions { FILE: bookinfo/internal/server/productpage/wire.go function NewServer (line 31) | func NewServer(ctx context.Context) (*Server, error) { FILE: bookinfo/internal/server/productpage/wire_gen.go function NewServer (line 18) | func NewServer(ctx context.Context) (*Server, error) { FILE: bookinfo/internal/server/ratings/options.go type Options (line 23) | type Options struct function DefaultOptions (line 28) | func DefaultOptions() *Options { function Configure (line 35) | func Configure(configProvider configparser.Provider) (*Options, error) { FILE: bookinfo/internal/server/ratings/server.go type Server (line 34) | type Server struct method Run (line 54) | func (s *Server) Run(ctx context.Context) error { type ServerOptions (line 40) | type ServerOptions struct function DefaultServerOptions (line 46) | func DefaultServerOptions() *ServerOptions { FILE: bookinfo/internal/server/ratings/wire.go function NewServer (line 30) | func NewServer(ctx context.Context) (*Server, error) { FILE: bookinfo/internal/server/ratings/wire_gen.go function NewServer (line 17) | func NewServer(ctx context.Context) (*Server, error) { FILE: bookinfo/internal/server/reviews/options.go type Options (line 24) | type Options struct function DefaultOptions (line 30) | func DefaultOptions() *Options { function Configure (line 38) | func Configure(configProvider configparser.Provider) (*Options, error) { FILE: bookinfo/internal/server/reviews/server.go type Server (line 35) | type Server struct method Run (line 56) | func (s *Server) Run(ctx context.Context) error { type ServerOptions (line 42) | type ServerOptions struct function DefaultServerOptions (line 48) | func DefaultServerOptions() *ServerOptions { FILE: bookinfo/internal/server/reviews/wire.go function NewServer (line 31) | func NewServer(ctx context.Context) (*Server, error) { FILE: bookinfo/internal/server/reviews/wire_gen.go function NewServer (line 18) | func NewServer(ctx context.Context) (*Server, error) { FILE: bookinfo/internal/service/details/service.go type impl (line 26) | type impl struct method GetProduct (line 34) | func (i *impl) GetProduct(ctx context.Context, req *details.GetProduct... function New (line 29) | func New() details.DetailsService { FILE: bookinfo/internal/service/ratings/service.go type impl (line 29) | type impl struct method Ratings (line 37) | func (i *impl) Ratings(ctx context.Context, req *ratings.RatingReq) (r... function New (line 32) | func New() ratings.RatingService { FILE: bookinfo/internal/service/reviews/service.go type impl (line 30) | type impl struct method ReviewProduct (line 40) | func (i *impl) ReviewProduct(ctx context.Context, req *reviews.ReviewR... function New (line 35) | func New(ratingsClient ratingservice.Client) reviews.ReviewsService { FILE: bookinfo/kitex_gen/base/base.go type BaseResp (line 11) | type BaseResp struct method GetStatusMessage (line 25) | func (p *BaseResp) GetStatusMessage() (v string) { method GetStatusCode (line 29) | func (p *BaseResp) GetStatusCode() (v int32) { method GetExtra (line 35) | func (p *BaseResp) GetExtra() (v map[string]string) { method SetStatusMessage (line 41) | func (p *BaseResp) SetStatusMessage(val string) { method SetStatusCode (line 44) | func (p *BaseResp) SetStatusCode(val int32) { method SetExtra (line 47) | func (p *BaseResp) SetExtra(val map[string]string) { method IsSetExtra (line 57) | func (p *BaseResp) IsSetExtra() bool { method Read (line 61) | func (p *BaseResp) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 140) | func (p *BaseResp) ReadField1(iprot thrift.TProtocol) error { method ReadField2 (line 149) | func (p *BaseResp) ReadField2(iprot thrift.TProtocol) error { method ReadField3 (line 158) | func (p *BaseResp) ReadField3(iprot thrift.TProtocol) error { method Write (line 187) | func (p *BaseResp) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 224) | func (p *BaseResp) writeField1(oprot thrift.TProtocol) (err error) { method writeField2 (line 241) | func (p *BaseResp) writeField2(oprot thrift.TProtocol) (err error) { method writeField3 (line 258) | func (p *BaseResp) writeField3(oprot thrift.TProtocol) (err error) { method String (line 290) | func (p *BaseResp) String() string { method DeepEqual (line 297) | func (p *BaseResp) DeepEqual(ano *BaseResp) bool { method Field1DeepEqual (line 315) | func (p *BaseResp) Field1DeepEqual(src string) bool { method Field2DeepEqual (line 322) | func (p *BaseResp) Field2DeepEqual(src int32) bool { method Field3DeepEqual (line 329) | func (p *BaseResp) Field3DeepEqual(src map[string]string) bool { function NewBaseResp (line 17) | func NewBaseResp() *BaseResp { FILE: bookinfo/kitex_gen/base/k-base.go method FastRead (line 26) | func (p *BaseResp) FastRead(buf []byte) (int, error) { method FastReadField1 (line 125) | func (p *BaseResp) FastReadField1(buf []byte) (int, error) { method FastReadField2 (line 139) | func (p *BaseResp) FastReadField2(buf []byte) (int, error) { method FastReadField3 (line 153) | func (p *BaseResp) FastReadField3(buf []byte) (int, error) { method FastWrite (line 194) | func (p *BaseResp) FastWrite(buf []byte) int { method FastWriteNocopy (line 198) | func (p *BaseResp) FastWriteNocopy(buf []byte, binaryWriter bthrift.Bina... method BLength (line 211) | func (p *BaseResp) BLength() int { method fastWriteField1 (line 224) | func (p *BaseResp) fastWriteField1(buf []byte, binaryWriter bthrift.Bina... method fastWriteField2 (line 233) | func (p *BaseResp) fastWriteField2(buf []byte, binaryWriter bthrift.Bina... method fastWriteField3 (line 242) | func (p *BaseResp) fastWriteField3(buf []byte, binaryWriter bthrift.Bina... method field1Length (line 264) | func (p *BaseResp) field1Length() int { method field2Length (line 273) | func (p *BaseResp) field2Length() int { method field3Length (line 282) | func (p *BaseResp) field3Length() int { FILE: bookinfo/kitex_gen/cwg/bookinfo/details/details.go type Product (line 12) | type Product struct method GetID (line 23) | func (p *Product) GetID() (v string) { method GetTitle (line 27) | func (p *Product) GetTitle() (v string) { method GetAuthor (line 31) | func (p *Product) GetAuthor() (v string) { method GetDescription (line 35) | func (p *Product) GetDescription() (v string) { method SetID (line 38) | func (p *Product) SetID(val string) { method SetTitle (line 41) | func (p *Product) SetTitle(val string) { method SetAuthor (line 44) | func (p *Product) SetAuthor(val string) { method SetDescription (line 47) | func (p *Product) SetDescription(val string) { method Read (line 58) | func (p *Product) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 176) | func (p *Product) ReadField1(iprot thrift.TProtocol) error { method ReadField2 (line 185) | func (p *Product) ReadField2(iprot thrift.TProtocol) error { method ReadField3 (line 194) | func (p *Product) ReadField3(iprot thrift.TProtocol) error { method ReadField4 (line 203) | func (p *Product) ReadField4(iprot thrift.TProtocol) error { method Write (line 212) | func (p *Product) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 253) | func (p *Product) writeField1(oprot thrift.TProtocol) (err error) { method writeField2 (line 270) | func (p *Product) writeField2(oprot thrift.TProtocol) (err error) { method writeField3 (line 287) | func (p *Product) writeField3(oprot thrift.TProtocol) (err error) { method writeField4 (line 304) | func (p *Product) writeField4(oprot thrift.TProtocol) (err error) { method String (line 321) | func (p *Product) String() string { method DeepEqual (line 328) | func (p *Product) DeepEqual(ano *Product) bool { method Field1DeepEqual (line 349) | func (p *Product) Field1DeepEqual(src string) bool { method Field2DeepEqual (line 356) | func (p *Product) Field2DeepEqual(src string) bool { method Field3DeepEqual (line 363) | func (p *Product) Field3DeepEqual(src string) bool { method Field4DeepEqual (line 370) | func (p *Product) Field4DeepEqual(src string) bool { function NewProduct (line 19) | func NewProduct() *Product { type GetProductReq (line 378) | type GetProductReq struct method GetID (line 386) | func (p *GetProductReq) GetID() (v string) { method SetID (line 389) | func (p *GetProductReq) SetID(val string) { method Read (line 397) | func (p *GetProductReq) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 464) | func (p *GetProductReq) ReadField1(iprot thrift.TProtocol) error { method Write (line 473) | func (p *GetProductReq) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 502) | func (p *GetProductReq) writeField1(oprot thrift.TProtocol) (err error) { method String (line 519) | func (p *GetProductReq) String() string { method DeepEqual (line 526) | func (p *GetProductReq) DeepEqual(ano *GetProductReq) bool { method Field1DeepEqual (line 538) | func (p *GetProductReq) Field1DeepEqual(src string) bool { function NewGetProductReq (line 382) | func NewGetProductReq() *GetProductReq { type GetProductResp (line 546) | type GetProductResp struct method GetProduct (line 556) | func (p *GetProductResp) GetProduct() (v *Product) { method SetProduct (line 562) | func (p *GetProductResp) SetProduct(val *Product) { method IsSetProduct (line 570) | func (p *GetProductResp) IsSetProduct() bool { method Read (line 574) | func (p *GetProductResp) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 641) | func (p *GetProductResp) ReadField1(iprot thrift.TProtocol) error { method Write (line 649) | func (p *GetProductResp) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 678) | func (p *GetProductResp) writeField1(oprot thrift.TProtocol) (err erro... method String (line 695) | func (p *GetProductResp) String() string { method DeepEqual (line 702) | func (p *GetProductResp) DeepEqual(ano *GetProductResp) bool { method Field1DeepEqual (line 714) | func (p *GetProductResp) Field1DeepEqual(src *Product) bool { function NewGetProductResp (line 550) | func NewGetProductResp() *GetProductResp { type DetailsService (line 722) | type DetailsService interface type DetailsServiceClient (line 726) | type DetailsServiceClient struct method Client_ (line 748) | func (p *DetailsServiceClient) Client_() thrift.TClient { method GetProduct (line 752) | func (p *DetailsServiceClient) GetProduct(ctx context.Context, req *Ge... function NewDetailsServiceClientFactory (line 730) | func NewDetailsServiceClientFactory(t thrift.TTransport, f thrift.TProto... function NewDetailsServiceClientProtocol (line 736) | func NewDetailsServiceClientProtocol(t thrift.TTransport, iprot thrift.T... function NewDetailsServiceClient (line 742) | func NewDetailsServiceClient(c thrift.TClient) *DetailsServiceClient { type DetailsServiceProcessor (line 762) | type DetailsServiceProcessor struct method AddToProcessorMap (line 767) | func (p *DetailsServiceProcessor) AddToProcessorMap(key string, proces... method GetProcessorFunction (line 771) | func (p *DetailsServiceProcessor) GetProcessorFunction(key string) (pr... method ProcessorMap (line 776) | func (p *DetailsServiceProcessor) ProcessorMap() map[string]thrift.TPr... method Process (line 785) | func (p *DetailsServiceProcessor) Process(ctx context.Context, iprot, ... function NewDetailsServiceProcessor (line 780) | func NewDetailsServiceProcessor(handler DetailsService) *DetailsServiceP... type detailsServiceProcessorGetProduct (line 803) | type detailsServiceProcessorGetProduct struct method Process (line 807) | func (p *detailsServiceProcessorGetProduct) Process(ctx context.Contex... type DetailsServiceGetProductArgs (line 851) | type DetailsServiceGetProductArgs struct method GetReq (line 861) | func (p *DetailsServiceGetProductArgs) GetReq() (v *GetProductReq) { method SetReq (line 867) | func (p *DetailsServiceGetProductArgs) SetReq(val *GetProductReq) { method IsSetReq (line 875) | func (p *DetailsServiceGetProductArgs) IsSetReq() bool { method Read (line 879) | func (p *DetailsServiceGetProductArgs) Read(iprot thrift.TProtocol) (e... method ReadField1 (line 938) | func (p *DetailsServiceGetProductArgs) ReadField1(iprot thrift.TProtoc... method Write (line 946) | func (p *DetailsServiceGetProductArgs) Write(oprot thrift.TProtocol) (... method writeField1 (line 975) | func (p *DetailsServiceGetProductArgs) writeField1(oprot thrift.TProto... method String (line 992) | func (p *DetailsServiceGetProductArgs) String() string { method DeepEqual (line 999) | func (p *DetailsServiceGetProductArgs) DeepEqual(ano *DetailsServiceGe... method Field1DeepEqual (line 1011) | func (p *DetailsServiceGetProductArgs) Field1DeepEqual(src *GetProduct... function NewDetailsServiceGetProductArgs (line 855) | func NewDetailsServiceGetProductArgs() *DetailsServiceGetProductArgs { type DetailsServiceGetProductResult (line 1019) | type DetailsServiceGetProductResult struct method GetSuccess (line 1029) | func (p *DetailsServiceGetProductResult) GetSuccess() (v *GetProductRe... method SetSuccess (line 1035) | func (p *DetailsServiceGetProductResult) SetSuccess(x interface{}) { method IsSetSuccess (line 1043) | func (p *DetailsServiceGetProductResult) IsSetSuccess() bool { method Read (line 1047) | func (p *DetailsServiceGetProductResult) Read(iprot thrift.TProtocol) ... method ReadField0 (line 1106) | func (p *DetailsServiceGetProductResult) ReadField0(iprot thrift.TProt... method Write (line 1114) | func (p *DetailsServiceGetProductResult) Write(oprot thrift.TProtocol)... method writeField0 (line 1143) | func (p *DetailsServiceGetProductResult) writeField0(oprot thrift.TPro... method String (line 1162) | func (p *DetailsServiceGetProductResult) String() string { method DeepEqual (line 1169) | func (p *DetailsServiceGetProductResult) DeepEqual(ano *DetailsService... method Field0DeepEqual (line 1181) | func (p *DetailsServiceGetProductResult) Field0DeepEqual(src *GetProdu... function NewDetailsServiceGetProductResult (line 1023) | func NewDetailsServiceGetProductResult() *DetailsServiceGetProductResult { FILE: bookinfo/kitex_gen/cwg/bookinfo/details/detailsservice/client.go type Client (line 13) | type Client interface function NewClient (line 18) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 34) | func MustNewClient(destService string, opts ...client.Option) Client { type kDetailsServiceClient (line 42) | type kDetailsServiceClient struct method GetProduct (line 46) | func (p *kDetailsServiceClient) GetProduct(ctx context.Context, req *d... FILE: bookinfo/kitex_gen/cwg/bookinfo/details/detailsservice/detailsservice.go function serviceInfo (line 12) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 18) | func NewServiceInfo() *kitex.ServiceInfo { function getProductHandler (line 38) | func getProductHandler(ctx context.Context, handler interface{}, arg, re... function newDetailsServiceGetProductArgs (line 48) | func newDetailsServiceGetProductArgs() interface{} { function newDetailsServiceGetProductResult (line 52) | func newDetailsServiceGetProductResult() interface{} { type kClient (line 56) | type kClient struct method GetProduct (line 66) | func (p *kClient) GetProduct(ctx context.Context, req *details.GetProd... function newServiceClient (line 60) | func newServiceClient(c client.Client) *kClient { FILE: bookinfo/kitex_gen/cwg/bookinfo/details/detailsservice/invoker.go function NewInvoker (line 11) | func NewInvoker(handler details.DetailsService, opts ...server.Option) s... FILE: bookinfo/kitex_gen/cwg/bookinfo/details/detailsservice/server.go function NewServer (line 10) | func NewServer(handler details.DetailsService, opts ...server.Option) se... FILE: bookinfo/kitex_gen/cwg/bookinfo/details/k-details.go method FastRead (line 28) | func (p *Product) FastRead(buf []byte) (int, error) { method FastReadField1 (line 170) | func (p *Product) FastReadField1(buf []byte) (int, error) { method FastReadField2 (line 184) | func (p *Product) FastReadField2(buf []byte) (int, error) { method FastReadField3 (line 198) | func (p *Product) FastReadField3(buf []byte) (int, error) { method FastReadField4 (line 212) | func (p *Product) FastReadField4(buf []byte) (int, error) { method FastWrite (line 227) | func (p *Product) FastWrite(buf []byte) int { method FastWriteNocopy (line 231) | func (p *Product) FastWriteNocopy(buf []byte, binaryWriter bthrift.Binar... method BLength (line 245) | func (p *Product) BLength() int { method fastWriteField1 (line 259) | func (p *Product) fastWriteField1(buf []byte, binaryWriter bthrift.Binar... method fastWriteField2 (line 268) | func (p *Product) fastWriteField2(buf []byte, binaryWriter bthrift.Binar... method fastWriteField3 (line 277) | func (p *Product) fastWriteField3(buf []byte, binaryWriter bthrift.Binar... method fastWriteField4 (line 286) | func (p *Product) fastWriteField4(buf []byte, binaryWriter bthrift.Binar... method field1Length (line 295) | func (p *Product) field1Length() int { method field2Length (line 304) | func (p *Product) field2Length() int { method field3Length (line 313) | func (p *Product) field3Length() int { method field4Length (line 322) | func (p *Product) field4Length() int { method FastRead (line 331) | func (p *GetProductReq) FastRead(buf []byte) (int, error) { method FastReadField1 (line 410) | func (p *GetProductReq) FastReadField1(buf []byte) (int, error) { method FastWrite (line 425) | func (p *GetProductReq) FastWrite(buf []byte) int { method FastWriteNocopy (line 429) | func (p *GetProductReq) FastWriteNocopy(buf []byte, binaryWriter bthrift... method BLength (line 440) | func (p *GetProductReq) BLength() int { method fastWriteField1 (line 451) | func (p *GetProductReq) fastWriteField1(buf []byte, binaryWriter bthrift... method field1Length (line 460) | func (p *GetProductReq) field1Length() int { method FastRead (line 469) | func (p *GetProductResp) FastRead(buf []byte) (int, error) { method FastReadField1 (line 548) | func (p *GetProductResp) FastReadField1(buf []byte) (int, error) { method FastWrite (line 562) | func (p *GetProductResp) FastWrite(buf []byte) int { method FastWriteNocopy (line 566) | func (p *GetProductResp) FastWriteNocopy(buf []byte, binaryWriter bthrif... method BLength (line 577) | func (p *GetProductResp) BLength() int { method fastWriteField1 (line 588) | func (p *GetProductResp) fastWriteField1(buf []byte, binaryWriter bthrif... method field1Length (line 596) | func (p *GetProductResp) field1Length() int { method FastRead (line 604) | func (p *DetailsServiceGetProductArgs) FastRead(buf []byte) (int, error) { method FastReadField1 (line 675) | func (p *DetailsServiceGetProductArgs) FastReadField1(buf []byte) (int, ... method FastWrite (line 689) | func (p *DetailsServiceGetProductArgs) FastWrite(buf []byte) int { method FastWriteNocopy (line 693) | func (p *DetailsServiceGetProductArgs) FastWriteNocopy(buf []byte, binar... method BLength (line 704) | func (p *DetailsServiceGetProductArgs) BLength() int { method fastWriteField1 (line 715) | func (p *DetailsServiceGetProductArgs) fastWriteField1(buf []byte, binar... method field1Length (line 723) | func (p *DetailsServiceGetProductArgs) field1Length() int { method FastRead (line 731) | func (p *DetailsServiceGetProductResult) FastRead(buf []byte) (int, erro... method FastReadField0 (line 802) | func (p *DetailsServiceGetProductResult) FastReadField0(buf []byte) (int... method FastWrite (line 816) | func (p *DetailsServiceGetProductResult) FastWrite(buf []byte) int { method FastWriteNocopy (line 820) | func (p *DetailsServiceGetProductResult) FastWriteNocopy(buf []byte, bin... method BLength (line 831) | func (p *DetailsServiceGetProductResult) BLength() int { method fastWriteField0 (line 842) | func (p *DetailsServiceGetProductResult) fastWriteField0(buf []byte, bin... method field0Length (line 852) | func (p *DetailsServiceGetProductResult) field0Length() int { method GetFirstArgument (line 862) | func (p *DetailsServiceGetProductArgs) GetFirstArgument() interface{} { method GetResult (line 866) | func (p *DetailsServiceGetProductResult) GetResult() interface{} { FILE: bookinfo/kitex_gen/cwg/bookinfo/product/k-productpage.go method FastRead (line 28) | func (p *Product) FastRead(buf []byte) (int, error) { method FastReadField1 (line 191) | func (p *Product) FastReadField1(buf []byte) (int, error) { method FastReadField2 (line 205) | func (p *Product) FastReadField2(buf []byte) (int, error) { method FastReadField3 (line 219) | func (p *Product) FastReadField3(buf []byte) (int, error) { method FastReadField4 (line 233) | func (p *Product) FastReadField4(buf []byte) (int, error) { method FastReadField5 (line 247) | func (p *Product) FastReadField5(buf []byte) (int, error) { method FastWrite (line 262) | func (p *Product) FastWrite(buf []byte) int { method FastWriteNocopy (line 266) | func (p *Product) FastWriteNocopy(buf []byte, binaryWriter bthrift.Binar... method BLength (line 281) | func (p *Product) BLength() int { method fastWriteField1 (line 296) | func (p *Product) fastWriteField1(buf []byte, binaryWriter bthrift.Binar... method fastWriteField2 (line 305) | func (p *Product) fastWriteField2(buf []byte, binaryWriter bthrift.Binar... method fastWriteField3 (line 314) | func (p *Product) fastWriteField3(buf []byte, binaryWriter bthrift.Binar... method fastWriteField4 (line 323) | func (p *Product) fastWriteField4(buf []byte, binaryWriter bthrift.Binar... method fastWriteField5 (line 332) | func (p *Product) fastWriteField5(buf []byte, binaryWriter bthrift.Binar... method field1Length (line 341) | func (p *Product) field1Length() int { method field2Length (line 350) | func (p *Product) field2Length() int { method field3Length (line 359) | func (p *Product) field3Length() int { method field4Length (line 368) | func (p *Product) field4Length() int { method field5Length (line 377) | func (p *Product) field5Length() int { method FastRead (line 386) | func (p *GetProductReq) FastRead(buf []byte) (int, error) { method FastReadField1 (line 465) | func (p *GetProductReq) FastReadField1(buf []byte) (int, error) { method FastWrite (line 480) | func (p *GetProductReq) FastWrite(buf []byte) int { method FastWriteNocopy (line 484) | func (p *GetProductReq) FastWriteNocopy(buf []byte, binaryWriter bthrift... method BLength (line 495) | func (p *GetProductReq) BLength() int { method fastWriteField1 (line 506) | func (p *GetProductReq) fastWriteField1(buf []byte, binaryWriter bthrift... method field1Length (line 515) | func (p *GetProductReq) field1Length() int { method FastRead (line 524) | func (p *GetProductResp) FastRead(buf []byte) (int, error) { method FastReadField1 (line 603) | func (p *GetProductResp) FastReadField1(buf []byte) (int, error) { method FastWrite (line 617) | func (p *GetProductResp) FastWrite(buf []byte) int { method FastWriteNocopy (line 621) | func (p *GetProductResp) FastWriteNocopy(buf []byte, binaryWriter bthrif... method BLength (line 632) | func (p *GetProductResp) BLength() int { method fastWriteField1 (line 643) | func (p *GetProductResp) fastWriteField1(buf []byte, binaryWriter bthrif... method field1Length (line 651) | func (p *GetProductResp) field1Length() int { method FastRead (line 659) | func (p *ListProductsReq) FastRead(buf []byte) (int, error) { method FastWrite (line 713) | func (p *ListProductsReq) FastWrite(buf []byte) int { method FastWriteNocopy (line 717) | func (p *ListProductsReq) FastWriteNocopy(buf []byte, binaryWriter bthri... method BLength (line 727) | func (p *ListProductsReq) BLength() int { method FastRead (line 737) | func (p *ListProductsResp) FastRead(buf []byte) (int, error) { method FastReadField1 (line 830) | func (p *ListProductsResp) FastReadField1(buf []byte) (int, error) { method FastReadField255 (line 857) | func (p *ListProductsResp) FastReadField255(buf []byte) (int, error) { method FastWrite (line 871) | func (p *ListProductsResp) FastWrite(buf []byte) int { method FastWriteNocopy (line 875) | func (p *ListProductsResp) FastWriteNocopy(buf []byte, binaryWriter bthr... method BLength (line 887) | func (p *ListProductsResp) BLength() int { method fastWriteField1 (line 899) | func (p *ListProductsResp) fastWriteField1(buf []byte, binaryWriter bthr... method fastWriteField255 (line 915) | func (p *ListProductsResp) fastWriteField255(buf []byte, binaryWriter bt... method field1Length (line 923) | func (p *ListProductsResp) field1Length() int { method field255Length (line 935) | func (p *ListProductsResp) field255Length() int { method FastRead (line 943) | func (p *ProductPageServiceGetProductArgs) FastRead(buf []byte) (int, er... method FastReadField1 (line 1014) | func (p *ProductPageServiceGetProductArgs) FastReadField1(buf []byte) (i... method FastWrite (line 1028) | func (p *ProductPageServiceGetProductArgs) FastWrite(buf []byte) int { method FastWriteNocopy (line 1032) | func (p *ProductPageServiceGetProductArgs) FastWriteNocopy(buf []byte, b... method BLength (line 1043) | func (p *ProductPageServiceGetProductArgs) BLength() int { method fastWriteField1 (line 1054) | func (p *ProductPageServiceGetProductArgs) fastWriteField1(buf []byte, b... method field1Length (line 1062) | func (p *ProductPageServiceGetProductArgs) field1Length() int { method FastRead (line 1070) | func (p *ProductPageServiceGetProductResult) FastRead(buf []byte) (int, ... method FastReadField0 (line 1141) | func (p *ProductPageServiceGetProductResult) FastReadField0(buf []byte) ... method FastWrite (line 1155) | func (p *ProductPageServiceGetProductResult) FastWrite(buf []byte) int { method FastWriteNocopy (line 1159) | func (p *ProductPageServiceGetProductResult) FastWriteNocopy(buf []byte,... method BLength (line 1170) | func (p *ProductPageServiceGetProductResult) BLength() int { method fastWriteField0 (line 1181) | func (p *ProductPageServiceGetProductResult) fastWriteField0(buf []byte,... method field0Length (line 1191) | func (p *ProductPageServiceGetProductResult) field0Length() int { method FastRead (line 1201) | func (p *ProductPageServiceListProductsArgs) FastRead(buf []byte) (int, ... method FastReadField1 (line 1272) | func (p *ProductPageServiceListProductsArgs) FastReadField1(buf []byte) ... method FastWrite (line 1286) | func (p *ProductPageServiceListProductsArgs) FastWrite(buf []byte) int { method FastWriteNocopy (line 1290) | func (p *ProductPageServiceListProductsArgs) FastWriteNocopy(buf []byte,... method BLength (line 1301) | func (p *ProductPageServiceListProductsArgs) BLength() int { method fastWriteField1 (line 1312) | func (p *ProductPageServiceListProductsArgs) fastWriteField1(buf []byte,... method field1Length (line 1320) | func (p *ProductPageServiceListProductsArgs) field1Length() int { method FastRead (line 1328) | func (p *ProductPageServiceListProductsResult) FastRead(buf []byte) (int... method FastReadField0 (line 1399) | func (p *ProductPageServiceListProductsResult) FastReadField0(buf []byte... method FastWrite (line 1413) | func (p *ProductPageServiceListProductsResult) FastWrite(buf []byte) int { method FastWriteNocopy (line 1417) | func (p *ProductPageServiceListProductsResult) FastWriteNocopy(buf []byt... method BLength (line 1428) | func (p *ProductPageServiceListProductsResult) BLength() int { method fastWriteField0 (line 1439) | func (p *ProductPageServiceListProductsResult) fastWriteField0(buf []byt... method field0Length (line 1449) | func (p *ProductPageServiceListProductsResult) field0Length() int { method GetFirstArgument (line 1459) | func (p *ProductPageServiceGetProductArgs) GetFirstArgument() interface{} { method GetResult (line 1463) | func (p *ProductPageServiceGetProductResult) GetResult() interface{} { method GetFirstArgument (line 1467) | func (p *ProductPageServiceListProductsArgs) GetFirstArgument() interfac... method GetResult (line 1471) | func (p *ProductPageServiceListProductsResult) GetResult() interface{} { FILE: bookinfo/kitex_gen/cwg/bookinfo/product/productpage.go type Product (line 13) | type Product struct method GetID (line 25) | func (p *Product) GetID() (v string) { method GetTitle (line 29) | func (p *Product) GetTitle() (v string) { method GetAuthor (line 33) | func (p *Product) GetAuthor() (v string) { method GetDescription (line 37) | func (p *Product) GetDescription() (v string) { method GetRating (line 41) | func (p *Product) GetRating() (v int8) { method SetID (line 44) | func (p *Product) SetID(val string) { method SetTitle (line 47) | func (p *Product) SetTitle(val string) { method SetAuthor (line 50) | func (p *Product) SetAuthor(val string) { method SetDescription (line 53) | func (p *Product) SetDescription(val string) { method SetRating (line 56) | func (p *Product) SetRating(val int8) { method Read (line 68) | func (p *Product) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 203) | func (p *Product) ReadField1(iprot thrift.TProtocol) error { method ReadField2 (line 212) | func (p *Product) ReadField2(iprot thrift.TProtocol) error { method ReadField3 (line 221) | func (p *Product) ReadField3(iprot thrift.TProtocol) error { method ReadField4 (line 230) | func (p *Product) ReadField4(iprot thrift.TProtocol) error { method ReadField5 (line 239) | func (p *Product) ReadField5(iprot thrift.TProtocol) error { method Write (line 248) | func (p *Product) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 293) | func (p *Product) writeField1(oprot thrift.TProtocol) (err error) { method writeField2 (line 310) | func (p *Product) writeField2(oprot thrift.TProtocol) (err error) { method writeField3 (line 327) | func (p *Product) writeField3(oprot thrift.TProtocol) (err error) { method writeField4 (line 344) | func (p *Product) writeField4(oprot thrift.TProtocol) (err error) { method writeField5 (line 361) | func (p *Product) writeField5(oprot thrift.TProtocol) (err error) { method String (line 378) | func (p *Product) String() string { method DeepEqual (line 385) | func (p *Product) DeepEqual(ano *Product) bool { method Field1DeepEqual (line 409) | func (p *Product) Field1DeepEqual(src string) bool { method Field2DeepEqual (line 416) | func (p *Product) Field2DeepEqual(src string) bool { method Field3DeepEqual (line 423) | func (p *Product) Field3DeepEqual(src string) bool { method Field4DeepEqual (line 430) | func (p *Product) Field4DeepEqual(src string) bool { method Field5DeepEqual (line 437) | func (p *Product) Field5DeepEqual(src int8) bool { function NewProduct (line 21) | func NewProduct() *Product { type GetProductReq (line 445) | type GetProductReq struct method GetID (line 453) | func (p *GetProductReq) GetID() (v string) { method SetID (line 456) | func (p *GetProductReq) SetID(val string) { method Read (line 464) | func (p *GetProductReq) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 531) | func (p *GetProductReq) ReadField1(iprot thrift.TProtocol) error { method Write (line 540) | func (p *GetProductReq) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 569) | func (p *GetProductReq) writeField1(oprot thrift.TProtocol) (err error) { method String (line 586) | func (p *GetProductReq) String() string { method DeepEqual (line 593) | func (p *GetProductReq) DeepEqual(ano *GetProductReq) bool { method Field1DeepEqual (line 605) | func (p *GetProductReq) Field1DeepEqual(src string) bool { function NewGetProductReq (line 449) | func NewGetProductReq() *GetProductReq { type GetProductResp (line 613) | type GetProductResp struct method GetProduct (line 623) | func (p *GetProductResp) GetProduct() (v *Product) { method SetProduct (line 629) | func (p *GetProductResp) SetProduct(val *Product) { method IsSetProduct (line 637) | func (p *GetProductResp) IsSetProduct() bool { method Read (line 641) | func (p *GetProductResp) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 708) | func (p *GetProductResp) ReadField1(iprot thrift.TProtocol) error { method Write (line 716) | func (p *GetProductResp) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 745) | func (p *GetProductResp) writeField1(oprot thrift.TProtocol) (err erro... method String (line 762) | func (p *GetProductResp) String() string { method DeepEqual (line 769) | func (p *GetProductResp) DeepEqual(ano *GetProductResp) bool { method Field1DeepEqual (line 781) | func (p *GetProductResp) Field1DeepEqual(src *Product) bool { function NewGetProductResp (line 617) | func NewGetProductResp() *GetProductResp { type ListProductsReq (line 789) | type ListProductsReq struct method Read (line 798) | func (p *ListProductsReq) Read(iprot thrift.TProtocol) (err error) { method Write (line 841) | func (p *ListProductsReq) Write(oprot thrift.TProtocol) (err error) { method String (line 863) | func (p *ListProductsReq) String() string { method DeepEqual (line 870) | func (p *ListProductsReq) DeepEqual(ano *ListProductsReq) bool { function NewListProductsReq (line 792) | func NewListProductsReq() *ListProductsReq { type ListProductsResp (line 879) | type ListProductsResp struct method GetItems (line 888) | func (p *ListProductsResp) GetItems() (v []*Product) { method GetBaseResp (line 894) | func (p *ListProductsResp) GetBaseResp() (v *base.BaseResp) { method SetItems (line 900) | func (p *ListProductsResp) SetItems(val []*Product) { method SetBaseResp (line 903) | func (p *ListProductsResp) SetBaseResp(val *base.BaseResp) { method IsSetBaseResp (line 912) | func (p *ListProductsResp) IsSetBaseResp() bool { method Read (line 916) | func (p *ListProductsResp) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 993) | func (p *ListProductsResp) ReadField1(iprot thrift.TProtocol) error { method ReadField255 (line 1013) | func (p *ListProductsResp) ReadField255(iprot thrift.TProtocol) error { method Write (line 1021) | func (p *ListProductsResp) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 1054) | func (p *ListProductsResp) writeField1(oprot thrift.TProtocol) (err er... method writeField255 (line 1079) | func (p *ListProductsResp) writeField255(oprot thrift.TProtocol) (err ... method String (line 1096) | func (p *ListProductsResp) String() string { method DeepEqual (line 1103) | func (p *ListProductsResp) DeepEqual(ano *ListProductsResp) bool { method Field1DeepEqual (line 1118) | func (p *ListProductsResp) Field1DeepEqual(src []*Product) bool { method Field255DeepEqual (line 1131) | func (p *ListProductsResp) Field255DeepEqual(src *base.BaseResp) bool { function NewListProductsResp (line 884) | func NewListProductsResp() *ListProductsResp { type ProductPageService (line 1139) | type ProductPageService interface type ProductPageServiceClient (line 1145) | type ProductPageServiceClient struct method Client_ (line 1167) | func (p *ProductPageServiceClient) Client_() thrift.TClient { method GetProduct (line 1171) | func (p *ProductPageServiceClient) GetProduct(ctx context.Context, req... method ListProducts (line 1180) | func (p *ProductPageServiceClient) ListProducts(ctx context.Context, r... function NewProductPageServiceClientFactory (line 1149) | func NewProductPageServiceClientFactory(t thrift.TTransport, f thrift.TP... function NewProductPageServiceClientProtocol (line 1155) | func NewProductPageServiceClientProtocol(t thrift.TTransport, iprot thri... function NewProductPageServiceClient (line 1161) | func NewProductPageServiceClient(c thrift.TClient) *ProductPageServiceCl... type ProductPageServiceProcessor (line 1190) | type ProductPageServiceProcessor struct method AddToProcessorMap (line 1195) | func (p *ProductPageServiceProcessor) AddToProcessorMap(key string, pr... method GetProcessorFunction (line 1199) | func (p *ProductPageServiceProcessor) GetProcessorFunction(key string)... method ProcessorMap (line 1204) | func (p *ProductPageServiceProcessor) ProcessorMap() map[string]thrift... method Process (line 1214) | func (p *ProductPageServiceProcessor) Process(ctx context.Context, ipr... function NewProductPageServiceProcessor (line 1208) | func NewProductPageServiceProcessor(handler ProductPageService) *Product... type productPageServiceProcessorGetProduct (line 1232) | type productPageServiceProcessorGetProduct struct method Process (line 1236) | func (p *productPageServiceProcessorGetProduct) Process(ctx context.Co... type productPageServiceProcessorListProducts (line 1280) | type productPageServiceProcessorListProducts struct method Process (line 1284) | func (p *productPageServiceProcessorListProducts) Process(ctx context.... type ProductPageServiceGetProductArgs (line 1328) | type ProductPageServiceGetProductArgs struct method GetReq (line 1338) | func (p *ProductPageServiceGetProductArgs) GetReq() (v *GetProductReq) { method SetReq (line 1344) | func (p *ProductPageServiceGetProductArgs) SetReq(val *GetProductReq) { method IsSetReq (line 1352) | func (p *ProductPageServiceGetProductArgs) IsSetReq() bool { method Read (line 1356) | func (p *ProductPageServiceGetProductArgs) Read(iprot thrift.TProtocol... method ReadField1 (line 1415) | func (p *ProductPageServiceGetProductArgs) ReadField1(iprot thrift.TPr... method Write (line 1423) | func (p *ProductPageServiceGetProductArgs) Write(oprot thrift.TProtoco... method writeField1 (line 1452) | func (p *ProductPageServiceGetProductArgs) writeField1(oprot thrift.TP... method String (line 1469) | func (p *ProductPageServiceGetProductArgs) String() string { method DeepEqual (line 1476) | func (p *ProductPageServiceGetProductArgs) DeepEqual(ano *ProductPageS... method Field1DeepEqual (line 1488) | func (p *ProductPageServiceGetProductArgs) Field1DeepEqual(src *GetPro... function NewProductPageServiceGetProductArgs (line 1332) | func NewProductPageServiceGetProductArgs() *ProductPageServiceGetProduct... type ProductPageServiceGetProductResult (line 1496) | type ProductPageServiceGetProductResult struct method GetSuccess (line 1506) | func (p *ProductPageServiceGetProductResult) GetSuccess() (v *GetProdu... method SetSuccess (line 1512) | func (p *ProductPageServiceGetProductResult) SetSuccess(x interface{}) { method IsSetSuccess (line 1520) | func (p *ProductPageServiceGetProductResult) IsSetSuccess() bool { method Read (line 1524) | func (p *ProductPageServiceGetProductResult) Read(iprot thrift.TProtoc... method ReadField0 (line 1583) | func (p *ProductPageServiceGetProductResult) ReadField0(iprot thrift.T... method Write (line 1591) | func (p *ProductPageServiceGetProductResult) Write(oprot thrift.TProto... method writeField0 (line 1620) | func (p *ProductPageServiceGetProductResult) writeField0(oprot thrift.... method String (line 1639) | func (p *ProductPageServiceGetProductResult) String() string { method DeepEqual (line 1646) | func (p *ProductPageServiceGetProductResult) DeepEqual(ano *ProductPag... method Field0DeepEqual (line 1658) | func (p *ProductPageServiceGetProductResult) Field0DeepEqual(src *GetP... function NewProductPageServiceGetProductResult (line 1500) | func NewProductPageServiceGetProductResult() *ProductPageServiceGetProdu... type ProductPageServiceListProductsArgs (line 1666) | type ProductPageServiceListProductsArgs struct method GetReq (line 1676) | func (p *ProductPageServiceListProductsArgs) GetReq() (v *ListProducts... method SetReq (line 1682) | func (p *ProductPageServiceListProductsArgs) SetReq(val *ListProductsR... method IsSetReq (line 1690) | func (p *ProductPageServiceListProductsArgs) IsSetReq() bool { method Read (line 1694) | func (p *ProductPageServiceListProductsArgs) Read(iprot thrift.TProtoc... method ReadField1 (line 1753) | func (p *ProductPageServiceListProductsArgs) ReadField1(iprot thrift.T... method Write (line 1761) | func (p *ProductPageServiceListProductsArgs) Write(oprot thrift.TProto... method writeField1 (line 1790) | func (p *ProductPageServiceListProductsArgs) writeField1(oprot thrift.... method String (line 1807) | func (p *ProductPageServiceListProductsArgs) String() string { method DeepEqual (line 1814) | func (p *ProductPageServiceListProductsArgs) DeepEqual(ano *ProductPag... method Field1DeepEqual (line 1826) | func (p *ProductPageServiceListProductsArgs) Field1DeepEqual(src *List... function NewProductPageServiceListProductsArgs (line 1670) | func NewProductPageServiceListProductsArgs() *ProductPageServiceListProd... type ProductPageServiceListProductsResult (line 1834) | type ProductPageServiceListProductsResult struct method GetSuccess (line 1844) | func (p *ProductPageServiceListProductsResult) GetSuccess() (v *ListPr... method SetSuccess (line 1850) | func (p *ProductPageServiceListProductsResult) SetSuccess(x interface{... method IsSetSuccess (line 1858) | func (p *ProductPageServiceListProductsResult) IsSetSuccess() bool { method Read (line 1862) | func (p *ProductPageServiceListProductsResult) Read(iprot thrift.TProt... method ReadField0 (line 1921) | func (p *ProductPageServiceListProductsResult) ReadField0(iprot thrift... method Write (line 1929) | func (p *ProductPageServiceListProductsResult) Write(oprot thrift.TPro... method writeField0 (line 1958) | func (p *ProductPageServiceListProductsResult) writeField0(oprot thrif... method String (line 1977) | func (p *ProductPageServiceListProductsResult) String() string { method DeepEqual (line 1984) | func (p *ProductPageServiceListProductsResult) DeepEqual(ano *ProductP... method Field0DeepEqual (line 1996) | func (p *ProductPageServiceListProductsResult) Field0DeepEqual(src *Li... function NewProductPageServiceListProductsResult (line 1838) | func NewProductPageServiceListProductsResult() *ProductPageServiceListPr... FILE: bookinfo/kitex_gen/cwg/bookinfo/product/productpageservice/client.go type Client (line 13) | type Client interface function NewClient (line 19) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 35) | func MustNewClient(destService string, opts ...client.Option) Client { type kProductPageServiceClient (line 43) | type kProductPageServiceClient struct method GetProduct (line 47) | func (p *kProductPageServiceClient) GetProduct(ctx context.Context, re... method ListProducts (line 52) | func (p *kProductPageServiceClient) ListProducts(ctx context.Context, ... FILE: bookinfo/kitex_gen/cwg/bookinfo/product/productpageservice/invoker.go function NewInvoker (line 11) | func NewInvoker(handler product.ProductPageService, opts ...server.Optio... FILE: bookinfo/kitex_gen/cwg/bookinfo/product/productpageservice/productpageservice.go function serviceInfo (line 12) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 18) | func NewServiceInfo() *kitex.ServiceInfo { function getProductHandler (line 39) | func getProductHandler(ctx context.Context, handler interface{}, arg, re... function newProductPageServiceGetProductArgs (line 49) | func newProductPageServiceGetProductArgs() interface{} { function newProductPageServiceGetProductResult (line 53) | func newProductPageServiceGetProductResult() interface{} { function listProductsHandler (line 57) | func listProductsHandler(ctx context.Context, handler interface{}, arg, ... function newProductPageServiceListProductsArgs (line 67) | func newProductPageServiceListProductsArgs() interface{} { function newProductPageServiceListProductsResult (line 71) | func newProductPageServiceListProductsResult() interface{} { type kClient (line 75) | type kClient struct method GetProduct (line 85) | func (p *kClient) GetProduct(ctx context.Context, req *product.GetProd... method ListProducts (line 95) | func (p *kClient) ListProducts(ctx context.Context, req *product.ListP... function newServiceClient (line 79) | func newServiceClient(c client.Client) *kClient { FILE: bookinfo/kitex_gen/cwg/bookinfo/product/productpageservice/server.go function NewServer (line 10) | func NewServer(handler product.ProductPageService, opts ...server.Option... FILE: bookinfo/kitex_gen/cwg/bookinfo/ratings/k-ratings.go method FastRead (line 28) | func (p *RatingReq) FastRead(buf []byte) (int, error) { method FastReadField1 (line 107) | func (p *RatingReq) FastReadField1(buf []byte) (int, error) { method FastWrite (line 122) | func (p *RatingReq) FastWrite(buf []byte) int { method FastWriteNocopy (line 126) | func (p *RatingReq) FastWriteNocopy(buf []byte, binaryWriter bthrift.Bin... method BLength (line 137) | func (p *RatingReq) BLength() int { method fastWriteField1 (line 148) | func (p *RatingReq) fastWriteField1(buf []byte, binaryWriter bthrift.Bin... method field1Length (line 157) | func (p *RatingReq) field1Length() int { method FastRead (line 166) | func (p *RatingResp) FastRead(buf []byte) (int, error) { method FastReadField1 (line 245) | func (p *RatingResp) FastReadField1(buf []byte) (int, error) { method FastWrite (line 260) | func (p *RatingResp) FastWrite(buf []byte) int { method FastWriteNocopy (line 264) | func (p *RatingResp) FastWriteNocopy(buf []byte, binaryWriter bthrift.Bi... method BLength (line 275) | func (p *RatingResp) BLength() int { method fastWriteField1 (line 286) | func (p *RatingResp) fastWriteField1(buf []byte, binaryWriter bthrift.Bi... method field1Length (line 295) | func (p *RatingResp) field1Length() int { method FastRead (line 304) | func (p *RatingServiceRatingsArgs) FastRead(buf []byte) (int, error) { method FastReadField1 (line 375) | func (p *RatingServiceRatingsArgs) FastReadField1(buf []byte) (int, erro... method FastWrite (line 389) | func (p *RatingServiceRatingsArgs) FastWrite(buf []byte) int { method FastWriteNocopy (line 393) | func (p *RatingServiceRatingsArgs) FastWriteNocopy(buf []byte, binaryWri... method BLength (line 404) | func (p *RatingServiceRatingsArgs) BLength() int { method fastWriteField1 (line 415) | func (p *RatingServiceRatingsArgs) fastWriteField1(buf []byte, binaryWri... method field1Length (line 423) | func (p *RatingServiceRatingsArgs) field1Length() int { method FastRead (line 431) | func (p *RatingServiceRatingsResult) FastRead(buf []byte) (int, error) { method FastReadField0 (line 502) | func (p *RatingServiceRatingsResult) FastReadField0(buf []byte) (int, er... method FastWrite (line 516) | func (p *RatingServiceRatingsResult) FastWrite(buf []byte) int { method FastWriteNocopy (line 520) | func (p *RatingServiceRatingsResult) FastWriteNocopy(buf []byte, binaryW... method BLength (line 531) | func (p *RatingServiceRatingsResult) BLength() int { method fastWriteField0 (line 542) | func (p *RatingServiceRatingsResult) fastWriteField0(buf []byte, binaryW... method field0Length (line 552) | func (p *RatingServiceRatingsResult) field0Length() int { method GetFirstArgument (line 562) | func (p *RatingServiceRatingsArgs) GetFirstArgument() interface{} { method GetResult (line 566) | func (p *RatingServiceRatingsResult) GetResult() interface{} { FILE: bookinfo/kitex_gen/cwg/bookinfo/ratings/ratings.go type RatingReq (line 12) | type RatingReq struct method GetProductID (line 20) | func (p *RatingReq) GetProductID() (v string) { method SetProductID (line 23) | func (p *RatingReq) SetProductID(val string) { method Read (line 31) | func (p *RatingReq) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 98) | func (p *RatingReq) ReadField1(iprot thrift.TProtocol) error { method Write (line 107) | func (p *RatingReq) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 136) | func (p *RatingReq) writeField1(oprot thrift.TProtocol) (err error) { method String (line 153) | func (p *RatingReq) String() string { method DeepEqual (line 160) | func (p *RatingReq) DeepEqual(ano *RatingReq) bool { method Field1DeepEqual (line 172) | func (p *RatingReq) Field1DeepEqual(src string) bool { function NewRatingReq (line 16) | func NewRatingReq() *RatingReq { type RatingResp (line 180) | type RatingResp struct method GetRating (line 188) | func (p *RatingResp) GetRating() (v int8) { method SetRating (line 191) | func (p *RatingResp) SetRating(val int8) { method Read (line 199) | func (p *RatingResp) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 266) | func (p *RatingResp) ReadField1(iprot thrift.TProtocol) error { method Write (line 275) | func (p *RatingResp) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 304) | func (p *RatingResp) writeField1(oprot thrift.TProtocol) (err error) { method String (line 321) | func (p *RatingResp) String() string { method DeepEqual (line 328) | func (p *RatingResp) DeepEqual(ano *RatingResp) bool { method Field1DeepEqual (line 340) | func (p *RatingResp) Field1DeepEqual(src int8) bool { function NewRatingResp (line 184) | func NewRatingResp() *RatingResp { type RatingService (line 348) | type RatingService interface type RatingServiceClient (line 352) | type RatingServiceClient struct method Client_ (line 374) | func (p *RatingServiceClient) Client_() thrift.TClient { method Ratings (line 378) | func (p *RatingServiceClient) Ratings(ctx context.Context, req *Rating... function NewRatingServiceClientFactory (line 356) | func NewRatingServiceClientFactory(t thrift.TTransport, f thrift.TProtoc... function NewRatingServiceClientProtocol (line 362) | func NewRatingServiceClientProtocol(t thrift.TTransport, iprot thrift.TP... function NewRatingServiceClient (line 368) | func NewRatingServiceClient(c thrift.TClient) *RatingServiceClient { type RatingServiceProcessor (line 388) | type RatingServiceProcessor struct method AddToProcessorMap (line 393) | func (p *RatingServiceProcessor) AddToProcessorMap(key string, process... method GetProcessorFunction (line 397) | func (p *RatingServiceProcessor) GetProcessorFunction(key string) (pro... method ProcessorMap (line 402) | func (p *RatingServiceProcessor) ProcessorMap() map[string]thrift.TPro... method Process (line 411) | func (p *RatingServiceProcessor) Process(ctx context.Context, iprot, o... function NewRatingServiceProcessor (line 406) | func NewRatingServiceProcessor(handler RatingService) *RatingServiceProc... type ratingServiceProcessorRatings (line 429) | type ratingServiceProcessorRatings struct method Process (line 433) | func (p *ratingServiceProcessorRatings) Process(ctx context.Context, s... type RatingServiceRatingsArgs (line 477) | type RatingServiceRatingsArgs struct method GetReq (line 487) | func (p *RatingServiceRatingsArgs) GetReq() (v *RatingReq) { method SetReq (line 493) | func (p *RatingServiceRatingsArgs) SetReq(val *RatingReq) { method IsSetReq (line 501) | func (p *RatingServiceRatingsArgs) IsSetReq() bool { method Read (line 505) | func (p *RatingServiceRatingsArgs) Read(iprot thrift.TProtocol) (err e... method ReadField1 (line 564) | func (p *RatingServiceRatingsArgs) ReadField1(iprot thrift.TProtocol) ... method Write (line 572) | func (p *RatingServiceRatingsArgs) Write(oprot thrift.TProtocol) (err ... method writeField1 (line 601) | func (p *RatingServiceRatingsArgs) writeField1(oprot thrift.TProtocol)... method String (line 618) | func (p *RatingServiceRatingsArgs) String() string { method DeepEqual (line 625) | func (p *RatingServiceRatingsArgs) DeepEqual(ano *RatingServiceRatings... method Field1DeepEqual (line 637) | func (p *RatingServiceRatingsArgs) Field1DeepEqual(src *RatingReq) bool { function NewRatingServiceRatingsArgs (line 481) | func NewRatingServiceRatingsArgs() *RatingServiceRatingsArgs { type RatingServiceRatingsResult (line 645) | type RatingServiceRatingsResult struct method GetSuccess (line 655) | func (p *RatingServiceRatingsResult) GetSuccess() (v *RatingResp) { method SetSuccess (line 661) | func (p *RatingServiceRatingsResult) SetSuccess(x interface{}) { method IsSetSuccess (line 669) | func (p *RatingServiceRatingsResult) IsSetSuccess() bool { method Read (line 673) | func (p *RatingServiceRatingsResult) Read(iprot thrift.TProtocol) (err... method ReadField0 (line 732) | func (p *RatingServiceRatingsResult) ReadField0(iprot thrift.TProtocol... method Write (line 740) | func (p *RatingServiceRatingsResult) Write(oprot thrift.TProtocol) (er... method writeField0 (line 769) | func (p *RatingServiceRatingsResult) writeField0(oprot thrift.TProtoco... method String (line 788) | func (p *RatingServiceRatingsResult) String() string { method DeepEqual (line 795) | func (p *RatingServiceRatingsResult) DeepEqual(ano *RatingServiceRatin... method Field0DeepEqual (line 807) | func (p *RatingServiceRatingsResult) Field0DeepEqual(src *RatingResp) ... function NewRatingServiceRatingsResult (line 649) | func NewRatingServiceRatingsResult() *RatingServiceRatingsResult { FILE: bookinfo/kitex_gen/cwg/bookinfo/ratings/ratingservice/client.go type Client (line 13) | type Client interface function NewClient (line 18) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 34) | func MustNewClient(destService string, opts ...client.Option) Client { type kRatingServiceClient (line 42) | type kRatingServiceClient struct method Ratings (line 46) | func (p *kRatingServiceClient) Ratings(ctx context.Context, req *ratin... FILE: bookinfo/kitex_gen/cwg/bookinfo/ratings/ratingservice/invoker.go function NewInvoker (line 11) | func NewInvoker(handler ratings.RatingService, opts ...server.Option) se... FILE: bookinfo/kitex_gen/cwg/bookinfo/ratings/ratingservice/ratingservice.go function serviceInfo (line 12) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 18) | func NewServiceInfo() *kitex.ServiceInfo { function ratingsHandler (line 38) | func ratingsHandler(ctx context.Context, handler interface{}, arg, resul... function newRatingServiceRatingsArgs (line 48) | func newRatingServiceRatingsArgs() interface{} { function newRatingServiceRatingsResult (line 52) | func newRatingServiceRatingsResult() interface{} { type kClient (line 56) | type kClient struct method Ratings (line 66) | func (p *kClient) Ratings(ctx context.Context, req *ratings.RatingReq)... function newServiceClient (line 60) | func newServiceClient(c client.Client) *kClient { FILE: bookinfo/kitex_gen/cwg/bookinfo/ratings/ratingservice/server.go function NewServer (line 10) | func NewServer(handler ratings.RatingService, opts ...server.Option) ser... FILE: bookinfo/kitex_gen/cwg/bookinfo/reviews/k-reviews.go method FastRead (line 28) | func (p *Review) FastRead(buf []byte) (int, error) { method FastReadField1 (line 128) | func (p *Review) FastReadField1(buf []byte) (int, error) { method FastReadField2 (line 142) | func (p *Review) FastReadField2(buf []byte) (int, error) { method FastWrite (line 157) | func (p *Review) FastWrite(buf []byte) int { method FastWriteNocopy (line 161) | func (p *Review) FastWriteNocopy(buf []byte, binaryWriter bthrift.Binary... method BLength (line 173) | func (p *Review) BLength() int { method fastWriteField1 (line 185) | func (p *Review) fastWriteField1(buf []byte, binaryWriter bthrift.Binary... method fastWriteField2 (line 194) | func (p *Review) fastWriteField2(buf []byte, binaryWriter bthrift.Binary... method field1Length (line 203) | func (p *Review) field1Length() int { method field2Length (line 212) | func (p *Review) field2Length() int { method FastRead (line 221) | func (p *ReviewReq) FastRead(buf []byte) (int, error) { method FastReadField1 (line 300) | func (p *ReviewReq) FastReadField1(buf []byte) (int, error) { method FastWrite (line 315) | func (p *ReviewReq) FastWrite(buf []byte) int { method FastWriteNocopy (line 319) | func (p *ReviewReq) FastWriteNocopy(buf []byte, binaryWriter bthrift.Bin... method BLength (line 330) | func (p *ReviewReq) BLength() int { method fastWriteField1 (line 341) | func (p *ReviewReq) fastWriteField1(buf []byte, binaryWriter bthrift.Bin... method field1Length (line 350) | func (p *ReviewReq) field1Length() int { method FastRead (line 359) | func (p *ReviewResp) FastRead(buf []byte) (int, error) { method FastReadField1 (line 438) | func (p *ReviewResp) FastReadField1(buf []byte) (int, error) { method FastWrite (line 452) | func (p *ReviewResp) FastWrite(buf []byte) int { method FastWriteNocopy (line 456) | func (p *ReviewResp) FastWriteNocopy(buf []byte, binaryWriter bthrift.Bi... method BLength (line 467) | func (p *ReviewResp) BLength() int { method fastWriteField1 (line 478) | func (p *ReviewResp) fastWriteField1(buf []byte, binaryWriter bthrift.Bi... method field1Length (line 486) | func (p *ReviewResp) field1Length() int { method FastRead (line 494) | func (p *ReviewsServiceReviewProductArgs) FastRead(buf []byte) (int, err... method FastReadField1 (line 565) | func (p *ReviewsServiceReviewProductArgs) FastReadField1(buf []byte) (in... method FastWrite (line 579) | func (p *ReviewsServiceReviewProductArgs) FastWrite(buf []byte) int { method FastWriteNocopy (line 583) | func (p *ReviewsServiceReviewProductArgs) FastWriteNocopy(buf []byte, bi... method BLength (line 594) | func (p *ReviewsServiceReviewProductArgs) BLength() int { method fastWriteField1 (line 605) | func (p *ReviewsServiceReviewProductArgs) fastWriteField1(buf []byte, bi... method field1Length (line 613) | func (p *ReviewsServiceReviewProductArgs) field1Length() int { method FastRead (line 621) | func (p *ReviewsServiceReviewProductResult) FastRead(buf []byte) (int, e... method FastReadField0 (line 692) | func (p *ReviewsServiceReviewProductResult) FastReadField0(buf []byte) (... method FastWrite (line 706) | func (p *ReviewsServiceReviewProductResult) FastWrite(buf []byte) int { method FastWriteNocopy (line 710) | func (p *ReviewsServiceReviewProductResult) FastWriteNocopy(buf []byte, ... method BLength (line 721) | func (p *ReviewsServiceReviewProductResult) BLength() int { method fastWriteField0 (line 732) | func (p *ReviewsServiceReviewProductResult) fastWriteField0(buf []byte, ... method field0Length (line 742) | func (p *ReviewsServiceReviewProductResult) field0Length() int { method GetFirstArgument (line 752) | func (p *ReviewsServiceReviewProductArgs) GetFirstArgument() interface{} { method GetResult (line 756) | func (p *ReviewsServiceReviewProductResult) GetResult() interface{} { FILE: bookinfo/kitex_gen/cwg/bookinfo/reviews/reviews.go type ReviewType (line 14) | type ReviewType method String (line 22) | func (p ReviewType) String() string { method Scan (line 47) | func (p *ReviewType) Scan(value interface{}) (err error) { method Value (line 54) | func (p *ReviewType) Value() (driver.Value, error) { constant ReviewType_Local (line 17) | ReviewType_Local ReviewType = 0 constant ReviewType_Blue (line 18) | ReviewType_Blue ReviewType = 1 constant ReviewType_Green (line 19) | ReviewType_Green ReviewType = 2 function ReviewTypeFromString (line 34) | func ReviewTypeFromString(s string) (ReviewType, error) { function ReviewTypePtr (line 46) | func ReviewTypePtr(v ReviewType) *ReviewType { return &v } type Review (line 61) | type Review struct method GetType (line 70) | func (p *Review) GetType() (v ReviewType) { method GetRating (line 74) | func (p *Review) GetRating() (v int8) { method SetType (line 77) | func (p *Review) SetType(val ReviewType) { method SetRating (line 80) | func (p *Review) SetRating(val int8) { method Read (line 89) | func (p *Review) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 173) | func (p *Review) ReadField1(iprot thrift.TProtocol) error { method ReadField2 (line 182) | func (p *Review) ReadField2(iprot thrift.TProtocol) error { method Write (line 191) | func (p *Review) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 224) | func (p *Review) writeField1(oprot thrift.TProtocol) (err error) { method writeField2 (line 241) | func (p *Review) writeField2(oprot thrift.TProtocol) (err error) { method String (line 258) | func (p *Review) String() string { method DeepEqual (line 265) | func (p *Review) DeepEqual(ano *Review) bool { method Field1DeepEqual (line 280) | func (p *Review) Field1DeepEqual(src ReviewType) bool { method Field2DeepEqual (line 287) | func (p *Review) Field2DeepEqual(src int8) bool { function NewReview (line 66) | func NewReview() *Review { type ReviewReq (line 295) | type ReviewReq struct method GetProductID (line 303) | func (p *ReviewReq) GetProductID() (v string) { method SetProductID (line 306) | func (p *ReviewReq) SetProductID(val string) { method Read (line 314) | func (p *ReviewReq) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 381) | func (p *ReviewReq) ReadField1(iprot thrift.TProtocol) error { method Write (line 390) | func (p *ReviewReq) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 419) | func (p *ReviewReq) writeField1(oprot thrift.TProtocol) (err error) { method String (line 436) | func (p *ReviewReq) String() string { method DeepEqual (line 443) | func (p *ReviewReq) DeepEqual(ano *ReviewReq) bool { method Field1DeepEqual (line 455) | func (p *ReviewReq) Field1DeepEqual(src string) bool { function NewReviewReq (line 299) | func NewReviewReq() *ReviewReq { type ReviewResp (line 463) | type ReviewResp struct method GetReview (line 473) | func (p *ReviewResp) GetReview() (v *Review) { method SetReview (line 479) | func (p *ReviewResp) SetReview(val *Review) { method IsSetReview (line 487) | func (p *ReviewResp) IsSetReview() bool { method Read (line 491) | func (p *ReviewResp) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 558) | func (p *ReviewResp) ReadField1(iprot thrift.TProtocol) error { method Write (line 566) | func (p *ReviewResp) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 595) | func (p *ReviewResp) writeField1(oprot thrift.TProtocol) (err error) { method String (line 612) | func (p *ReviewResp) String() string { method DeepEqual (line 619) | func (p *ReviewResp) DeepEqual(ano *ReviewResp) bool { method Field1DeepEqual (line 631) | func (p *ReviewResp) Field1DeepEqual(src *Review) bool { function NewReviewResp (line 467) | func NewReviewResp() *ReviewResp { type ReviewsService (line 639) | type ReviewsService interface type ReviewsServiceClient (line 643) | type ReviewsServiceClient struct method Client_ (line 665) | func (p *ReviewsServiceClient) Client_() thrift.TClient { method ReviewProduct (line 669) | func (p *ReviewsServiceClient) ReviewProduct(ctx context.Context, req ... function NewReviewsServiceClientFactory (line 647) | func NewReviewsServiceClientFactory(t thrift.TTransport, f thrift.TProto... function NewReviewsServiceClientProtocol (line 653) | func NewReviewsServiceClientProtocol(t thrift.TTransport, iprot thrift.T... function NewReviewsServiceClient (line 659) | func NewReviewsServiceClient(c thrift.TClient) *ReviewsServiceClient { type ReviewsServiceProcessor (line 679) | type ReviewsServiceProcessor struct method AddToProcessorMap (line 684) | func (p *ReviewsServiceProcessor) AddToProcessorMap(key string, proces... method GetProcessorFunction (line 688) | func (p *ReviewsServiceProcessor) GetProcessorFunction(key string) (pr... method ProcessorMap (line 693) | func (p *ReviewsServiceProcessor) ProcessorMap() map[string]thrift.TPr... method Process (line 702) | func (p *ReviewsServiceProcessor) Process(ctx context.Context, iprot, ... function NewReviewsServiceProcessor (line 697) | func NewReviewsServiceProcessor(handler ReviewsService) *ReviewsServiceP... type reviewsServiceProcessorReviewProduct (line 720) | type reviewsServiceProcessorReviewProduct struct method Process (line 724) | func (p *reviewsServiceProcessorReviewProduct) Process(ctx context.Con... type ReviewsServiceReviewProductArgs (line 768) | type ReviewsServiceReviewProductArgs struct method GetReq (line 778) | func (p *ReviewsServiceReviewProductArgs) GetReq() (v *ReviewReq) { method SetReq (line 784) | func (p *ReviewsServiceReviewProductArgs) SetReq(val *ReviewReq) { method IsSetReq (line 792) | func (p *ReviewsServiceReviewProductArgs) IsSetReq() bool { method Read (line 796) | func (p *ReviewsServiceReviewProductArgs) Read(iprot thrift.TProtocol)... method ReadField1 (line 855) | func (p *ReviewsServiceReviewProductArgs) ReadField1(iprot thrift.TPro... method Write (line 863) | func (p *ReviewsServiceReviewProductArgs) Write(oprot thrift.TProtocol... method writeField1 (line 892) | func (p *ReviewsServiceReviewProductArgs) writeField1(oprot thrift.TPr... method String (line 909) | func (p *ReviewsServiceReviewProductArgs) String() string { method DeepEqual (line 916) | func (p *ReviewsServiceReviewProductArgs) DeepEqual(ano *ReviewsServic... method Field1DeepEqual (line 928) | func (p *ReviewsServiceReviewProductArgs) Field1DeepEqual(src *ReviewR... function NewReviewsServiceReviewProductArgs (line 772) | func NewReviewsServiceReviewProductArgs() *ReviewsServiceReviewProductAr... type ReviewsServiceReviewProductResult (line 936) | type ReviewsServiceReviewProductResult struct method GetSuccess (line 946) | func (p *ReviewsServiceReviewProductResult) GetSuccess() (v *ReviewRes... method SetSuccess (line 952) | func (p *ReviewsServiceReviewProductResult) SetSuccess(x interface{}) { method IsSetSuccess (line 960) | func (p *ReviewsServiceReviewProductResult) IsSetSuccess() bool { method Read (line 964) | func (p *ReviewsServiceReviewProductResult) Read(iprot thrift.TProtoco... method ReadField0 (line 1023) | func (p *ReviewsServiceReviewProductResult) ReadField0(iprot thrift.TP... method Write (line 1031) | func (p *ReviewsServiceReviewProductResult) Write(oprot thrift.TProtoc... method writeField0 (line 1060) | func (p *ReviewsServiceReviewProductResult) writeField0(oprot thrift.T... method String (line 1079) | func (p *ReviewsServiceReviewProductResult) String() string { method DeepEqual (line 1086) | func (p *ReviewsServiceReviewProductResult) DeepEqual(ano *ReviewsServ... method Field0DeepEqual (line 1098) | func (p *ReviewsServiceReviewProductResult) Field0DeepEqual(src *Revie... function NewReviewsServiceReviewProductResult (line 940) | func NewReviewsServiceReviewProductResult() *ReviewsServiceReviewProduct... FILE: bookinfo/kitex_gen/cwg/bookinfo/reviews/reviewsservice/client.go type Client (line 13) | type Client interface function NewClient (line 18) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 34) | func MustNewClient(destService string, opts ...client.Option) Client { type kReviewsServiceClient (line 42) | type kReviewsServiceClient struct method ReviewProduct (line 46) | func (p *kReviewsServiceClient) ReviewProduct(ctx context.Context, req... FILE: bookinfo/kitex_gen/cwg/bookinfo/reviews/reviewsservice/invoker.go function NewInvoker (line 11) | func NewInvoker(handler reviews.ReviewsService, opts ...server.Option) s... FILE: bookinfo/kitex_gen/cwg/bookinfo/reviews/reviewsservice/reviewsservice.go function serviceInfo (line 12) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 18) | func NewServiceInfo() *kitex.ServiceInfo { function reviewProductHandler (line 38) | func reviewProductHandler(ctx context.Context, handler interface{}, arg,... function newReviewsServiceReviewProductArgs (line 48) | func newReviewsServiceReviewProductArgs() interface{} { function newReviewsServiceReviewProductResult (line 52) | func newReviewsServiceReviewProductResult() interface{} { type kClient (line 56) | type kClient struct method ReviewProduct (line 66) | func (p *kClient) ReviewProduct(ctx context.Context, req *reviews.Revi... function newServiceClient (line 60) | func newServiceClient(c client.Client) *kClient { FILE: bookinfo/kitex_gen/cwg/bookinfo/reviews/reviewsservice/server.go function NewServer (line 10) | func NewServer(handler reviews.ReviewsService, opts ...server.Option) se... FILE: bookinfo/pkg/configparser/config.go type Provider (line 19) | type Provider interface function Default (line 25) | func Default() Provider { FILE: bookinfo/pkg/configparser/parser.go type Parser (line 25) | type Parser struct method UnmarshalExact (line 34) | func (l *Parser) UnmarshalExact(intoCfg interface{}) error { function newViper (line 29) | func newViper() *viper.Viper { function NewParserFromFile (line 39) | func NewParserFromFile(fileName string) (*Parser, error) { FILE: bookinfo/pkg/configparser/provider_file.go type fileProvider (line 23) | type fileProvider struct method Get (line 31) | func (fl *fileProvider) Get() (*Parser, error) { function NewFile (line 26) | func NewFile() Provider { FILE: bookinfo/pkg/configparser/provider_flags.go constant configFlagName (line 23) | configFlagName = "config" function Flags (line 29) | func Flags(flags *pflag.FlagSet) { function getConfigFlag (line 33) | func getConfigFlag() string { FILE: bookinfo/pkg/constants/env.go constant EnableRatingsEnvKey (line 20) | EnableRatingsEnvKey = "ENABLE_RATINGS" constant RatingsValueEnvKey (line 22) | RatingsValueEnvKey = "RATINGS_VALUE" constant Enable (line 26) | Enable = "enable" constant Disable (line 27) | Disable = "disable" FILE: bookinfo/pkg/constants/service.go constant RatingsServiceName (line 20) | RatingsServiceName = "ratings" constant ProductpageServiceName (line 22) | ProductpageServiceName = "productpage" constant ReviewsServiceName (line 24) | ReviewsServiceName = "reviews" constant DetailsServiceName (line 26) | DetailsServiceName = "details" constant IstiodSvrName (line 31) | IstiodSvrName = "istiod.istio-system.svc" FILE: bookinfo/pkg/injectors/provide_details.go type DetailsClientOptions (line 32) | type DetailsClientOptions struct function DefaultDetailsClientOptions (line 40) | func DefaultDetailsClientOptions() *DetailsClientOptions { function ProvideDetailsClient (line 53) | func ProvideDetailsClient(opts *DetailsClientOptions) (detailsservice.Cl... FILE: bookinfo/pkg/injectors/provide_ratings.go type RatingsClientOptions (line 32) | type RatingsClientOptions struct function DefaultRatingsClientOptions (line 39) | func DefaultRatingsClientOptions() *RatingsClientOptions { function ProvideRatingsClient (line 52) | func ProvideRatingsClient(opts *RatingsClientOptions) (ratingservice.Cli... FILE: bookinfo/pkg/injectors/provide_reviews.go type ReviewClientOptions (line 32) | type ReviewClientOptions struct function DefaultReviewClientOptions (line 40) | func DefaultReviewClientOptions() *ReviewClientOptions { function ProvideReviewClient (line 53) | func ProvideReviewClient(opts *ReviewClientOptions) (reviewsservice.Clie... FILE: bookinfo/pkg/metadata/propagator.go type metadataProvider (line 28) | type metadataProvider struct method Get (line 33) | func (m *metadataProvider) Get(key string) string { method Set (line 41) | func (m *metadataProvider) Set(key, value string) { method Keys (line 46) | func (m *metadataProvider) Keys() []string { function ExtractFromPropagator (line 55) | func ExtractFromPropagator(ctx context.Context) map[string]string { FILE: bookinfo/pkg/utils/logutils/level.go type Level (line 24) | type Level method KitexLogLevel (line 37) | func (level Level) KitexLogLevel() klog.Level { constant LevelTrace (line 27) | LevelTrace Level = "trace" constant LevelDebug (line 28) | LevelDebug Level = "debug" constant LevelInfo (line 29) | LevelInfo Level = "info" constant LevelNotice (line 30) | LevelNotice Level = "notice" constant LevelWarn (line 31) | LevelWarn Level = "warn" constant LevelError (line 32) | LevelError Level = "error" constant LevelFatal (line 33) | LevelFatal Level = "fatal" FILE: bookinfo/pkg/version/version.go type Info (line 25) | type Info struct method Pretty (line 38) | func (info Info) Pretty() string { method String (line 44) | func (info Info) String() string { function Get (line 51) | func Get() Info { FILE: easy_note/api_request/api_service/api_service.go type Client (line 34) | type Client interface type ApiServiceClient (line 48) | type ApiServiceClient struct method CreateUser (line 63) | func (s *ApiServiceClient) CreateUser(context context.Context, req *de... method CheckUser (line 87) | func (s *ApiServiceClient) CheckUser(context context.Context, req *dem... method CreateNote (line 111) | func (s *ApiServiceClient) CreateNote(context context.Context, req *de... method QueryNote (line 133) | func (s *ApiServiceClient) QueryNote(context context.Context, req *dem... method UpdateNote (line 160) | func (s *ApiServiceClient) UpdateNote(context context.Context, req *de... method DeleteNote (line 186) | func (s *ApiServiceClient) DeleteNote(context context.Context, req *de... function NewApiServiceClient (line 52) | func NewApiServiceClient(hostUrl string, ops ...Option) (Client, error) { function ConfigDefaultClient (line 212) | func ConfigDefaultClient(ops ...Option) (err error) { function CreateUser (line 217) | func CreateUser(context context.Context, req *demoapi.CreateUserRequest,... function CheckUser (line 221) | func CheckUser(context context.Context, req *demoapi.CheckUserRequest, r... function CreateNote (line 225) | func CreateNote(context context.Context, req *demoapi.CreateNoteRequest,... function QueryNote (line 229) | func QueryNote(context context.Context, req *demoapi.QueryNoteRequest, r... function UpdateNote (line 233) | func UpdateNote(context context.Context, req *demoapi.UpdateNoteRequest,... function DeleteNote (line 237) | func DeleteNote(context context.Context, req *demoapi.DeleteNoteRequest,... FILE: easy_note/api_request/api_service/hertz_client.go type use (line 39) | type use interface type ResponseResultDecider (line 44) | type ResponseResultDecider type bindRequestBodyFunc (line 47) | type bindRequestBodyFunc type beforeRequestFunc (line 48) | type beforeRequestFunc type afterResponseFunc (line 49) | type afterResponseFunc type Option (line 65) | type Option struct type Options (line 69) | type Options struct function getOptions (line 79) | func getOptions(ops ...Option) *Options { function WithHertzClientOption (line 88) | func WithHertzClientOption(opt ...config.ClientOption) Option { function WithHertzClientMiddleware (line 95) | func WithHertzClientMiddleware(mws ...hertz_client.Middleware) Option { function WithHertzClient (line 102) | func WithHertzClient(client client.Doer) Option { function WithHeader (line 109) | func WithHeader(header http.Header) Option { function WithResponseResultDecider (line 116) | func WithResponseResultDecider(decider ResponseResultDecider) Option { function withHostUrl (line 122) | func withHostUrl(HostUrl string) Option { type cli (line 129) | type cli struct method Use (line 140) | func (c *cli) Use(mws ...hertz_client.Middleware) error { method execute (line 188) | func (c *cli) execute(req *request) (*response, error) { method r (line 240) | func (c *cli) r() *request { function newClient (line 149) | func newClient(opts *Options) (*cli, error) { type response (line 251) | type response struct method statusCode (line 260) | func (r *response) statusCode() int { method body (line 269) | func (r *response) body() []byte { method header (line 277) | func (r *response) header() http.Header { type request (line 289) | type request struct method setContext (line 306) | func (r *request) setContext(ctx context.Context) *request { method context (line 311) | func (r *request) context() context.Context { method setHeader (line 315) | func (r *request) setHeader(header, value string) *request { method setQueryParam (line 320) | func (r *request) setQueryParam(param string, value interface{}) *requ... method setResult (line 333) | func (r *request) setResult(res interface{}) *request { method setError (line 338) | func (r *request) setError(err interface{}) *request { method setHeaders (line 343) | func (r *request) setHeaders(headers map[string]string) *request { method setQueryParams (line 351) | func (r *request) setQueryParams(params map[string]interface{}) *reque... method setPathParams (line 359) | func (r *request) setPathParams(params map[string]string) *request { method setFormParams (line 366) | func (r *request) setFormParams(params map[string]string) *request { method setFormFileParams (line 373) | func (r *request) setFormFileParams(params map[string]string) *request { method setBodyParam (line 380) | func (r *request) setBodyParam(body interface{}) *request { method setRequestOption (line 385) | func (r *request) setRequestOption(option ...config.RequestOption) *re... method execute (line 390) | func (r *request) execute(method, url string) (*response, error) { function parseRequestURL (line 396) | func parseRequestURL(c *cli, r *request) error { function isStringEmpty (line 448) | func isStringEmpty(str string) bool { function parseRequestHeader (line 452) | func parseRequestHeader(c *cli, r *request) error { function detectContentType (line 474) | func detectContentType(body interface{}) string { function defaultRequestBodyBind (line 493) | func defaultRequestBodyBind(c *cli, r *request) (contentType string, bod... function isPayloadSupported (line 516) | func isPayloadSupported(m string) bool { function createHTTPRequest (line 520) | func createHTTPRequest(c *cli, r *request) (err error) { function silently (line 544) | func silently(_ ...interface{}) {} function defaultResponseResultDecider (line 547) | func defaultResponseResultDecider(statusCode int, rawResponse *protocol.... function isJSONType (line 552) | func isJSONType(ct string) bool { function isXMLType (line 557) | func isXMLType(ct string) bool { function parseResponseBody (line 561) | func parseResponseBody(c *cli, res *response) (err error) { function unmarshalContent (line 594) | func unmarshalContent(ct string, b []byte, d interface{}) (err error) { FILE: easy_note/api_request/main.go function main (line 31) | func main() { function CreateUser (line 52) | func CreateUser() { function CheckUser (line 65) | func CheckUser() { function CreateNote (line 89) | func CreateNote() { function QueryNote (line 104) | func QueryNote() { function UpdateNote (line 120) | func UpdateNote() { function DeleteNote (line 138) | func DeleteNote() { FILE: easy_note/cmd/api/hertz_handler/demoapi/api_service.go function CreateUser (line 36) | func CreateUser(ctx context.Context, c *app.RequestContext) { function CheckUser (line 57) | func CheckUser(ctx context.Context, c *app.RequestContext) { function CreateNote (line 63) | func CreateNote(ctx context.Context, c *app.RequestContext) { function QueryNote (line 86) | func QueryNote(ctx context.Context, c *app.RequestContext) { function UpdateNote (line 113) | func UpdateNote(ctx context.Context, c *app.RequestContext) { function DeleteNote (line 137) | func DeleteNote(ctx context.Context, c *app.RequestContext) { FILE: easy_note/cmd/api/hertz_handler/demoapi/handler.go type Response (line 24) | type Response struct function SendResponse (line 31) | func SendResponse(c *app.RequestContext, err error, data interface{}) { FILE: easy_note/cmd/api/hertz_handler/ping.go function Ping (line 29) | func Ping(ctx context.Context, c *app.RequestContext) { FILE: easy_note/cmd/api/hertz_router/demoapi/api.go function Register (line 32) | func Register(r *server.Hertz) { FILE: easy_note/cmd/api/hertz_router/demoapi/middleware.go function rootMw (line 36) | func rootMw() []app.HandlerFunc { function _v1Mw (line 61) | func _v1Mw() []app.HandlerFunc { function _noteMw (line 66) | func _noteMw() []app.HandlerFunc { function _updatenoteMw (line 74) | func _updatenoteMw() []app.HandlerFunc { function _deletenoteMw (line 79) | func _deletenoteMw() []app.HandlerFunc { function _querynoteMw (line 84) | func _querynoteMw() []app.HandlerFunc { function _userMw (line 89) | func _userMw() []app.HandlerFunc { function _checkuserMw (line 94) | func _checkuserMw() []app.HandlerFunc { function _createuserMw (line 99) | func _createuserMw() []app.HandlerFunc { FILE: easy_note/cmd/api/hertz_router/register.go function GeneratedRegister (line 26) | func GeneratedRegister(r *server.Hertz) { FILE: easy_note/cmd/api/main.go function Init (line 33) | func Init() { function main (line 41) | func main() { FILE: easy_note/cmd/api/mw/jwt.go function InitJWT (line 37) | func InitJWT() { FILE: easy_note/cmd/api/router.go function customizedRegister (line 31) | func customizedRegister(r *server.Hertz) { FILE: easy_note/cmd/api/router_gen.go function register (line 26) | func register(r *server.Hertz) { FILE: easy_note/cmd/api/rpc/init.go function Init (line 18) | func Init() { FILE: easy_note/cmd/api/rpc/note.go function initNote (line 34) | func initNote() { function CreateNote (line 55) | func CreateNote(ctx context.Context, req *demonote.CreateNoteRequest) er... function QueryNotes (line 67) | func QueryNotes(ctx context.Context, req *demonote.QueryNoteRequest) ([]... function UpdateNote (line 79) | func UpdateNote(ctx context.Context, req *demonote.UpdateNoteRequest) er... function DeleteNote (line 91) | func DeleteNote(ctx context.Context, req *demonote.DeleteNoteRequest) er... FILE: easy_note/cmd/api/rpc/user.go function initUser (line 34) | func initUser() { function CreateUser (line 55) | func CreateUser(ctx context.Context, req *demouser.CreateUserRequest) er... function CheckUser (line 67) | func CheckUser(ctx context.Context, req *demouser.CheckUserRequest) (int... FILE: easy_note/cmd/note/dal/db/init.go function Init (line 32) | func Init() { FILE: easy_note/cmd/note/dal/db/note.go type Note (line 25) | type Note struct method TableName (line 32) | func (n *Note) TableName() string { function CreateNote (line 37) | func CreateNote(ctx context.Context, notes []*Note) error { function MGetNotes (line 45) | func MGetNotes(ctx context.Context, noteIDs []int64) ([]*Note, error) { function UpdateNote (line 58) | func UpdateNote(ctx context.Context, noteID, userID int64, title, conten... function DeleteNote (line 71) | func DeleteNote(ctx context.Context, noteID, userID int64) error { function QueryNote (line 76) | func QueryNote(ctx context.Context, userID int64, searchKey *string, lim... FILE: easy_note/cmd/note/dal/init.go function Init (line 21) | func Init() { FILE: easy_note/cmd/note/handler.go type NoteServiceImpl (line 29) | type NoteServiceImpl struct method CreateNote (line 32) | func (s *NoteServiceImpl) CreateNote(ctx context.Context, req *demonot... method DeleteNote (line 50) | func (s *NoteServiceImpl) DeleteNote(ctx context.Context, req *demonot... method UpdateNote (line 68) | func (s *NoteServiceImpl) UpdateNote(ctx context.Context, req *demonot... method QueryNote (line 86) | func (s *NoteServiceImpl) QueryNote(ctx context.Context, req *demonote... method MGetNote (line 110) | func (s *NoteServiceImpl) MGetNote(ctx context.Context, req *demonote.... FILE: easy_note/cmd/note/main.go function Init (line 37) | func Init() { function main (line 45) | func main() { FILE: easy_note/cmd/note/pack/note.go function Note (line 24) | func Note(m *db.Note) *demonote.Note { function Notes (line 39) | func Notes(ms []*db.Note) []*demonote.Note { function UserIds (line 49) | func UserIds(ms []*db.Note) []int64 { FILE: easy_note/cmd/note/pack/resp.go function BuildBaseResp (line 27) | func BuildBaseResp(err error) *demonote.BaseResp { function baseResp (line 39) | func baseResp(err errno.ErrNo) *demonote.BaseResp { FILE: easy_note/cmd/note/rpc/init.go function Init (line 19) | func Init() { FILE: easy_note/cmd/note/rpc/user.go function initUser (line 35) | func initUser() { function MGetUser (line 64) | func MGetUser(ctx context.Context, req *demouser.MGetUserRequest) (map[i... FILE: easy_note/cmd/note/service/create_note.go type CreateNoteService (line 25) | type CreateNoteService struct method CreateNote (line 35) | func (s *CreateNoteService) CreateNote(req *demonote.CreateNoteRequest... function NewCreateNoteService (line 30) | func NewCreateNoteService(ctx context.Context) *CreateNoteService { FILE: easy_note/cmd/note/service/delete_note.go type DelNoteService (line 25) | type DelNoteService struct method DelNote (line 37) | func (s *DelNoteService) DelNote(req *demonote.DeleteNoteRequest) error { function NewDelNoteService (line 30) | func NewDelNoteService(ctx context.Context) *DelNoteService { FILE: easy_note/cmd/note/service/mget_note.go type MGetNoteService (line 28) | type MGetNoteService struct method MGetNote (line 38) | func (s *MGetNoteService) MGetNote(req *demonote.MGetNoteRequest) ([]*... function NewMGetNoteService (line 33) | func NewMGetNoteService(ctx context.Context) *MGetNoteService { FILE: easy_note/cmd/note/service/query_note.go type QueryNoteService (line 28) | type QueryNoteService struct method QueryNoteService (line 38) | func (s *QueryNoteService) QueryNoteService(req *demonote.QueryNoteReq... function NewQueryNoteService (line 33) | func NewQueryNoteService(ctx context.Context) *QueryNoteService { FILE: easy_note/cmd/note/service/update_note.go type UpdateNoteService (line 25) | type UpdateNoteService struct method UpdateNote (line 35) | func (s *UpdateNoteService) UpdateNote(req *demonote.UpdateNoteRequest... function NewUpdateNoteService (line 30) | func NewUpdateNoteService(ctx context.Context) *UpdateNoteService { FILE: easy_note/cmd/user/dal/db/init.go function Init (line 32) | func Init() { FILE: easy_note/cmd/user/dal/db/user.go type User (line 25) | type User struct method TableName (line 31) | func (u *User) TableName() string { function MGetUsers (line 36) | func MGetUsers(ctx context.Context, userIDs []int64) ([]*User, error) { function CreateUser (line 49) | func CreateUser(ctx context.Context, users []*User) error { function QueryUser (line 54) | func QueryUser(ctx context.Context, userName string) ([]*User, error) { FILE: easy_note/cmd/user/dal/init.go function Init (line 21) | func Init() { FILE: easy_note/cmd/user/handler.go type UserServiceImpl (line 28) | type UserServiceImpl struct method CreateUser (line 31) | func (s *UserServiceImpl) CreateUser(ctx context.Context, req *demouse... method MGetUser (line 50) | func (s *UserServiceImpl) MGetUser(ctx context.Context, req *demouser.... method CheckUser (line 70) | func (s *UserServiceImpl) CheckUser(ctx context.Context, req *demouser... FILE: easy_note/cmd/user/main.go function Init (line 36) | func Init() { function main (line 43) | func main() { FILE: easy_note/cmd/user/pack/resp.go function BuildBaseResp (line 27) | func BuildBaseResp(err error) *demouser.BaseResp { function baseResp (line 41) | func baseResp(err errno.ErrNo) *demouser.BaseResp { FILE: easy_note/cmd/user/pack/user.go function User (line 24) | func User(u *db.User) *demouser.User { function Users (line 33) | func Users(us []*db.User) []*demouser.User { FILE: easy_note/cmd/user/service/check_user.go type CheckUserService (line 29) | type CheckUserService struct method CheckUser (line 41) | func (s *CheckUserService) CheckUser(req *demouser.CheckUserRequest) (... function NewCheckUserService (line 34) | func NewCheckUserService(ctx context.Context) *CheckUserService { FILE: easy_note/cmd/user/service/create_user.go type CreateUserService (line 29) | type CreateUserService struct method CreateUser (line 39) | func (s *CreateUserService) CreateUser(req *demouser.CreateUserRequest... function NewCreateUserService (line 34) | func NewCreateUserService(ctx context.Context) *CreateUserService { FILE: easy_note/cmd/user/service/mget_user.go type MGetUserService (line 26) | type MGetUserService struct method MGetUser (line 36) | func (s *MGetUserService) MGetUser(req *demouser.MGetUserRequest) ([]*... function NewMGetUserService (line 31) | func NewMGetUserService(ctx context.Context) *MGetUserService { FILE: easy_note/hertz_gen/demoapi/api.go type BaseResp (line 26) | type BaseResp struct method GetStatusCode (line 36) | func (p *BaseResp) GetStatusCode() (v int64) { method GetStatusMessage (line 40) | func (p *BaseResp) GetStatusMessage() (v string) { method GetServiceTime (line 44) | func (p *BaseResp) GetServiceTime() (v int64) { method Read (line 54) | func (p *BaseResp) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 133) | func (p *BaseResp) ReadField1(iprot thrift.TProtocol) error { method ReadField2 (line 142) | func (p *BaseResp) ReadField2(iprot thrift.TProtocol) error { method ReadField3 (line 151) | func (p *BaseResp) ReadField3(iprot thrift.TProtocol) error { method Write (line 160) | func (p *BaseResp) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 197) | func (p *BaseResp) writeField1(oprot thrift.TProtocol) (err error) { method writeField2 (line 214) | func (p *BaseResp) writeField2(oprot thrift.TProtocol) (err error) { method writeField3 (line 231) | func (p *BaseResp) writeField3(oprot thrift.TProtocol) (err error) { method String (line 248) | func (p *BaseResp) String() string { function NewBaseResp (line 32) | func NewBaseResp() *BaseResp { type User (line 255) | type User struct method GetUserID (line 265) | func (p *User) GetUserID() (v int64) { method GetUsername (line 269) | func (p *User) GetUsername() (v string) { method GetAvatar (line 273) | func (p *User) GetAvatar() (v string) { method Read (line 283) | func (p *User) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 362) | func (p *User) ReadField1(iprot thrift.TProtocol) error { method ReadField2 (line 371) | func (p *User) ReadField2(iprot thrift.TProtocol) error { method ReadField3 (line 380) | func (p *User) ReadField3(iprot thrift.TProtocol) error { method Write (line 389) | func (p *User) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 426) | func (p *User) writeField1(oprot thrift.TProtocol) (err error) { method writeField2 (line 443) | func (p *User) writeField2(oprot thrift.TProtocol) (err error) { method writeField3 (line 460) | func (p *User) writeField3(oprot thrift.TProtocol) (err error) { method String (line 477) | func (p *User) String() string { function NewUser (line 261) | func NewUser() *User { type Note (line 484) | type Note struct method GetNoteID (line 498) | func (p *Note) GetNoteID() (v int64) { method GetUserID (line 502) | func (p *Note) GetUserID() (v int64) { method GetUsername (line 506) | func (p *Note) GetUsername() (v string) { method GetUserAvatar (line 510) | func (p *Note) GetUserAvatar() (v string) { method GetTitle (line 514) | func (p *Note) GetTitle() (v string) { method GetContent (line 518) | func (p *Note) GetContent() (v string) { method GetCreateTime (line 522) | func (p *Note) GetCreateTime() (v int64) { method Read (line 536) | func (p *Note) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 655) | func (p *Note) ReadField1(iprot thrift.TProtocol) error { method ReadField2 (line 664) | func (p *Note) ReadField2(iprot thrift.TProtocol) error { method ReadField3 (line 673) | func (p *Note) ReadField3(iprot thrift.TProtocol) error { method ReadField4 (line 682) | func (p *Note) ReadField4(iprot thrift.TProtocol) error { method ReadField5 (line 691) | func (p *Note) ReadField5(iprot thrift.TProtocol) error { method ReadField6 (line 700) | func (p *Note) ReadField6(iprot thrift.TProtocol) error { method ReadField7 (line 709) | func (p *Note) ReadField7(iprot thrift.TProtocol) error { method Write (line 718) | func (p *Note) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 771) | func (p *Note) writeField1(oprot thrift.TProtocol) (err error) { method writeField2 (line 788) | func (p *Note) writeField2(oprot thrift.TProtocol) (err error) { method writeField3 (line 805) | func (p *Note) writeField3(oprot thrift.TProtocol) (err error) { method writeField4 (line 822) | func (p *Note) writeField4(oprot thrift.TProtocol) (err error) { method writeField5 (line 839) | func (p *Note) writeField5(oprot thrift.TProtocol) (err error) { method writeField6 (line 856) | func (p *Note) writeField6(oprot thrift.TProtocol) (err error) { method writeField7 (line 873) | func (p *Note) writeField7(oprot thrift.TProtocol) (err error) { method String (line 890) | func (p *Note) String() string { function NewNote (line 494) | func NewNote() *Note { type CreateUserRequest (line 897) | type CreateUserRequest struct method GetUsername (line 906) | func (p *CreateUserRequest) GetUsername() (v string) { method GetPassword (line 910) | func (p *CreateUserRequest) GetPassword() (v string) { method Read (line 919) | func (p *CreateUserRequest) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 988) | func (p *CreateUserRequest) ReadField1(iprot thrift.TProtocol) error { method ReadField2 (line 997) | func (p *CreateUserRequest) ReadField2(iprot thrift.TProtocol) error { method Write (line 1006) | func (p *CreateUserRequest) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 1039) | func (p *CreateUserRequest) writeField1(oprot thrift.TProtocol) (err e... method writeField2 (line 1056) | func (p *CreateUserRequest) writeField2(oprot thrift.TProtocol) (err e... method String (line 1073) | func (p *CreateUserRequest) String() string { function NewCreateUserRequest (line 902) | func NewCreateUserRequest() *CreateUserRequest { type CreateUserResponse (line 1080) | type CreateUserResponse struct method GetBaseResp (line 1090) | func (p *CreateUserResponse) GetBaseResp() (v *BaseResp) { method IsSetBaseResp (line 1101) | func (p *CreateUserResponse) IsSetBaseResp() bool { method Read (line 1105) | func (p *CreateUserResponse) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 1164) | func (p *CreateUserResponse) ReadField1(iprot thrift.TProtocol) error { method Write (line 1172) | func (p *CreateUserResponse) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 1201) | func (p *CreateUserResponse) writeField1(oprot thrift.TProtocol) (err ... method String (line 1218) | func (p *CreateUserResponse) String() string { function NewCreateUserResponse (line 1084) | func NewCreateUserResponse() *CreateUserResponse { type CheckUserRequest (line 1225) | type CheckUserRequest struct method GetUsername (line 1234) | func (p *CheckUserRequest) GetUsername() (v string) { method GetPassword (line 1238) | func (p *CheckUserRequest) GetPassword() (v string) { method Read (line 1247) | func (p *CheckUserRequest) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 1316) | func (p *CheckUserRequest) ReadField1(iprot thrift.TProtocol) error { method ReadField2 (line 1325) | func (p *CheckUserRequest) ReadField2(iprot thrift.TProtocol) error { method Write (line 1334) | func (p *CheckUserRequest) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 1367) | func (p *CheckUserRequest) writeField1(oprot thrift.TProtocol) (err er... method writeField2 (line 1384) | func (p *CheckUserRequest) writeField2(oprot thrift.TProtocol) (err er... method String (line 1401) | func (p *CheckUserRequest) String() string { function NewCheckUserRequest (line 1230) | func NewCheckUserRequest() *CheckUserRequest { type CheckUserResponse (line 1408) | type CheckUserResponse struct method GetBaseResp (line 1418) | func (p *CheckUserResponse) GetBaseResp() (v *BaseResp) { method IsSetBaseResp (line 1429) | func (p *CheckUserResponse) IsSetBaseResp() bool { method Read (line 1433) | func (p *CheckUserResponse) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 1492) | func (p *CheckUserResponse) ReadField1(iprot thrift.TProtocol) error { method Write (line 1500) | func (p *CheckUserResponse) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 1529) | func (p *CheckUserResponse) writeField1(oprot thrift.TProtocol) (err e... method String (line 1546) | func (p *CheckUserResponse) String() string { function NewCheckUserResponse (line 1412) | func NewCheckUserResponse() *CheckUserResponse { type CreateNoteRequest (line 1553) | type CreateNoteRequest struct method GetTitle (line 1563) | func (p *CreateNoteRequest) GetTitle() (v string) { method GetContent (line 1567) | func (p *CreateNoteRequest) GetContent() (v string) { method GetUserID (line 1571) | func (p *CreateNoteRequest) GetUserID() (v int64) { method Read (line 1581) | func (p *CreateNoteRequest) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 1660) | func (p *CreateNoteRequest) ReadField1(iprot thrift.TProtocol) error { method ReadField2 (line 1669) | func (p *CreateNoteRequest) ReadField2(iprot thrift.TProtocol) error { method ReadField3 (line 1678) | func (p *CreateNoteRequest) ReadField3(iprot thrift.TProtocol) error { method Write (line 1687) | func (p *CreateNoteRequest) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 1724) | func (p *CreateNoteRequest) writeField1(oprot thrift.TProtocol) (err e... method writeField2 (line 1741) | func (p *CreateNoteRequest) writeField2(oprot thrift.TProtocol) (err e... method writeField3 (line 1758) | func (p *CreateNoteRequest) writeField3(oprot thrift.TProtocol) (err e... method String (line 1775) | func (p *CreateNoteRequest) String() string { function NewCreateNoteRequest (line 1559) | func NewCreateNoteRequest() *CreateNoteRequest { type CreateNoteResponse (line 1782) | type CreateNoteResponse struct method GetBaseResp (line 1792) | func (p *CreateNoteResponse) GetBaseResp() (v *BaseResp) { method IsSetBaseResp (line 1803) | func (p *CreateNoteResponse) IsSetBaseResp() bool { method Read (line 1807) | func (p *CreateNoteResponse) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 1866) | func (p *CreateNoteResponse) ReadField1(iprot thrift.TProtocol) error { method Write (line 1874) | func (p *CreateNoteResponse) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 1903) | func (p *CreateNoteResponse) writeField1(oprot thrift.TProtocol) (err ... method String (line 1920) | func (p *CreateNoteResponse) String() string { function NewCreateNoteResponse (line 1786) | func NewCreateNoteResponse() *CreateNoteResponse { type QueryNoteRequest (line 1927) | type QueryNoteRequest struct method GetUserID (line 1938) | func (p *QueryNoteRequest) GetUserID() (v int64) { method GetSearchKey (line 1944) | func (p *QueryNoteRequest) GetSearchKey() (v string) { method GetOffset (line 1951) | func (p *QueryNoteRequest) GetOffset() (v int64) { method GetLimit (line 1955) | func (p *QueryNoteRequest) GetLimit() (v int64) { method IsSetSearchKey (line 1966) | func (p *QueryNoteRequest) IsSetSearchKey() bool { method Read (line 1970) | func (p *QueryNoteRequest) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 2059) | func (p *QueryNoteRequest) ReadField1(iprot thrift.TProtocol) error { method ReadField2 (line 2068) | func (p *QueryNoteRequest) ReadField2(iprot thrift.TProtocol) error { method ReadField3 (line 2077) | func (p *QueryNoteRequest) ReadField3(iprot thrift.TProtocol) error { method ReadField4 (line 2086) | func (p *QueryNoteRequest) ReadField4(iprot thrift.TProtocol) error { method Write (line 2095) | func (p *QueryNoteRequest) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 2136) | func (p *QueryNoteRequest) writeField1(oprot thrift.TProtocol) (err er... method writeField2 (line 2153) | func (p *QueryNoteRequest) writeField2(oprot thrift.TProtocol) (err er... method writeField3 (line 2172) | func (p *QueryNoteRequest) writeField3(oprot thrift.TProtocol) (err er... method writeField4 (line 2189) | func (p *QueryNoteRequest) writeField4(oprot thrift.TProtocol) (err er... method String (line 2206) | func (p *QueryNoteRequest) String() string { function NewQueryNoteRequest (line 1934) | func NewQueryNoteRequest() *QueryNoteRequest { type QueryNoteResponse (line 2213) | type QueryNoteResponse struct method GetNotes (line 2223) | func (p *QueryNoteResponse) GetNotes() (v []*Note) { method GetTotal (line 2227) | func (p *QueryNoteResponse) GetTotal() (v int64) { method GetBaseResp (line 2233) | func (p *QueryNoteResponse) GetBaseResp() (v *BaseResp) { method IsSetBaseResp (line 2246) | func (p *QueryNoteResponse) IsSetBaseResp() bool { method Read (line 2250) | func (p *QueryNoteResponse) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 2329) | func (p *QueryNoteResponse) ReadField1(iprot thrift.TProtocol) error { method ReadField2 (line 2349) | func (p *QueryNoteResponse) ReadField2(iprot thrift.TProtocol) error { method ReadField3 (line 2358) | func (p *QueryNoteResponse) ReadField3(iprot thrift.TProtocol) error { method Write (line 2366) | func (p *QueryNoteResponse) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 2403) | func (p *QueryNoteResponse) writeField1(oprot thrift.TProtocol) (err e... method writeField2 (line 2428) | func (p *QueryNoteResponse) writeField2(oprot thrift.TProtocol) (err e... method writeField3 (line 2445) | func (p *QueryNoteResponse) writeField3(oprot thrift.TProtocol) (err e... method String (line 2462) | func (p *QueryNoteResponse) String() string { function NewQueryNoteResponse (line 2219) | func NewQueryNoteResponse() *QueryNoteResponse { type UpdateNoteRequest (line 2469) | type UpdateNoteRequest struct method GetNoteID (line 2480) | func (p *UpdateNoteRequest) GetNoteID() (v int64) { method GetUserID (line 2484) | func (p *UpdateNoteRequest) GetUserID() (v int64) { method GetTitle (line 2490) | func (p *UpdateNoteRequest) GetTitle() (v string) { method GetContent (line 2499) | func (p *UpdateNoteRequest) GetContent() (v string) { method IsSetTitle (line 2513) | func (p *UpdateNoteRequest) IsSetTitle() bool { method IsSetContent (line 2517) | func (p *UpdateNoteRequest) IsSetContent() bool { method Read (line 2521) | func (p *UpdateNoteRequest) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 2610) | func (p *UpdateNoteRequest) ReadField1(iprot thrift.TProtocol) error { method ReadField2 (line 2619) | func (p *UpdateNoteRequest) ReadField2(iprot thrift.TProtocol) error { method ReadField3 (line 2628) | func (p *UpdateNoteRequest) ReadField3(iprot thrift.TProtocol) error { method ReadField4 (line 2637) | func (p *UpdateNoteRequest) ReadField4(iprot thrift.TProtocol) error { method Write (line 2646) | func (p *UpdateNoteRequest) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 2687) | func (p *UpdateNoteRequest) writeField1(oprot thrift.TProtocol) (err e... method writeField2 (line 2704) | func (p *UpdateNoteRequest) writeField2(oprot thrift.TProtocol) (err e... method writeField3 (line 2721) | func (p *UpdateNoteRequest) writeField3(oprot thrift.TProtocol) (err e... method writeField4 (line 2740) | func (p *UpdateNoteRequest) writeField4(oprot thrift.TProtocol) (err e... method String (line 2759) | func (p *UpdateNoteRequest) String() string { function NewUpdateNoteRequest (line 2476) | func NewUpdateNoteRequest() *UpdateNoteRequest { type UpdateNoteResponse (line 2766) | type UpdateNoteResponse struct method GetBaseResp (line 2776) | func (p *UpdateNoteResponse) GetBaseResp() (v *BaseResp) { method IsSetBaseResp (line 2787) | func (p *UpdateNoteResponse) IsSetBaseResp() bool { method Read (line 2791) | func (p *UpdateNoteResponse) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 2850) | func (p *UpdateNoteResponse) ReadField1(iprot thrift.TProtocol) error { method Write (line 2858) | func (p *UpdateNoteResponse) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 2887) | func (p *UpdateNoteResponse) writeField1(oprot thrift.TProtocol) (err ... method String (line 2904) | func (p *UpdateNoteResponse) String() string { function NewUpdateNoteResponse (line 2770) | func NewUpdateNoteResponse() *UpdateNoteResponse { type DeleteNoteRequest (line 2911) | type DeleteNoteRequest struct method GetNoteID (line 2920) | func (p *DeleteNoteRequest) GetNoteID() (v int64) { method GetUserID (line 2924) | func (p *DeleteNoteRequest) GetUserID() (v int64) { method Read (line 2933) | func (p *DeleteNoteRequest) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 3002) | func (p *DeleteNoteRequest) ReadField1(iprot thrift.TProtocol) error { method ReadField2 (line 3011) | func (p *DeleteNoteRequest) ReadField2(iprot thrift.TProtocol) error { method Write (line 3020) | func (p *DeleteNoteRequest) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 3053) | func (p *DeleteNoteRequest) writeField1(oprot thrift.TProtocol) (err e... method writeField2 (line 3070) | func (p *DeleteNoteRequest) writeField2(oprot thrift.TProtocol) (err e... method String (line 3087) | func (p *DeleteNoteRequest) String() string { function NewDeleteNoteRequest (line 2916) | func NewDeleteNoteRequest() *DeleteNoteRequest { type DeleteNoteResponse (line 3094) | type DeleteNoteResponse struct method GetBaseResp (line 3104) | func (p *DeleteNoteResponse) GetBaseResp() (v *BaseResp) { method IsSetBaseResp (line 3115) | func (p *DeleteNoteResponse) IsSetBaseResp() bool { method Read (line 3119) | func (p *DeleteNoteResponse) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 3178) | func (p *DeleteNoteResponse) ReadField1(iprot thrift.TProtocol) error { method Write (line 3186) | func (p *DeleteNoteResponse) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 3215) | func (p *DeleteNoteResponse) writeField1(oprot thrift.TProtocol) (err ... method String (line 3232) | func (p *DeleteNoteResponse) String() string { function NewDeleteNoteResponse (line 3098) | func NewDeleteNoteResponse() *DeleteNoteResponse { type ApiService (line 3239) | type ApiService interface type ApiServiceClient (line 3253) | type ApiServiceClient struct method Client_ (line 3275) | func (p *ApiServiceClient) Client_() thrift.TClient { method CreateUser (line 3279) | func (p *ApiServiceClient) CreateUser(ctx context.Context, req *Create... method CheckUser (line 3288) | func (p *ApiServiceClient) CheckUser(ctx context.Context, req *CheckUs... method CreateNote (line 3297) | func (p *ApiServiceClient) CreateNote(ctx context.Context, req *Create... method QueryNote (line 3306) | func (p *ApiServiceClient) QueryNote(ctx context.Context, req *QueryNo... method UpdateNote (line 3315) | func (p *ApiServiceClient) UpdateNote(ctx context.Context, req *Update... method DeleteNote (line 3324) | func (p *ApiServiceClient) DeleteNote(ctx context.Context, req *Delete... function NewApiServiceClientFactory (line 3257) | func NewApiServiceClientFactory(t thrift.TTransport, f thrift.TProtocolF... function NewApiServiceClientProtocol (line 3263) | func NewApiServiceClientProtocol(t thrift.TTransport, iprot thrift.TProt... function NewApiServiceClient (line 3269) | func NewApiServiceClient(c thrift.TClient) *ApiServiceClient { type ApiServiceProcessor (line 3334) | type ApiServiceProcessor struct method AddToProcessorMap (line 3339) | func (p *ApiServiceProcessor) AddToProcessorMap(key string, processor ... method GetProcessorFunction (line 3343) | func (p *ApiServiceProcessor) GetProcessorFunction(key string) (proces... method ProcessorMap (line 3348) | func (p *ApiServiceProcessor) ProcessorMap() map[string]thrift.TProces... method Process (line 3362) | func (p *ApiServiceProcessor) Process(ctx context.Context, iprot, opro... function NewApiServiceProcessor (line 3352) | func NewApiServiceProcessor(handler ApiService) *ApiServiceProcessor { type apiServiceProcessorCreateUser (line 3380) | type apiServiceProcessorCreateUser struct method Process (line 3384) | func (p *apiServiceProcessorCreateUser) Process(ctx context.Context, s... type apiServiceProcessorCheckUser (line 3428) | type apiServiceProcessorCheckUser struct method Process (line 3432) | func (p *apiServiceProcessorCheckUser) Process(ctx context.Context, se... type apiServiceProcessorCreateNote (line 3476) | type apiServiceProcessorCreateNote struct method Process (line 3480) | func (p *apiServiceProcessorCreateNote) Process(ctx context.Context, s... type apiServiceProcessorQueryNote (line 3524) | type apiServiceProcessorQueryNote struct method Process (line 3528) | func (p *apiServiceProcessorQueryNote) Process(ctx context.Context, se... type apiServiceProcessorUpdateNote (line 3572) | type apiServiceProcessorUpdateNote struct method Process (line 3576) | func (p *apiServiceProcessorUpdateNote) Process(ctx context.Context, s... type apiServiceProcessorDeleteNote (line 3620) | type apiServiceProcessorDeleteNote struct method Process (line 3624) | func (p *apiServiceProcessorDeleteNote) Process(ctx context.Context, s... type ApiServiceCreateUserArgs (line 3668) | type ApiServiceCreateUserArgs struct method GetReq (line 3678) | func (p *ApiServiceCreateUserArgs) GetReq() (v *CreateUserRequest) { method IsSetReq (line 3689) | func (p *ApiServiceCreateUserArgs) IsSetReq() bool { method Read (line 3693) | func (p *ApiServiceCreateUserArgs) Read(iprot thrift.TProtocol) (err e... method ReadField1 (line 3752) | func (p *ApiServiceCreateUserArgs) ReadField1(iprot thrift.TProtocol) ... method Write (line 3760) | func (p *ApiServiceCreateUserArgs) Write(oprot thrift.TProtocol) (err ... method writeField1 (line 3789) | func (p *ApiServiceCreateUserArgs) writeField1(oprot thrift.TProtocol)... method String (line 3806) | func (p *ApiServiceCreateUserArgs) String() string { function NewApiServiceCreateUserArgs (line 3672) | func NewApiServiceCreateUserArgs() *ApiServiceCreateUserArgs { type ApiServiceCreateUserResult (line 3813) | type ApiServiceCreateUserResult struct method GetSuccess (line 3823) | func (p *ApiServiceCreateUserResult) GetSuccess() (v *CreateUserRespon... method IsSetSuccess (line 3834) | func (p *ApiServiceCreateUserResult) IsSetSuccess() bool { method Read (line 3838) | func (p *ApiServiceCreateUserResult) Read(iprot thrift.TProtocol) (err... method ReadField0 (line 3897) | func (p *ApiServiceCreateUserResult) ReadField0(iprot thrift.TProtocol... method Write (line 3905) | func (p *ApiServiceCreateUserResult) Write(oprot thrift.TProtocol) (er... method writeField0 (line 3934) | func (p *ApiServiceCreateUserResult) writeField0(oprot thrift.TProtoco... method String (line 3953) | func (p *ApiServiceCreateUserResult) String() string { function NewApiServiceCreateUserResult (line 3817) | func NewApiServiceCreateUserResult() *ApiServiceCreateUserResult { type ApiServiceCheckUserArgs (line 3960) | type ApiServiceCheckUserArgs struct method GetReq (line 3970) | func (p *ApiServiceCheckUserArgs) GetReq() (v *CheckUserRequest) { method IsSetReq (line 3981) | func (p *ApiServiceCheckUserArgs) IsSetReq() bool { method Read (line 3985) | func (p *ApiServiceCheckUserArgs) Read(iprot thrift.TProtocol) (err er... method ReadField1 (line 4044) | func (p *ApiServiceCheckUserArgs) ReadField1(iprot thrift.TProtocol) e... method Write (line 4052) | func (p *ApiServiceCheckUserArgs) Write(oprot thrift.TProtocol) (err e... method writeField1 (line 4081) | func (p *ApiServiceCheckUserArgs) writeField1(oprot thrift.TProtocol) ... method String (line 4098) | func (p *ApiServiceCheckUserArgs) String() string { function NewApiServiceCheckUserArgs (line 3964) | func NewApiServiceCheckUserArgs() *ApiServiceCheckUserArgs { type ApiServiceCheckUserResult (line 4105) | type ApiServiceCheckUserResult struct method GetSuccess (line 4115) | func (p *ApiServiceCheckUserResult) GetSuccess() (v *CheckUserResponse) { method IsSetSuccess (line 4126) | func (p *ApiServiceCheckUserResult) IsSetSuccess() bool { method Read (line 4130) | func (p *ApiServiceCheckUserResult) Read(iprot thrift.TProtocol) (err ... method ReadField0 (line 4189) | func (p *ApiServiceCheckUserResult) ReadField0(iprot thrift.TProtocol)... method Write (line 4197) | func (p *ApiServiceCheckUserResult) Write(oprot thrift.TProtocol) (err... method writeField0 (line 4226) | func (p *ApiServiceCheckUserResult) writeField0(oprot thrift.TProtocol... method String (line 4245) | func (p *ApiServiceCheckUserResult) String() string { function NewApiServiceCheckUserResult (line 4109) | func NewApiServiceCheckUserResult() *ApiServiceCheckUserResult { type ApiServiceCreateNoteArgs (line 4252) | type ApiServiceCreateNoteArgs struct method GetReq (line 4262) | func (p *ApiServiceCreateNoteArgs) GetReq() (v *CreateNoteRequest) { method IsSetReq (line 4273) | func (p *ApiServiceCreateNoteArgs) IsSetReq() bool { method Read (line 4277) | func (p *ApiServiceCreateNoteArgs) Read(iprot thrift.TProtocol) (err e... method ReadField1 (line 4336) | func (p *ApiServiceCreateNoteArgs) ReadField1(iprot thrift.TProtocol) ... method Write (line 4344) | func (p *ApiServiceCreateNoteArgs) Write(oprot thrift.TProtocol) (err ... method writeField1 (line 4373) | func (p *ApiServiceCreateNoteArgs) writeField1(oprot thrift.TProtocol)... method String (line 4390) | func (p *ApiServiceCreateNoteArgs) String() string { function NewApiServiceCreateNoteArgs (line 4256) | func NewApiServiceCreateNoteArgs() *ApiServiceCreateNoteArgs { type ApiServiceCreateNoteResult (line 4397) | type ApiServiceCreateNoteResult struct method GetSuccess (line 4407) | func (p *ApiServiceCreateNoteResult) GetSuccess() (v *CreateNoteRespon... method IsSetSuccess (line 4418) | func (p *ApiServiceCreateNoteResult) IsSetSuccess() bool { method Read (line 4422) | func (p *ApiServiceCreateNoteResult) Read(iprot thrift.TProtocol) (err... method ReadField0 (line 4481) | func (p *ApiServiceCreateNoteResult) ReadField0(iprot thrift.TProtocol... method Write (line 4489) | func (p *ApiServiceCreateNoteResult) Write(oprot thrift.TProtocol) (er... method writeField0 (line 4518) | func (p *ApiServiceCreateNoteResult) writeField0(oprot thrift.TProtoco... method String (line 4537) | func (p *ApiServiceCreateNoteResult) String() string { function NewApiServiceCreateNoteResult (line 4401) | func NewApiServiceCreateNoteResult() *ApiServiceCreateNoteResult { type ApiServiceQueryNoteArgs (line 4544) | type ApiServiceQueryNoteArgs struct method GetReq (line 4554) | func (p *ApiServiceQueryNoteArgs) GetReq() (v *QueryNoteRequest) { method IsSetReq (line 4565) | func (p *ApiServiceQueryNoteArgs) IsSetReq() bool { method Read (line 4569) | func (p *ApiServiceQueryNoteArgs) Read(iprot thrift.TProtocol) (err er... method ReadField1 (line 4628) | func (p *ApiServiceQueryNoteArgs) ReadField1(iprot thrift.TProtocol) e... method Write (line 4636) | func (p *ApiServiceQueryNoteArgs) Write(oprot thrift.TProtocol) (err e... method writeField1 (line 4665) | func (p *ApiServiceQueryNoteArgs) writeField1(oprot thrift.TProtocol) ... method String (line 4682) | func (p *ApiServiceQueryNoteArgs) String() string { function NewApiServiceQueryNoteArgs (line 4548) | func NewApiServiceQueryNoteArgs() *ApiServiceQueryNoteArgs { type ApiServiceQueryNoteResult (line 4689) | type ApiServiceQueryNoteResult struct method GetSuccess (line 4699) | func (p *ApiServiceQueryNoteResult) GetSuccess() (v *QueryNoteResponse) { method IsSetSuccess (line 4710) | func (p *ApiServiceQueryNoteResult) IsSetSuccess() bool { method Read (line 4714) | func (p *ApiServiceQueryNoteResult) Read(iprot thrift.TProtocol) (err ... method ReadField0 (line 4773) | func (p *ApiServiceQueryNoteResult) ReadField0(iprot thrift.TProtocol)... method Write (line 4781) | func (p *ApiServiceQueryNoteResult) Write(oprot thrift.TProtocol) (err... method writeField0 (line 4810) | func (p *ApiServiceQueryNoteResult) writeField0(oprot thrift.TProtocol... method String (line 4829) | func (p *ApiServiceQueryNoteResult) String() string { function NewApiServiceQueryNoteResult (line 4693) | func NewApiServiceQueryNoteResult() *ApiServiceQueryNoteResult { type ApiServiceUpdateNoteArgs (line 4836) | type ApiServiceUpdateNoteArgs struct method GetReq (line 4846) | func (p *ApiServiceUpdateNoteArgs) GetReq() (v *UpdateNoteRequest) { method IsSetReq (line 4857) | func (p *ApiServiceUpdateNoteArgs) IsSetReq() bool { method Read (line 4861) | func (p *ApiServiceUpdateNoteArgs) Read(iprot thrift.TProtocol) (err e... method ReadField1 (line 4920) | func (p *ApiServiceUpdateNoteArgs) ReadField1(iprot thrift.TProtocol) ... method Write (line 4928) | func (p *ApiServiceUpdateNoteArgs) Write(oprot thrift.TProtocol) (err ... method writeField1 (line 4957) | func (p *ApiServiceUpdateNoteArgs) writeField1(oprot thrift.TProtocol)... method String (line 4974) | func (p *ApiServiceUpdateNoteArgs) String() string { function NewApiServiceUpdateNoteArgs (line 4840) | func NewApiServiceUpdateNoteArgs() *ApiServiceUpdateNoteArgs { type ApiServiceUpdateNoteResult (line 4981) | type ApiServiceUpdateNoteResult struct method GetSuccess (line 4991) | func (p *ApiServiceUpdateNoteResult) GetSuccess() (v *UpdateNoteRespon... method IsSetSuccess (line 5002) | func (p *ApiServiceUpdateNoteResult) IsSetSuccess() bool { method Read (line 5006) | func (p *ApiServiceUpdateNoteResult) Read(iprot thrift.TProtocol) (err... method ReadField0 (line 5065) | func (p *ApiServiceUpdateNoteResult) ReadField0(iprot thrift.TProtocol... method Write (line 5073) | func (p *ApiServiceUpdateNoteResult) Write(oprot thrift.TProtocol) (er... method writeField0 (line 5102) | func (p *ApiServiceUpdateNoteResult) writeField0(oprot thrift.TProtoco... method String (line 5121) | func (p *ApiServiceUpdateNoteResult) String() string { function NewApiServiceUpdateNoteResult (line 4985) | func NewApiServiceUpdateNoteResult() *ApiServiceUpdateNoteResult { type ApiServiceDeleteNoteArgs (line 5128) | type ApiServiceDeleteNoteArgs struct method GetReq (line 5138) | func (p *ApiServiceDeleteNoteArgs) GetReq() (v *DeleteNoteRequest) { method IsSetReq (line 5149) | func (p *ApiServiceDeleteNoteArgs) IsSetReq() bool { method Read (line 5153) | func (p *ApiServiceDeleteNoteArgs) Read(iprot thrift.TProtocol) (err e... method ReadField1 (line 5212) | func (p *ApiServiceDeleteNoteArgs) ReadField1(iprot thrift.TProtocol) ... method Write (line 5220) | func (p *ApiServiceDeleteNoteArgs) Write(oprot thrift.TProtocol) (err ... method writeField1 (line 5249) | func (p *ApiServiceDeleteNoteArgs) writeField1(oprot thrift.TProtocol)... method String (line 5266) | func (p *ApiServiceDeleteNoteArgs) String() string { function NewApiServiceDeleteNoteArgs (line 5132) | func NewApiServiceDeleteNoteArgs() *ApiServiceDeleteNoteArgs { type ApiServiceDeleteNoteResult (line 5273) | type ApiServiceDeleteNoteResult struct method GetSuccess (line 5283) | func (p *ApiServiceDeleteNoteResult) GetSuccess() (v *DeleteNoteRespon... method IsSetSuccess (line 5294) | func (p *ApiServiceDeleteNoteResult) IsSetSuccess() bool { method Read (line 5298) | func (p *ApiServiceDeleteNoteResult) Read(iprot thrift.TProtocol) (err... method ReadField0 (line 5357) | func (p *ApiServiceDeleteNoteResult) ReadField0(iprot thrift.TProtocol... method Write (line 5365) | func (p *ApiServiceDeleteNoteResult) Write(oprot thrift.TProtocol) (er... method writeField0 (line 5394) | func (p *ApiServiceDeleteNoteResult) writeField0(oprot thrift.TProtoco... method String (line 5413) | func (p *ApiServiceDeleteNoteResult) String() string { function NewApiServiceDeleteNoteResult (line 5277) | func NewApiServiceDeleteNoteResult() *ApiServiceDeleteNoteResult { FILE: easy_note/kitex_gen/demonote/k-note.go method FastRead (line 26) | func (p *BaseResp) FastRead(buf []byte) (int, error) { method FastReadField1 (line 125) | func (p *BaseResp) FastReadField1(buf []byte) (int, error) { method FastReadField2 (line 139) | func (p *BaseResp) FastReadField2(buf []byte) (int, error) { method FastReadField3 (line 153) | func (p *BaseResp) FastReadField3(buf []byte) (int, error) { method FastWrite (line 168) | func (p *BaseResp) FastWrite(buf []byte) int { method FastWriteNocopy (line 172) | func (p *BaseResp) FastWriteNocopy(buf []byte, binaryWriter bthrift.Bina... method BLength (line 185) | func (p *BaseResp) BLength() int { method fastWriteField1 (line 198) | func (p *BaseResp) fastWriteField1(buf []byte, binaryWriter bthrift.Bina... method fastWriteField2 (line 207) | func (p *BaseResp) fastWriteField2(buf []byte, binaryWriter bthrift.Bina... method fastWriteField3 (line 216) | func (p *BaseResp) fastWriteField3(buf []byte, binaryWriter bthrift.Bina... method field1Length (line 225) | func (p *BaseResp) field1Length() int { method field2Length (line 234) | func (p *BaseResp) field2Length() int { method field3Length (line 243) | func (p *BaseResp) field3Length() int { method FastRead (line 252) | func (p *Note) FastRead(buf []byte) (int, error) { method FastReadField1 (line 407) | func (p *Note) FastReadField1(buf []byte) (int, error) { method FastReadField2 (line 421) | func (p *Note) FastReadField2(buf []byte) (int, error) { method FastReadField3 (line 435) | func (p *Note) FastReadField3(buf []byte) (int, error) { method FastReadField4 (line 449) | func (p *Note) FastReadField4(buf []byte) (int, error) { method FastReadField5 (line 463) | func (p *Note) FastReadField5(buf []byte) (int, error) { method FastReadField6 (line 477) | func (p *Note) FastReadField6(buf []byte) (int, error) { method FastReadField7 (line 491) | func (p *Note) FastReadField7(buf []byte) (int, error) { method FastWrite (line 506) | func (p *Note) FastWrite(buf []byte) int { method FastWriteNocopy (line 510) | func (p *Note) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWr... method BLength (line 527) | func (p *Note) BLength() int { method fastWriteField1 (line 544) | func (p *Note) fastWriteField1(buf []byte, binaryWriter bthrift.BinaryWr... method fastWriteField2 (line 553) | func (p *Note) fastWriteField2(buf []byte, binaryWriter bthrift.BinaryWr... method fastWriteField3 (line 562) | func (p *Note) fastWriteField3(buf []byte, binaryWriter bthrift.BinaryWr... method fastWriteField4 (line 571) | func (p *Note) fastWriteField4(buf []byte, binaryWriter bthrift.BinaryWr... method fastWriteField5 (line 580) | func (p *Note) fastWriteField5(buf []byte, binaryWriter bthrift.BinaryWr... method fastWriteField6 (line 589) | func (p *Note) fastWriteField6(buf []byte, binaryWriter bthrift.BinaryWr... method fastWriteField7 (line 598) | func (p *Note) fastWriteField7(buf []byte, binaryWriter bthrift.BinaryWr... method field1Length (line 607) | func (p *Note) field1Length() int { method field2Length (line 616) | func (p *Note) field2Length() int { method field3Length (line 625) | func (p *Note) field3Length() int { method field4Length (line 634) | func (p *Note) field4Length() int { method field5Length (line 643) | func (p *Note) field5Length() int { method field6Length (line 652) | func (p *Note) field6Length() int { method field7Length (line 661) | func (p *Note) field7Length() int { method FastRead (line 670) | func (p *CreateNoteRequest) FastRead(buf []byte) (int, error) { method FastReadField1 (line 769) | func (p *CreateNoteRequest) FastReadField1(buf []byte) (int, error) { method FastReadField2 (line 783) | func (p *CreateNoteRequest) FastReadField2(buf []byte) (int, error) { method FastReadField3 (line 797) | func (p *CreateNoteRequest) FastReadField3(buf []byte) (int, error) { method FastWrite (line 812) | func (p *CreateNoteRequest) FastWrite(buf []byte) int { method FastWriteNocopy (line 816) | func (p *CreateNoteRequest) FastWriteNocopy(buf []byte, binaryWriter bth... method BLength (line 829) | func (p *CreateNoteRequest) BLength() int { method fastWriteField1 (line 842) | func (p *CreateNoteRequest) fastWriteField1(buf []byte, binaryWriter bth... method fastWriteField2 (line 851) | func (p *CreateNoteRequest) fastWriteField2(buf []byte, binaryWriter bth... method fastWriteField3 (line 860) | func (p *CreateNoteRequest) fastWriteField3(buf []byte, binaryWriter bth... method field1Length (line 869) | func (p *CreateNoteRequest) field1Length() int { method field2Length (line 878) | func (p *CreateNoteRequest) field2Length() int { method field3Length (line 887) | func (p *CreateNoteRequest) field3Length() int { method FastRead (line 896) | func (p *CreateNoteResponse) FastRead(buf []byte) (int, error) { method FastReadField1 (line 967) | func (p *CreateNoteResponse) FastReadField1(buf []byte) (int, error) { method FastWrite (line 981) | func (p *CreateNoteResponse) FastWrite(buf []byte) int { method FastWriteNocopy (line 985) | func (p *CreateNoteResponse) FastWriteNocopy(buf []byte, binaryWriter bt... method BLength (line 996) | func (p *CreateNoteResponse) BLength() int { method fastWriteField1 (line 1007) | func (p *CreateNoteResponse) fastWriteField1(buf []byte, binaryWriter bt... method field1Length (line 1015) | func (p *CreateNoteResponse) field1Length() int { method FastRead (line 1023) | func (p *DeleteNoteRequest) FastRead(buf []byte) (int, error) { method FastReadField1 (line 1108) | func (p *DeleteNoteRequest) FastReadField1(buf []byte) (int, error) { method FastReadField2 (line 1122) | func (p *DeleteNoteRequest) FastReadField2(buf []byte) (int, error) { method FastWrite (line 1137) | func (p *DeleteNoteRequest) FastWrite(buf []byte) int { method FastWriteNocopy (line 1141) | func (p *DeleteNoteRequest) FastWriteNocopy(buf []byte, binaryWriter bth... method BLength (line 1153) | func (p *DeleteNoteRequest) BLength() int { method fastWriteField1 (line 1165) | func (p *DeleteNoteRequest) fastWriteField1(buf []byte, binaryWriter bth... method fastWriteField2 (line 1174) | func (p *DeleteNoteRequest) fastWriteField2(buf []byte, binaryWriter bth... method field1Length (line 1183) | func (p *DeleteNoteRequest) field1Length() int { method field2Length (line 1192) | func (p *DeleteNoteRequest) field2Length() int { method FastRead (line 1201) | func (p *DeleteNoteResponse) FastRead(buf []byte) (int, error) { method FastReadField1 (line 1272) | func (p *DeleteNoteResponse) FastReadField1(buf []byte) (int, error) { method FastWrite (line 1286) | func (p *DeleteNoteResponse) FastWrite(buf []byte) int { method FastWriteNocopy (line 1290) | func (p *DeleteNoteResponse) FastWriteNocopy(buf []byte, binaryWriter bt... method BLength (line 1301) | func (p *DeleteNoteResponse) BLength() int { method fastWriteField1 (line 1312) | func (p *DeleteNoteResponse) fastWriteField1(buf []byte, binaryWriter bt... method field1Length (line 1320) | func (p *DeleteNoteResponse) field1Length() int { method FastRead (line 1328) | func (p *UpdateNoteRequest) FastRead(buf []byte) (int, error) { method FastReadField1 (line 1441) | func (p *UpdateNoteRequest) FastReadField1(buf []byte) (int, error) { method FastReadField2 (line 1455) | func (p *UpdateNoteRequest) FastReadField2(buf []byte) (int, error) { method FastReadField3 (line 1469) | func (p *UpdateNoteRequest) FastReadField3(buf []byte) (int, error) { method FastReadField4 (line 1482) | func (p *UpdateNoteRequest) FastReadField4(buf []byte) (int, error) { method FastWrite (line 1496) | func (p *UpdateNoteRequest) FastWrite(buf []byte) int { method FastWriteNocopy (line 1500) | func (p *UpdateNoteRequest) FastWriteNocopy(buf []byte, binaryWriter bth... method BLength (line 1514) | func (p *UpdateNoteRequest) BLength() int { method fastWriteField1 (line 1528) | func (p *UpdateNoteRequest) fastWriteField1(buf []byte, binaryWriter bth... method fastWriteField2 (line 1537) | func (p *UpdateNoteRequest) fastWriteField2(buf []byte, binaryWriter bth... method fastWriteField3 (line 1546) | func (p *UpdateNoteRequest) fastWriteField3(buf []byte, binaryWriter bth... method fastWriteField4 (line 1557) | func (p *UpdateNoteRequest) fastWriteField4(buf []byte, binaryWriter bth... method field1Length (line 1568) | func (p *UpdateNoteRequest) field1Length() int { method field2Length (line 1577) | func (p *UpdateNoteRequest) field2Length() int { method field3Length (line 1586) | func (p *UpdateNoteRequest) field3Length() int { method field4Length (line 1597) | func (p *UpdateNoteRequest) field4Length() int { method FastRead (line 1608) | func (p *UpdateNoteResponse) FastRead(buf []byte) (int, error) { method FastReadField1 (line 1679) | func (p *UpdateNoteResponse) FastReadField1(buf []byte) (int, error) { method FastWrite (line 1693) | func (p *UpdateNoteResponse) FastWrite(buf []byte) int { method FastWriteNocopy (line 1697) | func (p *UpdateNoteResponse) FastWriteNocopy(buf []byte, binaryWriter bt... method BLength (line 1708) | func (p *UpdateNoteResponse) BLength() int { method fastWriteField1 (line 1719) | func (p *UpdateNoteResponse) fastWriteField1(buf []byte, binaryWriter bt... method field1Length (line 1727) | func (p *UpdateNoteResponse) field1Length() int { method FastRead (line 1735) | func (p *QueryNoteRequest) FastRead(buf []byte) (int, error) { method FastReadField1 (line 1848) | func (p *QueryNoteRequest) FastReadField1(buf []byte) (int, error) { method FastReadField2 (line 1862) | func (p *QueryNoteRequest) FastReadField2(buf []byte) (int, error) { method FastReadField3 (line 1875) | func (p *QueryNoteRequest) FastReadField3(buf []byte) (int, error) { method FastReadField4 (line 1889) | func (p *QueryNoteRequest) FastReadField4(buf []byte) (int, error) { method FastWrite (line 1904) | func (p *QueryNoteRequest) FastWrite(buf []byte) int { method FastWriteNocopy (line 1908) | func (p *QueryNoteRequest) FastWriteNocopy(buf []byte, binaryWriter bthr... method BLength (line 1922) | func (p *QueryNoteRequest) BLength() int { method fastWriteField1 (line 1936) | func (p *QueryNoteRequest) fastWriteField1(buf []byte, binaryWriter bthr... method fastWriteField2 (line 1945) | func (p *QueryNoteRequest) fastWriteField2(buf []byte, binaryWriter bthr... method fastWriteField3 (line 1956) | func (p *QueryNoteRequest) fastWriteField3(buf []byte, binaryWriter bthr... method fastWriteField4 (line 1965) | func (p *QueryNoteRequest) fastWriteField4(buf []byte, binaryWriter bthr... method field1Length (line 1974) | func (p *QueryNoteRequest) field1Length() int { method field2Length (line 1983) | func (p *QueryNoteRequest) field2Length() int { method field3Length (line 1994) | func (p *QueryNoteRequest) field3Length() int { method field4Length (line 2003) | func (p *QueryNoteRequest) field4Length() int { method FastRead (line 2012) | func (p *QueryNoteResponse) FastRead(buf []byte) (int, error) { method FastReadField1 (line 2111) | func (p *QueryNoteResponse) FastReadField1(buf []byte) (int, error) { method FastReadField2 (line 2138) | func (p *QueryNoteResponse) FastReadField2(buf []byte) (int, error) { method FastReadField3 (line 2152) | func (p *QueryNoteResponse) FastReadField3(buf []byte) (int, error) { method FastWrite (line 2166) | func (p *QueryNoteResponse) FastWrite(buf []byte) int { method FastWriteNocopy (line 2170) | func (p *QueryNoteResponse) FastWriteNocopy(buf []byte, binaryWriter bth... method BLength (line 2183) | func (p *QueryNoteResponse) BLength() int { method fastWriteField1 (line 2196) | func (p *QueryNoteResponse) fastWriteField1(buf []byte, binaryWriter bth... method fastWriteField2 (line 2212) | func (p *QueryNoteResponse) fastWriteField2(buf []byte, binaryWriter bth... method fastWriteField3 (line 2221) | func (p *QueryNoteResponse) fastWriteField3(buf []byte, binaryWriter bth... method field1Length (line 2229) | func (p *QueryNoteResponse) field1Length() int { method field2Length (line 2241) | func (p *QueryNoteResponse) field2Length() int { method field3Length (line 2250) | func (p *QueryNoteResponse) field3Length() int { method FastRead (line 2258) | func (p *MGetNoteRequest) FastRead(buf []byte) (int, error) { method FastReadField1 (line 2329) | func (p *MGetNoteRequest) FastReadField1(buf []byte) (int, error) { method FastWrite (line 2360) | func (p *MGetNoteRequest) FastWrite(buf []byte) int { method FastWriteNocopy (line 2364) | func (p *MGetNoteRequest) FastWriteNocopy(buf []byte, binaryWriter bthri... method BLength (line 2375) | func (p *MGetNoteRequest) BLength() int { method fastWriteField1 (line 2386) | func (p *MGetNoteRequest) fastWriteField1(buf []byte, binaryWriter bthri... method field1Length (line 2403) | func (p *MGetNoteRequest) field1Length() int { method FastRead (line 2414) | func (p *MGetNoteResponse) FastRead(buf []byte) (int, error) { method FastReadField1 (line 2499) | func (p *MGetNoteResponse) FastReadField1(buf []byte) (int, error) { method FastReadField2 (line 2526) | func (p *MGetNoteResponse) FastReadField2(buf []byte) (int, error) { method FastWrite (line 2540) | func (p *MGetNoteResponse) FastWrite(buf []byte) int { method FastWriteNocopy (line 2544) | func (p *MGetNoteResponse) FastWriteNocopy(buf []byte, binaryWriter bthr... method BLength (line 2556) | func (p *MGetNoteResponse) BLength() int { method fastWriteField1 (line 2568) | func (p *MGetNoteResponse) fastWriteField1(buf []byte, binaryWriter bthr... method fastWriteField2 (line 2584) | func (p *MGetNoteResponse) fastWriteField2(buf []byte, binaryWriter bthr... method field1Length (line 2592) | func (p *MGetNoteResponse) field1Length() int { method field2Length (line 2604) | func (p *MGetNoteResponse) field2Length() int { method FastRead (line 2612) | func (p *NoteServiceCreateNoteArgs) FastRead(buf []byte) (int, error) { method FastReadField1 (line 2683) | func (p *NoteServiceCreateNoteArgs) FastReadField1(buf []byte) (int, err... method FastWrite (line 2697) | func (p *NoteServiceCreateNoteArgs) FastWrite(buf []byte) int { method FastWriteNocopy (line 2701) | func (p *NoteServiceCreateNoteArgs) FastWriteNocopy(buf []byte, binaryWr... method BLength (line 2712) | func (p *NoteServiceCreateNoteArgs) BLength() int { method fastWriteField1 (line 2723) | func (p *NoteServiceCreateNoteArgs) fastWriteField1(buf []byte, binaryWr... method field1Length (line 2731) | func (p *NoteServiceCreateNoteArgs) field1Length() int { method FastRead (line 2739) | func (p *NoteServiceCreateNoteResult) FastRead(buf []byte) (int, error) { method FastReadField0 (line 2810) | func (p *NoteServiceCreateNoteResult) FastReadField0(buf []byte) (int, e... method FastWrite (line 2824) | func (p *NoteServiceCreateNoteResult) FastWrite(buf []byte) int { method FastWriteNocopy (line 2828) | func (p *NoteServiceCreateNoteResult) FastWriteNocopy(buf []byte, binary... method BLength (line 2839) | func (p *NoteServiceCreateNoteResult) BLength() int { method fastWriteField0 (line 2850) | func (p *NoteServiceCreateNoteResult) fastWriteField0(buf []byte, binary... method field0Length (line 2860) | func (p *NoteServiceCreateNoteResult) field0Length() int { method FastRead (line 2870) | func (p *NoteServiceDeleteNoteArgs) FastRead(buf []byte) (int, error) { method FastReadField1 (line 2941) | func (p *NoteServiceDeleteNoteArgs) FastReadField1(buf []byte) (int, err... method FastWrite (line 2955) | func (p *NoteServiceDeleteNoteArgs) FastWrite(buf []byte) int { method FastWriteNocopy (line 2959) | func (p *NoteServiceDeleteNoteArgs) FastWriteNocopy(buf []byte, binaryWr... method BLength (line 2970) | func (p *NoteServiceDeleteNoteArgs) BLength() int { method fastWriteField1 (line 2981) | func (p *NoteServiceDeleteNoteArgs) fastWriteField1(buf []byte, binaryWr... method field1Length (line 2989) | func (p *NoteServiceDeleteNoteArgs) field1Length() int { method FastRead (line 2997) | func (p *NoteServiceDeleteNoteResult) FastRead(buf []byte) (int, error) { method FastReadField0 (line 3068) | func (p *NoteServiceDeleteNoteResult) FastReadField0(buf []byte) (int, e... method FastWrite (line 3082) | func (p *NoteServiceDeleteNoteResult) FastWrite(buf []byte) int { method FastWriteNocopy (line 3086) | func (p *NoteServiceDeleteNoteResult) FastWriteNocopy(buf []byte, binary... method BLength (line 3097) | func (p *NoteServiceDeleteNoteResult) BLength() int { method fastWriteField0 (line 3108) | func (p *NoteServiceDeleteNoteResult) fastWriteField0(buf []byte, binary... method field0Length (line 3118) | func (p *NoteServiceDeleteNoteResult) field0Length() int { method FastRead (line 3128) | func (p *NoteServiceUpdateNoteArgs) FastRead(buf []byte) (int, error) { method FastReadField1 (line 3199) | func (p *NoteServiceUpdateNoteArgs) FastReadField1(buf []byte) (int, err... method FastWrite (line 3213) | func (p *NoteServiceUpdateNoteArgs) FastWrite(buf []byte) int { method FastWriteNocopy (line 3217) | func (p *NoteServiceUpdateNoteArgs) FastWriteNocopy(buf []byte, binaryWr... method BLength (line 3228) | func (p *NoteServiceUpdateNoteArgs) BLength() int { method fastWriteField1 (line 3239) | func (p *NoteServiceUpdateNoteArgs) fastWriteField1(buf []byte, binaryWr... method field1Length (line 3247) | func (p *NoteServiceUpdateNoteArgs) field1Length() int { method FastRead (line 3255) | func (p *NoteServiceUpdateNoteResult) FastRead(buf []byte) (int, error) { method FastReadField0 (line 3326) | func (p *NoteServiceUpdateNoteResult) FastReadField0(buf []byte) (int, e... method FastWrite (line 3340) | func (p *NoteServiceUpdateNoteResult) FastWrite(buf []byte) int { method FastWriteNocopy (line 3344) | func (p *NoteServiceUpdateNoteResult) FastWriteNocopy(buf []byte, binary... method BLength (line 3355) | func (p *NoteServiceUpdateNoteResult) BLength() int { method fastWriteField0 (line 3366) | func (p *NoteServiceUpdateNoteResult) fastWriteField0(buf []byte, binary... method field0Length (line 3376) | func (p *NoteServiceUpdateNoteResult) field0Length() int { method FastRead (line 3386) | func (p *NoteServiceQueryNoteArgs) FastRead(buf []byte) (int, error) { method FastReadField1 (line 3457) | func (p *NoteServiceQueryNoteArgs) FastReadField1(buf []byte) (int, erro... method FastWrite (line 3471) | func (p *NoteServiceQueryNoteArgs) FastWrite(buf []byte) int { method FastWriteNocopy (line 3475) | func (p *NoteServiceQueryNoteArgs) FastWriteNocopy(buf []byte, binaryWri... method BLength (line 3486) | func (p *NoteServiceQueryNoteArgs) BLength() int { method fastWriteField1 (line 3497) | func (p *NoteServiceQueryNoteArgs) fastWriteField1(buf []byte, binaryWri... method field1Length (line 3505) | func (p *NoteServiceQueryNoteArgs) field1Length() int { method FastRead (line 3513) | func (p *NoteServiceQueryNoteResult) FastRead(buf []byte) (int, error) { method FastReadField0 (line 3584) | func (p *NoteServiceQueryNoteResult) FastReadField0(buf []byte) (int, er... method FastWrite (line 3598) | func (p *NoteServiceQueryNoteResult) FastWrite(buf []byte) int { method FastWriteNocopy (line 3602) | func (p *NoteServiceQueryNoteResult) FastWriteNocopy(buf []byte, binaryW... method BLength (line 3613) | func (p *NoteServiceQueryNoteResult) BLength() int { method fastWriteField0 (line 3624) | func (p *NoteServiceQueryNoteResult) fastWriteField0(buf []byte, binaryW... method field0Length (line 3634) | func (p *NoteServiceQueryNoteResult) field0Length() int { method FastRead (line 3644) | func (p *NoteServiceMGetNoteArgs) FastRead(buf []byte) (int, error) { method FastReadField1 (line 3715) | func (p *NoteServiceMGetNoteArgs) FastReadField1(buf []byte) (int, error) { method FastWrite (line 3729) | func (p *NoteServiceMGetNoteArgs) FastWrite(buf []byte) int { method FastWriteNocopy (line 3733) | func (p *NoteServiceMGetNoteArgs) FastWriteNocopy(buf []byte, binaryWrit... method BLength (line 3744) | func (p *NoteServiceMGetNoteArgs) BLength() int { method fastWriteField1 (line 3755) | func (p *NoteServiceMGetNoteArgs) fastWriteField1(buf []byte, binaryWrit... method field1Length (line 3763) | func (p *NoteServiceMGetNoteArgs) field1Length() int { method FastRead (line 3771) | func (p *NoteServiceMGetNoteResult) FastRead(buf []byte) (int, error) { method FastReadField0 (line 3842) | func (p *NoteServiceMGetNoteResult) FastReadField0(buf []byte) (int, err... method FastWrite (line 3856) | func (p *NoteServiceMGetNoteResult) FastWrite(buf []byte) int { method FastWriteNocopy (line 3860) | func (p *NoteServiceMGetNoteResult) FastWriteNocopy(buf []byte, binaryWr... method BLength (line 3871) | func (p *NoteServiceMGetNoteResult) BLength() int { method fastWriteField0 (line 3882) | func (p *NoteServiceMGetNoteResult) fastWriteField0(buf []byte, binaryWr... method field0Length (line 3892) | func (p *NoteServiceMGetNoteResult) field0Length() int { method GetFirstArgument (line 3902) | func (p *NoteServiceCreateNoteArgs) GetFirstArgument() interface{} { method GetResult (line 3906) | func (p *NoteServiceCreateNoteResult) GetResult() interface{} { method GetFirstArgument (line 3910) | func (p *NoteServiceDeleteNoteArgs) GetFirstArgument() interface{} { method GetResult (line 3914) | func (p *NoteServiceDeleteNoteResult) GetResult() interface{} { method GetFirstArgument (line 3918) | func (p *NoteServiceUpdateNoteArgs) GetFirstArgument() interface{} { method GetResult (line 3922) | func (p *NoteServiceUpdateNoteResult) GetResult() interface{} { method GetFirstArgument (line 3926) | func (p *NoteServiceQueryNoteArgs) GetFirstArgument() interface{} { method GetResult (line 3930) | func (p *NoteServiceQueryNoteResult) GetResult() interface{} { method GetFirstArgument (line 3934) | func (p *NoteServiceMGetNoteArgs) GetFirstArgument() interface{} { method GetResult (line 3938) | func (p *NoteServiceMGetNoteResult) GetResult() interface{} { FILE: easy_note/kitex_gen/demonote/note.go type BaseResp (line 12) | type BaseResp struct method GetStatusCode (line 22) | func (p *BaseResp) GetStatusCode() (v int64) { method GetStatusMessage (line 26) | func (p *BaseResp) GetStatusMessage() (v string) { method GetServiceTime (line 30) | func (p *BaseResp) GetServiceTime() (v int64) { method SetStatusCode (line 33) | func (p *BaseResp) SetStatusCode(val int64) { method SetStatusMessage (line 36) | func (p *BaseResp) SetStatusMessage(val string) { method SetServiceTime (line 39) | func (p *BaseResp) SetServiceTime(val int64) { method Read (line 49) | func (p *BaseResp) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 128) | func (p *BaseResp) ReadField1(iprot thrift.TProtocol) error { method ReadField2 (line 137) | func (p *BaseResp) ReadField2(iprot thrift.TProtocol) error { method ReadField3 (line 146) | func (p *BaseResp) ReadField3(iprot thrift.TProtocol) error { method Write (line 155) | func (p *BaseResp) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 192) | func (p *BaseResp) writeField1(oprot thrift.TProtocol) (err error) { method writeField2 (line 209) | func (p *BaseResp) writeField2(oprot thrift.TProtocol) (err error) { method writeField3 (line 226) | func (p *BaseResp) writeField3(oprot thrift.TProtocol) (err error) { method String (line 243) | func (p *BaseResp) String() string { method DeepEqual (line 250) | func (p *BaseResp) DeepEqual(ano *BaseResp) bool { method Field1DeepEqual (line 268) | func (p *BaseResp) Field1DeepEqual(src int64) bool { method Field2DeepEqual (line 275) | func (p *BaseResp) Field2DeepEqual(src string) bool { method Field3DeepEqual (line 282) | func (p *BaseResp) Field3DeepEqual(src int64) bool { function NewBaseResp (line 18) | func NewBaseResp() *BaseResp { type Note (line 290) | type Note struct method GetNoteId (line 304) | func (p *Note) GetNoteId() (v int64) { method GetUserId (line 308) | func (p *Note) GetUserId() (v int64) { method GetUsername (line 312) | func (p *Note) GetUsername() (v string) { method GetUserAvatar (line 316) | func (p *Note) GetUserAvatar() (v string) { method GetTitle (line 320) | func (p *Note) GetTitle() (v string) { method GetContent (line 324) | func (p *Note) GetContent() (v string) { method GetCreateTime (line 328) | func (p *Note) GetCreateTime() (v int64) { method SetNoteId (line 331) | func (p *Note) SetNoteId(val int64) { method SetUserId (line 334) | func (p *Note) SetUserId(val int64) { method SetUsername (line 337) | func (p *Note) SetUsername(val string) { method SetUserAvatar (line 340) | func (p *Note) SetUserAvatar(val string) { method SetTitle (line 343) | func (p *Note) SetTitle(val string) { method SetContent (line 346) | func (p *Note) SetContent(val string) { method SetCreateTime (line 349) | func (p *Note) SetCreateTime(val int64) { method Read (line 363) | func (p *Note) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 482) | func (p *Note) ReadField1(iprot thrift.TProtocol) error { method ReadField2 (line 491) | func (p *Note) ReadField2(iprot thrift.TProtocol) error { method ReadField3 (line 500) | func (p *Note) ReadField3(iprot thrift.TProtocol) error { method ReadField4 (line 509) | func (p *Note) ReadField4(iprot thrift.TProtocol) error { method ReadField5 (line 518) | func (p *Note) ReadField5(iprot thrift.TProtocol) error { method ReadField6 (line 527) | func (p *Note) ReadField6(iprot thrift.TProtocol) error { method ReadField7 (line 536) | func (p *Note) ReadField7(iprot thrift.TProtocol) error { method Write (line 545) | func (p *Note) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 598) | func (p *Note) writeField1(oprot thrift.TProtocol) (err error) { method writeField2 (line 615) | func (p *Note) writeField2(oprot thrift.TProtocol) (err error) { method writeField3 (line 632) | func (p *Note) writeField3(oprot thrift.TProtocol) (err error) { method writeField4 (line 649) | func (p *Note) writeField4(oprot thrift.TProtocol) (err error) { method writeField5 (line 666) | func (p *Note) writeField5(oprot thrift.TProtocol) (err error) { method writeField6 (line 683) | func (p *Note) writeField6(oprot thrift.TProtocol) (err error) { method writeField7 (line 700) | func (p *Note) writeField7(oprot thrift.TProtocol) (err error) { method String (line 717) | func (p *Note) String() string { method DeepEqual (line 724) | func (p *Note) DeepEqual(ano *Note) bool { method Field1DeepEqual (line 754) | func (p *Note) Field1DeepEqual(src int64) bool { method Field2DeepEqual (line 761) | func (p *Note) Field2DeepEqual(src int64) bool { method Field3DeepEqual (line 768) | func (p *Note) Field3DeepEqual(src string) bool { method Field4DeepEqual (line 775) | func (p *Note) Field4DeepEqual(src string) bool { method Field5DeepEqual (line 782) | func (p *Note) Field5DeepEqual(src string) bool { method Field6DeepEqual (line 789) | func (p *Note) Field6DeepEqual(src string) bool { method Field7DeepEqual (line 796) | func (p *Note) Field7DeepEqual(src int64) bool { function NewNote (line 300) | func NewNote() *Note { type CreateNoteRequest (line 804) | type CreateNoteRequest struct method GetTitle (line 814) | func (p *CreateNoteRequest) GetTitle() (v string) { method GetContent (line 818) | func (p *CreateNoteRequest) GetContent() (v string) { method GetUserId (line 822) | func (p *CreateNoteRequest) GetUserId() (v int64) { method SetTitle (line 825) | func (p *CreateNoteRequest) SetTitle(val string) { method SetContent (line 828) | func (p *CreateNoteRequest) SetContent(val string) { method SetUserId (line 831) | func (p *CreateNoteRequest) SetUserId(val int64) { method Read (line 841) | func (p *CreateNoteRequest) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 920) | func (p *CreateNoteRequest) ReadField1(iprot thrift.TProtocol) error { method ReadField2 (line 929) | func (p *CreateNoteRequest) ReadField2(iprot thrift.TProtocol) error { method ReadField3 (line 938) | func (p *CreateNoteRequest) ReadField3(iprot thrift.TProtocol) error { method Write (line 947) | func (p *CreateNoteRequest) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 984) | func (p *CreateNoteRequest) writeField1(oprot thrift.TProtocol) (err e... method writeField2 (line 1001) | func (p *CreateNoteRequest) writeField2(oprot thrift.TProtocol) (err e... method writeField3 (line 1018) | func (p *CreateNoteRequest) writeField3(oprot thrift.TProtocol) (err e... method String (line 1035) | func (p *CreateNoteRequest) String() string { method DeepEqual (line 1042) | func (p *CreateNoteRequest) DeepEqual(ano *CreateNoteRequest) bool { method Field1DeepEqual (line 1060) | func (p *CreateNoteRequest) Field1DeepEqual(src string) bool { method Field2DeepEqual (line 1067) | func (p *CreateNoteRequest) Field2DeepEqual(src string) bool { method Field3DeepEqual (line 1074) | func (p *CreateNoteRequest) Field3DeepEqual(src int64) bool { function NewCreateNoteRequest (line 810) | func NewCreateNoteRequest() *CreateNoteRequest { type CreateNoteResponse (line 1082) | type CreateNoteResponse struct method GetBaseResp (line 1092) | func (p *CreateNoteResponse) GetBaseResp() (v *BaseResp) { method SetBaseResp (line 1098) | func (p *CreateNoteResponse) SetBaseResp(val *BaseResp) { method IsSetBaseResp (line 1106) | func (p *CreateNoteResponse) IsSetBaseResp() bool { method Read (line 1110) | func (p *CreateNoteResponse) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 1169) | func (p *CreateNoteResponse) ReadField1(iprot thrift.TProtocol) error { method Write (line 1177) | func (p *CreateNoteResponse) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 1206) | func (p *CreateNoteResponse) writeField1(oprot thrift.TProtocol) (err ... method String (line 1223) | func (p *CreateNoteResponse) String() string { method DeepEqual (line 1230) | func (p *CreateNoteResponse) DeepEqual(ano *CreateNoteResponse) bool { method Field1DeepEqual (line 1242) | func (p *CreateNoteResponse) Field1DeepEqual(src *BaseResp) bool { function NewCreateNoteResponse (line 1086) | func NewCreateNoteResponse() *CreateNoteResponse { type DeleteNoteRequest (line 1250) | type DeleteNoteRequest struct method GetNoteId (line 1259) | func (p *DeleteNoteRequest) GetNoteId() (v int64) { method GetUserId (line 1263) | func (p *DeleteNoteRequest) GetUserId() (v int64) { method SetNoteId (line 1266) | func (p *DeleteNoteRequest) SetNoteId(val int64) { method SetUserId (line 1269) | func (p *DeleteNoteRequest) SetUserId(val int64) { method Read (line 1278) | func (p *DeleteNoteRequest) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 1347) | func (p *DeleteNoteRequest) ReadField1(iprot thrift.TProtocol) error { method ReadField2 (line 1356) | func (p *DeleteNoteRequest) ReadField2(iprot thrift.TProtocol) error { method Write (line 1365) | func (p *DeleteNoteRequest) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 1398) | func (p *DeleteNoteRequest) writeField1(oprot thrift.TProtocol) (err e... method writeField2 (line 1415) | func (p *DeleteNoteRequest) writeField2(oprot thrift.TProtocol) (err e... method String (line 1432) | func (p *DeleteNoteRequest) String() string { method DeepEqual (line 1439) | func (p *DeleteNoteRequest) DeepEqual(ano *DeleteNoteRequest) bool { method Field1DeepEqual (line 1454) | func (p *DeleteNoteRequest) Field1DeepEqual(src int64) bool { method Field2DeepEqual (line 1461) | func (p *DeleteNoteRequest) Field2DeepEqual(src int64) bool { function NewDeleteNoteRequest (line 1255) | func NewDeleteNoteRequest() *DeleteNoteRequest { type DeleteNoteResponse (line 1469) | type DeleteNoteResponse struct method GetBaseResp (line 1479) | func (p *DeleteNoteResponse) GetBaseResp() (v *BaseResp) { method SetBaseResp (line 1485) | func (p *DeleteNoteResponse) SetBaseResp(val *BaseResp) { method IsSetBaseResp (line 1493) | func (p *DeleteNoteResponse) IsSetBaseResp() bool { method Read (line 1497) | func (p *DeleteNoteResponse) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 1556) | func (p *DeleteNoteResponse) ReadField1(iprot thrift.TProtocol) error { method Write (line 1564) | func (p *DeleteNoteResponse) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 1593) | func (p *DeleteNoteResponse) writeField1(oprot thrift.TProtocol) (err ... method String (line 1610) | func (p *DeleteNoteResponse) String() string { method DeepEqual (line 1617) | func (p *DeleteNoteResponse) DeepEqual(ano *DeleteNoteResponse) bool { method Field1DeepEqual (line 1629) | func (p *DeleteNoteResponse) Field1DeepEqual(src *BaseResp) bool { function NewDeleteNoteResponse (line 1473) | func NewDeleteNoteResponse() *DeleteNoteResponse { type UpdateNoteRequest (line 1637) | type UpdateNoteRequest struct method GetNoteId (line 1648) | func (p *UpdateNoteRequest) GetNoteId() (v int64) { method GetUserId (line 1652) | func (p *UpdateNoteRequest) GetUserId() (v int64) { method GetTitle (line 1658) | func (p *UpdateNoteRequest) GetTitle() (v string) { method GetContent (line 1667) | func (p *UpdateNoteRequest) GetContent() (v string) { method SetNoteId (line 1673) | func (p *UpdateNoteRequest) SetNoteId(val int64) { method SetUserId (line 1676) | func (p *UpdateNoteRequest) SetUserId(val int64) { method SetTitle (line 1679) | func (p *UpdateNoteRequest) SetTitle(val *string) { method SetContent (line 1682) | func (p *UpdateNoteRequest) SetContent(val *string) { method IsSetTitle (line 1693) | func (p *UpdateNoteRequest) IsSetTitle() bool { method IsSetContent (line 1697) | func (p *UpdateNoteRequest) IsSetContent() bool { method Read (line 1701) | func (p *UpdateNoteRequest) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 1790) | func (p *UpdateNoteRequest) ReadField1(iprot thrift.TProtocol) error { method ReadField2 (line 1799) | func (p *UpdateNoteRequest) ReadField2(iprot thrift.TProtocol) error { method ReadField3 (line 1808) | func (p *UpdateNoteRequest) ReadField3(iprot thrift.TProtocol) error { method ReadField4 (line 1817) | func (p *UpdateNoteRequest) ReadField4(iprot thrift.TProtocol) error { method Write (line 1826) | func (p *UpdateNoteRequest) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 1867) | func (p *UpdateNoteRequest) writeField1(oprot thrift.TProtocol) (err e... method writeField2 (line 1884) | func (p *UpdateNoteRequest) writeField2(oprot thrift.TProtocol) (err e... method writeField3 (line 1901) | func (p *UpdateNoteRequest) writeField3(oprot thrift.TProtocol) (err e... method writeField4 (line 1920) | func (p *UpdateNoteRequest) writeField4(oprot thrift.TProtocol) (err e... method String (line 1939) | func (p *UpdateNoteRequest) String() string { method DeepEqual (line 1946) | func (p *UpdateNoteRequest) DeepEqual(ano *UpdateNoteRequest) bool { method Field1DeepEqual (line 1967) | func (p *UpdateNoteRequest) Field1DeepEqual(src int64) bool { method Field2DeepEqual (line 1974) | func (p *UpdateNoteRequest) Field2DeepEqual(src int64) bool { method Field3DeepEqual (line 1981) | func (p *UpdateNoteRequest) Field3DeepEqual(src *string) bool { method Field4DeepEqual (line 1993) | func (p *UpdateNoteRequest) Field4DeepEqual(src *string) bool { function NewUpdateNoteRequest (line 1644) | func NewUpdateNoteRequest() *UpdateNoteRequest { type UpdateNoteResponse (line 2006) | type UpdateNoteResponse struct method GetBaseResp (line 2016) | func (p *UpdateNoteResponse) GetBaseResp() (v *BaseResp) { method SetBaseResp (line 2022) | func (p *UpdateNoteResponse) SetBaseResp(val *BaseResp) { method IsSetBaseResp (line 2030) | func (p *UpdateNoteResponse) IsSetBaseResp() bool { method Read (line 2034) | func (p *UpdateNoteResponse) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 2093) | func (p *UpdateNoteResponse) ReadField1(iprot thrift.TProtocol) error { method Write (line 2101) | func (p *UpdateNoteResponse) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 2130) | func (p *UpdateNoteResponse) writeField1(oprot thrift.TProtocol) (err ... method String (line 2147) | func (p *UpdateNoteResponse) String() string { method DeepEqual (line 2154) | func (p *UpdateNoteResponse) DeepEqual(ano *UpdateNoteResponse) bool { method Field1DeepEqual (line 2166) | func (p *UpdateNoteResponse) Field1DeepEqual(src *BaseResp) bool { function NewUpdateNoteResponse (line 2010) | func NewUpdateNoteResponse() *UpdateNoteResponse { type QueryNoteRequest (line 2174) | type QueryNoteRequest struct method GetUserId (line 2185) | func (p *QueryNoteRequest) GetUserId() (v int64) { method GetSearchKey (line 2191) | func (p *QueryNoteRequest) GetSearchKey() (v string) { method GetOffset (line 2198) | func (p *QueryNoteRequest) GetOffset() (v int64) { method GetLimit (line 2202) | func (p *QueryNoteRequest) GetLimit() (v int64) { method SetUserId (line 2205) | func (p *QueryNoteRequest) SetUserId(val int64) { method SetSearchKey (line 2208) | func (p *QueryNoteRequest) SetSearchKey(val *string) { method SetOffset (line 2211) | func (p *QueryNoteRequest) SetOffset(val int64) { method SetLimit (line 2214) | func (p *QueryNoteRequest) SetLimit(val int64) { method IsSetSearchKey (line 2225) | func (p *QueryNoteRequest) IsSetSearchKey() bool { method Read (line 2229) | func (p *QueryNoteRequest) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 2318) | func (p *QueryNoteRequest) ReadField1(iprot thrift.TProtocol) error { method ReadField2 (line 2327) | func (p *QueryNoteRequest) ReadField2(iprot thrift.TProtocol) error { method ReadField3 (line 2336) | func (p *QueryNoteRequest) ReadField3(iprot thrift.TProtocol) error { method ReadField4 (line 2345) | func (p *QueryNoteRequest) ReadField4(iprot thrift.TProtocol) error { method Write (line 2354) | func (p *QueryNoteRequest) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 2395) | func (p *QueryNoteRequest) writeField1(oprot thrift.TProtocol) (err er... method writeField2 (line 2412) | func (p *QueryNoteRequest) writeField2(oprot thrift.TProtocol) (err er... method writeField3 (line 2431) | func (p *QueryNoteRequest) writeField3(oprot thrift.TProtocol) (err er... method writeField4 (line 2448) | func (p *QueryNoteRequest) writeField4(oprot thrift.TProtocol) (err er... method String (line 2465) | func (p *QueryNoteRequest) String() string { method DeepEqual (line 2472) | func (p *QueryNoteRequest) DeepEqual(ano *QueryNoteRequest) bool { method Field1DeepEqual (line 2493) | func (p *QueryNoteRequest) Field1DeepEqual(src int64) bool { method Field2DeepEqual (line 2500) | func (p *QueryNoteRequest) Field2DeepEqual(src *string) bool { method Field3DeepEqual (line 2512) | func (p *QueryNoteRequest) Field3DeepEqual(src int64) bool { method Field4DeepEqual (line 2519) | func (p *QueryNoteRequest) Field4DeepEqual(src int64) bool { function NewQueryNoteRequest (line 2181) | func NewQueryNoteRequest() *QueryNoteRequest { type QueryNoteResponse (line 2527) | type QueryNoteResponse struct method GetNotes (line 2537) | func (p *QueryNoteResponse) GetNotes() (v []*Note) { method GetTotal (line 2541) | func (p *QueryNoteResponse) GetTotal() (v int64) { method GetBaseResp (line 2547) | func (p *QueryNoteResponse) GetBaseResp() (v *BaseResp) { method SetNotes (line 2553) | func (p *QueryNoteResponse) SetNotes(val []*Note) { method SetTotal (line 2556) | func (p *QueryNoteResponse) SetTotal(val int64) { method SetBaseResp (line 2559) | func (p *QueryNoteResponse) SetBaseResp(val *BaseResp) { method IsSetBaseResp (line 2569) | func (p *QueryNoteResponse) IsSetBaseResp() bool { method Read (line 2573) | func (p *QueryNoteResponse) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 2652) | func (p *QueryNoteResponse) ReadField1(iprot thrift.TProtocol) error { method ReadField2 (line 2672) | func (p *QueryNoteResponse) ReadField2(iprot thrift.TProtocol) error { method ReadField3 (line 2681) | func (p *QueryNoteResponse) ReadField3(iprot thrift.TProtocol) error { method Write (line 2689) | func (p *QueryNoteResponse) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 2726) | func (p *QueryNoteResponse) writeField1(oprot thrift.TProtocol) (err e... method writeField2 (line 2751) | func (p *QueryNoteResponse) writeField2(oprot thrift.TProtocol) (err e... method writeField3 (line 2768) | func (p *QueryNoteResponse) writeField3(oprot thrift.TProtocol) (err e... method String (line 2785) | func (p *QueryNoteResponse) String() string { method DeepEqual (line 2792) | func (p *QueryNoteResponse) DeepEqual(ano *QueryNoteResponse) bool { method Field1DeepEqual (line 2810) | func (p *QueryNoteResponse) Field1DeepEqual(src []*Note) bool { method Field2DeepEqual (line 2823) | func (p *QueryNoteResponse) Field2DeepEqual(src int64) bool { method Field3DeepEqual (line 2830) | func (p *QueryNoteResponse) Field3DeepEqual(src *BaseResp) bool { function NewQueryNoteResponse (line 2533) | func NewQueryNoteResponse() *QueryNoteResponse { type MGetNoteRequest (line 2838) | type MGetNoteRequest struct method GetNoteIds (line 2846) | func (p *MGetNoteRequest) GetNoteIds() (v []int64) { method SetNoteIds (line 2849) | func (p *MGetNoteRequest) SetNoteIds(val []int64) { method Read (line 2857) | func (p *MGetNoteRequest) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 2916) | func (p *MGetNoteRequest) ReadField1(iprot thrift.TProtocol) error { method Write (line 2938) | func (p *MGetNoteRequest) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 2967) | func (p *MGetNoteRequest) writeField1(oprot thrift.TProtocol) (err err... method String (line 2992) | func (p *MGetNoteRequest) String() string { method DeepEqual (line 2999) | func (p *MGetNoteRequest) DeepEqual(ano *MGetNoteRequest) bool { method Field1DeepEqual (line 3011) | func (p *MGetNoteRequest) Field1DeepEqual(src []int64) bool { function NewMGetNoteRequest (line 2842) | func NewMGetNoteRequest() *MGetNoteRequest { type MGetNoteResponse (line 3025) | type MGetNoteResponse struct method GetNotes (line 3034) | func (p *MGetNoteResponse) GetNotes() (v []*Note) { method GetBaseResp (line 3040) | func (p *MGetNoteResponse) GetBaseResp() (v *BaseResp) { method SetNotes (line 3046) | func (p *MGetNoteResponse) SetNotes(val []*Note) { method SetBaseResp (line 3049) | func (p *MGetNoteResponse) SetBaseResp(val *BaseResp) { method IsSetBaseResp (line 3058) | func (p *MGetNoteResponse) IsSetBaseResp() bool { method Read (line 3062) | func (p *MGetNoteResponse) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 3131) | func (p *MGetNoteResponse) ReadField1(iprot thrift.TProtocol) error { method ReadField2 (line 3151) | func (p *MGetNoteResponse) ReadField2(iprot thrift.TProtocol) error { method Write (line 3159) | func (p *MGetNoteResponse) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 3192) | func (p *MGetNoteResponse) writeField1(oprot thrift.TProtocol) (err er... method writeField2 (line 3217) | func (p *MGetNoteResponse) writeField2(oprot thrift.TProtocol) (err er... method String (line 3234) | func (p *MGetNoteResponse) String() string { method DeepEqual (line 3241) | func (p *MGetNoteResponse) DeepEqual(ano *MGetNoteResponse) bool { method Field1DeepEqual (line 3256) | func (p *MGetNoteResponse) Field1DeepEqual(src []*Note) bool { method Field2DeepEqual (line 3269) | func (p *MGetNoteResponse) Field2DeepEqual(src *BaseResp) bool { function NewMGetNoteResponse (line 3030) | func NewMGetNoteResponse() *MGetNoteResponse { type NoteService (line 3277) | type NoteService interface type NoteServiceClient (line 3289) | type NoteServiceClient struct method Client_ (line 3311) | func (p *NoteServiceClient) Client_() thrift.TClient { method CreateNote (line 3315) | func (p *NoteServiceClient) CreateNote(ctx context.Context, req *Creat... method DeleteNote (line 3324) | func (p *NoteServiceClient) DeleteNote(ctx context.Context, req *Delet... method UpdateNote (line 3333) | func (p *NoteServiceClient) UpdateNote(ctx context.Context, req *Updat... method QueryNote (line 3342) | func (p *NoteServiceClient) QueryNote(ctx context.Context, req *QueryN... method MGetNote (line 3351) | func (p *NoteServiceClient) MGetNote(ctx context.Context, req *MGetNot... function NewNoteServiceClientFactory (line 3293) | func NewNoteServiceClientFactory(t thrift.TTransport, f thrift.TProtocol... function NewNoteServiceClientProtocol (line 3299) | func NewNoteServiceClientProtocol(t thrift.TTransport, iprot thrift.TPro... function NewNoteServiceClient (line 3305) | func NewNoteServiceClient(c thrift.TClient) *NoteServiceClient { type NoteServiceProcessor (line 3361) | type NoteServiceProcessor struct method AddToProcessorMap (line 3366) | func (p *NoteServiceProcessor) AddToProcessorMap(key string, processor... method GetProcessorFunction (line 3370) | func (p *NoteServiceProcessor) GetProcessorFunction(key string) (proce... method ProcessorMap (line 3375) | func (p *NoteServiceProcessor) ProcessorMap() map[string]thrift.TProce... method Process (line 3388) | func (p *NoteServiceProcessor) Process(ctx context.Context, iprot, opr... function NewNoteServiceProcessor (line 3379) | func NewNoteServiceProcessor(handler NoteService) *NoteServiceProcessor { type noteServiceProcessorCreateNote (line 3406) | type noteServiceProcessorCreateNote struct method Process (line 3410) | func (p *noteServiceProcessorCreateNote) Process(ctx context.Context, ... type noteServiceProcessorDeleteNote (line 3454) | type noteServiceProcessorDeleteNote struct method Process (line 3458) | func (p *noteServiceProcessorDeleteNote) Process(ctx context.Context, ... type noteServiceProcessorUpdateNote (line 3502) | type noteServiceProcessorUpdateNote struct method Process (line 3506) | func (p *noteServiceProcessorUpdateNote) Process(ctx context.Context, ... type noteServiceProcessorQueryNote (line 3550) | type noteServiceProcessorQueryNote struct method Process (line 3554) | func (p *noteServiceProcessorQueryNote) Process(ctx context.Context, s... type noteServiceProcessorMGetNote (line 3598) | type noteServiceProcessorMGetNote struct method Process (line 3602) | func (p *noteServiceProcessorMGetNote) Process(ctx context.Context, se... type NoteServiceCreateNoteArgs (line 3646) | type NoteServiceCreateNoteArgs struct method GetReq (line 3656) | func (p *NoteServiceCreateNoteArgs) GetReq() (v *CreateNoteRequest) { method SetReq (line 3662) | func (p *NoteServiceCreateNoteArgs) SetReq(val *CreateNoteRequest) { method IsSetReq (line 3670) | func (p *NoteServiceCreateNoteArgs) IsSetReq() bool { method Read (line 3674) | func (p *NoteServiceCreateNoteArgs) Read(iprot thrift.TProtocol) (err ... method ReadField1 (line 3733) | func (p *NoteServiceCreateNoteArgs) ReadField1(iprot thrift.TProtocol)... method Write (line 3741) | func (p *NoteServiceCreateNoteArgs) Write(oprot thrift.TProtocol) (err... method writeField1 (line 3770) | func (p *NoteServiceCreateNoteArgs) writeField1(oprot thrift.TProtocol... method String (line 3787) | func (p *NoteServiceCreateNoteArgs) String() string { method DeepEqual (line 3794) | func (p *NoteServiceCreateNoteArgs) DeepEqual(ano *NoteServiceCreateNo... method Field1DeepEqual (line 3806) | func (p *NoteServiceCreateNoteArgs) Field1DeepEqual(src *CreateNoteReq... function NewNoteServiceCreateNoteArgs (line 3650) | func NewNoteServiceCreateNoteArgs() *NoteServiceCreateNoteArgs { type NoteServiceCreateNoteResult (line 3814) | type NoteServiceCreateNoteResult struct method GetSuccess (line 3824) | func (p *NoteServiceCreateNoteResult) GetSuccess() (v *CreateNoteRespo... method SetSuccess (line 3830) | func (p *NoteServiceCreateNoteResult) SetSuccess(x interface{}) { method IsSetSuccess (line 3838) | func (p *NoteServiceCreateNoteResult) IsSetSuccess() bool { method Read (line 3842) | func (p *NoteServiceCreateNoteResult) Read(iprot thrift.TProtocol) (er... method ReadField0 (line 3901) | func (p *NoteServiceCreateNoteResult) ReadField0(iprot thrift.TProtoco... method Write (line 3909) | func (p *NoteServiceCreateNoteResult) Write(oprot thrift.TProtocol) (e... method writeField0 (line 3938) | func (p *NoteServiceCreateNoteResult) writeField0(oprot thrift.TProtoc... method String (line 3957) | func (p *NoteServiceCreateNoteResult) String() string { method DeepEqual (line 3964) | func (p *NoteServiceCreateNoteResult) DeepEqual(ano *NoteServiceCreate... method Field0DeepEqual (line 3976) | func (p *NoteServiceCreateNoteResult) Field0DeepEqual(src *CreateNoteR... function NewNoteServiceCreateNoteResult (line 3818) | func NewNoteServiceCreateNoteResult() *NoteServiceCreateNoteResult { type NoteServiceDeleteNoteArgs (line 3984) | type NoteServiceDeleteNoteArgs struct method GetReq (line 3994) | func (p *NoteServiceDeleteNoteArgs) GetReq() (v *DeleteNoteRequest) { method SetReq (line 4000) | func (p *NoteServiceDeleteNoteArgs) SetReq(val *DeleteNoteRequest) { method IsSetReq (line 4008) | func (p *NoteServiceDeleteNoteArgs) IsSetReq() bool { method Read (line 4012) | func (p *NoteServiceDeleteNoteArgs) Read(iprot thrift.TProtocol) (err ... method ReadField1 (line 4071) | func (p *NoteServiceDeleteNoteArgs) ReadField1(iprot thrift.TProtocol)... method Write (line 4079) | func (p *NoteServiceDeleteNoteArgs) Write(oprot thrift.TProtocol) (err... method writeField1 (line 4108) | func (p *NoteServiceDeleteNoteArgs) writeField1(oprot thrift.TProtocol... method String (line 4125) | func (p *NoteServiceDeleteNoteArgs) String() string { method DeepEqual (line 4132) | func (p *NoteServiceDeleteNoteArgs) DeepEqual(ano *NoteServiceDeleteNo... method Field1DeepEqual (line 4144) | func (p *NoteServiceDeleteNoteArgs) Field1DeepEqual(src *DeleteNoteReq... function NewNoteServiceDeleteNoteArgs (line 3988) | func NewNoteServiceDeleteNoteArgs() *NoteServiceDeleteNoteArgs { type NoteServiceDeleteNoteResult (line 4152) | type NoteServiceDeleteNoteResult struct method GetSuccess (line 4162) | func (p *NoteServiceDeleteNoteResult) GetSuccess() (v *DeleteNoteRespo... method SetSuccess (line 4168) | func (p *NoteServiceDeleteNoteResult) SetSuccess(x interface{}) { method IsSetSuccess (line 4176) | func (p *NoteServiceDeleteNoteResult) IsSetSuccess() bool { method Read (line 4180) | func (p *NoteServiceDeleteNoteResult) Read(iprot thrift.TProtocol) (er... method ReadField0 (line 4239) | func (p *NoteServiceDeleteNoteResult) ReadField0(iprot thrift.TProtoco... method Write (line 4247) | func (p *NoteServiceDeleteNoteResult) Write(oprot thrift.TProtocol) (e... method writeField0 (line 4276) | func (p *NoteServiceDeleteNoteResult) writeField0(oprot thrift.TProtoc... method String (line 4295) | func (p *NoteServiceDeleteNoteResult) String() string { method DeepEqual (line 4302) | func (p *NoteServiceDeleteNoteResult) DeepEqual(ano *NoteServiceDelete... method Field0DeepEqual (line 4314) | func (p *NoteServiceDeleteNoteResult) Field0DeepEqual(src *DeleteNoteR... function NewNoteServiceDeleteNoteResult (line 4156) | func NewNoteServiceDeleteNoteResult() *NoteServiceDeleteNoteResult { type NoteServiceUpdateNoteArgs (line 4322) | type NoteServiceUpdateNoteArgs struct method GetReq (line 4332) | func (p *NoteServiceUpdateNoteArgs) GetReq() (v *UpdateNoteRequest) { method SetReq (line 4338) | func (p *NoteServiceUpdateNoteArgs) SetReq(val *UpdateNoteRequest) { method IsSetReq (line 4346) | func (p *NoteServiceUpdateNoteArgs) IsSetReq() bool { method Read (line 4350) | func (p *NoteServiceUpdateNoteArgs) Read(iprot thrift.TProtocol) (err ... method ReadField1 (line 4409) | func (p *NoteServiceUpdateNoteArgs) ReadField1(iprot thrift.TProtocol)... method Write (line 4417) | func (p *NoteServiceUpdateNoteArgs) Write(oprot thrift.TProtocol) (err... method writeField1 (line 4446) | func (p *NoteServiceUpdateNoteArgs) writeField1(oprot thrift.TProtocol... method String (line 4463) | func (p *NoteServiceUpdateNoteArgs) String() string { method DeepEqual (line 4470) | func (p *NoteServiceUpdateNoteArgs) DeepEqual(ano *NoteServiceUpdateNo... method Field1DeepEqual (line 4482) | func (p *NoteServiceUpdateNoteArgs) Field1DeepEqual(src *UpdateNoteReq... function NewNoteServiceUpdateNoteArgs (line 4326) | func NewNoteServiceUpdateNoteArgs() *NoteServiceUpdateNoteArgs { type NoteServiceUpdateNoteResult (line 4490) | type NoteServiceUpdateNoteResult struct method GetSuccess (line 4500) | func (p *NoteServiceUpdateNoteResult) GetSuccess() (v *UpdateNoteRespo... method SetSuccess (line 4506) | func (p *NoteServiceUpdateNoteResult) SetSuccess(x interface{}) { method IsSetSuccess (line 4514) | func (p *NoteServiceUpdateNoteResult) IsSetSuccess() bool { method Read (line 4518) | func (p *NoteServiceUpdateNoteResult) Read(iprot thrift.TProtocol) (er... method ReadField0 (line 4577) | func (p *NoteServiceUpdateNoteResult) ReadField0(iprot thrift.TProtoco... method Write (line 4585) | func (p *NoteServiceUpdateNoteResult) Write(oprot thrift.TProtocol) (e... method writeField0 (line 4614) | func (p *NoteServiceUpdateNoteResult) writeField0(oprot thrift.TProtoc... method String (line 4633) | func (p *NoteServiceUpdateNoteResult) String() string { method DeepEqual (line 4640) | func (p *NoteServiceUpdateNoteResult) DeepEqual(ano *NoteServiceUpdate... method Field0DeepEqual (line 4652) | func (p *NoteServiceUpdateNoteResult) Field0DeepEqual(src *UpdateNoteR... function NewNoteServiceUpdateNoteResult (line 4494) | func NewNoteServiceUpdateNoteResult() *NoteServiceUpdateNoteResult { type NoteServiceQueryNoteArgs (line 4660) | type NoteServiceQueryNoteArgs struct method GetReq (line 4670) | func (p *NoteServiceQueryNoteArgs) GetReq() (v *QueryNoteRequest) { method SetReq (line 4676) | func (p *NoteServiceQueryNoteArgs) SetReq(val *QueryNoteRequest) { method IsSetReq (line 4684) | func (p *NoteServiceQueryNoteArgs) IsSetReq() bool { method Read (line 4688) | func (p *NoteServiceQueryNoteArgs) Read(iprot thrift.TProtocol) (err e... method ReadField1 (line 4747) | func (p *NoteServiceQueryNoteArgs) ReadField1(iprot thrift.TProtocol) ... method Write (line 4755) | func (p *NoteServiceQueryNoteArgs) Write(oprot thrift.TProtocol) (err ... method writeField1 (line 4784) | func (p *NoteServiceQueryNoteArgs) writeField1(oprot thrift.TProtocol)... method String (line 4801) | func (p *NoteServiceQueryNoteArgs) String() string { method DeepEqual (line 4808) | func (p *NoteServiceQueryNoteArgs) DeepEqual(ano *NoteServiceQueryNote... method Field1DeepEqual (line 4820) | func (p *NoteServiceQueryNoteArgs) Field1DeepEqual(src *QueryNoteReque... function NewNoteServiceQueryNoteArgs (line 4664) | func NewNoteServiceQueryNoteArgs() *NoteServiceQueryNoteArgs { type NoteServiceQueryNoteResult (line 4828) | type NoteServiceQueryNoteResult struct method GetSuccess (line 4838) | func (p *NoteServiceQueryNoteResult) GetSuccess() (v *QueryNoteRespons... method SetSuccess (line 4844) | func (p *NoteServiceQueryNoteResult) SetSuccess(x interface{}) { method IsSetSuccess (line 4852) | func (p *NoteServiceQueryNoteResult) IsSetSuccess() bool { method Read (line 4856) | func (p *NoteServiceQueryNoteResult) Read(iprot thrift.TProtocol) (err... method ReadField0 (line 4915) | func (p *NoteServiceQueryNoteResult) ReadField0(iprot thrift.TProtocol... method Write (line 4923) | func (p *NoteServiceQueryNoteResult) Write(oprot thrift.TProtocol) (er... method writeField0 (line 4952) | func (p *NoteServiceQueryNoteResult) writeField0(oprot thrift.TProtoco... method String (line 4971) | func (p *NoteServiceQueryNoteResult) String() string { method DeepEqual (line 4978) | func (p *NoteServiceQueryNoteResult) DeepEqual(ano *NoteServiceQueryNo... method Field0DeepEqual (line 4990) | func (p *NoteServiceQueryNoteResult) Field0DeepEqual(src *QueryNoteRes... function NewNoteServiceQueryNoteResult (line 4832) | func NewNoteServiceQueryNoteResult() *NoteServiceQueryNoteResult { type NoteServiceMGetNoteArgs (line 4998) | type NoteServiceMGetNoteArgs struct method GetReq (line 5008) | func (p *NoteServiceMGetNoteArgs) GetReq() (v *MGetNoteRequest) { method SetReq (line 5014) | func (p *NoteServiceMGetNoteArgs) SetReq(val *MGetNoteRequest) { method IsSetReq (line 5022) | func (p *NoteServiceMGetNoteArgs) IsSetReq() bool { method Read (line 5026) | func (p *NoteServiceMGetNoteArgs) Read(iprot thrift.TProtocol) (err er... method ReadField1 (line 5085) | func (p *NoteServiceMGetNoteArgs) ReadField1(iprot thrift.TProtocol) e... method Write (line 5093) | func (p *NoteServiceMGetNoteArgs) Write(oprot thrift.TProtocol) (err e... method writeField1 (line 5122) | func (p *NoteServiceMGetNoteArgs) writeField1(oprot thrift.TProtocol) ... method String (line 5139) | func (p *NoteServiceMGetNoteArgs) String() string { method DeepEqual (line 5146) | func (p *NoteServiceMGetNoteArgs) DeepEqual(ano *NoteServiceMGetNoteAr... method Field1DeepEqual (line 5158) | func (p *NoteServiceMGetNoteArgs) Field1DeepEqual(src *MGetNoteRequest... function NewNoteServiceMGetNoteArgs (line 5002) | func NewNoteServiceMGetNoteArgs() *NoteServiceMGetNoteArgs { type NoteServiceMGetNoteResult (line 5166) | type NoteServiceMGetNoteResult struct method GetSuccess (line 5176) | func (p *NoteServiceMGetNoteResult) GetSuccess() (v *MGetNoteResponse) { method SetSuccess (line 5182) | func (p *NoteServiceMGetNoteResult) SetSuccess(x interface{}) { method IsSetSuccess (line 5190) | func (p *NoteServiceMGetNoteResult) IsSetSuccess() bool { method Read (line 5194) | func (p *NoteServiceMGetNoteResult) Read(iprot thrift.TProtocol) (err ... method ReadField0 (line 5253) | func (p *NoteServiceMGetNoteResult) ReadField0(iprot thrift.TProtocol)... method Write (line 5261) | func (p *NoteServiceMGetNoteResult) Write(oprot thrift.TProtocol) (err... method writeField0 (line 5290) | func (p *NoteServiceMGetNoteResult) writeField0(oprot thrift.TProtocol... method String (line 5309) | func (p *NoteServiceMGetNoteResult) String() string { method DeepEqual (line 5316) | func (p *NoteServiceMGetNoteResult) DeepEqual(ano *NoteServiceMGetNote... method Field0DeepEqual (line 5328) | func (p *NoteServiceMGetNoteResult) Field0DeepEqual(src *MGetNoteRespo... function NewNoteServiceMGetNoteResult (line 5170) | func NewNoteServiceMGetNoteResult() *NoteServiceMGetNoteResult { FILE: easy_note/kitex_gen/demonote/note_validator.go method IsValid (line 24) | func (p *BaseResp) IsValid() error { method IsValid (line 27) | func (p *Note) IsValid() error { method IsValid (line 30) | func (p *CreateNoteRequest) IsValid() error { method IsValid (line 42) | func (p *CreateNoteResponse) IsValid() error { method IsValid (line 50) | func (p *DeleteNoteRequest) IsValid() error { method IsValid (line 56) | func (p *DeleteNoteResponse) IsValid() error { method IsValid (line 64) | func (p *UpdateNoteRequest) IsValid() error { method IsValid (line 70) | func (p *UpdateNoteResponse) IsValid() error { method IsValid (line 78) | func (p *QueryNoteRequest) IsValid() error { method IsValid (line 90) | func (p *QueryNoteResponse) IsValid() error { method IsValid (line 98) | func (p *MGetNoteRequest) IsValid() error { method IsValid (line 104) | func (p *MGetNoteResponse) IsValid() error { FILE: easy_note/kitex_gen/demonote/noteservice/client.go type Client (line 13) | type Client interface function NewClient (line 22) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 38) | func MustNewClient(destService string, opts ...client.Option) Client { type kNoteServiceClient (line 46) | type kNoteServiceClient struct method CreateNote (line 50) | func (p *kNoteServiceClient) CreateNote(ctx context.Context, req *demo... method DeleteNote (line 55) | func (p *kNoteServiceClient) DeleteNote(ctx context.Context, req *demo... method UpdateNote (line 60) | func (p *kNoteServiceClient) UpdateNote(ctx context.Context, req *demo... method QueryNote (line 65) | func (p *kNoteServiceClient) QueryNote(ctx context.Context, req *demon... method MGetNote (line 70) | func (p *kNoteServiceClient) MGetNote(ctx context.Context, req *demono... FILE: easy_note/kitex_gen/demonote/noteservice/invoker.go function NewInvoker (line 11) | func NewInvoker(handler demonote.NoteService, opts ...server.Option) ser... FILE: easy_note/kitex_gen/demonote/noteservice/noteservice.go function serviceInfo (line 12) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 18) | func NewServiceInfo() *kitex.ServiceInfo { function createNoteHandler (line 42) | func createNoteHandler(ctx context.Context, handler interface{}, arg, re... function newNoteServiceCreateNoteArgs (line 52) | func newNoteServiceCreateNoteArgs() interface{} { function newNoteServiceCreateNoteResult (line 56) | func newNoteServiceCreateNoteResult() interface{} { function deleteNoteHandler (line 60) | func deleteNoteHandler(ctx context.Context, handler interface{}, arg, re... function newNoteServiceDeleteNoteArgs (line 70) | func newNoteServiceDeleteNoteArgs() interface{} { function newNoteServiceDeleteNoteResult (line 74) | func newNoteServiceDeleteNoteResult() interface{} { function updateNoteHandler (line 78) | func updateNoteHandler(ctx context.Context, handler interface{}, arg, re... function newNoteServiceUpdateNoteArgs (line 88) | func newNoteServiceUpdateNoteArgs() interface{} { function newNoteServiceUpdateNoteResult (line 92) | func newNoteServiceUpdateNoteResult() interface{} { function queryNoteHandler (line 96) | func queryNoteHandler(ctx context.Context, handler interface{}, arg, res... function newNoteServiceQueryNoteArgs (line 106) | func newNoteServiceQueryNoteArgs() interface{} { function newNoteServiceQueryNoteResult (line 110) | func newNoteServiceQueryNoteResult() interface{} { function mGetNoteHandler (line 114) | func mGetNoteHandler(ctx context.Context, handler interface{}, arg, resu... function newNoteServiceMGetNoteArgs (line 124) | func newNoteServiceMGetNoteArgs() interface{} { function newNoteServiceMGetNoteResult (line 128) | func newNoteServiceMGetNoteResult() interface{} { type kClient (line 132) | type kClient struct method CreateNote (line 142) | func (p *kClient) CreateNote(ctx context.Context, req *demonote.Create... method DeleteNote (line 152) | func (p *kClient) DeleteNote(ctx context.Context, req *demonote.Delete... method UpdateNote (line 162) | func (p *kClient) UpdateNote(ctx context.Context, req *demonote.Update... method QueryNote (line 172) | func (p *kClient) QueryNote(ctx context.Context, req *demonote.QueryNo... method MGetNote (line 182) | func (p *kClient) MGetNote(ctx context.Context, req *demonote.MGetNote... function newServiceClient (line 136) | func newServiceClient(c client.Client) *kClient { FILE: easy_note/kitex_gen/demonote/noteservice/server.go function NewServer (line 10) | func NewServer(handler demonote.NoteService, opts ...server.Option) serv... FILE: easy_note/kitex_gen/demouser/k-user.go method FastRead (line 26) | func (p *BaseResp) FastRead(buf []byte) (int, error) { method FastReadField1 (line 125) | func (p *BaseResp) FastReadField1(buf []byte) (int, error) { method FastReadField2 (line 139) | func (p *BaseResp) FastReadField2(buf []byte) (int, error) { method FastReadField3 (line 153) | func (p *BaseResp) FastReadField3(buf []byte) (int, error) { method FastWrite (line 168) | func (p *BaseResp) FastWrite(buf []byte) int { method FastWriteNocopy (line 172) | func (p *BaseResp) FastWriteNocopy(buf []byte, binaryWriter bthrift.Bina... method BLength (line 185) | func (p *BaseResp) BLength() int { method fastWriteField1 (line 198) | func (p *BaseResp) fastWriteField1(buf []byte, binaryWriter bthrift.Bina... method fastWriteField2 (line 207) | func (p *BaseResp) fastWriteField2(buf []byte, binaryWriter bthrift.Bina... method fastWriteField3 (line 216) | func (p *BaseResp) fastWriteField3(buf []byte, binaryWriter bthrift.Bina... method field1Length (line 225) | func (p *BaseResp) field1Length() int { method field2Length (line 234) | func (p *BaseResp) field2Length() int { method field3Length (line 243) | func (p *BaseResp) field3Length() int { method FastRead (line 252) | func (p *User) FastRead(buf []byte) (int, error) { method FastReadField1 (line 351) | func (p *User) FastReadField1(buf []byte) (int, error) { method FastReadField2 (line 365) | func (p *User) FastReadField2(buf []byte) (int, error) { method FastReadField3 (line 379) | func (p *User) FastReadField3(buf []byte) (int, error) { method FastWrite (line 394) | func (p *User) FastWrite(buf []byte) int { method FastWriteNocopy (line 398) | func (p *User) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWr... method BLength (line 411) | func (p *User) BLength() int { method fastWriteField1 (line 424) | func (p *User) fastWriteField1(buf []byte, binaryWriter bthrift.BinaryWr... method fastWriteField2 (line 433) | func (p *User) fastWriteField2(buf []byte, binaryWriter bthrift.BinaryWr... method fastWriteField3 (line 442) | func (p *User) fastWriteField3(buf []byte, binaryWriter bthrift.BinaryWr... method field1Length (line 451) | func (p *User) field1Length() int { method field2Length (line 460) | func (p *User) field2Length() int { method field3Length (line 469) | func (p *User) field3Length() int { method FastRead (line 478) | func (p *CreateUserRequest) FastRead(buf []byte) (int, error) { method FastReadField1 (line 563) | func (p *CreateUserRequest) FastReadField1(buf []byte) (int, error) { method FastReadField2 (line 577) | func (p *CreateUserRequest) FastReadField2(buf []byte) (int, error) { method FastWrite (line 592) | func (p *CreateUserRequest) FastWrite(buf []byte) int { method FastWriteNocopy (line 596) | func (p *CreateUserRequest) FastWriteNocopy(buf []byte, binaryWriter bth... method BLength (line 608) | func (p *CreateUserRequest) BLength() int { method fastWriteField1 (line 620) | func (p *CreateUserRequest) fastWriteField1(buf []byte, binaryWriter bth... method fastWriteField2 (line 629) | func (p *CreateUserRequest) fastWriteField2(buf []byte, binaryWriter bth... method field1Length (line 638) | func (p *CreateUserRequest) field1Length() int { method field2Length (line 647) | func (p *CreateUserRequest) field2Length() int { method FastRead (line 656) | func (p *CreateUserResponse) FastRead(buf []byte) (int, error) { method FastReadField1 (line 727) | func (p *CreateUserResponse) FastReadField1(buf []byte) (int, error) { method FastWrite (line 741) | func (p *CreateUserResponse) FastWrite(buf []byte) int { method FastWriteNocopy (line 745) | func (p *CreateUserResponse) FastWriteNocopy(buf []byte, binaryWriter bt... method BLength (line 756) | func (p *CreateUserResponse) BLength() int { method fastWriteField1 (line 767) | func (p *CreateUserResponse) fastWriteField1(buf []byte, binaryWriter bt... method field1Length (line 775) | func (p *CreateUserResponse) field1Length() int { method FastRead (line 783) | func (p *MGetUserRequest) FastRead(buf []byte) (int, error) { method FastReadField1 (line 854) | func (p *MGetUserRequest) FastReadField1(buf []byte) (int, error) { method FastWrite (line 885) | func (p *MGetUserRequest) FastWrite(buf []byte) int { method FastWriteNocopy (line 889) | func (p *MGetUserRequest) FastWriteNocopy(buf []byte, binaryWriter bthri... method BLength (line 900) | func (p *MGetUserRequest) BLength() int { method fastWriteField1 (line 911) | func (p *MGetUserRequest) fastWriteField1(buf []byte, binaryWriter bthri... method field1Length (line 928) | func (p *MGetUserRequest) field1Length() int { method FastRead (line 939) | func (p *MGetUserResponse) FastRead(buf []byte) (int, error) { method FastReadField1 (line 1024) | func (p *MGetUserResponse) FastReadField1(buf []byte) (int, error) { method FastReadField2 (line 1051) | func (p *MGetUserResponse) FastReadField2(buf []byte) (int, error) { method FastWrite (line 1065) | func (p *MGetUserResponse) FastWrite(buf []byte) int { method FastWriteNocopy (line 1069) | func (p *MGetUserResponse) FastWriteNocopy(buf []byte, binaryWriter bthr... method BLength (line 1081) | func (p *MGetUserResponse) BLength() int { method fastWriteField1 (line 1093) | func (p *MGetUserResponse) fastWriteField1(buf []byte, binaryWriter bthr... method fastWriteField2 (line 1109) | func (p *MGetUserResponse) fastWriteField2(buf []byte, binaryWriter bthr... method field1Length (line 1117) | func (p *MGetUserResponse) field1Length() int { method field2Length (line 1129) | func (p *MGetUserResponse) field2Length() int { method FastRead (line 1137) | func (p *CheckUserRequest) FastRead(buf []byte) (int, error) { method FastReadField1 (line 1222) | func (p *CheckUserRequest) FastReadField1(buf []byte) (int, error) { method FastReadField2 (line 1236) | func (p *CheckUserRequest) FastReadField2(buf []byte) (int, error) { method FastWrite (line 1251) | func (p *CheckUserRequest) FastWrite(buf []byte) int { method FastWriteNocopy (line 1255) | func (p *CheckUserRequest) FastWriteNocopy(buf []byte, binaryWriter bthr... method BLength (line 1267) | func (p *CheckUserRequest) BLength() int { method fastWriteField1 (line 1279) | func (p *CheckUserRequest) fastWriteField1(buf []byte, binaryWriter bthr... method fastWriteField2 (line 1288) | func (p *CheckUserRequest) fastWriteField2(buf []byte, binaryWriter bthr... method field1Length (line 1297) | func (p *CheckUserRequest) field1Length() int { method field2Length (line 1306) | func (p *CheckUserRequest) field2Length() int { method FastRead (line 1315) | func (p *CheckUserResponse) FastRead(buf []byte) (int, error) { method FastReadField1 (line 1400) | func (p *CheckUserResponse) FastReadField1(buf []byte) (int, error) { method FastReadField2 (line 1414) | func (p *CheckUserResponse) FastReadField2(buf []byte) (int, error) { method FastWrite (line 1428) | func (p *CheckUserResponse) FastWrite(buf []byte) int { method FastWriteNocopy (line 1432) | func (p *CheckUserResponse) FastWriteNocopy(buf []byte, binaryWriter bth... method BLength (line 1444) | func (p *CheckUserResponse) BLength() int { method fastWriteField1 (line 1456) | func (p *CheckUserResponse) fastWriteField1(buf []byte, binaryWriter bth... method fastWriteField2 (line 1465) | func (p *CheckUserResponse) fastWriteField2(buf []byte, binaryWriter bth... method field1Length (line 1473) | func (p *CheckUserResponse) field1Length() int { method field2Length (line 1482) | func (p *CheckUserResponse) field2Length() int { method FastRead (line 1490) | func (p *UserServiceCreateUserArgs) FastRead(buf []byte) (int, error) { method FastReadField1 (line 1561) | func (p *UserServiceCreateUserArgs) FastReadField1(buf []byte) (int, err... method FastWrite (line 1575) | func (p *UserServiceCreateUserArgs) FastWrite(buf []byte) int { method FastWriteNocopy (line 1579) | func (p *UserServiceCreateUserArgs) FastWriteNocopy(buf []byte, binaryWr... method BLength (line 1590) | func (p *UserServiceCreateUserArgs) BLength() int { method fastWriteField1 (line 1601) | func (p *UserServiceCreateUserArgs) fastWriteField1(buf []byte, binaryWr... method field1Length (line 1609) | func (p *UserServiceCreateUserArgs) field1Length() int { method FastRead (line 1617) | func (p *UserServiceCreateUserResult) FastRead(buf []byte) (int, error) { method FastReadField0 (line 1688) | func (p *UserServiceCreateUserResult) FastReadField0(buf []byte) (int, e... method FastWrite (line 1702) | func (p *UserServiceCreateUserResult) FastWrite(buf []byte) int { method FastWriteNocopy (line 1706) | func (p *UserServiceCreateUserResult) FastWriteNocopy(buf []byte, binary... method BLength (line 1717) | func (p *UserServiceCreateUserResult) BLength() int { method fastWriteField0 (line 1728) | func (p *UserServiceCreateUserResult) fastWriteField0(buf []byte, binary... method field0Length (line 1738) | func (p *UserServiceCreateUserResult) field0Length() int { method FastRead (line 1748) | func (p *UserServiceMGetUserArgs) FastRead(buf []byte) (int, error) { method FastReadField1 (line 1819) | func (p *UserServiceMGetUserArgs) FastReadField1(buf []byte) (int, error) { method FastWrite (line 1833) | func (p *UserServiceMGetUserArgs) FastWrite(buf []byte) int { method FastWriteNocopy (line 1837) | func (p *UserServiceMGetUserArgs) FastWriteNocopy(buf []byte, binaryWrit... method BLength (line 1848) | func (p *UserServiceMGetUserArgs) BLength() int { method fastWriteField1 (line 1859) | func (p *UserServiceMGetUserArgs) fastWriteField1(buf []byte, binaryWrit... method field1Length (line 1867) | func (p *UserServiceMGetUserArgs) field1Length() int { method FastRead (line 1875) | func (p *UserServiceMGetUserResult) FastRead(buf []byte) (int, error) { method FastReadField0 (line 1946) | func (p *UserServiceMGetUserResult) FastReadField0(buf []byte) (int, err... method FastWrite (line 1960) | func (p *UserServiceMGetUserResult) FastWrite(buf []byte) int { method FastWriteNocopy (line 1964) | func (p *UserServiceMGetUserResult) FastWriteNocopy(buf []byte, binaryWr... method BLength (line 1975) | func (p *UserServiceMGetUserResult) BLength() int { method fastWriteField0 (line 1986) | func (p *UserServiceMGetUserResult) fastWriteField0(buf []byte, binaryWr... method field0Length (line 1996) | func (p *UserServiceMGetUserResult) field0Length() int { method FastRead (line 2006) | func (p *UserServiceCheckUserArgs) FastRead(buf []byte) (int, error) { method FastReadField1 (line 2077) | func (p *UserServiceCheckUserArgs) FastReadField1(buf []byte) (int, erro... method FastWrite (line 2091) | func (p *UserServiceCheckUserArgs) FastWrite(buf []byte) int { method FastWriteNocopy (line 2095) | func (p *UserServiceCheckUserArgs) FastWriteNocopy(buf []byte, binaryWri... method BLength (line 2106) | func (p *UserServiceCheckUserArgs) BLength() int { method fastWriteField1 (line 2117) | func (p *UserServiceCheckUserArgs) fastWriteField1(buf []byte, binaryWri... method field1Length (line 2125) | func (p *UserServiceCheckUserArgs) field1Length() int { method FastRead (line 2133) | func (p *UserServiceCheckUserResult) FastRead(buf []byte) (int, error) { method FastReadField0 (line 2204) | func (p *UserServiceCheckUserResult) FastReadField0(buf []byte) (int, er... method FastWrite (line 2218) | func (p *UserServiceCheckUserResult) FastWrite(buf []byte) int { method FastWriteNocopy (line 2222) | func (p *UserServiceCheckUserResult) FastWriteNocopy(buf []byte, binaryW... method BLength (line 2233) | func (p *UserServiceCheckUserResult) BLength() int { method fastWriteField0 (line 2244) | func (p *UserServiceCheckUserResult) fastWriteField0(buf []byte, binaryW... method field0Length (line 2254) | func (p *UserServiceCheckUserResult) field0Length() int { method GetFirstArgument (line 2264) | func (p *UserServiceCreateUserArgs) GetFirstArgument() interface{} { method GetResult (line 2268) | func (p *UserServiceCreateUserResult) GetResult() interface{} { method GetFirstArgument (line 2272) | func (p *UserServiceMGetUserArgs) GetFirstArgument() interface{} { method GetResult (line 2276) | func (p *UserServiceMGetUserResult) GetResult() interface{} { method GetFirstArgument (line 2280) | func (p *UserServiceCheckUserArgs) GetFirstArgument() interface{} { method GetResult (line 2284) | func (p *UserServiceCheckUserResult) GetResult() interface{} { FILE: easy_note/kitex_gen/demouser/user.go type ErrCode (line 14) | type ErrCode method String (line 24) | func (p ErrCode) String() string { method Scan (line 57) | func (p *ErrCode) Scan(value interface{}) (err error) { method Value (line 64) | func (p *ErrCode) Value() (driver.Value, error) { constant ErrCode_SuccessCode (line 17) | ErrCode_SuccessCode ErrCode = 0 constant ErrCode_ServiceErrCode (line 18) | ErrCode_ServiceErrCode ErrCode = 10001 constant ErrCode_ParamErrCode (line 19) | ErrCode_ParamErrCode ErrCode = 10002 constant ErrCode_UserAlreadyExistErrCode (line 20) | ErrCode_UserAlreadyExistErrCode ErrCode = 10003 constant ErrCode_AuthorizationFailedErrCode (line 21) | ErrCode_AuthorizationFailedErrCode ErrCode = 10004 function ErrCodeFromString (line 40) | func ErrCodeFromString(s string) (ErrCode, error) { function ErrCodePtr (line 56) | func ErrCodePtr(v ErrCode) *ErrCode { return &v } type BaseResp (line 71) | type BaseResp struct method GetStatusCode (line 81) | func (p *BaseResp) GetStatusCode() (v int64) { method GetStatusMessage (line 85) | func (p *BaseResp) GetStatusMessage() (v string) { method GetServiceTime (line 89) | func (p *BaseResp) GetServiceTime() (v int64) { method SetStatusCode (line 92) | func (p *BaseResp) SetStatusCode(val int64) { method SetStatusMessage (line 95) | func (p *BaseResp) SetStatusMessage(val string) { method SetServiceTime (line 98) | func (p *BaseResp) SetServiceTime(val int64) { method Read (line 108) | func (p *BaseResp) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 187) | func (p *BaseResp) ReadField1(iprot thrift.TProtocol) error { method ReadField2 (line 196) | func (p *BaseResp) ReadField2(iprot thrift.TProtocol) error { method ReadField3 (line 205) | func (p *BaseResp) ReadField3(iprot thrift.TProtocol) error { method Write (line 214) | func (p *BaseResp) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 251) | func (p *BaseResp) writeField1(oprot thrift.TProtocol) (err error) { method writeField2 (line 268) | func (p *BaseResp) writeField2(oprot thrift.TProtocol) (err error) { method writeField3 (line 285) | func (p *BaseResp) writeField3(oprot thrift.TProtocol) (err error) { method String (line 302) | func (p *BaseResp) String() string { method DeepEqual (line 309) | func (p *BaseResp) DeepEqual(ano *BaseResp) bool { method Field1DeepEqual (line 327) | func (p *BaseResp) Field1DeepEqual(src int64) bool { method Field2DeepEqual (line 334) | func (p *BaseResp) Field2DeepEqual(src string) bool { method Field3DeepEqual (line 341) | func (p *BaseResp) Field3DeepEqual(src int64) bool { function NewBaseResp (line 77) | func NewBaseResp() *BaseResp { type User (line 349) | type User struct method GetUserId (line 359) | func (p *User) GetUserId() (v int64) { method GetUsername (line 363) | func (p *User) GetUsername() (v string) { method GetAvatar (line 367) | func (p *User) GetAvatar() (v string) { method SetUserId (line 370) | func (p *User) SetUserId(val int64) { method SetUsername (line 373) | func (p *User) SetUsername(val string) { method SetAvatar (line 376) | func (p *User) SetAvatar(val string) { method Read (line 386) | func (p *User) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 465) | func (p *User) ReadField1(iprot thrift.TProtocol) error { method ReadField2 (line 474) | func (p *User) ReadField2(iprot thrift.TProtocol) error { method ReadField3 (line 483) | func (p *User) ReadField3(iprot thrift.TProtocol) error { method Write (line 492) | func (p *User) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 529) | func (p *User) writeField1(oprot thrift.TProtocol) (err error) { method writeField2 (line 546) | func (p *User) writeField2(oprot thrift.TProtocol) (err error) { method writeField3 (line 563) | func (p *User) writeField3(oprot thrift.TProtocol) (err error) { method String (line 580) | func (p *User) String() string { method DeepEqual (line 587) | func (p *User) DeepEqual(ano *User) bool { method Field1DeepEqual (line 605) | func (p *User) Field1DeepEqual(src int64) bool { method Field2DeepEqual (line 612) | func (p *User) Field2DeepEqual(src string) bool { method Field3DeepEqual (line 619) | func (p *User) Field3DeepEqual(src string) bool { function NewUser (line 355) | func NewUser() *User { type CreateUserRequest (line 627) | type CreateUserRequest struct method GetUsername (line 636) | func (p *CreateUserRequest) GetUsername() (v string) { method GetPassword (line 640) | func (p *CreateUserRequest) GetPassword() (v string) { method SetUsername (line 643) | func (p *CreateUserRequest) SetUsername(val string) { method SetPassword (line 646) | func (p *CreateUserRequest) SetPassword(val string) { method Read (line 655) | func (p *CreateUserRequest) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 724) | func (p *CreateUserRequest) ReadField1(iprot thrift.TProtocol) error { method ReadField2 (line 733) | func (p *CreateUserRequest) ReadField2(iprot thrift.TProtocol) error { method Write (line 742) | func (p *CreateUserRequest) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 775) | func (p *CreateUserRequest) writeField1(oprot thrift.TProtocol) (err e... method writeField2 (line 792) | func (p *CreateUserRequest) writeField2(oprot thrift.TProtocol) (err e... method String (line 809) | func (p *CreateUserRequest) String() string { method DeepEqual (line 816) | func (p *CreateUserRequest) DeepEqual(ano *CreateUserRequest) bool { method Field1DeepEqual (line 831) | func (p *CreateUserRequest) Field1DeepEqual(src string) bool { method Field2DeepEqual (line 838) | func (p *CreateUserRequest) Field2DeepEqual(src string) bool { function NewCreateUserRequest (line 632) | func NewCreateUserRequest() *CreateUserRequest { type CreateUserResponse (line 846) | type CreateUserResponse struct method GetBaseResp (line 856) | func (p *CreateUserResponse) GetBaseResp() (v *BaseResp) { method SetBaseResp (line 862) | func (p *CreateUserResponse) SetBaseResp(val *BaseResp) { method IsSetBaseResp (line 870) | func (p *CreateUserResponse) IsSetBaseResp() bool { method Read (line 874) | func (p *CreateUserResponse) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 933) | func (p *CreateUserResponse) ReadField1(iprot thrift.TProtocol) error { method Write (line 941) | func (p *CreateUserResponse) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 970) | func (p *CreateUserResponse) writeField1(oprot thrift.TProtocol) (err ... method String (line 987) | func (p *CreateUserResponse) String() string { method DeepEqual (line 994) | func (p *CreateUserResponse) DeepEqual(ano *CreateUserResponse) bool { method Field1DeepEqual (line 1006) | func (p *CreateUserResponse) Field1DeepEqual(src *BaseResp) bool { function NewCreateUserResponse (line 850) | func NewCreateUserResponse() *CreateUserResponse { type MGetUserRequest (line 1014) | type MGetUserRequest struct method GetUserIds (line 1022) | func (p *MGetUserRequest) GetUserIds() (v []int64) { method SetUserIds (line 1025) | func (p *MGetUserRequest) SetUserIds(val []int64) { method Read (line 1033) | func (p *MGetUserRequest) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 1092) | func (p *MGetUserRequest) ReadField1(iprot thrift.TProtocol) error { method Write (line 1114) | func (p *MGetUserRequest) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 1143) | func (p *MGetUserRequest) writeField1(oprot thrift.TProtocol) (err err... method String (line 1168) | func (p *MGetUserRequest) String() string { method DeepEqual (line 1175) | func (p *MGetUserRequest) DeepEqual(ano *MGetUserRequest) bool { method Field1DeepEqual (line 1187) | func (p *MGetUserRequest) Field1DeepEqual(src []int64) bool { function NewMGetUserRequest (line 1018) | func NewMGetUserRequest() *MGetUserRequest { type MGetUserResponse (line 1201) | type MGetUserResponse struct method GetUsers (line 1210) | func (p *MGetUserResponse) GetUsers() (v []*User) { method GetBaseResp (line 1216) | func (p *MGetUserResponse) GetBaseResp() (v *BaseResp) { method SetUsers (line 1222) | func (p *MGetUserResponse) SetUsers(val []*User) { method SetBaseResp (line 1225) | func (p *MGetUserResponse) SetBaseResp(val *BaseResp) { method IsSetBaseResp (line 1234) | func (p *MGetUserResponse) IsSetBaseResp() bool { method Read (line 1238) | func (p *MGetUserResponse) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 1307) | func (p *MGetUserResponse) ReadField1(iprot thrift.TProtocol) error { method ReadField2 (line 1327) | func (p *MGetUserResponse) ReadField2(iprot thrift.TProtocol) error { method Write (line 1335) | func (p *MGetUserResponse) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 1368) | func (p *MGetUserResponse) writeField1(oprot thrift.TProtocol) (err er... method writeField2 (line 1393) | func (p *MGetUserResponse) writeField2(oprot thrift.TProtocol) (err er... method String (line 1410) | func (p *MGetUserResponse) String() string { method DeepEqual (line 1417) | func (p *MGetUserResponse) DeepEqual(ano *MGetUserResponse) bool { method Field1DeepEqual (line 1432) | func (p *MGetUserResponse) Field1DeepEqual(src []*User) bool { method Field2DeepEqual (line 1445) | func (p *MGetUserResponse) Field2DeepEqual(src *BaseResp) bool { function NewMGetUserResponse (line 1206) | func NewMGetUserResponse() *MGetUserResponse { type CheckUserRequest (line 1453) | type CheckUserRequest struct method GetUsername (line 1462) | func (p *CheckUserRequest) GetUsername() (v string) { method GetPassword (line 1466) | func (p *CheckUserRequest) GetPassword() (v string) { method SetUsername (line 1469) | func (p *CheckUserRequest) SetUsername(val string) { method SetPassword (line 1472) | func (p *CheckUserRequest) SetPassword(val string) { method Read (line 1481) | func (p *CheckUserRequest) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 1550) | func (p *CheckUserRequest) ReadField1(iprot thrift.TProtocol) error { method ReadField2 (line 1559) | func (p *CheckUserRequest) ReadField2(iprot thrift.TProtocol) error { method Write (line 1568) | func (p *CheckUserRequest) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 1601) | func (p *CheckUserRequest) writeField1(oprot thrift.TProtocol) (err er... method writeField2 (line 1618) | func (p *CheckUserRequest) writeField2(oprot thrift.TProtocol) (err er... method String (line 1635) | func (p *CheckUserRequest) String() string { method DeepEqual (line 1642) | func (p *CheckUserRequest) DeepEqual(ano *CheckUserRequest) bool { method Field1DeepEqual (line 1657) | func (p *CheckUserRequest) Field1DeepEqual(src string) bool { method Field2DeepEqual (line 1664) | func (p *CheckUserRequest) Field2DeepEqual(src string) bool { function NewCheckUserRequest (line 1458) | func NewCheckUserRequest() *CheckUserRequest { type CheckUserResponse (line 1672) | type CheckUserResponse struct method GetUserId (line 1681) | func (p *CheckUserResponse) GetUserId() (v int64) { method GetBaseResp (line 1687) | func (p *CheckUserResponse) GetBaseResp() (v *BaseResp) { method SetUserId (line 1693) | func (p *CheckUserResponse) SetUserId(val int64) { method SetBaseResp (line 1696) | func (p *CheckUserResponse) SetBaseResp(val *BaseResp) { method IsSetBaseResp (line 1705) | func (p *CheckUserResponse) IsSetBaseResp() bool { method Read (line 1709) | func (p *CheckUserResponse) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 1778) | func (p *CheckUserResponse) ReadField1(iprot thrift.TProtocol) error { method ReadField2 (line 1787) | func (p *CheckUserResponse) ReadField2(iprot thrift.TProtocol) error { method Write (line 1795) | func (p *CheckUserResponse) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 1828) | func (p *CheckUserResponse) writeField1(oprot thrift.TProtocol) (err e... method writeField2 (line 1845) | func (p *CheckUserResponse) writeField2(oprot thrift.TProtocol) (err e... method String (line 1862) | func (p *CheckUserResponse) String() string { method DeepEqual (line 1869) | func (p *CheckUserResponse) DeepEqual(ano *CheckUserResponse) bool { method Field1DeepEqual (line 1884) | func (p *CheckUserResponse) Field1DeepEqual(src int64) bool { method Field2DeepEqual (line 1891) | func (p *CheckUserResponse) Field2DeepEqual(src *BaseResp) bool { function NewCheckUserResponse (line 1677) | func NewCheckUserResponse() *CheckUserResponse { type UserService (line 1899) | type UserService interface type UserServiceClient (line 1907) | type UserServiceClient struct method Client_ (line 1929) | func (p *UserServiceClient) Client_() thrift.TClient { method CreateUser (line 1933) | func (p *UserServiceClient) CreateUser(ctx context.Context, req *Creat... method MGetUser (line 1942) | func (p *UserServiceClient) MGetUser(ctx context.Context, req *MGetUse... method CheckUser (line 1951) | func (p *UserServiceClient) CheckUser(ctx context.Context, req *CheckU... function NewUserServiceClientFactory (line 1911) | func NewUserServiceClientFactory(t thrift.TTransport, f thrift.TProtocol... function NewUserServiceClientProtocol (line 1917) | func NewUserServiceClientProtocol(t thrift.TTransport, iprot thrift.TPro... function NewUserServiceClient (line 1923) | func NewUserServiceClient(c thrift.TClient) *UserServiceClient { type UserServiceProcessor (line 1961) | type UserServiceProcessor struct method AddToProcessorMap (line 1966) | func (p *UserServiceProcessor) AddToProcessorMap(key string, processor... method GetProcessorFunction (line 1970) | func (p *UserServiceProcessor) GetProcessorFunction(key string) (proce... method ProcessorMap (line 1975) | func (p *UserServiceProcessor) ProcessorMap() map[string]thrift.TProce... method Process (line 1986) | func (p *UserServiceProcessor) Process(ctx context.Context, iprot, opr... function NewUserServiceProcessor (line 1979) | func NewUserServiceProcessor(handler UserService) *UserServiceProcessor { type userServiceProcessorCreateUser (line 2004) | type userServiceProcessorCreateUser struct method Process (line 2008) | func (p *userServiceProcessorCreateUser) Process(ctx context.Context, ... type userServiceProcessorMGetUser (line 2052) | type userServiceProcessorMGetUser struct method Process (line 2056) | func (p *userServiceProcessorMGetUser) Process(ctx context.Context, se... type userServiceProcessorCheckUser (line 2100) | type userServiceProcessorCheckUser struct method Process (line 2104) | func (p *userServiceProcessorCheckUser) Process(ctx context.Context, s... type UserServiceCreateUserArgs (line 2148) | type UserServiceCreateUserArgs struct method GetReq (line 2158) | func (p *UserServiceCreateUserArgs) GetReq() (v *CreateUserRequest) { method SetReq (line 2164) | func (p *UserServiceCreateUserArgs) SetReq(val *CreateUserRequest) { method IsSetReq (line 2172) | func (p *UserServiceCreateUserArgs) IsSetReq() bool { method Read (line 2176) | func (p *UserServiceCreateUserArgs) Read(iprot thrift.TProtocol) (err ... method ReadField1 (line 2235) | func (p *UserServiceCreateUserArgs) ReadField1(iprot thrift.TProtocol)... method Write (line 2243) | func (p *UserServiceCreateUserArgs) Write(oprot thrift.TProtocol) (err... method writeField1 (line 2272) | func (p *UserServiceCreateUserArgs) writeField1(oprot thrift.TProtocol... method String (line 2289) | func (p *UserServiceCreateUserArgs) String() string { method DeepEqual (line 2296) | func (p *UserServiceCreateUserArgs) DeepEqual(ano *UserServiceCreateUs... method Field1DeepEqual (line 2308) | func (p *UserServiceCreateUserArgs) Field1DeepEqual(src *CreateUserReq... function NewUserServiceCreateUserArgs (line 2152) | func NewUserServiceCreateUserArgs() *UserServiceCreateUserArgs { type UserServiceCreateUserResult (line 2316) | type UserServiceCreateUserResult struct method GetSuccess (line 2326) | func (p *UserServiceCreateUserResult) GetSuccess() (v *CreateUserRespo... method SetSuccess (line 2332) | func (p *UserServiceCreateUserResult) SetSuccess(x interface{}) { method IsSetSuccess (line 2340) | func (p *UserServiceCreateUserResult) IsSetSuccess() bool { method Read (line 2344) | func (p *UserServiceCreateUserResult) Read(iprot thrift.TProtocol) (er... method ReadField0 (line 2403) | func (p *UserServiceCreateUserResult) ReadField0(iprot thrift.TProtoco... method Write (line 2411) | func (p *UserServiceCreateUserResult) Write(oprot thrift.TProtocol) (e... method writeField0 (line 2440) | func (p *UserServiceCreateUserResult) writeField0(oprot thrift.TProtoc... method String (line 2459) | func (p *UserServiceCreateUserResult) String() string { method DeepEqual (line 2466) | func (p *UserServiceCreateUserResult) DeepEqual(ano *UserServiceCreate... method Field0DeepEqual (line 2478) | func (p *UserServiceCreateUserResult) Field0DeepEqual(src *CreateUserR... function NewUserServiceCreateUserResult (line 2320) | func NewUserServiceCreateUserResult() *UserServiceCreateUserResult { type UserServiceMGetUserArgs (line 2486) | type UserServiceMGetUserArgs struct method GetReq (line 2496) | func (p *UserServiceMGetUserArgs) GetReq() (v *MGetUserRequest) { method SetReq (line 2502) | func (p *UserServiceMGetUserArgs) SetReq(val *MGetUserRequest) { method IsSetReq (line 2510) | func (p *UserServiceMGetUserArgs) IsSetReq() bool { method Read (line 2514) | func (p *UserServiceMGetUserArgs) Read(iprot thrift.TProtocol) (err er... method ReadField1 (line 2573) | func (p *UserServiceMGetUserArgs) ReadField1(iprot thrift.TProtocol) e... method Write (line 2581) | func (p *UserServiceMGetUserArgs) Write(oprot thrift.TProtocol) (err e... method writeField1 (line 2610) | func (p *UserServiceMGetUserArgs) writeField1(oprot thrift.TProtocol) ... method String (line 2627) | func (p *UserServiceMGetUserArgs) String() string { method DeepEqual (line 2634) | func (p *UserServiceMGetUserArgs) DeepEqual(ano *UserServiceMGetUserAr... method Field1DeepEqual (line 2646) | func (p *UserServiceMGetUserArgs) Field1DeepEqual(src *MGetUserRequest... function NewUserServiceMGetUserArgs (line 2490) | func NewUserServiceMGetUserArgs() *UserServiceMGetUserArgs { type UserServiceMGetUserResult (line 2654) | type UserServiceMGetUserResult struct method GetSuccess (line 2664) | func (p *UserServiceMGetUserResult) GetSuccess() (v *MGetUserResponse) { method SetSuccess (line 2670) | func (p *UserServiceMGetUserResult) SetSuccess(x interface{}) { method IsSetSuccess (line 2678) | func (p *UserServiceMGetUserResult) IsSetSuccess() bool { method Read (line 2682) | func (p *UserServiceMGetUserResult) Read(iprot thrift.TProtocol) (err ... method ReadField0 (line 2741) | func (p *UserServiceMGetUserResult) ReadField0(iprot thrift.TProtocol)... method Write (line 2749) | func (p *UserServiceMGetUserResult) Write(oprot thrift.TProtocol) (err... method writeField0 (line 2778) | func (p *UserServiceMGetUserResult) writeField0(oprot thrift.TProtocol... method String (line 2797) | func (p *UserServiceMGetUserResult) String() string { method DeepEqual (line 2804) | func (p *UserServiceMGetUserResult) DeepEqual(ano *UserServiceMGetUser... method Field0DeepEqual (line 2816) | func (p *UserServiceMGetUserResult) Field0DeepEqual(src *MGetUserRespo... function NewUserServiceMGetUserResult (line 2658) | func NewUserServiceMGetUserResult() *UserServiceMGetUserResult { type UserServiceCheckUserArgs (line 2824) | type UserServiceCheckUserArgs struct method GetReq (line 2834) | func (p *UserServiceCheckUserArgs) GetReq() (v *CheckUserRequest) { method SetReq (line 2840) | func (p *UserServiceCheckUserArgs) SetReq(val *CheckUserRequest) { method IsSetReq (line 2848) | func (p *UserServiceCheckUserArgs) IsSetReq() bool { method Read (line 2852) | func (p *UserServiceCheckUserArgs) Read(iprot thrift.TProtocol) (err e... method ReadField1 (line 2911) | func (p *UserServiceCheckUserArgs) ReadField1(iprot thrift.TProtocol) ... method Write (line 2919) | func (p *UserServiceCheckUserArgs) Write(oprot thrift.TProtocol) (err ... method writeField1 (line 2948) | func (p *UserServiceCheckUserArgs) writeField1(oprot thrift.TProtocol)... method String (line 2965) | func (p *UserServiceCheckUserArgs) String() string { method DeepEqual (line 2972) | func (p *UserServiceCheckUserArgs) DeepEqual(ano *UserServiceCheckUser... method Field1DeepEqual (line 2984) | func (p *UserServiceCheckUserArgs) Field1DeepEqual(src *CheckUserReque... function NewUserServiceCheckUserArgs (line 2828) | func NewUserServiceCheckUserArgs() *UserServiceCheckUserArgs { type UserServiceCheckUserResult (line 2992) | type UserServiceCheckUserResult struct method GetSuccess (line 3002) | func (p *UserServiceCheckUserResult) GetSuccess() (v *CheckUserRespons... method SetSuccess (line 3008) | func (p *UserServiceCheckUserResult) SetSuccess(x interface{}) { method IsSetSuccess (line 3016) | func (p *UserServiceCheckUserResult) IsSetSuccess() bool { method Read (line 3020) | func (p *UserServiceCheckUserResult) Read(iprot thrift.TProtocol) (err... method ReadField0 (line 3079) | func (p *UserServiceCheckUserResult) ReadField0(iprot thrift.TProtocol... method Write (line 3087) | func (p *UserServiceCheckUserResult) Write(oprot thrift.TProtocol) (er... method writeField0 (line 3116) | func (p *UserServiceCheckUserResult) writeField0(oprot thrift.TProtoco... method String (line 3135) | func (p *UserServiceCheckUserResult) String() string { method DeepEqual (line 3142) | func (p *UserServiceCheckUserResult) DeepEqual(ano *UserServiceCheckUs... method Field0DeepEqual (line 3154) | func (p *UserServiceCheckUserResult) Field0DeepEqual(src *CheckUserRes... function NewUserServiceCheckUserResult (line 2996) | func NewUserServiceCheckUserResult() *UserServiceCheckUserResult { FILE: easy_note/kitex_gen/demouser/user_validator.go method IsValid (line 24) | func (p *BaseResp) IsValid() error { method IsValid (line 27) | func (p *User) IsValid() error { method IsValid (line 30) | func (p *CreateUserRequest) IsValid() error { method IsValid (line 39) | func (p *CreateUserResponse) IsValid() error { method IsValid (line 47) | func (p *MGetUserRequest) IsValid() error { method IsValid (line 53) | func (p *MGetUserResponse) IsValid() error { method IsValid (line 61) | func (p *CheckUserRequest) IsValid() error { method IsValid (line 70) | func (p *CheckUserResponse) IsValid() error { FILE: easy_note/kitex_gen/demouser/userservice/client.go type Client (line 13) | type Client interface function NewClient (line 20) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 36) | func MustNewClient(destService string, opts ...client.Option) Client { type kUserServiceClient (line 44) | type kUserServiceClient struct method CreateUser (line 48) | func (p *kUserServiceClient) CreateUser(ctx context.Context, req *demo... method MGetUser (line 53) | func (p *kUserServiceClient) MGetUser(ctx context.Context, req *demous... method CheckUser (line 58) | func (p *kUserServiceClient) CheckUser(ctx context.Context, req *demou... FILE: easy_note/kitex_gen/demouser/userservice/invoker.go function NewInvoker (line 11) | func NewInvoker(handler demouser.UserService, opts ...server.Option) ser... FILE: easy_note/kitex_gen/demouser/userservice/server.go function NewServer (line 10) | func NewServer(handler demouser.UserService, opts ...server.Option) serv... FILE: easy_note/kitex_gen/demouser/userservice/userservice.go function serviceInfo (line 12) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 18) | func NewServiceInfo() *kitex.ServiceInfo { function createUserHandler (line 40) | func createUserHandler(ctx context.Context, handler interface{}, arg, re... function newUserServiceCreateUserArgs (line 50) | func newUserServiceCreateUserArgs() interface{} { function newUserServiceCreateUserResult (line 54) | func newUserServiceCreateUserResult() interface{} { function mGetUserHandler (line 58) | func mGetUserHandler(ctx context.Context, handler interface{}, arg, resu... function newUserServiceMGetUserArgs (line 68) | func newUserServiceMGetUserArgs() interface{} { function newUserServiceMGetUserResult (line 72) | func newUserServiceMGetUserResult() interface{} { function checkUserHandler (line 76) | func checkUserHandler(ctx context.Context, handler interface{}, arg, res... function newUserServiceCheckUserArgs (line 86) | func newUserServiceCheckUserArgs() interface{} { function newUserServiceCheckUserResult (line 90) | func newUserServiceCheckUserResult() interface{} { type kClient (line 94) | type kClient struct method CreateUser (line 104) | func (p *kClient) CreateUser(ctx context.Context, req *demouser.Create... method MGetUser (line 114) | func (p *kClient) MGetUser(ctx context.Context, req *demouser.MGetUser... method CheckUser (line 124) | func (p *kClient) CheckUser(ctx context.Context, req *demouser.CheckUs... function newServiceClient (line 98) | func newServiceClient(c client.Client) *kClient { FILE: easy_note/pkg/configs/sql/init.sql type `user` (line 1) | CREATE TABLE `user` type `note` (line 13) | CREATE TABLE `note` FILE: easy_note/pkg/consts/consts.go constant NoteTableName (line 19) | NoteTableName = "note" constant UserTableName (line 20) | UserTableName = "user" constant SecretKey (line 21) | SecretKey = "secret key" constant IdentityKey (line 22) | IdentityKey = "id" constant Total (line 23) | Total = "total" constant Notes (line 24) | Notes = "notes" constant ApiServiceName (line 25) | ApiServiceName = "demoapi" constant NoteServiceName (line 26) | NoteServiceName = "demonote" constant UserServiceName (line 27) | UserServiceName = "demouser" constant MySQLDefaultDSN (line 28) | MySQLDefaultDSN = "gorm:gorm@tcp(localhost:3306)/gorm?charset=utf8&parse... constant TCP (line 29) | TCP = "tcp" constant UserServiceAddr (line 30) | UserServiceAddr = ":9000" constant NoteServiceAddr (line 31) | NoteServiceAddr = ":10000" constant ExportEndpoint (line 32) | ExportEndpoint = ":4317" constant ETCDAddress (line 33) | ETCDAddress = "127.0.0.1:2379" constant DefaultLimit (line 34) | DefaultLimit = 10 FILE: easy_note/pkg/errno/errno.go type ErrNo (line 25) | type ErrNo struct method Error (line 30) | func (e ErrNo) Error() string { method WithMessage (line 41) | func (e ErrNo) WithMessage(msg string) ErrNo { function NewErrNo (line 34) | func NewErrNo(code int64, msg string) ErrNo { function ConvertErr (line 55) | func ConvertErr(err error) ErrNo { FILE: easy_note/pkg/mw/client.go function ClientMiddleware (line 29) | func ClientMiddleware(next endpoint.Endpoint) endpoint.Endpoint { FILE: easy_note/pkg/mw/common.go function CommonMiddleware (line 29) | func CommonMiddleware(next endpoint.Endpoint) endpoint.Endpoint { FILE: easy_note/pkg/mw/server.go function ServerMiddleware (line 29) | func ServerMiddleware(next endpoint.Endpoint) endpoint.Endpoint { FILE: gomall/app/cart/biz/dal/init.go function Init (line 21) | func Init() { FILE: gomall/app/cart/biz/dal/mysql/init.go function Init (line 35) | func Init() { FILE: gomall/app/cart/biz/dal/redis/init.go function Init (line 26) | func Init() { FILE: gomall/app/cart/biz/model/base.go type Base (line 19) | type Base struct FILE: gomall/app/cart/biz/model/cart.go type Cart (line 24) | type Cart struct method TableName (line 31) | func (c Cart) TableName() string { function GetCartByUserId (line 35) | func GetCartByUserId(db *gorm.DB, ctx context.Context, userId uint32) (c... function AddCart (line 40) | func AddCart(db *gorm.DB, ctx context.Context, c *Cart) error { function EmptyCart (line 54) | func EmptyCart(db *gorm.DB, ctx context.Context, userId uint32) error { FILE: gomall/app/cart/biz/service/add_item.go type AddItemService (line 29) | type AddItemService struct method Run (line 37) | func (s *AddItemService) Run(req *cart.AddItemReq) (resp *cart.AddItem... function NewAddItemService (line 32) | func NewAddItemService(ctx context.Context) *AddItemService { FILE: gomall/app/cart/biz/service/add_item_test.go function TestAddItem_Run (line 21) | func TestAddItem_Run(t *testing.T) { FILE: gomall/app/cart/biz/service/empty_cart.go type EmptyCartService (line 26) | type EmptyCartService struct method Run (line 34) | func (s *EmptyCartService) Run(req *cart.EmptyCartReq) (resp *cart.Emp... function NewEmptyCartService (line 29) | func NewEmptyCartService(ctx context.Context) *EmptyCartService { FILE: gomall/app/cart/biz/service/empty_cart_test.go function TestEmptyCart_Run (line 21) | func TestEmptyCart_Run(t *testing.T) { FILE: gomall/app/cart/biz/service/get_cart.go type GetCartService (line 26) | type GetCartService struct method Run (line 34) | func (s *GetCartService) Run(req *cart.GetCartReq) (resp *cart.GetCart... function NewGetCartService (line 29) | func NewGetCartService(ctx context.Context) *GetCartService { FILE: gomall/app/cart/biz/service/get_cart_test.go function TestGetCart_Run (line 21) | func TestGetCart_Run(t *testing.T) { FILE: gomall/app/cart/conf/conf.go type Config (line 33) | type Config struct type MySQL (line 41) | type MySQL struct type Redis (line 45) | type Redis struct type Kitex (line 52) | type Kitex struct type Registry (line 66) | type Registry struct function GetConf (line 73) | func GetConf() *Config { function initConf (line 78) | func initConf() { function GetEnv (line 99) | func GetEnv() string { function LogLevel (line 107) | func LogLevel() klog.Level { FILE: gomall/app/cart/handler.go type CartServiceImpl (line 25) | type CartServiceImpl struct method AddItem (line 28) | func (s *CartServiceImpl) AddItem(ctx context.Context, req *cart.AddIt... method GetCart (line 35) | func (s *CartServiceImpl) GetCart(ctx context.Context, req *cart.GetCa... method EmptyCart (line 42) | func (s *CartServiceImpl) EmptyCart(ctx context.Context, req *cart.Emp... FILE: gomall/app/cart/infra/rpc/client.go function InitClient (line 36) | func InitClient() { function initProductClient (line 44) | func initProductClient() { FILE: gomall/app/cart/main.go function main (line 36) | func main() { function kitexInit (line 58) | func kitexInit() (opts []server.Option) { FILE: gomall/app/cart/script/cart.sql type cart (line 1) | create table cart FILE: gomall/app/cart/utils/errors.go function MustHandleError (line 20) | func MustHandleError(err error) { function ShouldHandleError (line 27) | func ShouldHandleError(err error) { FILE: gomall/app/checkout/biz/dal/init.go function Init (line 22) | func Init() { FILE: gomall/app/checkout/biz/dal/mysql/init.go function Init (line 29) | func Init() { FILE: gomall/app/checkout/biz/dal/redis/init.go function Init (line 26) | func Init() { FILE: gomall/app/checkout/biz/service/checkout.go type CheckoutService (line 38) | type CheckoutService struct method Run (line 56) | func (s *CheckoutService) Run(req *checkout.CheckoutReq) (resp *checko... function NewCheckoutService (line 41) | func NewCheckoutService(ctx context.Context) *CheckoutService { FILE: gomall/app/checkout/biz/service/checkout_test.go function TestCheckout_Run (line 21) | func TestCheckout_Run(t *testing.T) { FILE: gomall/app/checkout/conf/conf.go type Config (line 33) | type Config struct type MySQL (line 41) | type MySQL struct type Redis (line 45) | type Redis struct type Kitex (line 52) | type Kitex struct type Registry (line 66) | type Registry struct function GetConf (line 73) | func GetConf() *Config { function initConf (line 78) | func initConf() { function GetEnv (line 99) | func GetEnv() string { function LogLevel (line 107) | func LogLevel() klog.Level { FILE: gomall/app/checkout/handler.go type CheckoutServiceImpl (line 25) | type CheckoutServiceImpl struct method PlaceOrder (line 28) | func (s *CheckoutServiceImpl) PlaceOrder(ctx context.Context, req *che... method Checkout (line 35) | func (s *CheckoutServiceImpl) Checkout(ctx context.Context, req *check... FILE: gomall/app/checkout/infra/mq/nats.go function Init (line 26) | func Init() { FILE: gomall/app/checkout/infra/rpc/client.go function InitClient (line 42) | func InitClient() { function initProductClient (line 57) | func initProductClient() { function initCartClient (line 62) | func initCartClient() { function initPaymentClient (line 67) | func initPaymentClient() { function initOrderClient (line 72) | func initOrderClient() { FILE: gomall/app/checkout/main.go function main (line 36) | func main() { function kitexInit (line 58) | func kitexInit() (opts []server.Option) { FILE: gomall/app/checkout/utils/errors.go function MustHandleError (line 20) | func MustHandleError(err error) { function ShouldHandleError (line 27) | func ShouldHandleError(err error) { FILE: gomall/app/email/biz/consumer/consumer.go function Init (line 19) | func Init() { FILE: gomall/app/email/biz/consumer/email/email.go function ConsumerInit (line 32) | func ConsumerInit() { FILE: gomall/app/email/biz/consumer/email/email_test.go function TestEmailConsumer (line 21) | func TestEmailConsumer(t *testing.T) { FILE: gomall/app/email/biz/dal/init.go function Init (line 22) | func Init() { FILE: gomall/app/email/biz/dal/mysql/init.go function Init (line 29) | func Init() { FILE: gomall/app/email/biz/dal/redis/init.go function Init (line 26) | func Init() { FILE: gomall/app/email/biz/service/send.go type SendService (line 23) | type SendService struct method Run (line 31) | func (s *SendService) Run(req *email.EmailReq) (resp *email.EmailResp,... function NewSendService (line 26) | func NewSendService(ctx context.Context) *SendService { FILE: gomall/app/email/biz/service/send_test.go function TestSend_Run (line 24) | func TestSend_Run(t *testing.T) { FILE: gomall/app/email/conf/conf.go type Config (line 33) | type Config struct type MySQL (line 41) | type MySQL struct type Redis (line 45) | type Redis struct type Kitex (line 52) | type Kitex struct type Registry (line 66) | type Registry struct function GetConf (line 73) | func GetConf() *Config { function initConf (line 78) | func initConf() { function GetEnv (line 99) | func GetEnv() string { function LogLevel (line 107) | func LogLevel() klog.Level { FILE: gomall/app/email/handler.go type EmailServiceImpl (line 25) | type EmailServiceImpl struct method Send (line 28) | func (s *EmailServiceImpl) Send(ctx context.Context, req *email.EmailR... FILE: gomall/app/email/infra/mq/nats.go function Init (line 26) | func Init() { FILE: gomall/app/email/infra/notify/email.go type NoopEmail (line 22) | type NoopEmail struct method Send (line 24) | func (e *NoopEmail) Send(req *email.EmailReq) error { function NewNoopEmail (line 29) | func NewNoopEmail() NoopEmail { FILE: gomall/app/email/main.go function main (line 38) | func main() { function kitexInit (line 60) | func kitexInit() (opts []server.Option) { FILE: gomall/app/frontend/biz/dal/init.go function Init (line 21) | func Init() { FILE: gomall/app/frontend/biz/dal/mysql/init.go function Init (line 28) | func Init() { FILE: gomall/app/frontend/biz/dal/redis/init.go function Init (line 26) | func Init() { FILE: gomall/app/frontend/biz/handler/about/about_service.go function About (line 29) | func About(ctx context.Context, c *app.RequestContext) { FILE: gomall/app/frontend/biz/handler/about/about_service_test.go function TestAbout (line 26) | func TestAbout(t *testing.T) { FILE: gomall/app/frontend/biz/handler/auth/auth_service.go function Register (line 31) | func Register(ctx context.Context, c *app.RequestContext) { function Login (line 50) | func Login(ctx context.Context, c *app.RequestContext) { function Logout (line 70) | func Logout(ctx context.Context, c *app.RequestContext) { FILE: gomall/app/frontend/biz/handler/auth/auth_service_test.go function TestRegister (line 26) | func TestRegister(t *testing.T) { function TestLogin (line 41) | func TestLogin(t *testing.T) { function TestLogout (line 56) | func TestLogout(t *testing.T) { FILE: gomall/app/frontend/biz/handler/cart/cart_service.go function AddCartItem (line 31) | func AddCartItem(ctx context.Context, c *app.RequestContext) { function GetCart (line 51) | func GetCart(ctx context.Context, c *app.RequestContext) { FILE: gomall/app/frontend/biz/handler/cart/cart_service_test.go function TestAddCartItem (line 26) | func TestAddCartItem(t *testing.T) { function TestGetCart (line 41) | func TestGetCart(t *testing.T) { FILE: gomall/app/frontend/biz/handler/category/category_service.go function Category (line 29) | func Category(ctx context.Context, c *app.RequestContext) { FILE: gomall/app/frontend/biz/handler/category/category_service_test.go function TestCategory (line 26) | func TestCategory(t *testing.T) { FILE: gomall/app/frontend/biz/handler/checkout/checkout_service.go function Checkout (line 31) | func Checkout(ctx context.Context, c *app.RequestContext) { function CheckoutWaiting (line 51) | func CheckoutWaiting(ctx context.Context, c *app.RequestContext) { function CheckoutResult (line 71) | func CheckoutResult(ctx context.Context, c *app.RequestContext) { FILE: gomall/app/frontend/biz/handler/checkout/checkout_service_test.go function TestCheckout (line 26) | func TestCheckout(t *testing.T) { function TestCheckoutWaiting (line 41) | func TestCheckoutWaiting(t *testing.T) { function TestCheckoutResult (line 56) | func TestCheckoutResult(t *testing.T) { FILE: gomall/app/frontend/biz/handler/home/home_service.go function Home (line 29) | func Home(ctx context.Context, c *app.RequestContext) { FILE: gomall/app/frontend/biz/handler/home/home_service_test.go function TestHome (line 26) | func TestHome(t *testing.T) { FILE: gomall/app/frontend/biz/handler/order/order_service.go function OrderList (line 30) | func OrderList(ctx context.Context, c *app.RequestContext) { FILE: gomall/app/frontend/biz/handler/order/order_service_test.go function TestOrderList (line 26) | func TestOrderList(t *testing.T) { FILE: gomall/app/frontend/biz/handler/product/product_service.go function GetProduct (line 29) | func GetProduct(ctx context.Context, c *app.RequestContext) { function SearchProducs (line 48) | func SearchProducs(ctx context.Context, c *app.RequestContext) { FILE: gomall/app/frontend/biz/handler/product/product_service_test.go function TestGetProduct (line 26) | func TestGetProduct(t *testing.T) { function TestSearchProducs (line 41) | func TestSearchProducs(t *testing.T) { FILE: gomall/app/frontend/biz/router/about/about.go function Register (line 31) | func Register(r *server.Hertz) { FILE: gomall/app/frontend/biz/router/about/middleware.go function rootMw (line 23) | func rootMw() []app.HandlerFunc { function _aboutMw (line 28) | func _aboutMw() []app.HandlerFunc { FILE: gomall/app/frontend/biz/router/auth/auth_page.go function Register (line 31) | func Register(r *server.Hertz) { FILE: gomall/app/frontend/biz/router/auth/middleware.go function rootMw (line 23) | func rootMw() []app.HandlerFunc { function _authMw (line 28) | func _authMw() []app.HandlerFunc { function _loginMw (line 33) | func _loginMw() []app.HandlerFunc { function _logoutMw (line 38) | func _logoutMw() []app.HandlerFunc { function _registerMw (line 43) | func _registerMw() []app.HandlerFunc { FILE: gomall/app/frontend/biz/router/cart/cart_page.go function Register (line 31) | func Register(r *server.Hertz) { FILE: gomall/app/frontend/biz/router/cart/middleware.go function rootMw (line 24) | func rootMw() []app.HandlerFunc { function _addcartitemMw (line 29) | func _addcartitemMw() []app.HandlerFunc { function _getcartMw (line 34) | func _getcartMw() []app.HandlerFunc { FILE: gomall/app/frontend/biz/router/category/category_page.go function Register (line 31) | func Register(r *server.Hertz) { FILE: gomall/app/frontend/biz/router/category/middleware.go function rootMw (line 23) | func rootMw() []app.HandlerFunc { function _categoryMw (line 28) | func _categoryMw() []app.HandlerFunc { function _category0Mw (line 33) | func _category0Mw() []app.HandlerFunc { FILE: gomall/app/frontend/biz/router/checkout/checkout_page.go function Register (line 31) | func Register(r *server.Hertz) { FILE: gomall/app/frontend/biz/router/checkout/middleware.go function rootMw (line 24) | func rootMw() []app.HandlerFunc { function _checkoutMw (line 29) | func _checkoutMw() []app.HandlerFunc { function _checkout0Mw (line 34) | func _checkout0Mw() []app.HandlerFunc { function _checkoutresultMw (line 39) | func _checkoutresultMw() []app.HandlerFunc { function _checkoutwaitingMw (line 44) | func _checkoutwaitingMw() []app.HandlerFunc { FILE: gomall/app/frontend/biz/router/home/home.go function Register (line 31) | func Register(r *server.Hertz) { FILE: gomall/app/frontend/biz/router/home/middleware.go function rootMw (line 23) | func rootMw() []app.HandlerFunc { function _homeMw (line 28) | func _homeMw() []app.HandlerFunc { FILE: gomall/app/frontend/biz/router/order/middleware.go function rootMw (line 24) | func rootMw() []app.HandlerFunc { function _orderlistMw (line 29) | func _orderlistMw() []app.HandlerFunc { FILE: gomall/app/frontend/biz/router/order/order_page.go function Register (line 31) | func Register(r *server.Hertz) { FILE: gomall/app/frontend/biz/router/product/middleware.go function rootMw (line 23) | func rootMw() []app.HandlerFunc { function _getproductMw (line 28) | func _getproductMw() []app.HandlerFunc { function _searchproducsMw (line 33) | func _searchproducsMw() []app.HandlerFunc { FILE: gomall/app/frontend/biz/router/product/product_page.go function Register (line 31) | func Register(r *server.Hertz) { FILE: gomall/app/frontend/biz/router/register.go function GeneratedRegister (line 32) | func GeneratedRegister(r *server.Hertz) { FILE: gomall/app/frontend/biz/service/about.go type AboutService (line 26) | type AboutService struct method Run (line 35) | func (h *AboutService) Run(req *common.Empty) (resp map[string]any, er... function NewAboutService (line 31) | func NewAboutService(Context context.Context, RequestContext *app.Reques... FILE: gomall/app/frontend/biz/service/add_cart_item.go type AddCartItemService (line 28) | type AddCartItemService struct method Run (line 37) | func (h *AddCartItemService) Run(req *cart.AddCartReq) (resp *common.E... function NewAddCartItemService (line 33) | func NewAddCartItemService(Context context.Context, RequestContext *app.... FILE: gomall/app/frontend/biz/service/category.go type CategoryService (line 27) | type CategoryService struct method Run (line 36) | func (h *CategoryService) Run(req *category.CategoryReq) (resp map[str... function NewCategoryService (line 32) | func NewCategoryService(Context context.Context, RequestContext *app.Req... FILE: gomall/app/frontend/biz/service/checkout.go type CheckoutService (line 30) | type CheckoutService struct method Run (line 39) | func (h *CheckoutService) Run(req *checkout.CheckoutReq) (resp map[str... function NewCheckoutService (line 35) | func NewCheckoutService(Context context.Context, RequestContext *app.Req... FILE: gomall/app/frontend/biz/service/checkout_result.go type CheckoutResultService (line 26) | type CheckoutResultService struct method Run (line 35) | func (h *CheckoutResultService) Run(req *common.Empty) (resp map[strin... function NewCheckoutResultService (line 31) | func NewCheckoutResultService(Context context.Context, RequestContext *a... FILE: gomall/app/frontend/biz/service/checkout_waiting.go type CheckoutWaitingService (line 29) | type CheckoutWaitingService struct method Run (line 38) | func (h *CheckoutWaitingService) Run(req *checkout.CheckoutReq) (resp ... function NewCheckoutWaitingService (line 34) | func NewCheckoutWaitingService(Context context.Context, RequestContext *... FILE: gomall/app/frontend/biz/service/get_cart.go type GetCartService (line 30) | type GetCartService struct method Run (line 39) | func (h *GetCartService) Run(req *common.Empty) (resp map[string]any, ... function NewGetCartService (line 35) | func NewGetCartService(Context context.Context, RequestContext *app.Requ... FILE: gomall/app/frontend/biz/service/get_product.go type GetProductService (line 27) | type GetProductService struct method Run (line 36) | func (h *GetProductService) Run(req *product.ProductReq) (resp map[str... function NewGetProductService (line 32) | func NewGetProductService(Context context.Context, RequestContext *app.R... FILE: gomall/app/frontend/biz/service/home.go type HomeService (line 28) | type HomeService struct method Run (line 37) | func (h *HomeService) Run(req *common.Empty) (res map[string]any, err ... function NewHomeService (line 33) | func NewHomeService(Context context.Context, RequestContext *app.Request... FILE: gomall/app/frontend/biz/service/login.go type LoginService (line 28) | type LoginService struct method Run (line 37) | func (h *LoginService) Run(req *auth.LoginReq) (resp string, err error) { function NewLoginService (line 33) | func NewLoginService(Context context.Context, RequestContext *app.Reques... FILE: gomall/app/frontend/biz/service/logout.go type LogoutService (line 25) | type LogoutService struct method Run (line 34) | func (h *LogoutService) Run(req *common.Empty) (resp *common.Empty, er... function NewLogoutService (line 30) | func NewLogoutService(Context context.Context, RequestContext *app.Reque... FILE: gomall/app/frontend/biz/service/order_list.go type OrderListService (line 31) | type OrderListService struct method Run (line 40) | func (h *OrderListService) Run(req *common.Empty) (resp map[string]any... function NewOrderListService (line 36) | func NewOrderListService(Context context.Context, RequestContext *app.Re... FILE: gomall/app/frontend/biz/service/register.go type RegisterService (line 28) | type RegisterService struct method Run (line 37) | func (h *RegisterService) Run(req *auth.RegisterReq) (resp *common.Emp... function NewRegisterService (line 33) | func NewRegisterService(Context context.Context, RequestContext *app.Req... FILE: gomall/app/frontend/biz/service/search_producs.go type SearchProducsService (line 27) | type SearchProducsService struct method Run (line 36) | func (h *SearchProducsService) Run(req *product.SearchProductsReq) (re... function NewSearchProducsService (line 32) | func NewSearchProducsService(Context context.Context, RequestContext *ap... FILE: gomall/app/frontend/biz/utils/resp.go function SendErrResponse (line 28) | func SendErrResponse(ctx context.Context, c *app.RequestContext, code in... function SendSuccessResponse (line 34) | func SendSuccessResponse(ctx context.Context, c *app.RequestContext, cod... function WarpResponse (line 39) | func WarpResponse(ctx context.Context, c *app.RequestContext, content ma... FILE: gomall/app/frontend/conf/conf.go type Config (line 33) | type Config struct type MySQL (line 41) | type MySQL struct type Redis (line 45) | type Redis struct type Hertz (line 52) | type Hertz struct function GetConf (line 67) | func GetConf() *Config { function initConf (line 72) | func initConf() { function GetEnv (line 96) | func GetEnv() string { function LogLevel (line 104) | func LogLevel() hlog.Level { FILE: gomall/app/frontend/hertz_gen/api/api.pb.go constant _ (line 18) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 20) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) function init (line 671) | func init() { file_api_proto_init() } function file_api_proto_init (line 672) | func file_api_proto_init() { FILE: gomall/app/frontend/hertz_gen/frontend/about/about.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) function init (line 57) | func init() { file_about_proto_init() } function file_about_proto_init (line 58) | func file_about_proto_init() { FILE: gomall/app/frontend/hertz_gen/frontend/auth/auth_page.pb.go constant _ (line 20) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 22) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type RegisterReq (line 25) | type RegisterReq struct method Reset (line 35) | func (x *RegisterReq) Reset() { method String (line 44) | func (x *RegisterReq) String() string { method ProtoMessage (line 48) | func (*RegisterReq) ProtoMessage() {} method ProtoReflect (line 50) | func (x *RegisterReq) ProtoReflect() protoreflect.Message { method Descriptor (line 63) | func (*RegisterReq) Descriptor() ([]byte, []int) { method GetEmail (line 67) | func (x *RegisterReq) GetEmail() string { method GetPassword (line 74) | func (x *RegisterReq) GetPassword() string { method GetConfirmPassword (line 81) | func (x *RegisterReq) GetConfirmPassword() string { type LoginReq (line 88) | type LoginReq struct method Reset (line 98) | func (x *LoginReq) Reset() { method String (line 107) | func (x *LoginReq) String() string { method ProtoMessage (line 111) | func (*LoginReq) ProtoMessage() {} method ProtoReflect (line 113) | func (x *LoginReq) ProtoReflect() protoreflect.Message { method Descriptor (line 126) | func (*LoginReq) Descriptor() ([]byte, []int) { method GetEmail (line 130) | func (x *LoginReq) GetEmail() string { method GetPassword (line 137) | func (x *LoginReq) GetPassword() string { method GetNext (line 144) | func (x *LoginReq) GetNext() string { function file_auth_page_proto_rawDescGZIP (line 203) | func file_auth_page_proto_rawDescGZIP() []byte { function init (line 230) | func init() { file_auth_page_proto_init() } function file_auth_page_proto_init (line 231) | func file_auth_page_proto_init() { FILE: gomall/app/frontend/hertz_gen/frontend/cart/cart_page.pb.go constant _ (line 20) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 22) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type AddCartReq (line 25) | type AddCartReq struct method Reset (line 34) | func (x *AddCartReq) Reset() { method String (line 43) | func (x *AddCartReq) String() string { method ProtoMessage (line 47) | func (*AddCartReq) ProtoMessage() {} method ProtoReflect (line 49) | func (x *AddCartReq) ProtoReflect() protoreflect.Message { method Descriptor (line 62) | func (*AddCartReq) Descriptor() ([]byte, []int) { method GetProductId (line 66) | func (x *AddCartReq) GetProductId() uint32 { method GetProductNum (line 73) | func (x *AddCartReq) GetProductNum() int32 { function file_cart_page_proto_rawDescGZIP (line 116) | func file_cart_page_proto_rawDescGZIP() []byte { function init (line 140) | func init() { file_cart_page_proto_init() } function file_cart_page_proto_init (line 141) | func file_cart_page_proto_init() { FILE: gomall/app/frontend/hertz_gen/frontend/category/category_page.pb.go constant _ (line 20) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 22) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type CategoryReq (line 25) | type CategoryReq struct method Reset (line 33) | func (x *CategoryReq) Reset() { method String (line 42) | func (x *CategoryReq) String() string { method ProtoMessage (line 46) | func (*CategoryReq) ProtoMessage() {} method ProtoReflect (line 48) | func (x *CategoryReq) ProtoReflect() protoreflect.Message { method Descriptor (line 61) | func (*CategoryReq) Descriptor() ([]byte, []int) { method GetCategory (line 65) | func (x *CategoryReq) GetCategory() string { function file_category_page_proto_rawDescGZIP (line 103) | func file_category_page_proto_rawDescGZIP() []byte { function init (line 125) | func init() { file_category_page_proto_init() } function file_category_page_proto_init (line 126) | func file_category_page_proto_init() { FILE: gomall/app/frontend/hertz_gen/frontend/checkout/checkout_page.pb.go constant _ (line 20) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 22) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type CheckoutReq (line 25) | type CheckoutReq struct method Reset (line 45) | func (x *CheckoutReq) Reset() { method String (line 54) | func (x *CheckoutReq) String() string { method ProtoMessage (line 58) | func (*CheckoutReq) ProtoMessage() {} method ProtoReflect (line 60) | func (x *CheckoutReq) ProtoReflect() protoreflect.Message { method Descriptor (line 73) | func (*CheckoutReq) Descriptor() ([]byte, []int) { method GetEmail (line 77) | func (x *CheckoutReq) GetEmail() string { method GetFirstname (line 84) | func (x *CheckoutReq) GetFirstname() string { method GetLastname (line 91) | func (x *CheckoutReq) GetLastname() string { method GetStreet (line 98) | func (x *CheckoutReq) GetStreet() string { method GetZipcode (line 105) | func (x *CheckoutReq) GetZipcode() string { method GetProvince (line 112) | func (x *CheckoutReq) GetProvince() string { method GetCountry (line 119) | func (x *CheckoutReq) GetCountry() string { method GetCity (line 126) | func (x *CheckoutReq) GetCity() string { method GetCardNum (line 133) | func (x *CheckoutReq) GetCardNum() string { method GetExpirationMonth (line 140) | func (x *CheckoutReq) GetExpirationMonth() int32 { method GetExpirationYear (line 147) | func (x *CheckoutReq) GetExpirationYear() int32 { method GetCvv (line 154) | func (x *CheckoutReq) GetCvv() int32 { method GetPayment (line 161) | func (x *CheckoutReq) GetPayment() string { function file_checkout_page_proto_rawDescGZIP (line 240) | func file_checkout_page_proto_rawDescGZIP() []byte { function init (line 266) | func init() { file_checkout_page_proto_init() } function file_checkout_page_proto_init (line 267) | func file_checkout_page_proto_init() { FILE: gomall/app/frontend/hertz_gen/frontend/common/common.pb.go constant _ (line 18) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 20) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Base (line 23) | type Base struct method Reset (line 32) | func (x *Base) Reset() { method String (line 41) | func (x *Base) String() string { method ProtoMessage (line 45) | func (*Base) ProtoMessage() {} method ProtoReflect (line 47) | func (x *Base) ProtoReflect() protoreflect.Message { method Descriptor (line 60) | func (*Base) Descriptor() ([]byte, []int) { method GetTitle (line 64) | func (x *Base) GetTitle() string { method GetUserId (line 71) | func (x *Base) GetUserId() uint32 { type Empty (line 78) | type Empty struct method Reset (line 84) | func (x *Empty) Reset() { method String (line 93) | func (x *Empty) String() string { method ProtoMessage (line 97) | func (*Empty) ProtoMessage() {} method ProtoReflect (line 99) | func (x *Empty) ProtoReflect() protoreflect.Message { method Descriptor (line 112) | func (*Empty) Descriptor() ([]byte, []int) { function file_frontend_common_proto_rawDescGZIP (line 138) | func file_frontend_common_proto_rawDescGZIP() []byte { function init (line 158) | func init() { file_frontend_common_proto_init() } function file_frontend_common_proto_init (line 159) | func file_frontend_common_proto_init() { FILE: gomall/app/frontend/hertz_gen/frontend/home/home.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) function init (line 56) | func init() { file_home_proto_init() } function file_home_proto_init (line 57) | func file_home_proto_init() { FILE: gomall/app/frontend/hertz_gen/frontend/order/order_page.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) function init (line 57) | func init() { file_order_page_proto_init() } function file_order_page_proto_init (line 58) | func file_order_page_proto_init() { FILE: gomall/app/frontend/hertz_gen/frontend/product/product_page.pb.go constant _ (line 20) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 22) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type ProductReq (line 25) | type ProductReq struct method Reset (line 33) | func (x *ProductReq) Reset() { method String (line 42) | func (x *ProductReq) String() string { method ProtoMessage (line 46) | func (*ProductReq) ProtoMessage() {} method ProtoReflect (line 48) | func (x *ProductReq) ProtoReflect() protoreflect.Message { method Descriptor (line 61) | func (*ProductReq) Descriptor() ([]byte, []int) { method GetId (line 65) | func (x *ProductReq) GetId() uint32 { type SearchProductsReq (line 72) | type SearchProductsReq struct method Reset (line 80) | func (x *SearchProductsReq) Reset() { method String (line 89) | func (x *SearchProductsReq) String() string { method ProtoMessage (line 93) | func (*SearchProductsReq) ProtoMessage() {} method ProtoReflect (line 95) | func (x *SearchProductsReq) ProtoReflect() protoreflect.Message { method Descriptor (line 108) | func (*SearchProductsReq) Descriptor() ([]byte, []int) { method GetQ (line 112) | func (x *SearchProductsReq) GetQ() string { function file_product_page_proto_rawDescGZIP (line 156) | func file_product_page_proto_rawDescGZIP() []byte { function init (line 181) | func init() { file_product_page_proto_init() } function file_product_page_proto_init (line 182) | func file_product_page_proto_init() { FILE: gomall/app/frontend/infra/mtl/log.go function initLog (line 28) | func initLog() { FILE: gomall/app/frontend/infra/mtl/metric.go function initMetric (line 38) | func initMetric() route.CtxCallback { FILE: gomall/app/frontend/infra/mtl/mtl.go function InitMtl (line 27) | func InitMtl() { FILE: gomall/app/frontend/infra/mtl/tracing.go function InitTracing (line 31) | func InitTracing() route.CtxCallback { FILE: gomall/app/frontend/infra/rpc/client.go function InitClient (line 50) | func InitClient() { function initProductClient (line 65) | func initProductClient() { function initUserClient (line 99) | func initUserClient() { function initCartClient (line 104) | func initCartClient() { function initCheckoutClient (line 109) | func initCheckoutClient() { function initOrderClient (line 114) | func initOrderClient() { FILE: gomall/app/frontend/main.go function main (line 46) | func main() { function registerMiddleware (line 113) | func registerMiddleware(h *server.Hertz) { FILE: gomall/app/frontend/middleware/auth.go function GlobalAuth (line 26) | func GlobalAuth() app.HandlerFunc { function Auth (line 39) | func Auth() app.HandlerFunc { FILE: gomall/app/frontend/middleware/middleware.go function RegisterMiddleware (line 19) | func RegisterMiddleware(h *server.Hertz) { FILE: gomall/app/frontend/types/order.go type Consignee (line 17) | type Consignee struct type Order (line 27) | type Order struct type OrderItem (line 36) | type OrderItem struct FILE: gomall/app/frontend/utils/constant.go constant ServiceName (line 17) | ServiceName = "frontend" type SessionUserIdKey (line 19) | type SessionUserIdKey constant UserIdKey (line 21) | UserIdKey = SessionUserIdKey("user_id") FILE: gomall/app/frontend/utils/errors.go function MustHandleError (line 19) | func MustHandleError(err error) { FILE: gomall/app/frontend/utils/function.go function GetUserIdFromCtx (line 19) | func GetUserIdFromCtx(ctx context.Context) uint32 { FILE: gomall/app/frontend/utils/safe.go function ValidateNext (line 23) | func ValidateNext(next string) bool { FILE: gomall/app/frontend/utils/strings.go function InArray (line 17) | func InArray[T int | int32 | int64 | float32 | float64 | string](needle ... FILE: gomall/app/order/biz/dal/init.go function Init (line 22) | func Init() { FILE: gomall/app/order/biz/dal/mysql/init.go function Init (line 33) | func Init() { FILE: gomall/app/order/biz/dal/redis/init.go function Init (line 26) | func Init() { FILE: gomall/app/order/biz/model/base.go type Base (line 19) | type Base struct FILE: gomall/app/order/biz/model/order.go type Consignee (line 23) | type Consignee struct type OrderState (line 33) | type OrderState constant OrderStatePlaced (line 36) | OrderStatePlaced OrderState = "placed" constant OrderStatePaid (line 37) | OrderStatePaid OrderState = "paid" constant OrderStateCanceled (line 38) | OrderStateCanceled OrderState = "canceled" type Order (line 41) | type Order struct method TableName (line 51) | func (o Order) TableName() string { function ListOrder (line 55) | func ListOrder(db *gorm.DB, ctx context.Context, userId uint32) (orders ... function GetOrder (line 60) | func GetOrder(db *gorm.DB, ctx context.Context, userId uint32, orderId s... function UpdateOrderState (line 65) | func UpdateOrderState(db *gorm.DB, ctx context.Context, userId uint32, o... FILE: gomall/app/order/biz/model/order_item.go type OrderItem (line 17) | type OrderItem struct method TableName (line 25) | func (oi OrderItem) TableName() string { FILE: gomall/app/order/biz/service/list_order.go type ListOrderService (line 27) | type ListOrderService struct method Run (line 35) | func (s *ListOrderService) Run(req *order.ListOrderReq) (resp *order.L... function NewListOrderService (line 30) | func NewListOrderService(ctx context.Context) *ListOrderService { FILE: gomall/app/order/biz/service/list_order_test.go function TestListOrder_Run (line 21) | func TestListOrder_Run(t *testing.T) { FILE: gomall/app/order/biz/service/mark_order_paid.go type MarkOrderPaidService (line 27) | type MarkOrderPaidService struct method Run (line 35) | func (s *MarkOrderPaidService) Run(req *order.MarkOrderPaidReq) (resp ... function NewMarkOrderPaidService (line 30) | func NewMarkOrderPaidService(ctx context.Context) *MarkOrderPaidService { FILE: gomall/app/order/biz/service/mark_order_paid_test.go function TestMarkOrderPaid_Run (line 24) | func TestMarkOrderPaid_Run(t *testing.T) { FILE: gomall/app/order/biz/service/place_order.go type PlaceOrderService (line 28) | type PlaceOrderService struct method Run (line 36) | func (s *PlaceOrderService) Run(req *order.PlaceOrderReq) (resp *order... function NewPlaceOrderService (line 31) | func NewPlaceOrderService(ctx context.Context) *PlaceOrderService { FILE: gomall/app/order/biz/service/place_order_test.go function TestPlaceOrder_Run (line 21) | func TestPlaceOrder_Run(t *testing.T) { FILE: gomall/app/order/conf/conf.go type Config (line 33) | type Config struct type MySQL (line 41) | type MySQL struct type Redis (line 45) | type Redis struct type Kitex (line 52) | type Kitex struct type Registry (line 66) | type Registry struct function GetConf (line 73) | func GetConf() *Config { function initConf (line 78) | func initConf() { function GetEnv (line 99) | func GetEnv() string { function LogLevel (line 107) | func LogLevel() klog.Level { FILE: gomall/app/order/handler.go type OrderServiceImpl (line 25) | type OrderServiceImpl struct method PlaceOrder (line 28) | func (s *OrderServiceImpl) PlaceOrder(ctx context.Context, req *order.... method ListOrder (line 35) | func (s *OrderServiceImpl) ListOrder(ctx context.Context, req *order.L... method MarkOrderPaid (line 42) | func (s *OrderServiceImpl) MarkOrderPaid(ctx context.Context, req *ord... FILE: gomall/app/order/main.go function main (line 36) | func main() { function kitexInit (line 57) | func kitexInit() (opts []server.Option) { FILE: gomall/app/order/test/rpc_test.go function TestMarkPaid (line 21) | func TestMarkPaid(t *testing.T) { FILE: gomall/app/payment/biz/dal/init.go function Init (line 21) | func Init() { FILE: gomall/app/payment/biz/dal/mysql/init.go function Init (line 32) | func Init() { FILE: gomall/app/payment/biz/dal/redis/init.go function Init (line 26) | func Init() { FILE: gomall/app/payment/biz/model/base.go type Base (line 19) | type Base struct FILE: gomall/app/payment/biz/model/payment.go type PaymentLog (line 24) | type PaymentLog struct method TableName (line 33) | func (p PaymentLog) TableName() string { function CreatePaymentLog (line 37) | func CreatePaymentLog(db *gorm.DB, ctx context.Context, payment *Payment... FILE: gomall/app/payment/biz/service/charge.go type ChargeService (line 30) | type ChargeService struct method Run (line 38) | func (s *ChargeService) Run(req *payment.ChargeReq) (resp *payment.Cha... function NewChargeService (line 33) | func NewChargeService(ctx context.Context) *ChargeService { FILE: gomall/app/payment/biz/service/charge_test.go function TestCharge_Run (line 21) | func TestCharge_Run(t *testing.T) { FILE: gomall/app/payment/conf/conf.go type Config (line 33) | type Config struct type MySQL (line 41) | type MySQL struct type Redis (line 45) | type Redis struct type Kitex (line 52) | type Kitex struct type Registry (line 66) | type Registry struct function GetConf (line 73) | func GetConf() *Config { function initConf (line 78) | func initConf() { function GetEnv (line 99) | func GetEnv() string { function LogLevel (line 107) | func LogLevel() klog.Level { FILE: gomall/app/payment/handler.go type PaymentServiceImpl (line 25) | type PaymentServiceImpl struct method Charge (line 28) | func (s *PaymentServiceImpl) Charge(ctx context.Context, req *payment.... FILE: gomall/app/payment/main.go function main (line 36) | func main() { function kitexInit (line 57) | func kitexInit() (opts []server.Option) { FILE: gomall/app/payment/middleware/mw.go function ServerMiddleware (line 25) | func ServerMiddleware(next endpoint.Endpoint) endpoint.Endpoint { FILE: gomall/app/payment/payment.sql type payment (line 1) | create table payment FILE: gomall/app/product/biz/dal/init.go function Init (line 22) | func Init() { FILE: gomall/app/product/biz/dal/mysql/init.go function Init (line 35) | func Init() { FILE: gomall/app/product/biz/dal/redis/init.go function Init (line 30) | func Init() { FILE: gomall/app/product/biz/model/base.go type Base (line 19) | type Base struct FILE: gomall/app/product/biz/model/category.go type Category (line 23) | type Category struct method TableName (line 30) | func (c Category) TableName() string { function GetProductsByCategoryName (line 34) | func GetProductsByCategoryName(db *gorm.DB, ctx context.Context, name st... FILE: gomall/app/product/biz/model/product.go type Product (line 27) | type Product struct method TableName (line 36) | func (p Product) TableName() string { type ProductQuery (line 40) | type ProductQuery struct method GetById (line 45) | func (p ProductQuery) GetById(productId int) (product Product, err err... function NewProductQuery (line 50) | func NewProductQuery(ctx context.Context, db *gorm.DB) ProductQuery { type CachedProductQuery (line 54) | type CachedProductQuery struct method GetById (line 60) | func (c CachedProductQuery) GetById(productId int) (product Product, e... function NewCachedProductQuery (line 93) | func NewCachedProductQuery(pq ProductQuery, cacheClient *redis.Client) C... function GetProductById (line 97) | func GetProductById(db *gorm.DB, ctx context.Context, productId int) (pr... function SearchProduct (line 102) | func SearchProduct(db *gorm.DB, ctx context.Context, q string) (product ... FILE: gomall/app/product/biz/service/get_product.go type GetProductService (line 27) | type GetProductService struct method Run (line 35) | func (s *GetProductService) Run(req *product.GetProductReq) (resp *pro... function NewGetProductService (line 30) | func NewGetProductService(ctx context.Context) *GetProductService { FILE: gomall/app/product/biz/service/get_product_test.go function TestGetProduct_Run (line 21) | func TestGetProduct_Run(t *testing.T) { FILE: gomall/app/product/biz/service/list_products.go type ListProductsService (line 25) | type ListProductsService struct method Run (line 33) | func (s *ListProductsService) Run(req *product.ListProductsReq) (resp ... function NewListProductsService (line 28) | func NewListProductsService(ctx context.Context) *ListProductsService { FILE: gomall/app/product/biz/service/list_products_test.go function TestListProducts_Run (line 21) | func TestListProducts_Run(t *testing.T) { FILE: gomall/app/product/biz/service/search_products.go type SearchProductsService (line 25) | type SearchProductsService struct method Run (line 33) | func (s *SearchProductsService) Run(req *product.SearchProductsReq) (r... function NewSearchProductsService (line 28) | func NewSearchProductsService(ctx context.Context) *SearchProductsService { FILE: gomall/app/product/biz/service/search_products_test.go function TestSearchProducts_Run (line 21) | func TestSearchProducts_Run(t *testing.T) { FILE: gomall/app/product/conf/conf.go type Config (line 33) | type Config struct type MySQL (line 43) | type MySQL struct type Redis (line 47) | type Redis struct type Kitex (line 54) | type Kitex struct type Registry (line 68) | type Registry struct type ConfigServer (line 74) | type ConfigServer struct function GetConf (line 77) | func GetConf() *Config { function initConf (line 82) | func initConf() { function GetEnv (line 103) | func GetEnv() string { function LogLevel (line 111) | func LogLevel() klog.Level { FILE: gomall/app/product/handler.go type ProductCatalogServiceImpl (line 25) | type ProductCatalogServiceImpl struct method ListProducts (line 28) | func (s *ProductCatalogServiceImpl) ListProducts(ctx context.Context, ... method GetProduct (line 35) | func (s *ProductCatalogServiceImpl) GetProduct(ctx context.Context, re... method SearchProducts (line 42) | func (s *ProductCatalogServiceImpl) SearchProducts(ctx context.Context... FILE: gomall/app/product/main.go function main (line 36) | func main() { function kitexInit (line 56) | func kitexInit() (opts []server.Option) { FILE: gomall/app/product/script/product.sql type `category` (line 1) | CREATE TABLE `category` type `product` (line 13) | CREATE TABLE `product` type `product_category` (line 46) | CREATE TABLE `product_category` FILE: gomall/app/product/utils/constant.go constant ServiceName (line 17) | ServiceName = "shop-product" FILE: gomall/app/user/biz/dal/init.go function Init (line 21) | func Init() { FILE: gomall/app/user/biz/dal/mysql/init.go function Init (line 32) | func Init() { FILE: gomall/app/user/biz/dal/redis/init.go function Init (line 26) | func Init() { FILE: gomall/app/user/biz/model/base.go type Base (line 19) | type Base struct FILE: gomall/app/user/biz/model/user.go type User (line 23) | type User struct method TableName (line 29) | func (u User) TableName() string { function GetByEmail (line 33) | func GetByEmail(db *gorm.DB, ctx context.Context, email string) (user *U... function Create (line 38) | func Create(db *gorm.DB, ctx context.Context, user *User) error { FILE: gomall/app/user/biz/service/login.go type LoginService (line 27) | type LoginService struct method Run (line 35) | func (s *LoginService) Run(req *user.LoginReq) (resp *user.LoginResp, ... function NewLoginService (line 30) | func NewLoginService(ctx context.Context) *LoginService { FILE: gomall/app/user/biz/service/login_test.go function TestLogin_Run (line 21) | func TestLogin_Run(t *testing.T) { FILE: gomall/app/user/biz/service/register.go type RegisterService (line 27) | type RegisterService struct method Run (line 35) | func (s *RegisterService) Run(req *user.RegisterReq) (resp *user.Regis... function NewRegisterService (line 30) | func NewRegisterService(ctx context.Context) *RegisterService { FILE: gomall/app/user/biz/service/register_test.go function TestRegister_Run (line 21) | func TestRegister_Run(t *testing.T) { FILE: gomall/app/user/conf/conf.go type Config (line 33) | type Config struct type MySQL (line 41) | type MySQL struct type Redis (line 45) | type Redis struct type Kitex (line 52) | type Kitex struct type Registry (line 66) | type Registry struct function GetConf (line 73) | func GetConf() *Config { function initConf (line 78) | func initConf() { function GetEnv (line 99) | func GetEnv() string { function LogLevel (line 107) | func LogLevel() klog.Level { FILE: gomall/app/user/handler.go type UserServiceImpl (line 25) | type UserServiceImpl struct method Register (line 28) | func (s *UserServiceImpl) Register(ctx context.Context, req *user.Regi... method Login (line 35) | func (s *UserServiceImpl) Login(ctx context.Context, req *user.LoginRe... FILE: gomall/app/user/main.go function main (line 35) | func main() { function kitexInit (line 57) | func kitexInit() (opts []server.Option) { FILE: gomall/common/clientsuite/client.go type CommonGrpcClientSuite (line 26) | type CommonGrpcClientSuite struct method Options (line 31) | func (s CommonGrpcClientSuite) Options() []client.Option { FILE: gomall/common/mtl/log.go function InitLog (line 30) | func InitLog(ioWriter io.Writer) { FILE: gomall/common/mtl/metrics.go function InitMetric (line 31) | func InitMetric(serviceName string, metricsPort string, registryAddr str... FILE: gomall/common/mtl/tracing.go function InitTracing (line 30) | func InitTracing(serviceName string) { FILE: gomall/common/serversuite/server.go type CommonServerSuite (line 33) | type CommonServerSuite struct method Options (line 38) | func (s CommonServerSuite) Options() []server.Option { FILE: gomall/common/utils/ip.go function GetLocalIPv4 (line 22) | func GetLocalIPv4() (string, error) { function MustGetLocalIPv4 (line 45) | func MustGetLocalIPv4() string { FILE: gomall/common/utils/kitex.go function MustHandleError (line 20) | func MustHandleError(err error) { function ShouldHandleError (line 27) | func ShouldHandleError(err error) { FILE: gomall/rpc_gen/kitex_gen/cart/cart.pb.fast.go method FastRead (line 15) | func (x *CartItem) FastRead(buf []byte, _type int8, number int32) (offse... method fastReadField1 (line 40) | func (x *CartItem) fastReadField1(buf []byte, _type int8) (offset int, e... method fastReadField2 (line 45) | func (x *CartItem) fastReadField2(buf []byte, _type int8) (offset int, e... method FastRead (line 50) | func (x *AddItemReq) FastRead(buf []byte, _type int8, number int32) (off... method fastReadField1 (line 75) | func (x *AddItemReq) fastReadField1(buf []byte, _type int8) (offset int,... method fastReadField2 (line 80) | func (x *AddItemReq) fastReadField2(buf []byte, _type int8) (offset int,... method FastRead (line 90) | func (x *AddItemResp) FastRead(buf []byte, _type int8, number int32) (of... method FastRead (line 103) | func (x *EmptyCartReq) FastRead(buf []byte, _type int8, number int32) (o... method fastReadField1 (line 123) | func (x *EmptyCartReq) fastReadField1(buf []byte, _type int8) (offset in... method FastRead (line 128) | func (x *GetCartReq) FastRead(buf []byte, _type int8, number int32) (off... method fastReadField1 (line 148) | func (x *GetCartReq) fastReadField1(buf []byte, _type int8) (offset int,... method FastRead (line 153) | func (x *GetCartResp) FastRead(buf []byte, _type int8, number int32) (of... method fastReadField1 (line 173) | func (x *GetCartResp) fastReadField1(buf []byte, _type int8) (offset int... method FastRead (line 183) | func (x *Cart) FastRead(buf []byte, _type int8, number int32) (offset in... method fastReadField1 (line 208) | func (x *Cart) fastReadField1(buf []byte, _type int8) (offset int, err e... method fastReadField2 (line 213) | func (x *Cart) fastReadField2(buf []byte, _type int8) (offset int, err e... method FastRead (line 223) | func (x *EmptyCartResp) FastRead(buf []byte, _type int8, number int32) (... method FastWrite (line 236) | func (x *CartItem) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 245) | func (x *CartItem) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 253) | func (x *CartItem) fastWriteField2(buf []byte) (offset int) { method FastWrite (line 261) | func (x *AddItemReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 270) | func (x *AddItemReq) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 278) | func (x *AddItemReq) fastWriteField2(buf []byte) (offset int) { method FastWrite (line 286) | func (x *AddItemResp) FastWrite(buf []byte) (offset int) { method FastWrite (line 293) | func (x *EmptyCartReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 301) | func (x *EmptyCartReq) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 309) | func (x *GetCartReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 317) | func (x *GetCartReq) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 325) | func (x *GetCartResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 333) | func (x *GetCartResp) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 341) | func (x *Cart) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 350) | func (x *Cart) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 358) | func (x *Cart) fastWriteField2(buf []byte) (offset int) { method FastWrite (line 368) | func (x *EmptyCartResp) FastWrite(buf []byte) (offset int) { method Size (line 375) | func (x *CartItem) Size() (n int) { method sizeField1 (line 384) | func (x *CartItem) sizeField1() (n int) { method sizeField2 (line 392) | func (x *CartItem) sizeField2() (n int) { method Size (line 400) | func (x *AddItemReq) Size() (n int) { method sizeField1 (line 409) | func (x *AddItemReq) sizeField1() (n int) { method sizeField2 (line 417) | func (x *AddItemReq) sizeField2() (n int) { method Size (line 425) | func (x *AddItemResp) Size() (n int) { method Size (line 432) | func (x *EmptyCartReq) Size() (n int) { method sizeField1 (line 440) | func (x *EmptyCartReq) sizeField1() (n int) { method Size (line 448) | func (x *GetCartReq) Size() (n int) { method sizeField1 (line 456) | func (x *GetCartReq) sizeField1() (n int) { method Size (line 464) | func (x *GetCartResp) Size() (n int) { method sizeField1 (line 472) | func (x *GetCartResp) sizeField1() (n int) { method Size (line 480) | func (x *Cart) Size() (n int) { method sizeField1 (line 489) | func (x *Cart) sizeField1() (n int) { method sizeField2 (line 497) | func (x *Cart) sizeField2() (n int) { method Size (line 507) | func (x *EmptyCartResp) Size() (n int) { FILE: gomall/rpc_gen/kitex_gen/cart/cart.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type CartItem (line 24) | type CartItem struct method Reset (line 33) | func (x *CartItem) Reset() { method String (line 42) | func (x *CartItem) String() string { method ProtoMessage (line 46) | func (*CartItem) ProtoMessage() {} method ProtoReflect (line 48) | func (x *CartItem) ProtoReflect() protoreflect.Message { method Descriptor (line 61) | func (*CartItem) Descriptor() ([]byte, []int) { method GetProductId (line 65) | func (x *CartItem) GetProductId() uint32 { method GetQuantity (line 72) | func (x *CartItem) GetQuantity() int32 { type AddItemReq (line 79) | type AddItemReq struct method Reset (line 88) | func (x *AddItemReq) Reset() { method String (line 97) | func (x *AddItemReq) String() string { method ProtoMessage (line 101) | func (*AddItemReq) ProtoMessage() {} method ProtoReflect (line 103) | func (x *AddItemReq) ProtoReflect() protoreflect.Message { method Descriptor (line 116) | func (*AddItemReq) Descriptor() ([]byte, []int) { method GetUserId (line 120) | func (x *AddItemReq) GetUserId() uint32 { method GetItem (line 127) | func (x *AddItemReq) GetItem() *CartItem { type AddItemResp (line 134) | type AddItemResp struct method Reset (line 140) | func (x *AddItemResp) Reset() { method String (line 149) | func (x *AddItemResp) String() string { method ProtoMessage (line 153) | func (*AddItemResp) ProtoMessage() {} method ProtoReflect (line 155) | func (x *AddItemResp) ProtoReflect() protoreflect.Message { method Descriptor (line 168) | func (*AddItemResp) Descriptor() ([]byte, []int) { type EmptyCartReq (line 172) | type EmptyCartReq struct method Reset (line 180) | func (x *EmptyCartReq) Reset() { method String (line 189) | func (x *EmptyCartReq) String() string { method ProtoMessage (line 193) | func (*EmptyCartReq) ProtoMessage() {} method ProtoReflect (line 195) | func (x *EmptyCartReq) ProtoReflect() protoreflect.Message { method Descriptor (line 208) | func (*EmptyCartReq) Descriptor() ([]byte, []int) { method GetUserId (line 212) | func (x *EmptyCartReq) GetUserId() uint32 { type GetCartReq (line 219) | type GetCartReq struct method Reset (line 227) | func (x *GetCartReq) Reset() { method String (line 236) | func (x *GetCartReq) String() string { method ProtoMessage (line 240) | func (*GetCartReq) ProtoMessage() {} method ProtoReflect (line 242) | func (x *GetCartReq) ProtoReflect() protoreflect.Message { method Descriptor (line 255) | func (*GetCartReq) Descriptor() ([]byte, []int) { method GetUserId (line 259) | func (x *GetCartReq) GetUserId() uint32 { type GetCartResp (line 266) | type GetCartResp struct method Reset (line 274) | func (x *GetCartResp) Reset() { method String (line 283) | func (x *GetCartResp) String() string { method ProtoMessage (line 287) | func (*GetCartResp) ProtoMessage() {} method ProtoReflect (line 289) | func (x *GetCartResp) ProtoReflect() protoreflect.Message { method Descriptor (line 302) | func (*GetCartResp) Descriptor() ([]byte, []int) { method GetCart (line 306) | func (x *GetCartResp) GetCart() *Cart { type Cart (line 313) | type Cart struct method Reset (line 322) | func (x *Cart) Reset() { method String (line 331) | func (x *Cart) String() string { method ProtoMessage (line 335) | func (*Cart) ProtoMessage() {} method ProtoReflect (line 337) | func (x *Cart) ProtoReflect() protoreflect.Message { method Descriptor (line 350) | func (*Cart) Descriptor() ([]byte, []int) { method GetUserId (line 354) | func (x *Cart) GetUserId() uint32 { method GetItems (line 361) | func (x *Cart) GetItems() []*CartItem { type EmptyCartResp (line 368) | type EmptyCartResp struct method Reset (line 374) | func (x *EmptyCartResp) Reset() { method String (line 383) | func (x *EmptyCartResp) String() string { method ProtoMessage (line 387) | func (*EmptyCartResp) ProtoMessage() {} method ProtoReflect (line 389) | func (x *EmptyCartResp) ProtoReflect() protoreflect.Message { method Descriptor (line 402) | func (*EmptyCartResp) Descriptor() ([]byte, []int) { function file_cart_proto_rawDescGZIP (line 456) | func file_cart_proto_rawDescGZIP() []byte { function init (line 491) | func init() { file_cart_proto_init() } function file_cart_proto_init (line 492) | func file_cart_proto_init() { type CartService (line 618) | type CartService interface FILE: gomall/rpc_gen/kitex_gen/cart/cartservice/cartservice.go function serviceInfo (line 14) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 20) | func NewServiceInfo() *kitex.ServiceInfo { function addItemHandler (line 43) | func addItemHandler(ctx context.Context, handler interface{}, arg, resul... function newAddItemArgs (line 68) | func newAddItemArgs() interface{} { function newAddItemResult (line 72) | func newAddItemResult() interface{} { type AddItemArgs (line 76) | type AddItemArgs struct method FastRead (line 80) | func (p *AddItemArgs) FastRead(buf []byte, _type int8, number int32) (... method FastWrite (line 87) | func (p *AddItemArgs) FastWrite(buf []byte) (n int) { method Size (line 94) | func (p *AddItemArgs) Size() (n int) { method Marshal (line 101) | func (p *AddItemArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 108) | func (p *AddItemArgs) Unmarshal(in []byte) error { method GetReq (line 119) | func (p *AddItemArgs) GetReq() *cart.AddItemReq { method IsSetReq (line 126) | func (p *AddItemArgs) IsSetReq() bool { method GetFirstArgument (line 130) | func (p *AddItemArgs) GetFirstArgument() interface{} { type AddItemResult (line 134) | type AddItemResult struct method FastRead (line 140) | func (p *AddItemResult) FastRead(buf []byte, _type int8, number int32)... method FastWrite (line 147) | func (p *AddItemResult) FastWrite(buf []byte) (n int) { method Size (line 154) | func (p *AddItemResult) Size() (n int) { method Marshal (line 161) | func (p *AddItemResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 168) | func (p *AddItemResult) Unmarshal(in []byte) error { method GetSuccess (line 177) | func (p *AddItemResult) GetSuccess() *cart.AddItemResp { method SetSuccess (line 184) | func (p *AddItemResult) SetSuccess(x interface{}) { method IsSetSuccess (line 188) | func (p *AddItemResult) IsSetSuccess() bool { method GetResult (line 192) | func (p *AddItemResult) GetResult() interface{} { function getCartHandler (line 196) | func getCartHandler(ctx context.Context, handler interface{}, arg, resul... function newGetCartArgs (line 221) | func newGetCartArgs() interface{} { function newGetCartResult (line 225) | func newGetCartResult() interface{} { type GetCartArgs (line 229) | type GetCartArgs struct method FastRead (line 233) | func (p *GetCartArgs) FastRead(buf []byte, _type int8, number int32) (... method FastWrite (line 240) | func (p *GetCartArgs) FastWrite(buf []byte) (n int) { method Size (line 247) | func (p *GetCartArgs) Size() (n int) { method Marshal (line 254) | func (p *GetCartArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 261) | func (p *GetCartArgs) Unmarshal(in []byte) error { method GetReq (line 272) | func (p *GetCartArgs) GetReq() *cart.GetCartReq { method IsSetReq (line 279) | func (p *GetCartArgs) IsSetReq() bool { method GetFirstArgument (line 283) | func (p *GetCartArgs) GetFirstArgument() interface{} { type GetCartResult (line 287) | type GetCartResult struct method FastRead (line 293) | func (p *GetCartResult) FastRead(buf []byte, _type int8, number int32)... method FastWrite (line 300) | func (p *GetCartResult) FastWrite(buf []byte) (n int) { method Size (line 307) | func (p *GetCartResult) Size() (n int) { method Marshal (line 314) | func (p *GetCartResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 321) | func (p *GetCartResult) Unmarshal(in []byte) error { method GetSuccess (line 330) | func (p *GetCartResult) GetSuccess() *cart.GetCartResp { method SetSuccess (line 337) | func (p *GetCartResult) SetSuccess(x interface{}) { method IsSetSuccess (line 341) | func (p *GetCartResult) IsSetSuccess() bool { method GetResult (line 345) | func (p *GetCartResult) GetResult() interface{} { function emptyCartHandler (line 349) | func emptyCartHandler(ctx context.Context, handler interface{}, arg, res... function newEmptyCartArgs (line 374) | func newEmptyCartArgs() interface{} { function newEmptyCartResult (line 378) | func newEmptyCartResult() interface{} { type EmptyCartArgs (line 382) | type EmptyCartArgs struct method FastRead (line 386) | func (p *EmptyCartArgs) FastRead(buf []byte, _type int8, number int32)... method FastWrite (line 393) | func (p *EmptyCartArgs) FastWrite(buf []byte) (n int) { method Size (line 400) | func (p *EmptyCartArgs) Size() (n int) { method Marshal (line 407) | func (p *EmptyCartArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 414) | func (p *EmptyCartArgs) Unmarshal(in []byte) error { method GetReq (line 425) | func (p *EmptyCartArgs) GetReq() *cart.EmptyCartReq { method IsSetReq (line 432) | func (p *EmptyCartArgs) IsSetReq() bool { method GetFirstArgument (line 436) | func (p *EmptyCartArgs) GetFirstArgument() interface{} { type EmptyCartResult (line 440) | type EmptyCartResult struct method FastRead (line 446) | func (p *EmptyCartResult) FastRead(buf []byte, _type int8, number int3... method FastWrite (line 453) | func (p *EmptyCartResult) FastWrite(buf []byte) (n int) { method Size (line 460) | func (p *EmptyCartResult) Size() (n int) { method Marshal (line 467) | func (p *EmptyCartResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 474) | func (p *EmptyCartResult) Unmarshal(in []byte) error { method GetSuccess (line 483) | func (p *EmptyCartResult) GetSuccess() *cart.EmptyCartResp { method SetSuccess (line 490) | func (p *EmptyCartResult) SetSuccess(x interface{}) { method IsSetSuccess (line 494) | func (p *EmptyCartResult) IsSetSuccess() bool { method GetResult (line 498) | func (p *EmptyCartResult) GetResult() interface{} { type kClient (line 502) | type kClient struct method AddItem (line 512) | func (p *kClient) AddItem(ctx context.Context, Req *cart.AddItemReq) (... method GetCart (line 522) | func (p *kClient) GetCart(ctx context.Context, Req *cart.GetCartReq) (... method EmptyCart (line 532) | func (p *kClient) EmptyCart(ctx context.Context, Req *cart.EmptyCartRe... function newServiceClient (line 506) | func newServiceClient(c client.Client) *kClient { FILE: gomall/rpc_gen/kitex_gen/cart/cartservice/client.go type Client (line 13) | type Client interface function NewClient (line 20) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 36) | func MustNewClient(destService string, opts ...client.Option) Client { type kCartServiceClient (line 44) | type kCartServiceClient struct method AddItem (line 48) | func (p *kCartServiceClient) AddItem(ctx context.Context, Req *cart.Ad... method GetCart (line 53) | func (p *kCartServiceClient) GetCart(ctx context.Context, Req *cart.Ge... method EmptyCart (line 58) | func (p *kCartServiceClient) EmptyCart(ctx context.Context, Req *cart.... FILE: gomall/rpc_gen/kitex_gen/cart/cartservice/invoker.go function NewInvoker (line 11) | func NewInvoker(handler cart.CartService, opts ...server.Option) server.... FILE: gomall/rpc_gen/kitex_gen/cart/cartservice/server.go function NewServer (line 10) | func NewServer(handler cart.CartService, opts ...server.Option) server.S... FILE: gomall/rpc_gen/kitex_gen/checkout/checkout.pb.fast.go method FastRead (line 16) | func (x *Address) FastRead(buf []byte, _type int8, number int32) (offset... method fastReadField1 (line 56) | func (x *Address) fastReadField1(buf []byte, _type int8) (offset int, er... method fastReadField2 (line 61) | func (x *Address) fastReadField2(buf []byte, _type int8) (offset int, er... method fastReadField3 (line 66) | func (x *Address) fastReadField3(buf []byte, _type int8) (offset int, er... method fastReadField4 (line 71) | func (x *Address) fastReadField4(buf []byte, _type int8) (offset int, er... method fastReadField5 (line 76) | func (x *Address) fastReadField5(buf []byte, _type int8) (offset int, er... method FastRead (line 81) | func (x *CheckoutReq) FastRead(buf []byte, _type int8, number int32) (of... method fastReadField1 (line 126) | func (x *CheckoutReq) fastReadField1(buf []byte, _type int8) (offset int... method fastReadField2 (line 131) | func (x *CheckoutReq) fastReadField2(buf []byte, _type int8) (offset int... method fastReadField3 (line 136) | func (x *CheckoutReq) fastReadField3(buf []byte, _type int8) (offset int... method fastReadField4 (line 141) | func (x *CheckoutReq) fastReadField4(buf []byte, _type int8) (offset int... method fastReadField5 (line 146) | func (x *CheckoutReq) fastReadField5(buf []byte, _type int8) (offset int... method fastReadField6 (line 156) | func (x *CheckoutReq) fastReadField6(buf []byte, _type int8) (offset int... method FastRead (line 166) | func (x *CheckoutResp) FastRead(buf []byte, _type int8, number int32) (o... method fastReadField1 (line 191) | func (x *CheckoutResp) fastReadField1(buf []byte, _type int8) (offset in... method fastReadField2 (line 196) | func (x *CheckoutResp) fastReadField2(buf []byte, _type int8) (offset in... method FastWrite (line 201) | func (x *Address) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 213) | func (x *Address) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 221) | func (x *Address) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 229) | func (x *Address) fastWriteField3(buf []byte) (offset int) { method fastWriteField4 (line 237) | func (x *Address) fastWriteField4(buf []byte) (offset int) { method fastWriteField5 (line 245) | func (x *Address) fastWriteField5(buf []byte) (offset int) { method FastWrite (line 253) | func (x *CheckoutReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 266) | func (x *CheckoutReq) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 274) | func (x *CheckoutReq) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 282) | func (x *CheckoutReq) fastWriteField3(buf []byte) (offset int) { method fastWriteField4 (line 290) | func (x *CheckoutReq) fastWriteField4(buf []byte) (offset int) { method fastWriteField5 (line 298) | func (x *CheckoutReq) fastWriteField5(buf []byte) (offset int) { method fastWriteField6 (line 306) | func (x *CheckoutReq) fastWriteField6(buf []byte) (offset int) { method FastWrite (line 314) | func (x *CheckoutResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 323) | func (x *CheckoutResp) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 331) | func (x *CheckoutResp) fastWriteField2(buf []byte) (offset int) { method Size (line 339) | func (x *Address) Size() (n int) { method sizeField1 (line 351) | func (x *Address) sizeField1() (n int) { method sizeField2 (line 359) | func (x *Address) sizeField2() (n int) { method sizeField3 (line 367) | func (x *Address) sizeField3() (n int) { method sizeField4 (line 375) | func (x *Address) sizeField4() (n int) { method sizeField5 (line 383) | func (x *Address) sizeField5() (n int) { method Size (line 391) | func (x *CheckoutReq) Size() (n int) { method sizeField1 (line 404) | func (x *CheckoutReq) sizeField1() (n int) { method sizeField2 (line 412) | func (x *CheckoutReq) sizeField2() (n int) { method sizeField3 (line 420) | func (x *CheckoutReq) sizeField3() (n int) { method sizeField4 (line 428) | func (x *CheckoutReq) sizeField4() (n int) { method sizeField5 (line 436) | func (x *CheckoutReq) sizeField5() (n int) { method sizeField6 (line 444) | func (x *CheckoutReq) sizeField6() (n int) { method Size (line 452) | func (x *CheckoutResp) Size() (n int) { method sizeField1 (line 461) | func (x *CheckoutResp) sizeField1() (n int) { method sizeField2 (line 469) | func (x *CheckoutResp) sizeField2() (n int) { FILE: gomall/rpc_gen/kitex_gen/checkout/checkout.pb.go constant _ (line 20) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 22) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Address (line 25) | type Address struct method Reset (line 37) | func (x *Address) Reset() { method String (line 46) | func (x *Address) String() string { method ProtoMessage (line 50) | func (*Address) ProtoMessage() {} method ProtoReflect (line 52) | func (x *Address) ProtoReflect() protoreflect.Message { method Descriptor (line 65) | func (*Address) Descriptor() ([]byte, []int) { method GetStreetAddress (line 69) | func (x *Address) GetStreetAddress() string { method GetCity (line 76) | func (x *Address) GetCity() string { method GetState (line 83) | func (x *Address) GetState() string { method GetCountry (line 90) | func (x *Address) GetCountry() string { method GetZipCode (line 97) | func (x *Address) GetZipCode() string { type CheckoutReq (line 104) | type CheckoutReq struct method Reset (line 117) | func (x *CheckoutReq) Reset() { method String (line 126) | func (x *CheckoutReq) String() string { method ProtoMessage (line 130) | func (*CheckoutReq) ProtoMessage() {} method ProtoReflect (line 132) | func (x *CheckoutReq) ProtoReflect() protoreflect.Message { method Descriptor (line 145) | func (*CheckoutReq) Descriptor() ([]byte, []int) { method GetUserId (line 149) | func (x *CheckoutReq) GetUserId() uint32 { method GetFirstname (line 156) | func (x *CheckoutReq) GetFirstname() string { method GetLastname (line 163) | func (x *CheckoutReq) GetLastname() string { method GetEmail (line 170) | func (x *CheckoutReq) GetEmail() string { method GetAddress (line 177) | func (x *CheckoutReq) GetAddress() *Address { method GetCreditCard (line 184) | func (x *CheckoutReq) GetCreditCard() *payment.CreditCardInfo { type CheckoutResp (line 191) | type CheckoutResp struct method Reset (line 200) | func (x *CheckoutResp) Reset() { method String (line 209) | func (x *CheckoutResp) String() string { method ProtoMessage (line 213) | func (*CheckoutResp) ProtoMessage() {} method ProtoReflect (line 215) | func (x *CheckoutResp) ProtoReflect() protoreflect.Message { method Descriptor (line 228) | func (*CheckoutResp) Descriptor() ([]byte, []int) { method GetOrderId (line 232) | func (x *CheckoutResp) GetOrderId() string { method GetTransactionId (line 239) | func (x *CheckoutResp) GetTransactionId() string { function file_checkout_proto_rawDescGZIP (line 297) | func file_checkout_proto_rawDescGZIP() []byte { function init (line 323) | func init() { file_checkout_proto_init() } function file_checkout_proto_init (line 324) | func file_checkout_proto_init() { type CheckoutService (line 390) | type CheckoutService interface FILE: gomall/rpc_gen/kitex_gen/checkout/checkoutservice/checkoutservice.go function serviceInfo (line 14) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 20) | func NewServiceInfo() *kitex.ServiceInfo { function checkoutHandler (line 41) | func checkoutHandler(ctx context.Context, handler interface{}, arg, resu... function newCheckoutArgs (line 66) | func newCheckoutArgs() interface{} { function newCheckoutResult (line 70) | func newCheckoutResult() interface{} { type CheckoutArgs (line 74) | type CheckoutArgs struct method FastRead (line 78) | func (p *CheckoutArgs) FastRead(buf []byte, _type int8, number int32) ... method FastWrite (line 85) | func (p *CheckoutArgs) FastWrite(buf []byte) (n int) { method Size (line 92) | func (p *CheckoutArgs) Size() (n int) { method Marshal (line 99) | func (p *CheckoutArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 106) | func (p *CheckoutArgs) Unmarshal(in []byte) error { method GetReq (line 117) | func (p *CheckoutArgs) GetReq() *checkout.CheckoutReq { method IsSetReq (line 124) | func (p *CheckoutArgs) IsSetReq() bool { method GetFirstArgument (line 128) | func (p *CheckoutArgs) GetFirstArgument() interface{} { type CheckoutResult (line 132) | type CheckoutResult struct method FastRead (line 138) | func (p *CheckoutResult) FastRead(buf []byte, _type int8, number int32... method FastWrite (line 145) | func (p *CheckoutResult) FastWrite(buf []byte) (n int) { method Size (line 152) | func (p *CheckoutResult) Size() (n int) { method Marshal (line 159) | func (p *CheckoutResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 166) | func (p *CheckoutResult) Unmarshal(in []byte) error { method GetSuccess (line 175) | func (p *CheckoutResult) GetSuccess() *checkout.CheckoutResp { method SetSuccess (line 182) | func (p *CheckoutResult) SetSuccess(x interface{}) { method IsSetSuccess (line 186) | func (p *CheckoutResult) IsSetSuccess() bool { method GetResult (line 190) | func (p *CheckoutResult) GetResult() interface{} { type kClient (line 194) | type kClient struct method Checkout (line 204) | func (p *kClient) Checkout(ctx context.Context, Req *checkout.Checkout... function newServiceClient (line 198) | func newServiceClient(c client.Client) *kClient { FILE: gomall/rpc_gen/kitex_gen/checkout/checkoutservice/client.go type Client (line 13) | type Client interface function NewClient (line 18) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 34) | func MustNewClient(destService string, opts ...client.Option) Client { type kCheckoutServiceClient (line 42) | type kCheckoutServiceClient struct method Checkout (line 46) | func (p *kCheckoutServiceClient) Checkout(ctx context.Context, Req *ch... FILE: gomall/rpc_gen/kitex_gen/checkout/checkoutservice/invoker.go function NewInvoker (line 11) | func NewInvoker(handler checkout.CheckoutService, opts ...server.Option)... FILE: gomall/rpc_gen/kitex_gen/checkout/checkoutservice/server.go function NewServer (line 10) | func NewServer(handler checkout.CheckoutService, opts ...server.Option) ... FILE: gomall/rpc_gen/kitex_gen/email/email.pb.fast.go method FastRead (line 15) | func (x *EmailReq) FastRead(buf []byte, _type int8, number int32) (offse... method fastReadField1 (line 55) | func (x *EmailReq) fastReadField1(buf []byte, _type int8) (offset int, e... method fastReadField2 (line 60) | func (x *EmailReq) fastReadField2(buf []byte, _type int8) (offset int, e... method fastReadField3 (line 65) | func (x *EmailReq) fastReadField3(buf []byte, _type int8) (offset int, e... method fastReadField4 (line 70) | func (x *EmailReq) fastReadField4(buf []byte, _type int8) (offset int, e... method fastReadField5 (line 75) | func (x *EmailReq) fastReadField5(buf []byte, _type int8) (offset int, e... method FastRead (line 80) | func (x *EmailResp) FastRead(buf []byte, _type int8, number int32) (offs... method FastWrite (line 93) | func (x *EmailReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 105) | func (x *EmailReq) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 113) | func (x *EmailReq) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 121) | func (x *EmailReq) fastWriteField3(buf []byte) (offset int) { method fastWriteField4 (line 129) | func (x *EmailReq) fastWriteField4(buf []byte) (offset int) { method fastWriteField5 (line 137) | func (x *EmailReq) fastWriteField5(buf []byte) (offset int) { method FastWrite (line 145) | func (x *EmailResp) FastWrite(buf []byte) (offset int) { method Size (line 152) | func (x *EmailReq) Size() (n int) { method sizeField1 (line 164) | func (x *EmailReq) sizeField1() (n int) { method sizeField2 (line 172) | func (x *EmailReq) sizeField2() (n int) { method sizeField3 (line 180) | func (x *EmailReq) sizeField3() (n int) { method sizeField4 (line 188) | func (x *EmailReq) sizeField4() (n int) { method sizeField5 (line 196) | func (x *EmailReq) sizeField5() (n int) { method Size (line 204) | func (x *EmailResp) Size() (n int) { FILE: gomall/rpc_gen/kitex_gen/email/email.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type EmailReq (line 24) | type EmailReq struct method Reset (line 36) | func (x *EmailReq) Reset() { method String (line 45) | func (x *EmailReq) String() string { method ProtoMessage (line 49) | func (*EmailReq) ProtoMessage() {} method ProtoReflect (line 51) | func (x *EmailReq) ProtoReflect() protoreflect.Message { method Descriptor (line 64) | func (*EmailReq) Descriptor() ([]byte, []int) { method GetFrom (line 68) | func (x *EmailReq) GetFrom() string { method GetTo (line 75) | func (x *EmailReq) GetTo() string { method GetContentType (line 82) | func (x *EmailReq) GetContentType() string { method GetSubject (line 89) | func (x *EmailReq) GetSubject() string { method GetContent (line 96) | func (x *EmailReq) GetContent() string { type EmailResp (line 103) | type EmailResp struct method Reset (line 109) | func (x *EmailResp) Reset() { method String (line 118) | func (x *EmailResp) String() string { method ProtoMessage (line 122) | func (*EmailResp) ProtoMessage() {} method ProtoReflect (line 124) | func (x *EmailResp) ProtoReflect() protoreflect.Message { method Descriptor (line 137) | func (*EmailResp) Descriptor() ([]byte, []int) { function file_email_proto_rawDescGZIP (line 170) | func file_email_proto_rawDescGZIP() []byte { function init (line 192) | func init() { file_email_proto_init() } function file_email_proto_init (line 193) | func file_email_proto_init() { type EmailService (line 247) | type EmailService interface FILE: gomall/rpc_gen/kitex_gen/email/emailservice/client.go type Client (line 13) | type Client interface function NewClient (line 18) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 34) | func MustNewClient(destService string, opts ...client.Option) Client { type kEmailServiceClient (line 42) | type kEmailServiceClient struct method Send (line 46) | func (p *kEmailServiceClient) Send(ctx context.Context, Req *email.Ema... FILE: gomall/rpc_gen/kitex_gen/email/emailservice/emailservice.go function serviceInfo (line 14) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 20) | func NewServiceInfo() *kitex.ServiceInfo { function sendHandler (line 41) | func sendHandler(ctx context.Context, handler interface{}, arg, result i... function newSendArgs (line 66) | func newSendArgs() interface{} { function newSendResult (line 70) | func newSendResult() interface{} { type SendArgs (line 74) | type SendArgs struct method FastRead (line 78) | func (p *SendArgs) FastRead(buf []byte, _type int8, number int32) (n i... method FastWrite (line 85) | func (p *SendArgs) FastWrite(buf []byte) (n int) { method Size (line 92) | func (p *SendArgs) Size() (n int) { method Marshal (line 99) | func (p *SendArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 106) | func (p *SendArgs) Unmarshal(in []byte) error { method GetReq (line 117) | func (p *SendArgs) GetReq() *email.EmailReq { method IsSetReq (line 124) | func (p *SendArgs) IsSetReq() bool { method GetFirstArgument (line 128) | func (p *SendArgs) GetFirstArgument() interface{} { type SendResult (line 132) | type SendResult struct method FastRead (line 138) | func (p *SendResult) FastRead(buf []byte, _type int8, number int32) (n... method FastWrite (line 145) | func (p *SendResult) FastWrite(buf []byte) (n int) { method Size (line 152) | func (p *SendResult) Size() (n int) { method Marshal (line 159) | func (p *SendResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 166) | func (p *SendResult) Unmarshal(in []byte) error { method GetSuccess (line 175) | func (p *SendResult) GetSuccess() *email.EmailResp { method SetSuccess (line 182) | func (p *SendResult) SetSuccess(x interface{}) { method IsSetSuccess (line 186) | func (p *SendResult) IsSetSuccess() bool { method GetResult (line 190) | func (p *SendResult) GetResult() interface{} { type kClient (line 194) | type kClient struct method Send (line 204) | func (p *kClient) Send(ctx context.Context, Req *email.EmailReq) (r *e... function newServiceClient (line 198) | func newServiceClient(c client.Client) *kClient { FILE: gomall/rpc_gen/kitex_gen/email/emailservice/invoker.go function NewInvoker (line 11) | func NewInvoker(handler email.EmailService, opts ...server.Option) serve... FILE: gomall/rpc_gen/kitex_gen/email/emailservice/server.go function NewServer (line 10) | func NewServer(handler email.EmailService, opts ...server.Option) server... FILE: gomall/rpc_gen/kitex_gen/order/order.pb.fast.go method FastRead (line 16) | func (x *Address) FastRead(buf []byte, _type int8, number int32) (offset... method fastReadField1 (line 56) | func (x *Address) fastReadField1(buf []byte, _type int8) (offset int, er... method fastReadField2 (line 61) | func (x *Address) fastReadField2(buf []byte, _type int8) (offset int, er... method fastReadField3 (line 66) | func (x *Address) fastReadField3(buf []byte, _type int8) (offset int, er... method fastReadField4 (line 71) | func (x *Address) fastReadField4(buf []byte, _type int8) (offset int, er... method fastReadField5 (line 76) | func (x *Address) fastReadField5(buf []byte, _type int8) (offset int, er... method FastRead (line 81) | func (x *PlaceOrderReq) FastRead(buf []byte, _type int8, number int32) (... method fastReadField1 (line 121) | func (x *PlaceOrderReq) fastReadField1(buf []byte, _type int8) (offset i... method fastReadField2 (line 126) | func (x *PlaceOrderReq) fastReadField2(buf []byte, _type int8) (offset i... method fastReadField3 (line 131) | func (x *PlaceOrderReq) fastReadField3(buf []byte, _type int8) (offset i... method fastReadField4 (line 141) | func (x *PlaceOrderReq) fastReadField4(buf []byte, _type int8) (offset i... method fastReadField5 (line 146) | func (x *PlaceOrderReq) fastReadField5(buf []byte, _type int8) (offset i... method FastRead (line 156) | func (x *OrderItem) FastRead(buf []byte, _type int8, number int32) (offs... method fastReadField1 (line 181) | func (x *OrderItem) fastReadField1(buf []byte, _type int8) (offset int, ... method fastReadField2 (line 191) | func (x *OrderItem) fastReadField2(buf []byte, _type int8) (offset int, ... method FastRead (line 196) | func (x *OrderResult) FastRead(buf []byte, _type int8, number int32) (of... method fastReadField1 (line 216) | func (x *OrderResult) fastReadField1(buf []byte, _type int8) (offset int... method FastRead (line 221) | func (x *PlaceOrderResp) FastRead(buf []byte, _type int8, number int32) ... method fastReadField1 (line 241) | func (x *PlaceOrderResp) fastReadField1(buf []byte, _type int8) (offset ... method FastRead (line 251) | func (x *ListOrderReq) FastRead(buf []byte, _type int8, number int32) (o... method fastReadField1 (line 271) | func (x *ListOrderReq) fastReadField1(buf []byte, _type int8) (offset in... method FastRead (line 276) | func (x *Order) FastRead(buf []byte, _type int8, number int32) (offset i... method fastReadField1 (line 326) | func (x *Order) fastReadField1(buf []byte, _type int8) (offset int, err ... method fastReadField2 (line 336) | func (x *Order) fastReadField2(buf []byte, _type int8) (offset int, err ... method fastReadField3 (line 341) | func (x *Order) fastReadField3(buf []byte, _type int8) (offset int, err ... method fastReadField4 (line 346) | func (x *Order) fastReadField4(buf []byte, _type int8) (offset int, err ... method fastReadField5 (line 351) | func (x *Order) fastReadField5(buf []byte, _type int8) (offset int, err ... method fastReadField6 (line 361) | func (x *Order) fastReadField6(buf []byte, _type int8) (offset int, err ... method fastReadField7 (line 366) | func (x *Order) fastReadField7(buf []byte, _type int8) (offset int, err ... method FastRead (line 371) | func (x *ListOrderResp) FastRead(buf []byte, _type int8, number int32) (... method fastReadField1 (line 391) | func (x *ListOrderResp) fastReadField1(buf []byte, _type int8) (offset i... method FastRead (line 401) | func (x *MarkOrderPaidReq) FastRead(buf []byte, _type int8, number int32... method fastReadField1 (line 426) | func (x *MarkOrderPaidReq) fastReadField1(buf []byte, _type int8) (offse... method fastReadField2 (line 431) | func (x *MarkOrderPaidReq) fastReadField2(buf []byte, _type int8) (offse... method FastRead (line 436) | func (x *MarkOrderPaidResp) FastRead(buf []byte, _type int8, number int3... method FastWrite (line 449) | func (x *Address) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 461) | func (x *Address) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 469) | func (x *Address) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 477) | func (x *Address) fastWriteField3(buf []byte) (offset int) { method fastWriteField4 (line 485) | func (x *Address) fastWriteField4(buf []byte) (offset int) { method fastWriteField5 (line 493) | func (x *Address) fastWriteField5(buf []byte) (offset int) { method FastWrite (line 501) | func (x *PlaceOrderReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 513) | func (x *PlaceOrderReq) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 521) | func (x *PlaceOrderReq) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 529) | func (x *PlaceOrderReq) fastWriteField3(buf []byte) (offset int) { method fastWriteField4 (line 537) | func (x *PlaceOrderReq) fastWriteField4(buf []byte) (offset int) { method fastWriteField5 (line 545) | func (x *PlaceOrderReq) fastWriteField5(buf []byte) (offset int) { method FastWrite (line 555) | func (x *OrderItem) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 564) | func (x *OrderItem) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 572) | func (x *OrderItem) fastWriteField2(buf []byte) (offset int) { method FastWrite (line 580) | func (x *OrderResult) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 588) | func (x *OrderResult) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 596) | func (x *PlaceOrderResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 604) | func (x *PlaceOrderResp) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 612) | func (x *ListOrderReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 620) | func (x *ListOrderReq) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 628) | func (x *Order) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 642) | func (x *Order) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 652) | func (x *Order) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 660) | func (x *Order) fastWriteField3(buf []byte) (offset int) { method fastWriteField4 (line 668) | func (x *Order) fastWriteField4(buf []byte) (offset int) { method fastWriteField5 (line 676) | func (x *Order) fastWriteField5(buf []byte) (offset int) { method fastWriteField6 (line 684) | func (x *Order) fastWriteField6(buf []byte) (offset int) { method fastWriteField7 (line 692) | func (x *Order) fastWriteField7(buf []byte) (offset int) { method FastWrite (line 700) | func (x *ListOrderResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 708) | func (x *ListOrderResp) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 718) | func (x *MarkOrderPaidReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 727) | func (x *MarkOrderPaidReq) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 735) | func (x *MarkOrderPaidReq) fastWriteField2(buf []byte) (offset int) { method FastWrite (line 743) | func (x *MarkOrderPaidResp) FastWrite(buf []byte) (offset int) { method Size (line 750) | func (x *Address) Size() (n int) { method sizeField1 (line 762) | func (x *Address) sizeField1() (n int) { method sizeField2 (line 770) | func (x *Address) sizeField2() (n int) { method sizeField3 (line 778) | func (x *Address) sizeField3() (n int) { method sizeField4 (line 786) | func (x *Address) sizeField4() (n int) { method sizeField5 (line 794) | func (x *Address) sizeField5() (n int) { method Size (line 802) | func (x *PlaceOrderReq) Size() (n int) { method sizeField1 (line 814) | func (x *PlaceOrderReq) sizeField1() (n int) { method sizeField2 (line 822) | func (x *PlaceOrderReq) sizeField2() (n int) { method sizeField3 (line 830) | func (x *PlaceOrderReq) sizeField3() (n int) { method sizeField4 (line 838) | func (x *PlaceOrderReq) sizeField4() (n int) { method sizeField5 (line 846) | func (x *PlaceOrderReq) sizeField5() (n int) { method Size (line 856) | func (x *OrderItem) Size() (n int) { method sizeField1 (line 865) | func (x *OrderItem) sizeField1() (n int) { method sizeField2 (line 873) | func (x *OrderItem) sizeField2() (n int) { method Size (line 881) | func (x *OrderResult) Size() (n int) { method sizeField1 (line 889) | func (x *OrderResult) sizeField1() (n int) { method Size (line 897) | func (x *PlaceOrderResp) Size() (n int) { method sizeField1 (line 905) | func (x *PlaceOrderResp) sizeField1() (n int) { method Size (line 913) | func (x *ListOrderReq) Size() (n int) { method sizeField1 (line 921) | func (x *ListOrderReq) sizeField1() (n int) { method Size (line 929) | func (x *Order) Size() (n int) { method sizeField1 (line 943) | func (x *Order) sizeField1() (n int) { method sizeField2 (line 953) | func (x *Order) sizeField2() (n int) { method sizeField3 (line 961) | func (x *Order) sizeField3() (n int) { method sizeField4 (line 969) | func (x *Order) sizeField4() (n int) { method sizeField5 (line 977) | func (x *Order) sizeField5() (n int) { method sizeField6 (line 985) | func (x *Order) sizeField6() (n int) { method sizeField7 (line 993) | func (x *Order) sizeField7() (n int) { method Size (line 1001) | func (x *ListOrderResp) Size() (n int) { method sizeField1 (line 1009) | func (x *ListOrderResp) sizeField1() (n int) { method Size (line 1019) | func (x *MarkOrderPaidReq) Size() (n int) { method sizeField1 (line 1028) | func (x *MarkOrderPaidReq) sizeField1() (n int) { method sizeField2 (line 1036) | func (x *MarkOrderPaidReq) sizeField2() (n int) { method Size (line 1044) | func (x *MarkOrderPaidResp) Size() (n int) { FILE: gomall/rpc_gen/kitex_gen/order/order.pb.go constant _ (line 20) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 22) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Address (line 25) | type Address struct method Reset (line 37) | func (x *Address) Reset() { method String (line 46) | func (x *Address) String() string { method ProtoMessage (line 50) | func (*Address) ProtoMessage() {} method ProtoReflect (line 52) | func (x *Address) ProtoReflect() protoreflect.Message { method Descriptor (line 65) | func (*Address) Descriptor() ([]byte, []int) { method GetStreetAddress (line 69) | func (x *Address) GetStreetAddress() string { method GetCity (line 76) | func (x *Address) GetCity() string { method GetState (line 83) | func (x *Address) GetState() string { method GetCountry (line 90) | func (x *Address) GetCountry() string { method GetZipCode (line 97) | func (x *Address) GetZipCode() int32 { type PlaceOrderReq (line 104) | type PlaceOrderReq struct method Reset (line 116) | func (x *PlaceOrderReq) Reset() { method String (line 125) | func (x *PlaceOrderReq) String() string { method ProtoMessage (line 129) | func (*PlaceOrderReq) ProtoMessage() {} method ProtoReflect (line 131) | func (x *PlaceOrderReq) ProtoReflect() protoreflect.Message { method Descriptor (line 144) | func (*PlaceOrderReq) Descriptor() ([]byte, []int) { method GetUserId (line 148) | func (x *PlaceOrderReq) GetUserId() uint32 { method GetUserCurrency (line 155) | func (x *PlaceOrderReq) GetUserCurrency() string { method GetAddress (line 162) | func (x *PlaceOrderReq) GetAddress() *Address { method GetEmail (line 169) | func (x *PlaceOrderReq) GetEmail() string { method GetOrderItems (line 176) | func (x *PlaceOrderReq) GetOrderItems() []*OrderItem { type OrderItem (line 183) | type OrderItem struct method Reset (line 192) | func (x *OrderItem) Reset() { method String (line 201) | func (x *OrderItem) String() string { method ProtoMessage (line 205) | func (*OrderItem) ProtoMessage() {} method ProtoReflect (line 207) | func (x *OrderItem) ProtoReflect() protoreflect.Message { method Descriptor (line 220) | func (*OrderItem) Descriptor() ([]byte, []int) { method GetItem (line 224) | func (x *OrderItem) GetItem() *cart.CartItem { method GetCost (line 231) | func (x *OrderItem) GetCost() float32 { type OrderResult (line 238) | type OrderResult struct method Reset (line 246) | func (x *OrderResult) Reset() { method String (line 255) | func (x *OrderResult) String() string { method ProtoMessage (line 259) | func (*OrderResult) ProtoMessage() {} method ProtoReflect (line 261) | func (x *OrderResult) ProtoReflect() protoreflect.Message { method Descriptor (line 274) | func (*OrderResult) Descriptor() ([]byte, []int) { method GetOrderId (line 278) | func (x *OrderResult) GetOrderId() string { type PlaceOrderResp (line 285) | type PlaceOrderResp struct method Reset (line 293) | func (x *PlaceOrderResp) Reset() { method String (line 302) | func (x *PlaceOrderResp) String() string { method ProtoMessage (line 306) | func (*PlaceOrderResp) ProtoMessage() {} method ProtoReflect (line 308) | func (x *PlaceOrderResp) ProtoReflect() protoreflect.Message { method Descriptor (line 321) | func (*PlaceOrderResp) Descriptor() ([]byte, []int) { method GetOrder (line 325) | func (x *PlaceOrderResp) GetOrder() *OrderResult { type ListOrderReq (line 332) | type ListOrderReq struct method Reset (line 340) | func (x *ListOrderReq) Reset() { method String (line 349) | func (x *ListOrderReq) String() string { method ProtoMessage (line 353) | func (*ListOrderReq) ProtoMessage() {} method ProtoReflect (line 355) | func (x *ListOrderReq) ProtoReflect() protoreflect.Message { method Descriptor (line 368) | func (*ListOrderReq) Descriptor() ([]byte, []int) { method GetUserId (line 372) | func (x *ListOrderReq) GetUserId() uint32 { type Order (line 379) | type Order struct method Reset (line 393) | func (x *Order) Reset() { method String (line 402) | func (x *Order) String() string { method ProtoMessage (line 406) | func (*Order) ProtoMessage() {} method ProtoReflect (line 408) | func (x *Order) ProtoReflect() protoreflect.Message { method Descriptor (line 421) | func (*Order) Descriptor() ([]byte, []int) { method GetOrderItems (line 425) | func (x *Order) GetOrderItems() []*OrderItem { method GetOrderId (line 432) | func (x *Order) GetOrderId() string { method GetUserId (line 439) | func (x *Order) GetUserId() uint32 { method GetUserCurrency (line 446) | func (x *Order) GetUserCurrency() string { method GetAddress (line 453) | func (x *Order) GetAddress() *Address { method GetEmail (line 460) | func (x *Order) GetEmail() string { method GetCreatedAt (line 467) | func (x *Order) GetCreatedAt() int32 { type ListOrderResp (line 474) | type ListOrderResp struct method Reset (line 482) | func (x *ListOrderResp) Reset() { method String (line 491) | func (x *ListOrderResp) String() string { method ProtoMessage (line 495) | func (*ListOrderResp) ProtoMessage() {} method ProtoReflect (line 497) | func (x *ListOrderResp) ProtoReflect() protoreflect.Message { method Descriptor (line 510) | func (*ListOrderResp) Descriptor() ([]byte, []int) { method GetOrders (line 514) | func (x *ListOrderResp) GetOrders() []*Order { type MarkOrderPaidReq (line 521) | type MarkOrderPaidReq struct method Reset (line 530) | func (x *MarkOrderPaidReq) Reset() { method String (line 539) | func (x *MarkOrderPaidReq) String() string { method ProtoMessage (line 543) | func (*MarkOrderPaidReq) ProtoMessage() {} method ProtoReflect (line 545) | func (x *MarkOrderPaidReq) ProtoReflect() protoreflect.Message { method Descriptor (line 558) | func (*MarkOrderPaidReq) Descriptor() ([]byte, []int) { method GetUserId (line 562) | func (x *MarkOrderPaidReq) GetUserId() uint32 { method GetOrderId (line 569) | func (x *MarkOrderPaidReq) GetOrderId() string { type MarkOrderPaidResp (line 576) | type MarkOrderPaidResp struct method Reset (line 582) | func (x *MarkOrderPaidResp) Reset() { method String (line 591) | func (x *MarkOrderPaidResp) String() string { method ProtoMessage (line 595) | func (*MarkOrderPaidResp) ProtoMessage() {} method ProtoReflect (line 597) | func (x *MarkOrderPaidResp) ProtoReflect() protoreflect.Message { method Descriptor (line 610) | func (*MarkOrderPaidResp) Descriptor() ([]byte, []int) { function file_order_proto_rawDescGZIP (line 703) | func file_order_proto_rawDescGZIP() []byte { function init (line 745) | func init() { file_order_proto_init() } function file_order_proto_init (line 746) | func file_order_proto_init() { type OrderService (line 896) | type OrderService interface FILE: gomall/rpc_gen/kitex_gen/order/orderservice/client.go type Client (line 13) | type Client interface function NewClient (line 20) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 36) | func MustNewClient(destService string, opts ...client.Option) Client { type kOrderServiceClient (line 44) | type kOrderServiceClient struct method PlaceOrder (line 48) | func (p *kOrderServiceClient) PlaceOrder(ctx context.Context, Req *ord... method ListOrder (line 53) | func (p *kOrderServiceClient) ListOrder(ctx context.Context, Req *orde... method MarkOrderPaid (line 58) | func (p *kOrderServiceClient) MarkOrderPaid(ctx context.Context, Req *... FILE: gomall/rpc_gen/kitex_gen/order/orderservice/invoker.go function NewInvoker (line 11) | func NewInvoker(handler order.OrderService, opts ...server.Option) serve... FILE: gomall/rpc_gen/kitex_gen/order/orderservice/orderservice.go function serviceInfo (line 14) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 20) | func NewServiceInfo() *kitex.ServiceInfo { function placeOrderHandler (line 43) | func placeOrderHandler(ctx context.Context, handler interface{}, arg, re... function newPlaceOrderArgs (line 68) | func newPlaceOrderArgs() interface{} { function newPlaceOrderResult (line 72) | func newPlaceOrderResult() interface{} { type PlaceOrderArgs (line 76) | type PlaceOrderArgs struct method FastRead (line 80) | func (p *PlaceOrderArgs) FastRead(buf []byte, _type int8, number int32... method FastWrite (line 87) | func (p *PlaceOrderArgs) FastWrite(buf []byte) (n int) { method Size (line 94) | func (p *PlaceOrderArgs) Size() (n int) { method Marshal (line 101) | func (p *PlaceOrderArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 108) | func (p *PlaceOrderArgs) Unmarshal(in []byte) error { method GetReq (line 119) | func (p *PlaceOrderArgs) GetReq() *order.PlaceOrderReq { method IsSetReq (line 126) | func (p *PlaceOrderArgs) IsSetReq() bool { method GetFirstArgument (line 130) | func (p *PlaceOrderArgs) GetFirstArgument() interface{} { type PlaceOrderResult (line 134) | type PlaceOrderResult struct method FastRead (line 140) | func (p *PlaceOrderResult) FastRead(buf []byte, _type int8, number int... method FastWrite (line 147) | func (p *PlaceOrderResult) FastWrite(buf []byte) (n int) { method Size (line 154) | func (p *PlaceOrderResult) Size() (n int) { method Marshal (line 161) | func (p *PlaceOrderResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 168) | func (p *PlaceOrderResult) Unmarshal(in []byte) error { method GetSuccess (line 177) | func (p *PlaceOrderResult) GetSuccess() *order.PlaceOrderResp { method SetSuccess (line 184) | func (p *PlaceOrderResult) SetSuccess(x interface{}) { method IsSetSuccess (line 188) | func (p *PlaceOrderResult) IsSetSuccess() bool { method GetResult (line 192) | func (p *PlaceOrderResult) GetResult() interface{} { function listOrderHandler (line 196) | func listOrderHandler(ctx context.Context, handler interface{}, arg, res... function newListOrderArgs (line 221) | func newListOrderArgs() interface{} { function newListOrderResult (line 225) | func newListOrderResult() interface{} { type ListOrderArgs (line 229) | type ListOrderArgs struct method FastRead (line 233) | func (p *ListOrderArgs) FastRead(buf []byte, _type int8, number int32)... method FastWrite (line 240) | func (p *ListOrderArgs) FastWrite(buf []byte) (n int) { method Size (line 247) | func (p *ListOrderArgs) Size() (n int) { method Marshal (line 254) | func (p *ListOrderArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 261) | func (p *ListOrderArgs) Unmarshal(in []byte) error { method GetReq (line 272) | func (p *ListOrderArgs) GetReq() *order.ListOrderReq { method IsSetReq (line 279) | func (p *ListOrderArgs) IsSetReq() bool { method GetFirstArgument (line 283) | func (p *ListOrderArgs) GetFirstArgument() interface{} { type ListOrderResult (line 287) | type ListOrderResult struct method FastRead (line 293) | func (p *ListOrderResult) FastRead(buf []byte, _type int8, number int3... method FastWrite (line 300) | func (p *ListOrderResult) FastWrite(buf []byte) (n int) { method Size (line 307) | func (p *ListOrderResult) Size() (n int) { method Marshal (line 314) | func (p *ListOrderResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 321) | func (p *ListOrderResult) Unmarshal(in []byte) error { method GetSuccess (line 330) | func (p *ListOrderResult) GetSuccess() *order.ListOrderResp { method SetSuccess (line 337) | func (p *ListOrderResult) SetSuccess(x interface{}) { method IsSetSuccess (line 341) | func (p *ListOrderResult) IsSetSuccess() bool { method GetResult (line 345) | func (p *ListOrderResult) GetResult() interface{} { function markOrderPaidHandler (line 349) | func markOrderPaidHandler(ctx context.Context, handler interface{}, arg,... function newMarkOrderPaidArgs (line 374) | func newMarkOrderPaidArgs() interface{} { function newMarkOrderPaidResult (line 378) | func newMarkOrderPaidResult() interface{} { type MarkOrderPaidArgs (line 382) | type MarkOrderPaidArgs struct method FastRead (line 386) | func (p *MarkOrderPaidArgs) FastRead(buf []byte, _type int8, number in... method FastWrite (line 393) | func (p *MarkOrderPaidArgs) FastWrite(buf []byte) (n int) { method Size (line 400) | func (p *MarkOrderPaidArgs) Size() (n int) { method Marshal (line 407) | func (p *MarkOrderPaidArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 414) | func (p *MarkOrderPaidArgs) Unmarshal(in []byte) error { method GetReq (line 425) | func (p *MarkOrderPaidArgs) GetReq() *order.MarkOrderPaidReq { method IsSetReq (line 432) | func (p *MarkOrderPaidArgs) IsSetReq() bool { method GetFirstArgument (line 436) | func (p *MarkOrderPaidArgs) GetFirstArgument() interface{} { type MarkOrderPaidResult (line 440) | type MarkOrderPaidResult struct method FastRead (line 446) | func (p *MarkOrderPaidResult) FastRead(buf []byte, _type int8, number ... method FastWrite (line 453) | func (p *MarkOrderPaidResult) FastWrite(buf []byte) (n int) { method Size (line 460) | func (p *MarkOrderPaidResult) Size() (n int) { method Marshal (line 467) | func (p *MarkOrderPaidResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 474) | func (p *MarkOrderPaidResult) Unmarshal(in []byte) error { method GetSuccess (line 483) | func (p *MarkOrderPaidResult) GetSuccess() *order.MarkOrderPaidResp { method SetSuccess (line 490) | func (p *MarkOrderPaidResult) SetSuccess(x interface{}) { method IsSetSuccess (line 494) | func (p *MarkOrderPaidResult) IsSetSuccess() bool { method GetResult (line 498) | func (p *MarkOrderPaidResult) GetResult() interface{} { type kClient (line 502) | type kClient struct method PlaceOrder (line 512) | func (p *kClient) PlaceOrder(ctx context.Context, Req *order.PlaceOrde... method ListOrder (line 522) | func (p *kClient) ListOrder(ctx context.Context, Req *order.ListOrderR... method MarkOrderPaid (line 532) | func (p *kClient) MarkOrderPaid(ctx context.Context, Req *order.MarkOr... function newServiceClient (line 506) | func newServiceClient(c client.Client) *kClient { FILE: gomall/rpc_gen/kitex_gen/order/orderservice/server.go function NewServer (line 10) | func NewServer(handler order.OrderService, opts ...server.Option) server... FILE: gomall/rpc_gen/kitex_gen/payment/payment.pb.fast.go method FastRead (line 15) | func (x *CreditCardInfo) FastRead(buf []byte, _type int8, number int32) ... method fastReadField1 (line 50) | func (x *CreditCardInfo) fastReadField1(buf []byte, _type int8) (offset ... method fastReadField2 (line 55) | func (x *CreditCardInfo) fastReadField2(buf []byte, _type int8) (offset ... method fastReadField3 (line 60) | func (x *CreditCardInfo) fastReadField3(buf []byte, _type int8) (offset ... method fastReadField4 (line 65) | func (x *CreditCardInfo) fastReadField4(buf []byte, _type int8) (offset ... method FastRead (line 70) | func (x *ChargeReq) FastRead(buf []byte, _type int8, number int32) (offs... method fastReadField1 (line 105) | func (x *ChargeReq) fastReadField1(buf []byte, _type int8) (offset int, ... method fastReadField2 (line 110) | func (x *ChargeReq) fastReadField2(buf []byte, _type int8) (offset int, ... method fastReadField3 (line 120) | func (x *ChargeReq) fastReadField3(buf []byte, _type int8) (offset int, ... method fastReadField4 (line 125) | func (x *ChargeReq) fastReadField4(buf []byte, _type int8) (offset int, ... method FastRead (line 130) | func (x *ChargeResp) FastRead(buf []byte, _type int8, number int32) (off... method fastReadField1 (line 150) | func (x *ChargeResp) fastReadField1(buf []byte, _type int8) (offset int,... method FastWrite (line 155) | func (x *CreditCardInfo) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 166) | func (x *CreditCardInfo) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 174) | func (x *CreditCardInfo) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 182) | func (x *CreditCardInfo) fastWriteField3(buf []byte) (offset int) { method fastWriteField4 (line 190) | func (x *CreditCardInfo) fastWriteField4(buf []byte) (offset int) { method FastWrite (line 198) | func (x *ChargeReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 209) | func (x *ChargeReq) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 217) | func (x *ChargeReq) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 225) | func (x *ChargeReq) fastWriteField3(buf []byte) (offset int) { method fastWriteField4 (line 233) | func (x *ChargeReq) fastWriteField4(buf []byte) (offset int) { method FastWrite (line 241) | func (x *ChargeResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 249) | func (x *ChargeResp) fastWriteField1(buf []byte) (offset int) { method Size (line 257) | func (x *CreditCardInfo) Size() (n int) { method sizeField1 (line 268) | func (x *CreditCardInfo) sizeField1() (n int) { method sizeField2 (line 276) | func (x *CreditCardInfo) sizeField2() (n int) { method sizeField3 (line 284) | func (x *CreditCardInfo) sizeField3() (n int) { method sizeField4 (line 292) | func (x *CreditCardInfo) sizeField4() (n int) { method Size (line 300) | func (x *ChargeReq) Size() (n int) { method sizeField1 (line 311) | func (x *ChargeReq) sizeField1() (n int) { method sizeField2 (line 319) | func (x *ChargeReq) sizeField2() (n int) { method sizeField3 (line 327) | func (x *ChargeReq) sizeField3() (n int) { method sizeField4 (line 335) | func (x *ChargeReq) sizeField4() (n int) { method Size (line 343) | func (x *ChargeResp) Size() (n int) { method sizeField1 (line 351) | func (x *ChargeResp) sizeField1() (n int) { FILE: gomall/rpc_gen/kitex_gen/payment/payment.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type CreditCardInfo (line 24) | type CreditCardInfo struct method Reset (line 35) | func (x *CreditCardInfo) Reset() { method String (line 44) | func (x *CreditCardInfo) String() string { method ProtoMessage (line 48) | func (*CreditCardInfo) ProtoMessage() {} method ProtoReflect (line 50) | func (x *CreditCardInfo) ProtoReflect() protoreflect.Message { method Descriptor (line 63) | func (*CreditCardInfo) Descriptor() ([]byte, []int) { method GetCreditCardNumber (line 67) | func (x *CreditCardInfo) GetCreditCardNumber() string { method GetCreditCardCvv (line 74) | func (x *CreditCardInfo) GetCreditCardCvv() int32 { method GetCreditCardExpirationYear (line 81) | func (x *CreditCardInfo) GetCreditCardExpirationYear() int32 { method GetCreditCardExpirationMonth (line 88) | func (x *CreditCardInfo) GetCreditCardExpirationMonth() int32 { type ChargeReq (line 95) | type ChargeReq struct method Reset (line 106) | func (x *ChargeReq) Reset() { method String (line 115) | func (x *ChargeReq) String() string { method ProtoMessage (line 119) | func (*ChargeReq) ProtoMessage() {} method ProtoReflect (line 121) | func (x *ChargeReq) ProtoReflect() protoreflect.Message { method Descriptor (line 134) | func (*ChargeReq) Descriptor() ([]byte, []int) { method GetAmount (line 138) | func (x *ChargeReq) GetAmount() float32 { method GetCreditCard (line 145) | func (x *ChargeReq) GetCreditCard() *CreditCardInfo { method GetOrderId (line 152) | func (x *ChargeReq) GetOrderId() string { method GetUserId (line 159) | func (x *ChargeReq) GetUserId() uint32 { type ChargeResp (line 166) | type ChargeResp struct method Reset (line 174) | func (x *ChargeResp) Reset() { method String (line 183) | func (x *ChargeResp) String() string { method ProtoMessage (line 187) | func (*ChargeResp) ProtoMessage() {} method ProtoReflect (line 189) | func (x *ChargeResp) ProtoReflect() protoreflect.Message { method Descriptor (line 202) | func (*ChargeResp) Descriptor() ([]byte, []int) { method GetTransactionId (line 206) | func (x *ChargeResp) GetTransactionId() string { function file_payment_proto_rawDescGZIP (line 261) | func file_payment_proto_rawDescGZIP() []byte { function init (line 285) | func init() { file_payment_proto_init() } function file_payment_proto_init (line 286) | func file_payment_proto_init() { type PaymentService (line 352) | type PaymentService interface FILE: gomall/rpc_gen/kitex_gen/payment/paymentservice/client.go type Client (line 13) | type Client interface function NewClient (line 18) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 34) | func MustNewClient(destService string, opts ...client.Option) Client { type kPaymentServiceClient (line 42) | type kPaymentServiceClient struct method Charge (line 46) | func (p *kPaymentServiceClient) Charge(ctx context.Context, Req *payme... FILE: gomall/rpc_gen/kitex_gen/payment/paymentservice/invoker.go function NewInvoker (line 11) | func NewInvoker(handler payment.PaymentService, opts ...server.Option) s... FILE: gomall/rpc_gen/kitex_gen/payment/paymentservice/paymentservice.go function serviceInfo (line 14) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 20) | func NewServiceInfo() *kitex.ServiceInfo { function chargeHandler (line 41) | func chargeHandler(ctx context.Context, handler interface{}, arg, result... function newChargeArgs (line 66) | func newChargeArgs() interface{} { function newChargeResult (line 70) | func newChargeResult() interface{} { type ChargeArgs (line 74) | type ChargeArgs struct method FastRead (line 78) | func (p *ChargeArgs) FastRead(buf []byte, _type int8, number int32) (n... method FastWrite (line 85) | func (p *ChargeArgs) FastWrite(buf []byte) (n int) { method Size (line 92) | func (p *ChargeArgs) Size() (n int) { method Marshal (line 99) | func (p *ChargeArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 106) | func (p *ChargeArgs) Unmarshal(in []byte) error { method GetReq (line 117) | func (p *ChargeArgs) GetReq() *payment.ChargeReq { method IsSetReq (line 124) | func (p *ChargeArgs) IsSetReq() bool { method GetFirstArgument (line 128) | func (p *ChargeArgs) GetFirstArgument() interface{} { type ChargeResult (line 132) | type ChargeResult struct method FastRead (line 138) | func (p *ChargeResult) FastRead(buf []byte, _type int8, number int32) ... method FastWrite (line 145) | func (p *ChargeResult) FastWrite(buf []byte) (n int) { method Size (line 152) | func (p *ChargeResult) Size() (n int) { method Marshal (line 159) | func (p *ChargeResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 166) | func (p *ChargeResult) Unmarshal(in []byte) error { method GetSuccess (line 175) | func (p *ChargeResult) GetSuccess() *payment.ChargeResp { method SetSuccess (line 182) | func (p *ChargeResult) SetSuccess(x interface{}) { method IsSetSuccess (line 186) | func (p *ChargeResult) IsSetSuccess() bool { method GetResult (line 190) | func (p *ChargeResult) GetResult() interface{} { type kClient (line 194) | type kClient struct method Charge (line 204) | func (p *kClient) Charge(ctx context.Context, Req *payment.ChargeReq) ... function newServiceClient (line 198) | func newServiceClient(c client.Client) *kClient { FILE: gomall/rpc_gen/kitex_gen/payment/paymentservice/server.go function NewServer (line 10) | func NewServer(handler payment.PaymentService, opts ...server.Option) se... FILE: gomall/rpc_gen/kitex_gen/product/product.pb.fast.go method FastRead (line 15) | func (x *ListProductsReq) FastRead(buf []byte, _type int8, number int32)... method fastReadField1 (line 45) | func (x *ListProductsReq) fastReadField1(buf []byte, _type int8) (offset... method fastReadField2 (line 50) | func (x *ListProductsReq) fastReadField2(buf []byte, _type int8) (offset... method fastReadField3 (line 55) | func (x *ListProductsReq) fastReadField3(buf []byte, _type int8) (offset... method FastRead (line 60) | func (x *Product) FastRead(buf []byte, _type int8, number int32) (offset... method fastReadField1 (line 105) | func (x *Product) fastReadField1(buf []byte, _type int8) (offset int, er... method fastReadField2 (line 110) | func (x *Product) fastReadField2(buf []byte, _type int8) (offset int, er... method fastReadField3 (line 115) | func (x *Product) fastReadField3(buf []byte, _type int8) (offset int, er... method fastReadField4 (line 120) | func (x *Product) fastReadField4(buf []byte, _type int8) (offset int, er... method fastReadField5 (line 125) | func (x *Product) fastReadField5(buf []byte, _type int8) (offset int, er... method fastReadField6 (line 130) | func (x *Product) fastReadField6(buf []byte, _type int8) (offset int, er... method FastRead (line 140) | func (x *ListProductsResp) FastRead(buf []byte, _type int8, number int32... method fastReadField1 (line 160) | func (x *ListProductsResp) fastReadField1(buf []byte, _type int8) (offse... method FastRead (line 170) | func (x *GetProductReq) FastRead(buf []byte, _type int8, number int32) (... method fastReadField1 (line 190) | func (x *GetProductReq) fastReadField1(buf []byte, _type int8) (offset i... method FastRead (line 195) | func (x *GetProductResp) FastRead(buf []byte, _type int8, number int32) ... method fastReadField1 (line 215) | func (x *GetProductResp) fastReadField1(buf []byte, _type int8) (offset ... method FastRead (line 225) | func (x *SearchProductsReq) FastRead(buf []byte, _type int8, number int3... method fastReadField1 (line 245) | func (x *SearchProductsReq) fastReadField1(buf []byte, _type int8) (offs... method FastRead (line 250) | func (x *SearchProductsResp) FastRead(buf []byte, _type int8, number int... method fastReadField1 (line 270) | func (x *SearchProductsResp) fastReadField1(buf []byte, _type int8) (off... method FastWrite (line 280) | func (x *ListProductsReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 290) | func (x *ListProductsReq) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 298) | func (x *ListProductsReq) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 306) | func (x *ListProductsReq) fastWriteField3(buf []byte) (offset int) { method FastWrite (line 314) | func (x *Product) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 327) | func (x *Product) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 335) | func (x *Product) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 343) | func (x *Product) fastWriteField3(buf []byte) (offset int) { method fastWriteField4 (line 351) | func (x *Product) fastWriteField4(buf []byte) (offset int) { method fastWriteField5 (line 359) | func (x *Product) fastWriteField5(buf []byte) (offset int) { method fastWriteField6 (line 367) | func (x *Product) fastWriteField6(buf []byte) (offset int) { method FastWrite (line 377) | func (x *ListProductsResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 385) | func (x *ListProductsResp) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 395) | func (x *GetProductReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 403) | func (x *GetProductReq) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 411) | func (x *GetProductResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 419) | func (x *GetProductResp) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 427) | func (x *SearchProductsReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 435) | func (x *SearchProductsReq) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 443) | func (x *SearchProductsResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 451) | func (x *SearchProductsResp) fastWriteField1(buf []byte) (offset int) { method Size (line 461) | func (x *ListProductsReq) Size() (n int) { method sizeField1 (line 471) | func (x *ListProductsReq) sizeField1() (n int) { method sizeField2 (line 479) | func (x *ListProductsReq) sizeField2() (n int) { method sizeField3 (line 487) | func (x *ListProductsReq) sizeField3() (n int) { method Size (line 495) | func (x *Product) Size() (n int) { method sizeField1 (line 508) | func (x *Product) sizeField1() (n int) { method sizeField2 (line 516) | func (x *Product) sizeField2() (n int) { method sizeField3 (line 524) | func (x *Product) sizeField3() (n int) { method sizeField4 (line 532) | func (x *Product) sizeField4() (n int) { method sizeField5 (line 540) | func (x *Product) sizeField5() (n int) { method sizeField6 (line 548) | func (x *Product) sizeField6() (n int) { method Size (line 558) | func (x *ListProductsResp) Size() (n int) { method sizeField1 (line 566) | func (x *ListProductsResp) sizeField1() (n int) { method Size (line 576) | func (x *GetProductReq) Size() (n int) { method sizeField1 (line 584) | func (x *GetProductReq) sizeField1() (n int) { method Size (line 592) | func (x *GetProductResp) Size() (n int) { method sizeField1 (line 600) | func (x *GetProductResp) sizeField1() (n int) { method Size (line 608) | func (x *SearchProductsReq) Size() (n int) { method sizeField1 (line 616) | func (x *SearchProductsReq) sizeField1() (n int) { method Size (line 624) | func (x *SearchProductsResp) Size() (n int) { method sizeField1 (line 632) | func (x *SearchProductsResp) sizeField1() (n int) { FILE: gomall/rpc_gen/kitex_gen/product/product.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type ListProductsReq (line 24) | type ListProductsReq struct method Reset (line 34) | func (x *ListProductsReq) Reset() { method String (line 43) | func (x *ListProductsReq) String() string { method ProtoMessage (line 47) | func (*ListProductsReq) ProtoMessage() {} method ProtoReflect (line 49) | func (x *ListProductsReq) ProtoReflect() protoreflect.Message { method Descriptor (line 62) | func (*ListProductsReq) Descriptor() ([]byte, []int) { method GetPage (line 66) | func (x *ListProductsReq) GetPage() int32 { method GetPageSize (line 73) | func (x *ListProductsReq) GetPageSize() int64 { method GetCategoryName (line 80) | func (x *ListProductsReq) GetCategoryName() string { type Product (line 87) | type Product struct method Reset (line 100) | func (x *Product) Reset() { method String (line 109) | func (x *Product) String() string { method ProtoMessage (line 113) | func (*Product) ProtoMessage() {} method ProtoReflect (line 115) | func (x *Product) ProtoReflect() protoreflect.Message { method Descriptor (line 128) | func (*Product) Descriptor() ([]byte, []int) { method GetId (line 132) | func (x *Product) GetId() uint32 { method GetName (line 139) | func (x *Product) GetName() string { method GetDescription (line 146) | func (x *Product) GetDescription() string { method GetPicture (line 153) | func (x *Product) GetPicture() string { method GetPrice (line 160) | func (x *Product) GetPrice() float32 { method GetCategories (line 167) | func (x *Product) GetCategories() []string { type ListProductsResp (line 174) | type ListProductsResp struct method Reset (line 182) | func (x *ListProductsResp) Reset() { method String (line 191) | func (x *ListProductsResp) String() string { method ProtoMessage (line 195) | func (*ListProductsResp) ProtoMessage() {} method ProtoReflect (line 197) | func (x *ListProductsResp) ProtoReflect() protoreflect.Message { method Descriptor (line 210) | func (*ListProductsResp) Descriptor() ([]byte, []int) { method GetProducts (line 214) | func (x *ListProductsResp) GetProducts() []*Product { type GetProductReq (line 221) | type GetProductReq struct method Reset (line 229) | func (x *GetProductReq) Reset() { method String (line 238) | func (x *GetProductReq) String() string { method ProtoMessage (line 242) | func (*GetProductReq) ProtoMessage() {} method ProtoReflect (line 244) | func (x *GetProductReq) ProtoReflect() protoreflect.Message { method Descriptor (line 257) | func (*GetProductReq) Descriptor() ([]byte, []int) { method GetId (line 261) | func (x *GetProductReq) GetId() uint32 { type GetProductResp (line 268) | type GetProductResp struct method Reset (line 276) | func (x *GetProductResp) Reset() { method String (line 285) | func (x *GetProductResp) String() string { method ProtoMessage (line 289) | func (*GetProductResp) ProtoMessage() {} method ProtoReflect (line 291) | func (x *GetProductResp) ProtoReflect() protoreflect.Message { method Descriptor (line 304) | func (*GetProductResp) Descriptor() ([]byte, []int) { method GetProduct (line 308) | func (x *GetProductResp) GetProduct() *Product { type SearchProductsReq (line 315) | type SearchProductsReq struct method Reset (line 323) | func (x *SearchProductsReq) Reset() { method String (line 332) | func (x *SearchProductsReq) String() string { method ProtoMessage (line 336) | func (*SearchProductsReq) ProtoMessage() {} method ProtoReflect (line 338) | func (x *SearchProductsReq) ProtoReflect() protoreflect.Message { method Descriptor (line 351) | func (*SearchProductsReq) Descriptor() ([]byte, []int) { method GetQuery (line 355) | func (x *SearchProductsReq) GetQuery() string { type SearchProductsResp (line 362) | type SearchProductsResp struct method Reset (line 370) | func (x *SearchProductsResp) Reset() { method String (line 379) | func (x *SearchProductsResp) String() string { method ProtoMessage (line 383) | func (*SearchProductsResp) ProtoMessage() {} method ProtoReflect (line 385) | func (x *SearchProductsResp) ProtoReflect() protoreflect.Message { method Descriptor (line 398) | func (*SearchProductsResp) Descriptor() ([]byte, []int) { method GetResults (line 402) | func (x *SearchProductsResp) GetResults() []*Product { function file_product_proto_rawDescGZIP (line 474) | func file_product_proto_rawDescGZIP() []byte { function init (line 508) | func init() { file_product_proto_init() } function file_product_proto_init (line 509) | func file_product_proto_init() { type ProductCatalogService (line 623) | type ProductCatalogService interface FILE: gomall/rpc_gen/kitex_gen/product/productcatalogservice/client.go type Client (line 13) | type Client interface function NewClient (line 20) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 36) | func MustNewClient(destService string, opts ...client.Option) Client { type kProductCatalogServiceClient (line 44) | type kProductCatalogServiceClient struct method ListProducts (line 48) | func (p *kProductCatalogServiceClient) ListProducts(ctx context.Contex... method GetProduct (line 53) | func (p *kProductCatalogServiceClient) GetProduct(ctx context.Context,... method SearchProducts (line 58) | func (p *kProductCatalogServiceClient) SearchProducts(ctx context.Cont... FILE: gomall/rpc_gen/kitex_gen/product/productcatalogservice/invoker.go function NewInvoker (line 11) | func NewInvoker(handler product.ProductCatalogService, opts ...server.Op... FILE: gomall/rpc_gen/kitex_gen/product/productcatalogservice/productcatalogservice.go function serviceInfo (line 14) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 20) | func NewServiceInfo() *kitex.ServiceInfo { function listProductsHandler (line 43) | func listProductsHandler(ctx context.Context, handler interface{}, arg, ... function newListProductsArgs (line 68) | func newListProductsArgs() interface{} { function newListProductsResult (line 72) | func newListProductsResult() interface{} { type ListProductsArgs (line 76) | type ListProductsArgs struct method FastRead (line 80) | func (p *ListProductsArgs) FastRead(buf []byte, _type int8, number int... method FastWrite (line 87) | func (p *ListProductsArgs) FastWrite(buf []byte) (n int) { method Size (line 94) | func (p *ListProductsArgs) Size() (n int) { method Marshal (line 101) | func (p *ListProductsArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 108) | func (p *ListProductsArgs) Unmarshal(in []byte) error { method GetReq (line 119) | func (p *ListProductsArgs) GetReq() *product.ListProductsReq { method IsSetReq (line 126) | func (p *ListProductsArgs) IsSetReq() bool { method GetFirstArgument (line 130) | func (p *ListProductsArgs) GetFirstArgument() interface{} { type ListProductsResult (line 134) | type ListProductsResult struct method FastRead (line 140) | func (p *ListProductsResult) FastRead(buf []byte, _type int8, number i... method FastWrite (line 147) | func (p *ListProductsResult) FastWrite(buf []byte) (n int) { method Size (line 154) | func (p *ListProductsResult) Size() (n int) { method Marshal (line 161) | func (p *ListProductsResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 168) | func (p *ListProductsResult) Unmarshal(in []byte) error { method GetSuccess (line 177) | func (p *ListProductsResult) GetSuccess() *product.ListProductsResp { method SetSuccess (line 184) | func (p *ListProductsResult) SetSuccess(x interface{}) { method IsSetSuccess (line 188) | func (p *ListProductsResult) IsSetSuccess() bool { method GetResult (line 192) | func (p *ListProductsResult) GetResult() interface{} { function getProductHandler (line 196) | func getProductHandler(ctx context.Context, handler interface{}, arg, re... function newGetProductArgs (line 221) | func newGetProductArgs() interface{} { function newGetProductResult (line 225) | func newGetProductResult() interface{} { type GetProductArgs (line 229) | type GetProductArgs struct method FastRead (line 233) | func (p *GetProductArgs) FastRead(buf []byte, _type int8, number int32... method FastWrite (line 240) | func (p *GetProductArgs) FastWrite(buf []byte) (n int) { method Size (line 247) | func (p *GetProductArgs) Size() (n int) { method Marshal (line 254) | func (p *GetProductArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 261) | func (p *GetProductArgs) Unmarshal(in []byte) error { method GetReq (line 272) | func (p *GetProductArgs) GetReq() *product.GetProductReq { method IsSetReq (line 279) | func (p *GetProductArgs) IsSetReq() bool { method GetFirstArgument (line 283) | func (p *GetProductArgs) GetFirstArgument() interface{} { type GetProductResult (line 287) | type GetProductResult struct method FastRead (line 293) | func (p *GetProductResult) FastRead(buf []byte, _type int8, number int... method FastWrite (line 300) | func (p *GetProductResult) FastWrite(buf []byte) (n int) { method Size (line 307) | func (p *GetProductResult) Size() (n int) { method Marshal (line 314) | func (p *GetProductResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 321) | func (p *GetProductResult) Unmarshal(in []byte) error { method GetSuccess (line 330) | func (p *GetProductResult) GetSuccess() *product.GetProductResp { method SetSuccess (line 337) | func (p *GetProductResult) SetSuccess(x interface{}) { method IsSetSuccess (line 341) | func (p *GetProductResult) IsSetSuccess() bool { method GetResult (line 345) | func (p *GetProductResult) GetResult() interface{} { function searchProductsHandler (line 349) | func searchProductsHandler(ctx context.Context, handler interface{}, arg... function newSearchProductsArgs (line 374) | func newSearchProductsArgs() interface{} { function newSearchProductsResult (line 378) | func newSearchProductsResult() interface{} { type SearchProductsArgs (line 382) | type SearchProductsArgs struct method FastRead (line 386) | func (p *SearchProductsArgs) FastRead(buf []byte, _type int8, number i... method FastWrite (line 393) | func (p *SearchProductsArgs) FastWrite(buf []byte) (n int) { method Size (line 400) | func (p *SearchProductsArgs) Size() (n int) { method Marshal (line 407) | func (p *SearchProductsArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 414) | func (p *SearchProductsArgs) Unmarshal(in []byte) error { method GetReq (line 425) | func (p *SearchProductsArgs) GetReq() *product.SearchProductsReq { method IsSetReq (line 432) | func (p *SearchProductsArgs) IsSetReq() bool { method GetFirstArgument (line 436) | func (p *SearchProductsArgs) GetFirstArgument() interface{} { type SearchProductsResult (line 440) | type SearchProductsResult struct method FastRead (line 446) | func (p *SearchProductsResult) FastRead(buf []byte, _type int8, number... method FastWrite (line 453) | func (p *SearchProductsResult) FastWrite(buf []byte) (n int) { method Size (line 460) | func (p *SearchProductsResult) Size() (n int) { method Marshal (line 467) | func (p *SearchProductsResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 474) | func (p *SearchProductsResult) Unmarshal(in []byte) error { method GetSuccess (line 483) | func (p *SearchProductsResult) GetSuccess() *product.SearchProductsResp { method SetSuccess (line 490) | func (p *SearchProductsResult) SetSuccess(x interface{}) { method IsSetSuccess (line 494) | func (p *SearchProductsResult) IsSetSuccess() bool { method GetResult (line 498) | func (p *SearchProductsResult) GetResult() interface{} { type kClient (line 502) | type kClient struct method ListProducts (line 512) | func (p *kClient) ListProducts(ctx context.Context, Req *product.ListP... method GetProduct (line 522) | func (p *kClient) GetProduct(ctx context.Context, Req *product.GetProd... method SearchProducts (line 532) | func (p *kClient) SearchProducts(ctx context.Context, Req *product.Sea... function newServiceClient (line 506) | func newServiceClient(c client.Client) *kClient { FILE: gomall/rpc_gen/kitex_gen/product/productcatalogservice/server.go function NewServer (line 10) | func NewServer(handler product.ProductCatalogService, opts ...server.Opt... FILE: gomall/rpc_gen/kitex_gen/user/user.pb.fast.go method FastRead (line 15) | func (x *RegisterReq) FastRead(buf []byte, _type int8, number int32) (of... method fastReadField1 (line 45) | func (x *RegisterReq) fastReadField1(buf []byte, _type int8) (offset int... method fastReadField2 (line 50) | func (x *RegisterReq) fastReadField2(buf []byte, _type int8) (offset int... method fastReadField3 (line 55) | func (x *RegisterReq) fastReadField3(buf []byte, _type int8) (offset int... method FastRead (line 60) | func (x *RegisterResp) FastRead(buf []byte, _type int8, number int32) (o... method fastReadField1 (line 80) | func (x *RegisterResp) fastReadField1(buf []byte, _type int8) (offset in... method FastRead (line 85) | func (x *LoginReq) FastRead(buf []byte, _type int8, number int32) (offse... method fastReadField1 (line 110) | func (x *LoginReq) fastReadField1(buf []byte, _type int8) (offset int, e... method fastReadField2 (line 115) | func (x *LoginReq) fastReadField2(buf []byte, _type int8) (offset int, e... method FastRead (line 120) | func (x *LoginResp) FastRead(buf []byte, _type int8, number int32) (offs... method fastReadField1 (line 140) | func (x *LoginResp) fastReadField1(buf []byte, _type int8) (offset int, ... method FastWrite (line 145) | func (x *RegisterReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 155) | func (x *RegisterReq) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 163) | func (x *RegisterReq) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 171) | func (x *RegisterReq) fastWriteField3(buf []byte) (offset int) { method FastWrite (line 179) | func (x *RegisterResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 187) | func (x *RegisterResp) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 195) | func (x *LoginReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 204) | func (x *LoginReq) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 212) | func (x *LoginReq) fastWriteField2(buf []byte) (offset int) { method FastWrite (line 220) | func (x *LoginResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 228) | func (x *LoginResp) fastWriteField1(buf []byte) (offset int) { method Size (line 236) | func (x *RegisterReq) Size() (n int) { method sizeField1 (line 246) | func (x *RegisterReq) sizeField1() (n int) { method sizeField2 (line 254) | func (x *RegisterReq) sizeField2() (n int) { method sizeField3 (line 262) | func (x *RegisterReq) sizeField3() (n int) { method Size (line 270) | func (x *RegisterResp) Size() (n int) { method sizeField1 (line 278) | func (x *RegisterResp) sizeField1() (n int) { method Size (line 286) | func (x *LoginReq) Size() (n int) { method sizeField1 (line 295) | func (x *LoginReq) sizeField1() (n int) { method sizeField2 (line 303) | func (x *LoginReq) sizeField2() (n int) { method Size (line 311) | func (x *LoginResp) Size() (n int) { method sizeField1 (line 319) | func (x *LoginResp) sizeField1() (n int) { FILE: gomall/rpc_gen/kitex_gen/user/user.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type RegisterReq (line 24) | type RegisterReq struct method Reset (line 34) | func (x *RegisterReq) Reset() { method String (line 43) | func (x *RegisterReq) String() string { method ProtoMessage (line 47) | func (*RegisterReq) ProtoMessage() {} method ProtoReflect (line 49) | func (x *RegisterReq) ProtoReflect() protoreflect.Message { method Descriptor (line 62) | func (*RegisterReq) Descriptor() ([]byte, []int) { method GetEmail (line 66) | func (x *RegisterReq) GetEmail() string { method GetPassword (line 73) | func (x *RegisterReq) GetPassword() string { method GetConfirmPassword (line 80) | func (x *RegisterReq) GetConfirmPassword() string { type RegisterResp (line 87) | type RegisterResp struct method Reset (line 95) | func (x *RegisterResp) Reset() { method String (line 104) | func (x *RegisterResp) String() string { method ProtoMessage (line 108) | func (*RegisterResp) ProtoMessage() {} method ProtoReflect (line 110) | func (x *RegisterResp) ProtoReflect() protoreflect.Message { method Descriptor (line 123) | func (*RegisterResp) Descriptor() ([]byte, []int) { method GetUserId (line 127) | func (x *RegisterResp) GetUserId() int32 { type LoginReq (line 134) | type LoginReq struct method Reset (line 143) | func (x *LoginReq) Reset() { method String (line 152) | func (x *LoginReq) String() string { method ProtoMessage (line 156) | func (*LoginReq) ProtoMessage() {} method ProtoReflect (line 158) | func (x *LoginReq) ProtoReflect() protoreflect.Message { method Descriptor (line 171) | func (*LoginReq) Descriptor() ([]byte, []int) { method GetEmail (line 175) | func (x *LoginReq) GetEmail() string { method GetPassword (line 182) | func (x *LoginReq) GetPassword() string { type LoginResp (line 189) | type LoginResp struct method Reset (line 197) | func (x *LoginResp) Reset() { method String (line 206) | func (x *LoginResp) String() string { method ProtoMessage (line 210) | func (*LoginResp) ProtoMessage() {} method ProtoReflect (line 212) | func (x *LoginResp) ProtoReflect() protoreflect.Message { method Descriptor (line 225) | func (*LoginResp) Descriptor() ([]byte, []int) { method GetUserId (line 229) | func (x *LoginResp) GetUserId() int32 { function file_user_proto_rawDescGZIP (line 275) | func file_user_proto_rawDescGZIP() []byte { function init (line 301) | func init() { file_user_proto_init() } function file_user_proto_init (line 302) | func file_user_proto_init() { type UserService (line 380) | type UserService interface FILE: gomall/rpc_gen/kitex_gen/user/userservice/client.go type Client (line 13) | type Client interface function NewClient (line 19) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 35) | func MustNewClient(destService string, opts ...client.Option) Client { type kUserServiceClient (line 43) | type kUserServiceClient struct method Register (line 47) | func (p *kUserServiceClient) Register(ctx context.Context, Req *user.R... method Login (line 52) | func (p *kUserServiceClient) Login(ctx context.Context, Req *user.Logi... FILE: gomall/rpc_gen/kitex_gen/user/userservice/invoker.go function NewInvoker (line 11) | func NewInvoker(handler user.UserService, opts ...server.Option) server.... FILE: gomall/rpc_gen/kitex_gen/user/userservice/server.go function NewServer (line 10) | func NewServer(handler user.UserService, opts ...server.Option) server.S... FILE: gomall/rpc_gen/kitex_gen/user/userservice/userservice.go function serviceInfo (line 14) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 20) | func NewServiceInfo() *kitex.ServiceInfo { function registerHandler (line 42) | func registerHandler(ctx context.Context, handler interface{}, arg, resu... function newRegisterArgs (line 67) | func newRegisterArgs() interface{} { function newRegisterResult (line 71) | func newRegisterResult() interface{} { type RegisterArgs (line 75) | type RegisterArgs struct method FastRead (line 79) | func (p *RegisterArgs) FastRead(buf []byte, _type int8, number int32) ... method FastWrite (line 86) | func (p *RegisterArgs) FastWrite(buf []byte) (n int) { method Size (line 93) | func (p *RegisterArgs) Size() (n int) { method Marshal (line 100) | func (p *RegisterArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 107) | func (p *RegisterArgs) Unmarshal(in []byte) error { method GetReq (line 118) | func (p *RegisterArgs) GetReq() *user.RegisterReq { method IsSetReq (line 125) | func (p *RegisterArgs) IsSetReq() bool { method GetFirstArgument (line 129) | func (p *RegisterArgs) GetFirstArgument() interface{} { type RegisterResult (line 133) | type RegisterResult struct method FastRead (line 139) | func (p *RegisterResult) FastRead(buf []byte, _type int8, number int32... method FastWrite (line 146) | func (p *RegisterResult) FastWrite(buf []byte) (n int) { method Size (line 153) | func (p *RegisterResult) Size() (n int) { method Marshal (line 160) | func (p *RegisterResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 167) | func (p *RegisterResult) Unmarshal(in []byte) error { method GetSuccess (line 176) | func (p *RegisterResult) GetSuccess() *user.RegisterResp { method SetSuccess (line 183) | func (p *RegisterResult) SetSuccess(x interface{}) { method IsSetSuccess (line 187) | func (p *RegisterResult) IsSetSuccess() bool { method GetResult (line 191) | func (p *RegisterResult) GetResult() interface{} { function loginHandler (line 195) | func loginHandler(ctx context.Context, handler interface{}, arg, result ... function newLoginArgs (line 220) | func newLoginArgs() interface{} { function newLoginResult (line 224) | func newLoginResult() interface{} { type LoginArgs (line 228) | type LoginArgs struct method FastRead (line 232) | func (p *LoginArgs) FastRead(buf []byte, _type int8, number int32) (n ... method FastWrite (line 239) | func (p *LoginArgs) FastWrite(buf []byte) (n int) { method Size (line 246) | func (p *LoginArgs) Size() (n int) { method Marshal (line 253) | func (p *LoginArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 260) | func (p *LoginArgs) Unmarshal(in []byte) error { method GetReq (line 271) | func (p *LoginArgs) GetReq() *user.LoginReq { method IsSetReq (line 278) | func (p *LoginArgs) IsSetReq() bool { method GetFirstArgument (line 282) | func (p *LoginArgs) GetFirstArgument() interface{} { type LoginResult (line 286) | type LoginResult struct method FastRead (line 292) | func (p *LoginResult) FastRead(buf []byte, _type int8, number int32) (... method FastWrite (line 299) | func (p *LoginResult) FastWrite(buf []byte) (n int) { method Size (line 306) | func (p *LoginResult) Size() (n int) { method Marshal (line 313) | func (p *LoginResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 320) | func (p *LoginResult) Unmarshal(in []byte) error { method GetSuccess (line 329) | func (p *LoginResult) GetSuccess() *user.LoginResp { method SetSuccess (line 336) | func (p *LoginResult) SetSuccess(x interface{}) { method IsSetSuccess (line 340) | func (p *LoginResult) IsSetSuccess() bool { method GetResult (line 344) | func (p *LoginResult) GetResult() interface{} { type kClient (line 348) | type kClient struct method Register (line 358) | func (p *kClient) Register(ctx context.Context, Req *user.RegisterReq)... method Login (line 368) | func (p *kClient) Login(ctx context.Context, Req *user.LoginReq) (r *u... function newServiceClient (line 352) | func newServiceClient(c client.Client) *kClient { FILE: gomall/rpc_gen/rpc/cart/cart_client.go type RPCClient (line 12) | type RPCClient interface function NewRPCClient (line 20) | func NewRPCClient(dstService string, opts ...client.Option) (RPCClient, ... type clientImpl (line 33) | type clientImpl struct method Service (line 38) | func (c *clientImpl) Service() string { method KitexClient (line 42) | func (c *clientImpl) KitexClient() cartservice.Client { method AddItem (line 46) | func (c *clientImpl) AddItem(ctx context.Context, Req *cart.AddItemReq... method GetCart (line 50) | func (c *clientImpl) GetCart(ctx context.Context, Req *cart.GetCartReq... method EmptyCart (line 54) | func (c *clientImpl) EmptyCart(ctx context.Context, Req *cart.EmptyCar... FILE: gomall/rpc_gen/rpc/cart/cart_default.go function AddItem (line 10) | func AddItem(ctx context.Context, req *cart.AddItemReq, callOptions ...c... function GetCart (line 19) | func GetCart(ctx context.Context, req *cart.GetCartReq, callOptions ...c... function EmptyCart (line 28) | func EmptyCart(ctx context.Context, req *cart.EmptyCartReq, callOptions ... FILE: gomall/rpc_gen/rpc/cart/cart_init.go function init (line 19) | func init() { function DefaultClient (line 23) | func DefaultClient() RPCClient { function newClient (line 30) | func newClient(dstService string, opts ...client.Option) RPCClient { function InitClient (line 38) | func InitClient(dstService string, opts ...client.Option) { FILE: gomall/rpc_gen/rpc/checkout/checkout_client.go type RPCClient (line 12) | type RPCClient interface function NewRPCClient (line 18) | func NewRPCClient(dstService string, opts ...client.Option) (RPCClient, ... type clientImpl (line 31) | type clientImpl struct method Service (line 36) | func (c *clientImpl) Service() string { method KitexClient (line 40) | func (c *clientImpl) KitexClient() checkoutservice.Client { method Checkout (line 44) | func (c *clientImpl) Checkout(ctx context.Context, Req *checkout.Check... FILE: gomall/rpc_gen/rpc/checkout/checkout_default.go function Checkout (line 10) | func Checkout(ctx context.Context, req *checkout.CheckoutReq, callOption... FILE: gomall/rpc_gen/rpc/checkout/checkout_init.go function init (line 19) | func init() { function DefaultClient (line 23) | func DefaultClient() RPCClient { function newClient (line 30) | func newClient(dstService string, opts ...client.Option) RPCClient { function InitClient (line 38) | func InitClient(dstService string, opts ...client.Option) { FILE: gomall/rpc_gen/rpc/email/email_client.go type RPCClient (line 12) | type RPCClient interface function NewRPCClient (line 18) | func NewRPCClient(dstService string, opts ...client.Option) (RPCClient, ... type clientImpl (line 31) | type clientImpl struct method Service (line 36) | func (c *clientImpl) Service() string { method KitexClient (line 40) | func (c *clientImpl) KitexClient() emailservice.Client { method Send (line 44) | func (c *clientImpl) Send(ctx context.Context, Req *email.EmailReq, ca... FILE: gomall/rpc_gen/rpc/email/email_default.go function Send (line 10) | func Send(ctx context.Context, req *email.EmailReq, callOptions ...callo... FILE: gomall/rpc_gen/rpc/email/email_init.go function init (line 19) | func init() { function DefaultClient (line 23) | func DefaultClient() RPCClient { function newClient (line 30) | func newClient(dstService string, opts ...client.Option) RPCClient { function InitClient (line 38) | func InitClient(dstService string, opts ...client.Option) { FILE: gomall/rpc_gen/rpc/order/order_client.go type RPCClient (line 13) | type RPCClient interface function NewRPCClient (line 21) | func NewRPCClient(dstService string, opts ...client.Option) (RPCClient, ... type clientImpl (line 34) | type clientImpl struct method Service (line 39) | func (c *clientImpl) Service() string { method KitexClient (line 43) | func (c *clientImpl) KitexClient() orderservice.Client { method PlaceOrder (line 47) | func (c *clientImpl) PlaceOrder(ctx context.Context, Req *order.PlaceO... method ListOrder (line 51) | func (c *clientImpl) ListOrder(ctx context.Context, Req *order.ListOrd... method MarkOrderPaid (line 55) | func (c *clientImpl) MarkOrderPaid(ctx context.Context, Req *order.Mar... FILE: gomall/rpc_gen/rpc/order/order_default.go function PlaceOrder (line 11) | func PlaceOrder(ctx context.Context, req *order.PlaceOrderReq, callOptio... function ListOrder (line 20) | func ListOrder(ctx context.Context, req *order.ListOrderReq, callOptions... function MarkOrderPaid (line 29) | func MarkOrderPaid(ctx context.Context, req *order.MarkOrderPaidReq, cal... FILE: gomall/rpc_gen/rpc/order/order_init.go function init (line 19) | func init() { function DefaultClient (line 23) | func DefaultClient() RPCClient { function newClient (line 30) | func newClient(dstService string, opts ...client.Option) RPCClient { function InitClient (line 38) | func InitClient(dstService string, opts ...client.Option) { FILE: gomall/rpc_gen/rpc/payment/payment_client.go type RPCClient (line 12) | type RPCClient interface function NewRPCClient (line 18) | func NewRPCClient(dstService string, opts ...client.Option) (RPCClient, ... type clientImpl (line 31) | type clientImpl struct method Service (line 36) | func (c *clientImpl) Service() string { method KitexClient (line 40) | func (c *clientImpl) KitexClient() paymentservice.Client { method Charge (line 44) | func (c *clientImpl) Charge(ctx context.Context, Req *payment.ChargeRe... FILE: gomall/rpc_gen/rpc/payment/payment_default.go function Charge (line 10) | func Charge(ctx context.Context, req *payment.ChargeReq, callOptions ...... FILE: gomall/rpc_gen/rpc/payment/payment_init.go function init (line 19) | func init() { function DefaultClient (line 23) | func DefaultClient() RPCClient { function newClient (line 30) | func newClient(dstService string, opts ...client.Option) RPCClient { function InitClient (line 38) | func InitClient(dstService string, opts ...client.Option) { FILE: gomall/rpc_gen/rpc/product/product_client.go type RPCClient (line 12) | type RPCClient interface function NewRPCClient (line 20) | func NewRPCClient(dstService string, opts ...client.Option) (RPCClient, ... type clientImpl (line 33) | type clientImpl struct method Service (line 38) | func (c *clientImpl) Service() string { method KitexClient (line 42) | func (c *clientImpl) KitexClient() productcatalogservice.Client { method ListProducts (line 46) | func (c *clientImpl) ListProducts(ctx context.Context, Req *product.Li... method GetProduct (line 50) | func (c *clientImpl) GetProduct(ctx context.Context, Req *product.GetP... method SearchProducts (line 54) | func (c *clientImpl) SearchProducts(ctx context.Context, Req *product.... FILE: gomall/rpc_gen/rpc/product/product_default.go function ListProducts (line 10) | func ListProducts(ctx context.Context, req *product.ListProductsReq, cal... function GetProduct (line 19) | func GetProduct(ctx context.Context, req *product.GetProductReq, callOpt... function SearchProducts (line 28) | func SearchProducts(ctx context.Context, req *product.SearchProductsReq,... FILE: gomall/rpc_gen/rpc/product/product_init.go function init (line 19) | func init() { function DefaultClient (line 23) | func DefaultClient() RPCClient { function newClient (line 30) | func newClient(dstService string, opts ...client.Option) RPCClient { function InitClient (line 38) | func InitClient(dstService string, opts ...client.Option) { FILE: gomall/rpc_gen/rpc/user/user_client.go type RPCClient (line 12) | type RPCClient interface function NewRPCClient (line 19) | func NewRPCClient(dstService string, opts ...client.Option) (RPCClient, ... type clientImpl (line 32) | type clientImpl struct method Service (line 37) | func (c *clientImpl) Service() string { method KitexClient (line 41) | func (c *clientImpl) KitexClient() userservice.Client { method Register (line 45) | func (c *clientImpl) Register(ctx context.Context, Req *user.RegisterR... method Login (line 49) | func (c *clientImpl) Login(ctx context.Context, Req *user.LoginReq, ca... FILE: gomall/rpc_gen/rpc/user/user_default.go function Register (line 10) | func Register(ctx context.Context, req *user.RegisterReq, callOptions ..... function Login (line 19) | func Login(ctx context.Context, req *user.LoginReq, callOptions ...callo... FILE: gomall/rpc_gen/rpc/user/user_init.go function init (line 19) | func init() { function DefaultClient (line 23) | func DefaultClient() RPCClient { function newClient (line 30) | func newClient(dstService string, opts ...client.Option) RPCClient { function InitClient (line 38) | func InitClient(dstService string, opts ...client.Option) { FILE: gomall/tutorial/ch01/hello_world/main.go function main (line 25) | func main() { FILE: gomall/tutorial/ch02/demo/demo_proto/biz/dal/init.go function Init (line 22) | func Init() { FILE: gomall/tutorial/ch02/demo/demo_proto/biz/dal/mysql/init.go function Init (line 29) | func Init() { FILE: gomall/tutorial/ch02/demo/demo_proto/biz/dal/redis/init.go function Init (line 28) | func Init() { FILE: gomall/tutorial/ch02/demo/demo_proto/biz/service/echo.go type EchoService (line 23) | type EchoService struct method Run (line 31) | func (s *EchoService) Run(req *pbapi.Request) (resp *pbapi.Response, e... function NewEchoService (line 26) | func NewEchoService(ctx context.Context) *EchoService { FILE: gomall/tutorial/ch02/demo/demo_proto/biz/service/echo_test.go function TestEcho_Run (line 23) | func TestEcho_Run(t *testing.T) { FILE: gomall/tutorial/ch02/demo/demo_proto/conf/conf.go type Config (line 34) | type Config struct type MySQL (line 42) | type MySQL struct type Redis (line 46) | type Redis struct type Kitex (line 53) | type Kitex struct type Registry (line 66) | type Registry struct function GetConf (line 73) | func GetConf() *Config { function initConf (line 78) | func initConf() { function GetEnv (line 99) | func GetEnv() string { function LogLevel (line 107) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch02/demo/demo_proto/handler.go type EchoImpl (line 24) | type EchoImpl struct method Echo (line 27) | func (s *EchoImpl) Echo(ctx context.Context, req *pbapi.Request) (resp... FILE: gomall/tutorial/ch02/demo/demo_proto/kitex_gen/pbapi/echo.pb.fast.go method FastRead (line 15) | func (x *Request) FastRead(buf []byte, _type int8, number int32) (offset... method fastReadField1 (line 35) | func (x *Request) fastReadField1(buf []byte, _type int8) (offset int, er... method FastRead (line 40) | func (x *Response) FastRead(buf []byte, _type int8, number int32) (offse... method fastReadField1 (line 60) | func (x *Response) fastReadField1(buf []byte, _type int8) (offset int, e... method FastWrite (line 65) | func (x *Request) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 73) | func (x *Request) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 81) | func (x *Response) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 89) | func (x *Response) fastWriteField1(buf []byte) (offset int) { method Size (line 97) | func (x *Request) Size() (n int) { method sizeField1 (line 105) | func (x *Request) sizeField1() (n int) { method Size (line 113) | func (x *Response) Size() (n int) { method sizeField1 (line 121) | func (x *Response) sizeField1() (n int) { FILE: gomall/tutorial/ch02/demo/demo_proto/kitex_gen/pbapi/echo.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Request (line 24) | type Request struct method Reset (line 32) | func (x *Request) Reset() { method String (line 41) | func (x *Request) String() string { method ProtoMessage (line 45) | func (*Request) ProtoMessage() {} method ProtoReflect (line 47) | func (x *Request) ProtoReflect() protoreflect.Message { method Descriptor (line 60) | func (*Request) Descriptor() ([]byte, []int) { method GetMessage (line 64) | func (x *Request) GetMessage() string { type Response (line 71) | type Response struct method Reset (line 79) | func (x *Response) Reset() { method String (line 88) | func (x *Response) String() string { method ProtoMessage (line 92) | func (*Response) ProtoMessage() {} method ProtoReflect (line 94) | func (x *Response) ProtoReflect() protoreflect.Message { method Descriptor (line 107) | func (*Response) Descriptor() ([]byte, []int) { method GetMessage (line 111) | func (x *Response) GetMessage() string { function file_echo_proto_rawDescGZIP (line 143) | func file_echo_proto_rawDescGZIP() []byte { function init (line 165) | func init() { file_echo_proto_init() } function file_echo_proto_init (line 166) | func file_echo_proto_init() { type Echo (line 220) | type Echo interface FILE: gomall/tutorial/ch02/demo/demo_proto/kitex_gen/pbapi/echo/client.go type Client (line 13) | type Client interface function NewClient (line 18) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 34) | func MustNewClient(destService string, opts ...client.Option) Client { type kEchoClient (line 42) | type kEchoClient struct method Echo (line 46) | func (p *kEchoClient) Echo(ctx context.Context, Req *pbapi.Request, ca... FILE: gomall/tutorial/ch02/demo/demo_proto/kitex_gen/pbapi/echo/echo.go function serviceInfo (line 14) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 20) | func NewServiceInfo() *kitex.ServiceInfo { function echoHandler (line 41) | func echoHandler(ctx context.Context, handler interface{}, arg, result i... function newEchoArgs (line 66) | func newEchoArgs() interface{} { function newEchoResult (line 70) | func newEchoResult() interface{} { type EchoArgs (line 74) | type EchoArgs struct method FastRead (line 78) | func (p *EchoArgs) FastRead(buf []byte, _type int8, number int32) (n i... method FastWrite (line 85) | func (p *EchoArgs) FastWrite(buf []byte) (n int) { method Size (line 92) | func (p *EchoArgs) Size() (n int) { method Marshal (line 99) | func (p *EchoArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 106) | func (p *EchoArgs) Unmarshal(in []byte) error { method GetReq (line 117) | func (p *EchoArgs) GetReq() *pbapi.Request { method IsSetReq (line 124) | func (p *EchoArgs) IsSetReq() bool { method GetFirstArgument (line 128) | func (p *EchoArgs) GetFirstArgument() interface{} { type EchoResult (line 132) | type EchoResult struct method FastRead (line 138) | func (p *EchoResult) FastRead(buf []byte, _type int8, number int32) (n... method FastWrite (line 145) | func (p *EchoResult) FastWrite(buf []byte) (n int) { method Size (line 152) | func (p *EchoResult) Size() (n int) { method Marshal (line 159) | func (p *EchoResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 166) | func (p *EchoResult) Unmarshal(in []byte) error { method GetSuccess (line 175) | func (p *EchoResult) GetSuccess() *pbapi.Response { method SetSuccess (line 182) | func (p *EchoResult) SetSuccess(x interface{}) { method IsSetSuccess (line 186) | func (p *EchoResult) IsSetSuccess() bool { method GetResult (line 190) | func (p *EchoResult) GetResult() interface{} { type kClient (line 194) | type kClient struct method Echo (line 204) | func (p *kClient) Echo(ctx context.Context, Req *pbapi.Request) (r *pb... function newServiceClient (line 198) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch02/demo/demo_proto/kitex_gen/pbapi/echo/invoker.go function NewInvoker (line 11) | func NewInvoker(handler pbapi.Echo, opts ...server.Option) server.Invoker { FILE: gomall/tutorial/ch02/demo/demo_proto/kitex_gen/pbapi/echo/server.go function NewServer (line 10) | func NewServer(handler pbapi.Echo, opts ...server.Option) server.Server { FILE: gomall/tutorial/ch02/demo/demo_proto/main.go function main (line 31) | func main() { function kitexInit (line 42) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch02/demo/demo_thrift/biz/dal/init.go function Init (line 22) | func Init() { FILE: gomall/tutorial/ch02/demo/demo_thrift/biz/dal/mysql/init.go function Init (line 29) | func Init() { FILE: gomall/tutorial/ch02/demo/demo_thrift/biz/dal/redis/init.go function Init (line 28) | func Init() { FILE: gomall/tutorial/ch02/demo/demo_thrift/biz/service/echo.go type EchoService (line 23) | type EchoService struct method Run (line 31) | func (s *EchoService) Run(req *api.Request) (resp *api.Response, err e... function NewEchoService (line 26) | func NewEchoService(ctx context.Context) *EchoService { FILE: gomall/tutorial/ch02/demo/demo_thrift/biz/service/echo_test.go function TestEcho_Run (line 23) | func TestEcho_Run(t *testing.T) { FILE: gomall/tutorial/ch02/demo/demo_thrift/conf/conf.go type Config (line 34) | type Config struct type MySQL (line 42) | type MySQL struct type Redis (line 46) | type Redis struct type Kitex (line 53) | type Kitex struct type Registry (line 66) | type Registry struct function GetConf (line 73) | func GetConf() *Config { function initConf (line 78) | func initConf() { function GetEnv (line 99) | func GetEnv() string { function LogLevel (line 107) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch02/demo/demo_thrift/handler.go type EchoImpl (line 24) | type EchoImpl struct method Echo (line 27) | func (s *EchoImpl) Echo(ctx context.Context, req *api.Request) (resp *... FILE: gomall/tutorial/ch02/demo/demo_thrift/kitex_gen/api/echo.go type Request (line 12) | type Request struct method InitDefault (line 20) | func (p *Request) InitDefault() { method GetMessage (line 24) | func (p *Request) GetMessage() (v string) { method SetMessage (line 27) | func (p *Request) SetMessage(val string) { method Read (line 35) | func (p *Request) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 94) | func (p *Request) ReadField1(iprot thrift.TProtocol) error { method Write (line 103) | func (p *Request) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 132) | func (p *Request) writeField1(oprot thrift.TProtocol) (err error) { method String (line 149) | func (p *Request) String() string { method DeepEqual (line 156) | func (p *Request) DeepEqual(ano *Request) bool { method Field1DeepEqual (line 168) | func (p *Request) Field1DeepEqual(src string) bool { function NewRequest (line 16) | func NewRequest() *Request { type Response (line 176) | type Response struct method InitDefault (line 184) | func (p *Response) InitDefault() { method GetMessage (line 188) | func (p *Response) GetMessage() (v string) { method SetMessage (line 191) | func (p *Response) SetMessage(val string) { method Read (line 199) | func (p *Response) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 258) | func (p *Response) ReadField1(iprot thrift.TProtocol) error { method Write (line 267) | func (p *Response) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 296) | func (p *Response) writeField1(oprot thrift.TProtocol) (err error) { method String (line 313) | func (p *Response) String() string { method DeepEqual (line 320) | func (p *Response) DeepEqual(ano *Response) bool { method Field1DeepEqual (line 332) | func (p *Response) Field1DeepEqual(src string) bool { function NewResponse (line 180) | func NewResponse() *Response { type Echo (line 340) | type Echo interface type EchoClient (line 344) | type EchoClient struct method Client_ (line 366) | func (p *EchoClient) Client_() thrift.TClient { method Echo (line 370) | func (p *EchoClient) Echo(ctx context.Context, req *Request) (r *Respo... function NewEchoClientFactory (line 348) | func NewEchoClientFactory(t thrift.TTransport, f thrift.TProtocolFactory... function NewEchoClientProtocol (line 354) | func NewEchoClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, ... function NewEchoClient (line 360) | func NewEchoClient(c thrift.TClient) *EchoClient { type EchoProcessor (line 380) | type EchoProcessor struct method AddToProcessorMap (line 385) | func (p *EchoProcessor) AddToProcessorMap(key string, processor thrift... method GetProcessorFunction (line 389) | func (p *EchoProcessor) GetProcessorFunction(key string) (processor th... method ProcessorMap (line 394) | func (p *EchoProcessor) ProcessorMap() map[string]thrift.TProcessorFun... method Process (line 403) | func (p *EchoProcessor) Process(ctx context.Context, iprot, oprot thri... function NewEchoProcessor (line 398) | func NewEchoProcessor(handler Echo) *EchoProcessor { type echoProcessorEcho (line 421) | type echoProcessorEcho struct method Process (line 425) | func (p *echoProcessorEcho) Process(ctx context.Context, seqId int32, ... type EchoEchoArgs (line 469) | type EchoEchoArgs struct method InitDefault (line 477) | func (p *EchoEchoArgs) InitDefault() { method GetReq (line 483) | func (p *EchoEchoArgs) GetReq() (v *Request) { method SetReq (line 489) | func (p *EchoEchoArgs) SetReq(val *Request) { method IsSetReq (line 497) | func (p *EchoEchoArgs) IsSetReq() bool { method Read (line 501) | func (p *EchoEchoArgs) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 560) | func (p *EchoEchoArgs) ReadField1(iprot thrift.TProtocol) error { method Write (line 568) | func (p *EchoEchoArgs) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 597) | func (p *EchoEchoArgs) writeField1(oprot thrift.TProtocol) (err error) { method String (line 614) | func (p *EchoEchoArgs) String() string { method DeepEqual (line 621) | func (p *EchoEchoArgs) DeepEqual(ano *EchoEchoArgs) bool { method Field1DeepEqual (line 633) | func (p *EchoEchoArgs) Field1DeepEqual(src *Request) bool { function NewEchoEchoArgs (line 473) | func NewEchoEchoArgs() *EchoEchoArgs { type EchoEchoResult (line 641) | type EchoEchoResult struct method InitDefault (line 649) | func (p *EchoEchoResult) InitDefault() { method GetSuccess (line 655) | func (p *EchoEchoResult) GetSuccess() (v *Response) { method SetSuccess (line 661) | func (p *EchoEchoResult) SetSuccess(x interface{}) { method IsSetSuccess (line 669) | func (p *EchoEchoResult) IsSetSuccess() bool { method Read (line 673) | func (p *EchoEchoResult) Read(iprot thrift.TProtocol) (err error) { method ReadField0 (line 732) | func (p *EchoEchoResult) ReadField0(iprot thrift.TProtocol) error { method Write (line 740) | func (p *EchoEchoResult) Write(oprot thrift.TProtocol) (err error) { method writeField0 (line 769) | func (p *EchoEchoResult) writeField0(oprot thrift.TProtocol) (err erro... method String (line 788) | func (p *EchoEchoResult) String() string { method DeepEqual (line 795) | func (p *EchoEchoResult) DeepEqual(ano *EchoEchoResult) bool { method Field0DeepEqual (line 807) | func (p *EchoEchoResult) Field0DeepEqual(src *Response) bool { function NewEchoEchoResult (line 645) | func NewEchoEchoResult() *EchoEchoResult { FILE: gomall/tutorial/ch02/demo/demo_thrift/kitex_gen/api/echo/client.go type Client (line 13) | type Client interface function NewClient (line 18) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 34) | func MustNewClient(destService string, opts ...client.Option) Client { type kEchoClient (line 42) | type kEchoClient struct method Echo (line 46) | func (p *kEchoClient) Echo(ctx context.Context, req *api.Request, call... FILE: gomall/tutorial/ch02/demo/demo_thrift/kitex_gen/api/echo/echo.go function serviceInfo (line 12) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 18) | func NewServiceInfo() *kitex.ServiceInfo { function echoHandler (line 39) | func echoHandler(ctx context.Context, handler interface{}, arg, result i... function newEchoEchoArgs (line 49) | func newEchoEchoArgs() interface{} { function newEchoEchoResult (line 53) | func newEchoEchoResult() interface{} { type kClient (line 57) | type kClient struct method Echo (line 67) | func (p *kClient) Echo(ctx context.Context, req *api.Request) (r *api.... function newServiceClient (line 61) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch02/demo/demo_thrift/kitex_gen/api/echo/invoker.go function NewInvoker (line 11) | func NewInvoker(handler api.Echo, opts ...server.Option) server.Invoker { FILE: gomall/tutorial/ch02/demo/demo_thrift/kitex_gen/api/echo/server.go function NewServer (line 10) | func NewServer(handler api.Echo, opts ...server.Option) server.Server { FILE: gomall/tutorial/ch02/demo/demo_thrift/kitex_gen/api/k-echo.go method FastRead (line 26) | func (p *Request) FastRead(buf []byte) (int, error) { method FastReadField1 (line 97) | func (p *Request) FastReadField1(buf []byte) (int, error) { method FastWrite (line 112) | func (p *Request) FastWrite(buf []byte) int { method FastWriteNocopy (line 116) | func (p *Request) FastWriteNocopy(buf []byte, binaryWriter bthrift.Binar... method BLength (line 127) | func (p *Request) BLength() int { method fastWriteField1 (line 138) | func (p *Request) fastWriteField1(buf []byte, binaryWriter bthrift.Binar... method field1Length (line 147) | func (p *Request) field1Length() int { method FastRead (line 156) | func (p *Response) FastRead(buf []byte) (int, error) { method FastReadField1 (line 227) | func (p *Response) FastReadField1(buf []byte) (int, error) { method FastWrite (line 242) | func (p *Response) FastWrite(buf []byte) int { method FastWriteNocopy (line 246) | func (p *Response) FastWriteNocopy(buf []byte, binaryWriter bthrift.Bina... method BLength (line 257) | func (p *Response) BLength() int { method fastWriteField1 (line 268) | func (p *Response) fastWriteField1(buf []byte, binaryWriter bthrift.Bina... method field1Length (line 277) | func (p *Response) field1Length() int { method FastRead (line 286) | func (p *EchoEchoArgs) FastRead(buf []byte) (int, error) { method FastReadField1 (line 357) | func (p *EchoEchoArgs) FastReadField1(buf []byte) (int, error) { method FastWrite (line 371) | func (p *EchoEchoArgs) FastWrite(buf []byte) int { method FastWriteNocopy (line 375) | func (p *EchoEchoArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.... method BLength (line 386) | func (p *EchoEchoArgs) BLength() int { method fastWriteField1 (line 397) | func (p *EchoEchoArgs) fastWriteField1(buf []byte, binaryWriter bthrift.... method field1Length (line 405) | func (p *EchoEchoArgs) field1Length() int { method FastRead (line 413) | func (p *EchoEchoResult) FastRead(buf []byte) (int, error) { method FastReadField0 (line 484) | func (p *EchoEchoResult) FastReadField0(buf []byte) (int, error) { method FastWrite (line 498) | func (p *EchoEchoResult) FastWrite(buf []byte) int { method FastWriteNocopy (line 502) | func (p *EchoEchoResult) FastWriteNocopy(buf []byte, binaryWriter bthrif... method BLength (line 513) | func (p *EchoEchoResult) BLength() int { method fastWriteField0 (line 524) | func (p *EchoEchoResult) fastWriteField0(buf []byte, binaryWriter bthrif... method field0Length (line 534) | func (p *EchoEchoResult) field0Length() int { method GetFirstArgument (line 544) | func (p *EchoEchoArgs) GetFirstArgument() interface{} { method GetResult (line 548) | func (p *EchoEchoResult) GetResult() interface{} { FILE: gomall/tutorial/ch02/demo/demo_thrift/main.go function main (line 32) | func main() { function kitexInit (line 43) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch02/hello_world/main.go function main (line 25) | func main() { FILE: gomall/tutorial/ch03/demo/demo_proto/biz/dal/init.go function Init (line 22) | func Init() { FILE: gomall/tutorial/ch03/demo/demo_proto/biz/dal/mysql/init.go function Init (line 29) | func Init() { FILE: gomall/tutorial/ch03/demo/demo_proto/biz/dal/redis/init.go function Init (line 28) | func Init() { FILE: gomall/tutorial/ch03/demo/demo_proto/biz/service/echo.go type EchoService (line 23) | type EchoService struct method Run (line 31) | func (s *EchoService) Run(req *pbapi.Request) (resp *pbapi.Response, e... function NewEchoService (line 26) | func NewEchoService(ctx context.Context) *EchoService { FILE: gomall/tutorial/ch03/demo/demo_proto/biz/service/echo_test.go function TestEcho_Run (line 23) | func TestEcho_Run(t *testing.T) { FILE: gomall/tutorial/ch03/demo/demo_proto/cmd/client/client.go function main (line 29) | func main() { FILE: gomall/tutorial/ch03/demo/demo_proto/conf/conf.go type Config (line 34) | type Config struct type MySQL (line 42) | type MySQL struct type Redis (line 46) | type Redis struct type Kitex (line 53) | type Kitex struct type Registry (line 66) | type Registry struct function GetConf (line 73) | func GetConf() *Config { function initConf (line 78) | func initConf() { function GetEnv (line 99) | func GetEnv() string { function LogLevel (line 107) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch03/demo/demo_proto/handler.go type EchoImpl (line 24) | type EchoImpl struct method Echo (line 27) | func (s *EchoImpl) Echo(ctx context.Context, req *pbapi.Request) (resp... FILE: gomall/tutorial/ch03/demo/demo_proto/kitex_gen/pbapi/echo.pb.fast.go method FastRead (line 15) | func (x *Request) FastRead(buf []byte, _type int8, number int32) (offset... method fastReadField1 (line 35) | func (x *Request) fastReadField1(buf []byte, _type int8) (offset int, er... method FastRead (line 40) | func (x *Response) FastRead(buf []byte, _type int8, number int32) (offse... method fastReadField1 (line 60) | func (x *Response) fastReadField1(buf []byte, _type int8) (offset int, e... method FastWrite (line 65) | func (x *Request) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 73) | func (x *Request) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 81) | func (x *Response) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 89) | func (x *Response) fastWriteField1(buf []byte) (offset int) { method Size (line 97) | func (x *Request) Size() (n int) { method sizeField1 (line 105) | func (x *Request) sizeField1() (n int) { method Size (line 113) | func (x *Response) Size() (n int) { method sizeField1 (line 121) | func (x *Response) sizeField1() (n int) { FILE: gomall/tutorial/ch03/demo/demo_proto/kitex_gen/pbapi/echo.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Request (line 24) | type Request struct method Reset (line 32) | func (x *Request) Reset() { method String (line 41) | func (x *Request) String() string { method ProtoMessage (line 45) | func (*Request) ProtoMessage() {} method ProtoReflect (line 47) | func (x *Request) ProtoReflect() protoreflect.Message { method Descriptor (line 60) | func (*Request) Descriptor() ([]byte, []int) { method GetMessage (line 64) | func (x *Request) GetMessage() string { type Response (line 71) | type Response struct method Reset (line 79) | func (x *Response) Reset() { method String (line 88) | func (x *Response) String() string { method ProtoMessage (line 92) | func (*Response) ProtoMessage() {} method ProtoReflect (line 94) | func (x *Response) ProtoReflect() protoreflect.Message { method Descriptor (line 107) | func (*Response) Descriptor() ([]byte, []int) { method GetMessage (line 111) | func (x *Response) GetMessage() string { function file_echo_proto_rawDescGZIP (line 143) | func file_echo_proto_rawDescGZIP() []byte { function init (line 165) | func init() { file_echo_proto_init() } function file_echo_proto_init (line 166) | func file_echo_proto_init() { type Echo (line 220) | type Echo interface FILE: gomall/tutorial/ch03/demo/demo_proto/kitex_gen/pbapi/echo/client.go type Client (line 13) | type Client interface function NewClient (line 18) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 34) | func MustNewClient(destService string, opts ...client.Option) Client { type kEchoClient (line 42) | type kEchoClient struct method Echo (line 46) | func (p *kEchoClient) Echo(ctx context.Context, Req *pbapi.Request, ca... FILE: gomall/tutorial/ch03/demo/demo_proto/kitex_gen/pbapi/echo/echo.go function serviceInfo (line 14) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 20) | func NewServiceInfo() *kitex.ServiceInfo { function echoHandler (line 41) | func echoHandler(ctx context.Context, handler interface{}, arg, result i... function newEchoArgs (line 66) | func newEchoArgs() interface{} { function newEchoResult (line 70) | func newEchoResult() interface{} { type EchoArgs (line 74) | type EchoArgs struct method FastRead (line 78) | func (p *EchoArgs) FastRead(buf []byte, _type int8, number int32) (n i... method FastWrite (line 85) | func (p *EchoArgs) FastWrite(buf []byte) (n int) { method Size (line 92) | func (p *EchoArgs) Size() (n int) { method Marshal (line 99) | func (p *EchoArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 106) | func (p *EchoArgs) Unmarshal(in []byte) error { method GetReq (line 117) | func (p *EchoArgs) GetReq() *pbapi.Request { method IsSetReq (line 124) | func (p *EchoArgs) IsSetReq() bool { method GetFirstArgument (line 128) | func (p *EchoArgs) GetFirstArgument() interface{} { type EchoResult (line 132) | type EchoResult struct method FastRead (line 138) | func (p *EchoResult) FastRead(buf []byte, _type int8, number int32) (n... method FastWrite (line 145) | func (p *EchoResult) FastWrite(buf []byte) (n int) { method Size (line 152) | func (p *EchoResult) Size() (n int) { method Marshal (line 159) | func (p *EchoResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 166) | func (p *EchoResult) Unmarshal(in []byte) error { method GetSuccess (line 175) | func (p *EchoResult) GetSuccess() *pbapi.Response { method SetSuccess (line 182) | func (p *EchoResult) SetSuccess(x interface{}) { method IsSetSuccess (line 186) | func (p *EchoResult) IsSetSuccess() bool { method GetResult (line 190) | func (p *EchoResult) GetResult() interface{} { type kClient (line 194) | type kClient struct method Echo (line 204) | func (p *kClient) Echo(ctx context.Context, Req *pbapi.Request) (r *pb... function newServiceClient (line 198) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch03/demo/demo_proto/kitex_gen/pbapi/echo/invoker.go function NewInvoker (line 11) | func NewInvoker(handler pbapi.Echo, opts ...server.Option) server.Invoker { FILE: gomall/tutorial/ch03/demo/demo_proto/kitex_gen/pbapi/echo/server.go function NewServer (line 10) | func NewServer(handler pbapi.Echo, opts ...server.Option) server.Server { FILE: gomall/tutorial/ch03/demo/demo_proto/main.go function main (line 32) | func main() { function kitexInit (line 43) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch03/demo/demo_thrift/biz/dal/init.go function Init (line 22) | func Init() { FILE: gomall/tutorial/ch03/demo/demo_thrift/biz/dal/mysql/init.go function Init (line 29) | func Init() { FILE: gomall/tutorial/ch03/demo/demo_thrift/biz/dal/redis/init.go function Init (line 28) | func Init() { FILE: gomall/tutorial/ch03/demo/demo_thrift/biz/service/echo.go type EchoService (line 23) | type EchoService struct method Run (line 31) | func (s *EchoService) Run(req *api.Request) (resp *api.Response, err e... function NewEchoService (line 26) | func NewEchoService(ctx context.Context) *EchoService { FILE: gomall/tutorial/ch03/demo/demo_thrift/biz/service/echo_test.go function TestEcho_Run (line 23) | func TestEcho_Run(t *testing.T) { FILE: gomall/tutorial/ch03/demo/demo_thrift/conf/conf.go type Config (line 34) | type Config struct type MySQL (line 42) | type MySQL struct type Redis (line 46) | type Redis struct type Kitex (line 53) | type Kitex struct type Registry (line 66) | type Registry struct function GetConf (line 73) | func GetConf() *Config { function initConf (line 78) | func initConf() { function GetEnv (line 99) | func GetEnv() string { function LogLevel (line 107) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch03/demo/demo_thrift/handler.go type EchoImpl (line 24) | type EchoImpl struct method Echo (line 27) | func (s *EchoImpl) Echo(ctx context.Context, req *api.Request) (resp *... FILE: gomall/tutorial/ch03/demo/demo_thrift/kitex_gen/api/echo.go type Request (line 12) | type Request struct method InitDefault (line 20) | func (p *Request) InitDefault() { method GetMessage (line 24) | func (p *Request) GetMessage() (v string) { method SetMessage (line 27) | func (p *Request) SetMessage(val string) { method Read (line 35) | func (p *Request) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 94) | func (p *Request) ReadField1(iprot thrift.TProtocol) error { method Write (line 103) | func (p *Request) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 132) | func (p *Request) writeField1(oprot thrift.TProtocol) (err error) { method String (line 149) | func (p *Request) String() string { method DeepEqual (line 156) | func (p *Request) DeepEqual(ano *Request) bool { method Field1DeepEqual (line 168) | func (p *Request) Field1DeepEqual(src string) bool { function NewRequest (line 16) | func NewRequest() *Request { type Response (line 176) | type Response struct method InitDefault (line 184) | func (p *Response) InitDefault() { method GetMessage (line 188) | func (p *Response) GetMessage() (v string) { method SetMessage (line 191) | func (p *Response) SetMessage(val string) { method Read (line 199) | func (p *Response) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 258) | func (p *Response) ReadField1(iprot thrift.TProtocol) error { method Write (line 267) | func (p *Response) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 296) | func (p *Response) writeField1(oprot thrift.TProtocol) (err error) { method String (line 313) | func (p *Response) String() string { method DeepEqual (line 320) | func (p *Response) DeepEqual(ano *Response) bool { method Field1DeepEqual (line 332) | func (p *Response) Field1DeepEqual(src string) bool { function NewResponse (line 180) | func NewResponse() *Response { type Echo (line 340) | type Echo interface type EchoClient (line 344) | type EchoClient struct method Client_ (line 366) | func (p *EchoClient) Client_() thrift.TClient { method Echo (line 370) | func (p *EchoClient) Echo(ctx context.Context, req *Request) (r *Respo... function NewEchoClientFactory (line 348) | func NewEchoClientFactory(t thrift.TTransport, f thrift.TProtocolFactory... function NewEchoClientProtocol (line 354) | func NewEchoClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, ... function NewEchoClient (line 360) | func NewEchoClient(c thrift.TClient) *EchoClient { type EchoProcessor (line 380) | type EchoProcessor struct method AddToProcessorMap (line 385) | func (p *EchoProcessor) AddToProcessorMap(key string, processor thrift... method GetProcessorFunction (line 389) | func (p *EchoProcessor) GetProcessorFunction(key string) (processor th... method ProcessorMap (line 394) | func (p *EchoProcessor) ProcessorMap() map[string]thrift.TProcessorFun... method Process (line 403) | func (p *EchoProcessor) Process(ctx context.Context, iprot, oprot thri... function NewEchoProcessor (line 398) | func NewEchoProcessor(handler Echo) *EchoProcessor { type echoProcessorEcho (line 421) | type echoProcessorEcho struct method Process (line 425) | func (p *echoProcessorEcho) Process(ctx context.Context, seqId int32, ... type EchoEchoArgs (line 469) | type EchoEchoArgs struct method InitDefault (line 477) | func (p *EchoEchoArgs) InitDefault() { method GetReq (line 483) | func (p *EchoEchoArgs) GetReq() (v *Request) { method SetReq (line 489) | func (p *EchoEchoArgs) SetReq(val *Request) { method IsSetReq (line 497) | func (p *EchoEchoArgs) IsSetReq() bool { method Read (line 501) | func (p *EchoEchoArgs) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 560) | func (p *EchoEchoArgs) ReadField1(iprot thrift.TProtocol) error { method Write (line 568) | func (p *EchoEchoArgs) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 597) | func (p *EchoEchoArgs) writeField1(oprot thrift.TProtocol) (err error) { method String (line 614) | func (p *EchoEchoArgs) String() string { method DeepEqual (line 621) | func (p *EchoEchoArgs) DeepEqual(ano *EchoEchoArgs) bool { method Field1DeepEqual (line 633) | func (p *EchoEchoArgs) Field1DeepEqual(src *Request) bool { function NewEchoEchoArgs (line 473) | func NewEchoEchoArgs() *EchoEchoArgs { type EchoEchoResult (line 641) | type EchoEchoResult struct method InitDefault (line 649) | func (p *EchoEchoResult) InitDefault() { method GetSuccess (line 655) | func (p *EchoEchoResult) GetSuccess() (v *Response) { method SetSuccess (line 661) | func (p *EchoEchoResult) SetSuccess(x interface{}) { method IsSetSuccess (line 669) | func (p *EchoEchoResult) IsSetSuccess() bool { method Read (line 673) | func (p *EchoEchoResult) Read(iprot thrift.TProtocol) (err error) { method ReadField0 (line 732) | func (p *EchoEchoResult) ReadField0(iprot thrift.TProtocol) error { method Write (line 740) | func (p *EchoEchoResult) Write(oprot thrift.TProtocol) (err error) { method writeField0 (line 769) | func (p *EchoEchoResult) writeField0(oprot thrift.TProtocol) (err erro... method String (line 788) | func (p *EchoEchoResult) String() string { method DeepEqual (line 795) | func (p *EchoEchoResult) DeepEqual(ano *EchoEchoResult) bool { method Field0DeepEqual (line 807) | func (p *EchoEchoResult) Field0DeepEqual(src *Response) bool { function NewEchoEchoResult (line 645) | func NewEchoEchoResult() *EchoEchoResult { FILE: gomall/tutorial/ch03/demo/demo_thrift/kitex_gen/api/echo/client.go type Client (line 13) | type Client interface function NewClient (line 18) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 34) | func MustNewClient(destService string, opts ...client.Option) Client { type kEchoClient (line 42) | type kEchoClient struct method Echo (line 46) | func (p *kEchoClient) Echo(ctx context.Context, req *api.Request, call... FILE: gomall/tutorial/ch03/demo/demo_thrift/kitex_gen/api/echo/echo.go function serviceInfo (line 12) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 18) | func NewServiceInfo() *kitex.ServiceInfo { function echoHandler (line 39) | func echoHandler(ctx context.Context, handler interface{}, arg, result i... function newEchoEchoArgs (line 49) | func newEchoEchoArgs() interface{} { function newEchoEchoResult (line 53) | func newEchoEchoResult() interface{} { type kClient (line 57) | type kClient struct method Echo (line 67) | func (p *kClient) Echo(ctx context.Context, req *api.Request) (r *api.... function newServiceClient (line 61) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch03/demo/demo_thrift/kitex_gen/api/echo/invoker.go function NewInvoker (line 11) | func NewInvoker(handler api.Echo, opts ...server.Option) server.Invoker { FILE: gomall/tutorial/ch03/demo/demo_thrift/kitex_gen/api/echo/server.go function NewServer (line 10) | func NewServer(handler api.Echo, opts ...server.Option) server.Server { FILE: gomall/tutorial/ch03/demo/demo_thrift/kitex_gen/api/k-echo.go method FastRead (line 26) | func (p *Request) FastRead(buf []byte) (int, error) { method FastReadField1 (line 97) | func (p *Request) FastReadField1(buf []byte) (int, error) { method FastWrite (line 112) | func (p *Request) FastWrite(buf []byte) int { method FastWriteNocopy (line 116) | func (p *Request) FastWriteNocopy(buf []byte, binaryWriter bthrift.Binar... method BLength (line 127) | func (p *Request) BLength() int { method fastWriteField1 (line 138) | func (p *Request) fastWriteField1(buf []byte, binaryWriter bthrift.Binar... method field1Length (line 147) | func (p *Request) field1Length() int { method FastRead (line 156) | func (p *Response) FastRead(buf []byte) (int, error) { method FastReadField1 (line 227) | func (p *Response) FastReadField1(buf []byte) (int, error) { method FastWrite (line 242) | func (p *Response) FastWrite(buf []byte) int { method FastWriteNocopy (line 246) | func (p *Response) FastWriteNocopy(buf []byte, binaryWriter bthrift.Bina... method BLength (line 257) | func (p *Response) BLength() int { method fastWriteField1 (line 268) | func (p *Response) fastWriteField1(buf []byte, binaryWriter bthrift.Bina... method field1Length (line 277) | func (p *Response) field1Length() int { method FastRead (line 286) | func (p *EchoEchoArgs) FastRead(buf []byte) (int, error) { method FastReadField1 (line 357) | func (p *EchoEchoArgs) FastReadField1(buf []byte) (int, error) { method FastWrite (line 371) | func (p *EchoEchoArgs) FastWrite(buf []byte) int { method FastWriteNocopy (line 375) | func (p *EchoEchoArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.... method BLength (line 386) | func (p *EchoEchoArgs) BLength() int { method fastWriteField1 (line 397) | func (p *EchoEchoArgs) fastWriteField1(buf []byte, binaryWriter bthrift.... method field1Length (line 405) | func (p *EchoEchoArgs) field1Length() int { method FastRead (line 413) | func (p *EchoEchoResult) FastRead(buf []byte) (int, error) { method FastReadField0 (line 484) | func (p *EchoEchoResult) FastReadField0(buf []byte) (int, error) { method FastWrite (line 498) | func (p *EchoEchoResult) FastWrite(buf []byte) int { method FastWriteNocopy (line 502) | func (p *EchoEchoResult) FastWriteNocopy(buf []byte, binaryWriter bthrif... method BLength (line 513) | func (p *EchoEchoResult) BLength() int { method fastWriteField0 (line 524) | func (p *EchoEchoResult) fastWriteField0(buf []byte, binaryWriter bthrif... method field0Length (line 534) | func (p *EchoEchoResult) field0Length() int { method GetFirstArgument (line 544) | func (p *EchoEchoArgs) GetFirstArgument() interface{} { method GetResult (line 548) | func (p *EchoEchoResult) GetResult() interface{} { FILE: gomall/tutorial/ch03/demo/demo_thrift/main.go function main (line 32) | func main() { function kitexInit (line 43) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch03/hello_world/main.go function main (line 25) | func main() { FILE: gomall/tutorial/ch04/demo/demo_proto/biz/dal/init.go function Init (line 21) | func Init() { FILE: gomall/tutorial/ch04/demo/demo_proto/biz/dal/mysql/init.go function Init (line 32) | func Init() { FILE: gomall/tutorial/ch04/demo/demo_proto/biz/dal/redis/init.go function Init (line 28) | func Init() { FILE: gomall/tutorial/ch04/demo/demo_proto/biz/service/echo.go type EchoService (line 23) | type EchoService struct method Run (line 31) | func (s *EchoService) Run(req *pbapi.Request) (resp *pbapi.Response, e... function NewEchoService (line 26) | func NewEchoService(ctx context.Context) *EchoService { FILE: gomall/tutorial/ch04/demo/demo_proto/biz/service/echo_test.go function TestEcho_Run (line 23) | func TestEcho_Run(t *testing.T) { FILE: gomall/tutorial/ch04/demo/demo_proto/cmd/client/client.go function main (line 29) | func main() { FILE: gomall/tutorial/ch04/demo/demo_proto/conf/conf.go type Config (line 33) | type Config struct type MySQL (line 41) | type MySQL struct type Redis (line 45) | type Redis struct type Kitex (line 52) | type Kitex struct type Registry (line 65) | type Registry struct function GetConf (line 72) | func GetConf() *Config { function initConf (line 77) | func initConf() { function GetEnv (line 98) | func GetEnv() string { function LogLevel (line 106) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch04/demo/demo_proto/handler.go type EchoImpl (line 25) | type EchoImpl struct method Echo (line 28) | func (s *EchoImpl) Echo(ctx context.Context, req *pbapi.Request) (resp... FILE: gomall/tutorial/ch04/demo/demo_proto/kitex_gen/pbapi/echo.pb.fast.go method FastRead (line 15) | func (x *Request) FastRead(buf []byte, _type int8, number int32) (offset... method fastReadField1 (line 35) | func (x *Request) fastReadField1(buf []byte, _type int8) (offset int, er... method FastRead (line 40) | func (x *Response) FastRead(buf []byte, _type int8, number int32) (offse... method fastReadField1 (line 60) | func (x *Response) fastReadField1(buf []byte, _type int8) (offset int, e... method FastWrite (line 65) | func (x *Request) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 73) | func (x *Request) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 81) | func (x *Response) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 89) | func (x *Response) fastWriteField1(buf []byte) (offset int) { method Size (line 97) | func (x *Request) Size() (n int) { method sizeField1 (line 105) | func (x *Request) sizeField1() (n int) { method Size (line 113) | func (x *Response) Size() (n int) { method sizeField1 (line 121) | func (x *Response) sizeField1() (n int) { FILE: gomall/tutorial/ch04/demo/demo_proto/kitex_gen/pbapi/echo.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Request (line 24) | type Request struct method Reset (line 32) | func (x *Request) Reset() { method String (line 41) | func (x *Request) String() string { method ProtoMessage (line 45) | func (*Request) ProtoMessage() {} method ProtoReflect (line 47) | func (x *Request) ProtoReflect() protoreflect.Message { method Descriptor (line 60) | func (*Request) Descriptor() ([]byte, []int) { method GetMessage (line 64) | func (x *Request) GetMessage() string { type Response (line 71) | type Response struct method Reset (line 79) | func (x *Response) Reset() { method String (line 88) | func (x *Response) String() string { method ProtoMessage (line 92) | func (*Response) ProtoMessage() {} method ProtoReflect (line 94) | func (x *Response) ProtoReflect() protoreflect.Message { method Descriptor (line 107) | func (*Response) Descriptor() ([]byte, []int) { method GetMessage (line 111) | func (x *Response) GetMessage() string { function file_echo_proto_rawDescGZIP (line 143) | func file_echo_proto_rawDescGZIP() []byte { function init (line 165) | func init() { file_echo_proto_init() } function file_echo_proto_init (line 166) | func file_echo_proto_init() { type Echo (line 220) | type Echo interface FILE: gomall/tutorial/ch04/demo/demo_proto/kitex_gen/pbapi/echo/client.go type Client (line 13) | type Client interface function NewClient (line 18) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 34) | func MustNewClient(destService string, opts ...client.Option) Client { type kEchoClient (line 42) | type kEchoClient struct method Echo (line 46) | func (p *kEchoClient) Echo(ctx context.Context, Req *pbapi.Request, ca... FILE: gomall/tutorial/ch04/demo/demo_proto/kitex_gen/pbapi/echo/echo.go function serviceInfo (line 14) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 20) | func NewServiceInfo() *kitex.ServiceInfo { function echoHandler (line 41) | func echoHandler(ctx context.Context, handler interface{}, arg, result i... function newEchoArgs (line 66) | func newEchoArgs() interface{} { function newEchoResult (line 70) | func newEchoResult() interface{} { type EchoArgs (line 74) | type EchoArgs struct method FastRead (line 78) | func (p *EchoArgs) FastRead(buf []byte, _type int8, number int32) (n i... method FastWrite (line 85) | func (p *EchoArgs) FastWrite(buf []byte) (n int) { method Size (line 92) | func (p *EchoArgs) Size() (n int) { method Marshal (line 99) | func (p *EchoArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 106) | func (p *EchoArgs) Unmarshal(in []byte) error { method GetReq (line 117) | func (p *EchoArgs) GetReq() *pbapi.Request { method IsSetReq (line 124) | func (p *EchoArgs) IsSetReq() bool { method GetFirstArgument (line 128) | func (p *EchoArgs) GetFirstArgument() interface{} { type EchoResult (line 132) | type EchoResult struct method FastRead (line 138) | func (p *EchoResult) FastRead(buf []byte, _type int8, number int32) (n... method FastWrite (line 145) | func (p *EchoResult) FastWrite(buf []byte) (n int) { method Size (line 152) | func (p *EchoResult) Size() (n int) { method Marshal (line 159) | func (p *EchoResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 166) | func (p *EchoResult) Unmarshal(in []byte) error { method GetSuccess (line 175) | func (p *EchoResult) GetSuccess() *pbapi.Response { method SetSuccess (line 182) | func (p *EchoResult) SetSuccess(x interface{}) { method IsSetSuccess (line 186) | func (p *EchoResult) IsSetSuccess() bool { method GetResult (line 190) | func (p *EchoResult) GetResult() interface{} { type kClient (line 194) | type kClient struct method Echo (line 204) | func (p *kClient) Echo(ctx context.Context, Req *pbapi.Request) (r *pb... function newServiceClient (line 198) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch04/demo/demo_proto/kitex_gen/pbapi/echo/invoker.go function NewInvoker (line 11) | func NewInvoker(handler pbapi.Echo, opts ...server.Option) server.Invoker { FILE: gomall/tutorial/ch04/demo/demo_proto/kitex_gen/pbapi/echo/server.go function NewServer (line 10) | func NewServer(handler pbapi.Echo, opts ...server.Option) server.Server { FILE: gomall/tutorial/ch04/demo/demo_proto/main.go function main (line 34) | func main() { function kitexInit (line 52) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch04/demo/demo_thrift/biz/dal/init.go function Init (line 22) | func Init() { FILE: gomall/tutorial/ch04/demo/demo_thrift/biz/dal/mysql/init.go function Init (line 29) | func Init() { FILE: gomall/tutorial/ch04/demo/demo_thrift/biz/dal/redis/init.go function Init (line 28) | func Init() { FILE: gomall/tutorial/ch04/demo/demo_thrift/biz/service/echo.go type EchoService (line 23) | type EchoService struct method Run (line 31) | func (s *EchoService) Run(req *api.Request) (resp *api.Response, err e... function NewEchoService (line 26) | func NewEchoService(ctx context.Context) *EchoService { FILE: gomall/tutorial/ch04/demo/demo_thrift/biz/service/echo_test.go function TestEcho_Run (line 23) | func TestEcho_Run(t *testing.T) { FILE: gomall/tutorial/ch04/demo/demo_thrift/conf/conf.go type Config (line 34) | type Config struct type MySQL (line 42) | type MySQL struct type Redis (line 46) | type Redis struct type Kitex (line 53) | type Kitex struct type Registry (line 66) | type Registry struct function GetConf (line 73) | func GetConf() *Config { function initConf (line 78) | func initConf() { function GetEnv (line 99) | func GetEnv() string { function LogLevel (line 107) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch04/demo/demo_thrift/handler.go type EchoImpl (line 24) | type EchoImpl struct method Echo (line 27) | func (s *EchoImpl) Echo(ctx context.Context, req *api.Request) (resp *... FILE: gomall/tutorial/ch04/demo/demo_thrift/kitex_gen/api/echo.go type Request (line 12) | type Request struct method InitDefault (line 20) | func (p *Request) InitDefault() { method GetMessage (line 24) | func (p *Request) GetMessage() (v string) { method SetMessage (line 27) | func (p *Request) SetMessage(val string) { method Read (line 35) | func (p *Request) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 94) | func (p *Request) ReadField1(iprot thrift.TProtocol) error { method Write (line 103) | func (p *Request) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 132) | func (p *Request) writeField1(oprot thrift.TProtocol) (err error) { method String (line 149) | func (p *Request) String() string { method DeepEqual (line 156) | func (p *Request) DeepEqual(ano *Request) bool { method Field1DeepEqual (line 168) | func (p *Request) Field1DeepEqual(src string) bool { function NewRequest (line 16) | func NewRequest() *Request { type Response (line 176) | type Response struct method InitDefault (line 184) | func (p *Response) InitDefault() { method GetMessage (line 188) | func (p *Response) GetMessage() (v string) { method SetMessage (line 191) | func (p *Response) SetMessage(val string) { method Read (line 199) | func (p *Response) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 258) | func (p *Response) ReadField1(iprot thrift.TProtocol) error { method Write (line 267) | func (p *Response) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 296) | func (p *Response) writeField1(oprot thrift.TProtocol) (err error) { method String (line 313) | func (p *Response) String() string { method DeepEqual (line 320) | func (p *Response) DeepEqual(ano *Response) bool { method Field1DeepEqual (line 332) | func (p *Response) Field1DeepEqual(src string) bool { function NewResponse (line 180) | func NewResponse() *Response { type Echo (line 340) | type Echo interface type EchoClient (line 344) | type EchoClient struct method Client_ (line 366) | func (p *EchoClient) Client_() thrift.TClient { method Echo (line 370) | func (p *EchoClient) Echo(ctx context.Context, req *Request) (r *Respo... function NewEchoClientFactory (line 348) | func NewEchoClientFactory(t thrift.TTransport, f thrift.TProtocolFactory... function NewEchoClientProtocol (line 354) | func NewEchoClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, ... function NewEchoClient (line 360) | func NewEchoClient(c thrift.TClient) *EchoClient { type EchoProcessor (line 380) | type EchoProcessor struct method AddToProcessorMap (line 385) | func (p *EchoProcessor) AddToProcessorMap(key string, processor thrift... method GetProcessorFunction (line 389) | func (p *EchoProcessor) GetProcessorFunction(key string) (processor th... method ProcessorMap (line 394) | func (p *EchoProcessor) ProcessorMap() map[string]thrift.TProcessorFun... method Process (line 403) | func (p *EchoProcessor) Process(ctx context.Context, iprot, oprot thri... function NewEchoProcessor (line 398) | func NewEchoProcessor(handler Echo) *EchoProcessor { type echoProcessorEcho (line 421) | type echoProcessorEcho struct method Process (line 425) | func (p *echoProcessorEcho) Process(ctx context.Context, seqId int32, ... type EchoEchoArgs (line 469) | type EchoEchoArgs struct method InitDefault (line 477) | func (p *EchoEchoArgs) InitDefault() { method GetReq (line 483) | func (p *EchoEchoArgs) GetReq() (v *Request) { method SetReq (line 489) | func (p *EchoEchoArgs) SetReq(val *Request) { method IsSetReq (line 497) | func (p *EchoEchoArgs) IsSetReq() bool { method Read (line 501) | func (p *EchoEchoArgs) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 560) | func (p *EchoEchoArgs) ReadField1(iprot thrift.TProtocol) error { method Write (line 568) | func (p *EchoEchoArgs) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 597) | func (p *EchoEchoArgs) writeField1(oprot thrift.TProtocol) (err error) { method String (line 614) | func (p *EchoEchoArgs) String() string { method DeepEqual (line 621) | func (p *EchoEchoArgs) DeepEqual(ano *EchoEchoArgs) bool { method Field1DeepEqual (line 633) | func (p *EchoEchoArgs) Field1DeepEqual(src *Request) bool { function NewEchoEchoArgs (line 473) | func NewEchoEchoArgs() *EchoEchoArgs { type EchoEchoResult (line 641) | type EchoEchoResult struct method InitDefault (line 649) | func (p *EchoEchoResult) InitDefault() { method GetSuccess (line 655) | func (p *EchoEchoResult) GetSuccess() (v *Response) { method SetSuccess (line 661) | func (p *EchoEchoResult) SetSuccess(x interface{}) { method IsSetSuccess (line 669) | func (p *EchoEchoResult) IsSetSuccess() bool { method Read (line 673) | func (p *EchoEchoResult) Read(iprot thrift.TProtocol) (err error) { method ReadField0 (line 732) | func (p *EchoEchoResult) ReadField0(iprot thrift.TProtocol) error { method Write (line 740) | func (p *EchoEchoResult) Write(oprot thrift.TProtocol) (err error) { method writeField0 (line 769) | func (p *EchoEchoResult) writeField0(oprot thrift.TProtocol) (err erro... method String (line 788) | func (p *EchoEchoResult) String() string { method DeepEqual (line 795) | func (p *EchoEchoResult) DeepEqual(ano *EchoEchoResult) bool { method Field0DeepEqual (line 807) | func (p *EchoEchoResult) Field0DeepEqual(src *Response) bool { function NewEchoEchoResult (line 645) | func NewEchoEchoResult() *EchoEchoResult { FILE: gomall/tutorial/ch04/demo/demo_thrift/kitex_gen/api/echo/client.go type Client (line 13) | type Client interface function NewClient (line 18) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 34) | func MustNewClient(destService string, opts ...client.Option) Client { type kEchoClient (line 42) | type kEchoClient struct method Echo (line 46) | func (p *kEchoClient) Echo(ctx context.Context, req *api.Request, call... FILE: gomall/tutorial/ch04/demo/demo_thrift/kitex_gen/api/echo/echo.go function serviceInfo (line 12) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 18) | func NewServiceInfo() *kitex.ServiceInfo { function echoHandler (line 39) | func echoHandler(ctx context.Context, handler interface{}, arg, result i... function newEchoEchoArgs (line 49) | func newEchoEchoArgs() interface{} { function newEchoEchoResult (line 53) | func newEchoEchoResult() interface{} { type kClient (line 57) | type kClient struct method Echo (line 67) | func (p *kClient) Echo(ctx context.Context, req *api.Request) (r *api.... function newServiceClient (line 61) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch04/demo/demo_thrift/kitex_gen/api/echo/invoker.go function NewInvoker (line 11) | func NewInvoker(handler api.Echo, opts ...server.Option) server.Invoker { FILE: gomall/tutorial/ch04/demo/demo_thrift/kitex_gen/api/echo/server.go function NewServer (line 10) | func NewServer(handler api.Echo, opts ...server.Option) server.Server { FILE: gomall/tutorial/ch04/demo/demo_thrift/kitex_gen/api/k-echo.go method FastRead (line 26) | func (p *Request) FastRead(buf []byte) (int, error) { method FastReadField1 (line 97) | func (p *Request) FastReadField1(buf []byte) (int, error) { method FastWrite (line 112) | func (p *Request) FastWrite(buf []byte) int { method FastWriteNocopy (line 116) | func (p *Request) FastWriteNocopy(buf []byte, binaryWriter bthrift.Binar... method BLength (line 127) | func (p *Request) BLength() int { method fastWriteField1 (line 138) | func (p *Request) fastWriteField1(buf []byte, binaryWriter bthrift.Binar... method field1Length (line 147) | func (p *Request) field1Length() int { method FastRead (line 156) | func (p *Response) FastRead(buf []byte) (int, error) { method FastReadField1 (line 227) | func (p *Response) FastReadField1(buf []byte) (int, error) { method FastWrite (line 242) | func (p *Response) FastWrite(buf []byte) int { method FastWriteNocopy (line 246) | func (p *Response) FastWriteNocopy(buf []byte, binaryWriter bthrift.Bina... method BLength (line 257) | func (p *Response) BLength() int { method fastWriteField1 (line 268) | func (p *Response) fastWriteField1(buf []byte, binaryWriter bthrift.Bina... method field1Length (line 277) | func (p *Response) field1Length() int { method FastRead (line 286) | func (p *EchoEchoArgs) FastRead(buf []byte) (int, error) { method FastReadField1 (line 357) | func (p *EchoEchoArgs) FastReadField1(buf []byte) (int, error) { method FastWrite (line 371) | func (p *EchoEchoArgs) FastWrite(buf []byte) int { method FastWriteNocopy (line 375) | func (p *EchoEchoArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.... method BLength (line 386) | func (p *EchoEchoArgs) BLength() int { method fastWriteField1 (line 397) | func (p *EchoEchoArgs) fastWriteField1(buf []byte, binaryWriter bthrift.... method field1Length (line 405) | func (p *EchoEchoArgs) field1Length() int { method FastRead (line 413) | func (p *EchoEchoResult) FastRead(buf []byte) (int, error) { method FastReadField0 (line 484) | func (p *EchoEchoResult) FastReadField0(buf []byte) (int, error) { method FastWrite (line 498) | func (p *EchoEchoResult) FastWrite(buf []byte) int { method FastWriteNocopy (line 502) | func (p *EchoEchoResult) FastWriteNocopy(buf []byte, binaryWriter bthrif... method BLength (line 513) | func (p *EchoEchoResult) BLength() int { method fastWriteField0 (line 524) | func (p *EchoEchoResult) fastWriteField0(buf []byte, binaryWriter bthrif... method field0Length (line 534) | func (p *EchoEchoResult) field0Length() int { method GetFirstArgument (line 544) | func (p *EchoEchoArgs) GetFirstArgument() interface{} { method GetResult (line 548) | func (p *EchoEchoResult) GetResult() interface{} { FILE: gomall/tutorial/ch04/demo/demo_thrift/main.go function main (line 32) | func main() { function kitexInit (line 43) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch04/hello_world/main.go function main (line 25) | func main() { FILE: gomall/tutorial/ch05/demo/demo_proto/biz/dal/init.go function Init (line 21) | func Init() { FILE: gomall/tutorial/ch05/demo/demo_proto/biz/dal/mysql/init.go function Init (line 33) | func Init() { FILE: gomall/tutorial/ch05/demo/demo_proto/biz/dal/redis/init.go function Init (line 28) | func Init() { FILE: gomall/tutorial/ch05/demo/demo_proto/biz/model/user.go type User (line 19) | type User struct method TableName (line 25) | func (User) TableName() string { FILE: gomall/tutorial/ch05/demo/demo_proto/biz/service/echo.go type EchoService (line 23) | type EchoService struct method Run (line 31) | func (s *EchoService) Run(req *pbapi.Request) (resp *pbapi.Response, e... function NewEchoService (line 26) | func NewEchoService(ctx context.Context) *EchoService { FILE: gomall/tutorial/ch05/demo/demo_proto/biz/service/echo_test.go function TestEcho_Run (line 23) | func TestEcho_Run(t *testing.T) { FILE: gomall/tutorial/ch05/demo/demo_proto/cmd/client/client.go function main (line 29) | func main() { FILE: gomall/tutorial/ch05/demo/demo_proto/cmd/dbop/db.go function main (line 26) | func main() { FILE: gomall/tutorial/ch05/demo/demo_proto/conf/conf.go type Config (line 33) | type Config struct type MySQL (line 41) | type MySQL struct type Redis (line 45) | type Redis struct type Kitex (line 52) | type Kitex struct type Registry (line 65) | type Registry struct function GetConf (line 72) | func GetConf() *Config { function initConf (line 77) | func initConf() { function GetEnv (line 98) | func GetEnv() string { function LogLevel (line 106) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch05/demo/demo_proto/handler.go type EchoImpl (line 25) | type EchoImpl struct method Echo (line 28) | func (s *EchoImpl) Echo(ctx context.Context, req *pbapi.Request) (resp... FILE: gomall/tutorial/ch05/demo/demo_proto/kitex_gen/pbapi/echo.pb.fast.go method FastRead (line 15) | func (x *Request) FastRead(buf []byte, _type int8, number int32) (offset... method fastReadField1 (line 35) | func (x *Request) fastReadField1(buf []byte, _type int8) (offset int, er... method FastRead (line 40) | func (x *Response) FastRead(buf []byte, _type int8, number int32) (offse... method fastReadField1 (line 60) | func (x *Response) fastReadField1(buf []byte, _type int8) (offset int, e... method FastWrite (line 65) | func (x *Request) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 73) | func (x *Request) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 81) | func (x *Response) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 89) | func (x *Response) fastWriteField1(buf []byte) (offset int) { method Size (line 97) | func (x *Request) Size() (n int) { method sizeField1 (line 105) | func (x *Request) sizeField1() (n int) { method Size (line 113) | func (x *Response) Size() (n int) { method sizeField1 (line 121) | func (x *Response) sizeField1() (n int) { FILE: gomall/tutorial/ch05/demo/demo_proto/kitex_gen/pbapi/echo.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Request (line 24) | type Request struct method Reset (line 32) | func (x *Request) Reset() { method String (line 41) | func (x *Request) String() string { method ProtoMessage (line 45) | func (*Request) ProtoMessage() {} method ProtoReflect (line 47) | func (x *Request) ProtoReflect() protoreflect.Message { method Descriptor (line 60) | func (*Request) Descriptor() ([]byte, []int) { method GetMessage (line 64) | func (x *Request) GetMessage() string { type Response (line 71) | type Response struct method Reset (line 79) | func (x *Response) Reset() { method String (line 88) | func (x *Response) String() string { method ProtoMessage (line 92) | func (*Response) ProtoMessage() {} method ProtoReflect (line 94) | func (x *Response) ProtoReflect() protoreflect.Message { method Descriptor (line 107) | func (*Response) Descriptor() ([]byte, []int) { method GetMessage (line 111) | func (x *Response) GetMessage() string { function file_echo_proto_rawDescGZIP (line 143) | func file_echo_proto_rawDescGZIP() []byte { function init (line 165) | func init() { file_echo_proto_init() } function file_echo_proto_init (line 166) | func file_echo_proto_init() { type Echo (line 220) | type Echo interface FILE: gomall/tutorial/ch05/demo/demo_proto/kitex_gen/pbapi/echo/client.go type Client (line 13) | type Client interface function NewClient (line 18) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 34) | func MustNewClient(destService string, opts ...client.Option) Client { type kEchoClient (line 42) | type kEchoClient struct method Echo (line 46) | func (p *kEchoClient) Echo(ctx context.Context, Req *pbapi.Request, ca... FILE: gomall/tutorial/ch05/demo/demo_proto/kitex_gen/pbapi/echo/echo.go function serviceInfo (line 14) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 20) | func NewServiceInfo() *kitex.ServiceInfo { function echoHandler (line 41) | func echoHandler(ctx context.Context, handler interface{}, arg, result i... function newEchoArgs (line 66) | func newEchoArgs() interface{} { function newEchoResult (line 70) | func newEchoResult() interface{} { type EchoArgs (line 74) | type EchoArgs struct method FastRead (line 78) | func (p *EchoArgs) FastRead(buf []byte, _type int8, number int32) (n i... method FastWrite (line 85) | func (p *EchoArgs) FastWrite(buf []byte) (n int) { method Size (line 92) | func (p *EchoArgs) Size() (n int) { method Marshal (line 99) | func (p *EchoArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 106) | func (p *EchoArgs) Unmarshal(in []byte) error { method GetReq (line 117) | func (p *EchoArgs) GetReq() *pbapi.Request { method IsSetReq (line 124) | func (p *EchoArgs) IsSetReq() bool { method GetFirstArgument (line 128) | func (p *EchoArgs) GetFirstArgument() interface{} { type EchoResult (line 132) | type EchoResult struct method FastRead (line 138) | func (p *EchoResult) FastRead(buf []byte, _type int8, number int32) (n... method FastWrite (line 145) | func (p *EchoResult) FastWrite(buf []byte) (n int) { method Size (line 152) | func (p *EchoResult) Size() (n int) { method Marshal (line 159) | func (p *EchoResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 166) | func (p *EchoResult) Unmarshal(in []byte) error { method GetSuccess (line 175) | func (p *EchoResult) GetSuccess() *pbapi.Response { method SetSuccess (line 182) | func (p *EchoResult) SetSuccess(x interface{}) { method IsSetSuccess (line 186) | func (p *EchoResult) IsSetSuccess() bool { method GetResult (line 190) | func (p *EchoResult) GetResult() interface{} { type kClient (line 194) | type kClient struct method Echo (line 204) | func (p *kClient) Echo(ctx context.Context, Req *pbapi.Request) (r *pb... function newServiceClient (line 198) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch05/demo/demo_proto/kitex_gen/pbapi/echo/invoker.go function NewInvoker (line 11) | func NewInvoker(handler pbapi.Echo, opts ...server.Option) server.Invoker { FILE: gomall/tutorial/ch05/demo/demo_proto/kitex_gen/pbapi/echo/server.go function NewServer (line 10) | func NewServer(handler pbapi.Echo, opts ...server.Option) server.Server { FILE: gomall/tutorial/ch05/demo/demo_proto/main.go function main (line 34) | func main() { function kitexInit (line 52) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch05/demo/demo_thrift/biz/dal/init.go function Init (line 22) | func Init() { FILE: gomall/tutorial/ch05/demo/demo_thrift/biz/dal/mysql/init.go function Init (line 29) | func Init() { FILE: gomall/tutorial/ch05/demo/demo_thrift/biz/dal/redis/init.go function Init (line 28) | func Init() { FILE: gomall/tutorial/ch05/demo/demo_thrift/biz/service/echo.go type EchoService (line 23) | type EchoService struct method Run (line 31) | func (s *EchoService) Run(req *api.Request) (resp *api.Response, err e... function NewEchoService (line 26) | func NewEchoService(ctx context.Context) *EchoService { FILE: gomall/tutorial/ch05/demo/demo_thrift/biz/service/echo_test.go function TestEcho_Run (line 23) | func TestEcho_Run(t *testing.T) { FILE: gomall/tutorial/ch05/demo/demo_thrift/conf/conf.go type Config (line 34) | type Config struct type MySQL (line 42) | type MySQL struct type Redis (line 46) | type Redis struct type Kitex (line 53) | type Kitex struct type Registry (line 66) | type Registry struct function GetConf (line 73) | func GetConf() *Config { function initConf (line 78) | func initConf() { function GetEnv (line 99) | func GetEnv() string { function LogLevel (line 107) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch05/demo/demo_thrift/handler.go type EchoImpl (line 24) | type EchoImpl struct method Echo (line 27) | func (s *EchoImpl) Echo(ctx context.Context, req *api.Request) (resp *... FILE: gomall/tutorial/ch05/demo/demo_thrift/kitex_gen/api/echo.go type Request (line 12) | type Request struct method InitDefault (line 20) | func (p *Request) InitDefault() { method GetMessage (line 24) | func (p *Request) GetMessage() (v string) { method SetMessage (line 27) | func (p *Request) SetMessage(val string) { method Read (line 35) | func (p *Request) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 94) | func (p *Request) ReadField1(iprot thrift.TProtocol) error { method Write (line 103) | func (p *Request) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 132) | func (p *Request) writeField1(oprot thrift.TProtocol) (err error) { method String (line 149) | func (p *Request) String() string { method DeepEqual (line 156) | func (p *Request) DeepEqual(ano *Request) bool { method Field1DeepEqual (line 168) | func (p *Request) Field1DeepEqual(src string) bool { function NewRequest (line 16) | func NewRequest() *Request { type Response (line 176) | type Response struct method InitDefault (line 184) | func (p *Response) InitDefault() { method GetMessage (line 188) | func (p *Response) GetMessage() (v string) { method SetMessage (line 191) | func (p *Response) SetMessage(val string) { method Read (line 199) | func (p *Response) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 258) | func (p *Response) ReadField1(iprot thrift.TProtocol) error { method Write (line 267) | func (p *Response) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 296) | func (p *Response) writeField1(oprot thrift.TProtocol) (err error) { method String (line 313) | func (p *Response) String() string { method DeepEqual (line 320) | func (p *Response) DeepEqual(ano *Response) bool { method Field1DeepEqual (line 332) | func (p *Response) Field1DeepEqual(src string) bool { function NewResponse (line 180) | func NewResponse() *Response { type Echo (line 340) | type Echo interface type EchoClient (line 344) | type EchoClient struct method Client_ (line 366) | func (p *EchoClient) Client_() thrift.TClient { method Echo (line 370) | func (p *EchoClient) Echo(ctx context.Context, req *Request) (r *Respo... function NewEchoClientFactory (line 348) | func NewEchoClientFactory(t thrift.TTransport, f thrift.TProtocolFactory... function NewEchoClientProtocol (line 354) | func NewEchoClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, ... function NewEchoClient (line 360) | func NewEchoClient(c thrift.TClient) *EchoClient { type EchoProcessor (line 380) | type EchoProcessor struct method AddToProcessorMap (line 385) | func (p *EchoProcessor) AddToProcessorMap(key string, processor thrift... method GetProcessorFunction (line 389) | func (p *EchoProcessor) GetProcessorFunction(key string) (processor th... method ProcessorMap (line 394) | func (p *EchoProcessor) ProcessorMap() map[string]thrift.TProcessorFun... method Process (line 403) | func (p *EchoProcessor) Process(ctx context.Context, iprot, oprot thri... function NewEchoProcessor (line 398) | func NewEchoProcessor(handler Echo) *EchoProcessor { type echoProcessorEcho (line 421) | type echoProcessorEcho struct method Process (line 425) | func (p *echoProcessorEcho) Process(ctx context.Context, seqId int32, ... type EchoEchoArgs (line 469) | type EchoEchoArgs struct method InitDefault (line 477) | func (p *EchoEchoArgs) InitDefault() { method GetReq (line 483) | func (p *EchoEchoArgs) GetReq() (v *Request) { method SetReq (line 489) | func (p *EchoEchoArgs) SetReq(val *Request) { method IsSetReq (line 497) | func (p *EchoEchoArgs) IsSetReq() bool { method Read (line 501) | func (p *EchoEchoArgs) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 560) | func (p *EchoEchoArgs) ReadField1(iprot thrift.TProtocol) error { method Write (line 568) | func (p *EchoEchoArgs) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 597) | func (p *EchoEchoArgs) writeField1(oprot thrift.TProtocol) (err error) { method String (line 614) | func (p *EchoEchoArgs) String() string { method DeepEqual (line 621) | func (p *EchoEchoArgs) DeepEqual(ano *EchoEchoArgs) bool { method Field1DeepEqual (line 633) | func (p *EchoEchoArgs) Field1DeepEqual(src *Request) bool { function NewEchoEchoArgs (line 473) | func NewEchoEchoArgs() *EchoEchoArgs { type EchoEchoResult (line 641) | type EchoEchoResult struct method InitDefault (line 649) | func (p *EchoEchoResult) InitDefault() { method GetSuccess (line 655) | func (p *EchoEchoResult) GetSuccess() (v *Response) { method SetSuccess (line 661) | func (p *EchoEchoResult) SetSuccess(x interface{}) { method IsSetSuccess (line 669) | func (p *EchoEchoResult) IsSetSuccess() bool { method Read (line 673) | func (p *EchoEchoResult) Read(iprot thrift.TProtocol) (err error) { method ReadField0 (line 732) | func (p *EchoEchoResult) ReadField0(iprot thrift.TProtocol) error { method Write (line 740) | func (p *EchoEchoResult) Write(oprot thrift.TProtocol) (err error) { method writeField0 (line 769) | func (p *EchoEchoResult) writeField0(oprot thrift.TProtocol) (err erro... method String (line 788) | func (p *EchoEchoResult) String() string { method DeepEqual (line 795) | func (p *EchoEchoResult) DeepEqual(ano *EchoEchoResult) bool { method Field0DeepEqual (line 807) | func (p *EchoEchoResult) Field0DeepEqual(src *Response) bool { function NewEchoEchoResult (line 645) | func NewEchoEchoResult() *EchoEchoResult { FILE: gomall/tutorial/ch05/demo/demo_thrift/kitex_gen/api/echo/client.go type Client (line 13) | type Client interface function NewClient (line 18) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 34) | func MustNewClient(destService string, opts ...client.Option) Client { type kEchoClient (line 42) | type kEchoClient struct method Echo (line 46) | func (p *kEchoClient) Echo(ctx context.Context, req *api.Request, call... FILE: gomall/tutorial/ch05/demo/demo_thrift/kitex_gen/api/echo/echo.go function serviceInfo (line 12) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 18) | func NewServiceInfo() *kitex.ServiceInfo { function echoHandler (line 39) | func echoHandler(ctx context.Context, handler interface{}, arg, result i... function newEchoEchoArgs (line 49) | func newEchoEchoArgs() interface{} { function newEchoEchoResult (line 53) | func newEchoEchoResult() interface{} { type kClient (line 57) | type kClient struct method Echo (line 67) | func (p *kClient) Echo(ctx context.Context, req *api.Request) (r *api.... function newServiceClient (line 61) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch05/demo/demo_thrift/kitex_gen/api/echo/invoker.go function NewInvoker (line 11) | func NewInvoker(handler api.Echo, opts ...server.Option) server.Invoker { FILE: gomall/tutorial/ch05/demo/demo_thrift/kitex_gen/api/echo/server.go function NewServer (line 10) | func NewServer(handler api.Echo, opts ...server.Option) server.Server { FILE: gomall/tutorial/ch05/demo/demo_thrift/kitex_gen/api/k-echo.go method FastRead (line 26) | func (p *Request) FastRead(buf []byte) (int, error) { method FastReadField1 (line 97) | func (p *Request) FastReadField1(buf []byte) (int, error) { method FastWrite (line 112) | func (p *Request) FastWrite(buf []byte) int { method FastWriteNocopy (line 116) | func (p *Request) FastWriteNocopy(buf []byte, binaryWriter bthrift.Binar... method BLength (line 127) | func (p *Request) BLength() int { method fastWriteField1 (line 138) | func (p *Request) fastWriteField1(buf []byte, binaryWriter bthrift.Binar... method field1Length (line 147) | func (p *Request) field1Length() int { method FastRead (line 156) | func (p *Response) FastRead(buf []byte) (int, error) { method FastReadField1 (line 227) | func (p *Response) FastReadField1(buf []byte) (int, error) { method FastWrite (line 242) | func (p *Response) FastWrite(buf []byte) int { method FastWriteNocopy (line 246) | func (p *Response) FastWriteNocopy(buf []byte, binaryWriter bthrift.Bina... method BLength (line 257) | func (p *Response) BLength() int { method fastWriteField1 (line 268) | func (p *Response) fastWriteField1(buf []byte, binaryWriter bthrift.Bina... method field1Length (line 277) | func (p *Response) field1Length() int { method FastRead (line 286) | func (p *EchoEchoArgs) FastRead(buf []byte) (int, error) { method FastReadField1 (line 357) | func (p *EchoEchoArgs) FastReadField1(buf []byte) (int, error) { method FastWrite (line 371) | func (p *EchoEchoArgs) FastWrite(buf []byte) int { method FastWriteNocopy (line 375) | func (p *EchoEchoArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.... method BLength (line 386) | func (p *EchoEchoArgs) BLength() int { method fastWriteField1 (line 397) | func (p *EchoEchoArgs) fastWriteField1(buf []byte, binaryWriter bthrift.... method field1Length (line 405) | func (p *EchoEchoArgs) field1Length() int { method FastRead (line 413) | func (p *EchoEchoResult) FastRead(buf []byte) (int, error) { method FastReadField0 (line 484) | func (p *EchoEchoResult) FastReadField0(buf []byte) (int, error) { method FastWrite (line 498) | func (p *EchoEchoResult) FastWrite(buf []byte) int { method FastWriteNocopy (line 502) | func (p *EchoEchoResult) FastWriteNocopy(buf []byte, binaryWriter bthrif... method BLength (line 513) | func (p *EchoEchoResult) BLength() int { method fastWriteField0 (line 524) | func (p *EchoEchoResult) fastWriteField0(buf []byte, binaryWriter bthrif... method field0Length (line 534) | func (p *EchoEchoResult) field0Length() int { method GetFirstArgument (line 544) | func (p *EchoEchoArgs) GetFirstArgument() interface{} { method GetResult (line 548) | func (p *EchoEchoResult) GetResult() interface{} { FILE: gomall/tutorial/ch05/demo/demo_thrift/main.go function main (line 32) | func main() { function kitexInit (line 43) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch05/hello_world/main.go function main (line 25) | func main() { FILE: gomall/tutorial/ch06/demo/demo_proto/biz/dal/init.go function Init (line 21) | func Init() { FILE: gomall/tutorial/ch06/demo/demo_proto/biz/dal/mysql/init.go function Init (line 33) | func Init() { FILE: gomall/tutorial/ch06/demo/demo_proto/biz/dal/redis/init.go function Init (line 28) | func Init() { FILE: gomall/tutorial/ch06/demo/demo_proto/biz/model/user.go type User (line 19) | type User struct method TableName (line 25) | func (User) TableName() string { FILE: gomall/tutorial/ch06/demo/demo_proto/biz/service/echo.go type EchoService (line 23) | type EchoService struct method Run (line 31) | func (s *EchoService) Run(req *pbapi.Request) (resp *pbapi.Response, e... function NewEchoService (line 26) | func NewEchoService(ctx context.Context) *EchoService { FILE: gomall/tutorial/ch06/demo/demo_proto/biz/service/echo_test.go function TestEcho_Run (line 23) | func TestEcho_Run(t *testing.T) { FILE: gomall/tutorial/ch06/demo/demo_proto/cmd/client/client.go function main (line 29) | func main() { FILE: gomall/tutorial/ch06/demo/demo_proto/cmd/dbop/db.go function main (line 26) | func main() { FILE: gomall/tutorial/ch06/demo/demo_proto/conf/conf.go type Config (line 33) | type Config struct type MySQL (line 41) | type MySQL struct type Redis (line 45) | type Redis struct type Kitex (line 52) | type Kitex struct type Registry (line 65) | type Registry struct function GetConf (line 72) | func GetConf() *Config { function initConf (line 77) | func initConf() { function GetEnv (line 98) | func GetEnv() string { function LogLevel (line 106) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch06/demo/demo_proto/handler.go type EchoImpl (line 25) | type EchoImpl struct method Echo (line 28) | func (s *EchoImpl) Echo(ctx context.Context, req *pbapi.Request) (resp... FILE: gomall/tutorial/ch06/demo/demo_proto/kitex_gen/pbapi/echo.pb.fast.go method FastRead (line 15) | func (x *Request) FastRead(buf []byte, _type int8, number int32) (offset... method fastReadField1 (line 35) | func (x *Request) fastReadField1(buf []byte, _type int8) (offset int, er... method FastRead (line 40) | func (x *Response) FastRead(buf []byte, _type int8, number int32) (offse... method fastReadField1 (line 60) | func (x *Response) fastReadField1(buf []byte, _type int8) (offset int, e... method FastWrite (line 65) | func (x *Request) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 73) | func (x *Request) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 81) | func (x *Response) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 89) | func (x *Response) fastWriteField1(buf []byte) (offset int) { method Size (line 97) | func (x *Request) Size() (n int) { method sizeField1 (line 105) | func (x *Request) sizeField1() (n int) { method Size (line 113) | func (x *Response) Size() (n int) { method sizeField1 (line 121) | func (x *Response) sizeField1() (n int) { FILE: gomall/tutorial/ch06/demo/demo_proto/kitex_gen/pbapi/echo.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Request (line 24) | type Request struct method Reset (line 32) | func (x *Request) Reset() { method String (line 41) | func (x *Request) String() string { method ProtoMessage (line 45) | func (*Request) ProtoMessage() {} method ProtoReflect (line 47) | func (x *Request) ProtoReflect() protoreflect.Message { method Descriptor (line 60) | func (*Request) Descriptor() ([]byte, []int) { method GetMessage (line 64) | func (x *Request) GetMessage() string { type Response (line 71) | type Response struct method Reset (line 79) | func (x *Response) Reset() { method String (line 88) | func (x *Response) String() string { method ProtoMessage (line 92) | func (*Response) ProtoMessage() {} method ProtoReflect (line 94) | func (x *Response) ProtoReflect() protoreflect.Message { method Descriptor (line 107) | func (*Response) Descriptor() ([]byte, []int) { method GetMessage (line 111) | func (x *Response) GetMessage() string { function file_echo_proto_rawDescGZIP (line 143) | func file_echo_proto_rawDescGZIP() []byte { function init (line 165) | func init() { file_echo_proto_init() } function file_echo_proto_init (line 166) | func file_echo_proto_init() { type Echo (line 220) | type Echo interface FILE: gomall/tutorial/ch06/demo/demo_proto/kitex_gen/pbapi/echo/client.go type Client (line 13) | type Client interface function NewClient (line 18) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 34) | func MustNewClient(destService string, opts ...client.Option) Client { type kEchoClient (line 42) | type kEchoClient struct method Echo (line 46) | func (p *kEchoClient) Echo(ctx context.Context, Req *pbapi.Request, ca... FILE: gomall/tutorial/ch06/demo/demo_proto/kitex_gen/pbapi/echo/echo.go function serviceInfo (line 14) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 20) | func NewServiceInfo() *kitex.ServiceInfo { function echoHandler (line 41) | func echoHandler(ctx context.Context, handler interface{}, arg, result i... function newEchoArgs (line 66) | func newEchoArgs() interface{} { function newEchoResult (line 70) | func newEchoResult() interface{} { type EchoArgs (line 74) | type EchoArgs struct method FastRead (line 78) | func (p *EchoArgs) FastRead(buf []byte, _type int8, number int32) (n i... method FastWrite (line 85) | func (p *EchoArgs) FastWrite(buf []byte) (n int) { method Size (line 92) | func (p *EchoArgs) Size() (n int) { method Marshal (line 99) | func (p *EchoArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 106) | func (p *EchoArgs) Unmarshal(in []byte) error { method GetReq (line 117) | func (p *EchoArgs) GetReq() *pbapi.Request { method IsSetReq (line 124) | func (p *EchoArgs) IsSetReq() bool { method GetFirstArgument (line 128) | func (p *EchoArgs) GetFirstArgument() interface{} { type EchoResult (line 132) | type EchoResult struct method FastRead (line 138) | func (p *EchoResult) FastRead(buf []byte, _type int8, number int32) (n... method FastWrite (line 145) | func (p *EchoResult) FastWrite(buf []byte) (n int) { method Size (line 152) | func (p *EchoResult) Size() (n int) { method Marshal (line 159) | func (p *EchoResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 166) | func (p *EchoResult) Unmarshal(in []byte) error { method GetSuccess (line 175) | func (p *EchoResult) GetSuccess() *pbapi.Response { method SetSuccess (line 182) | func (p *EchoResult) SetSuccess(x interface{}) { method IsSetSuccess (line 186) | func (p *EchoResult) IsSetSuccess() bool { method GetResult (line 190) | func (p *EchoResult) GetResult() interface{} { type kClient (line 194) | type kClient struct method Echo (line 204) | func (p *kClient) Echo(ctx context.Context, Req *pbapi.Request) (r *pb... function newServiceClient (line 198) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch06/demo/demo_proto/kitex_gen/pbapi/echo/invoker.go function NewInvoker (line 11) | func NewInvoker(handler pbapi.Echo, opts ...server.Option) server.Invoker { FILE: gomall/tutorial/ch06/demo/demo_proto/kitex_gen/pbapi/echo/server.go function NewServer (line 10) | func NewServer(handler pbapi.Echo, opts ...server.Option) server.Server { FILE: gomall/tutorial/ch06/demo/demo_proto/main.go function main (line 34) | func main() { function kitexInit (line 52) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch06/demo/demo_thrift/biz/dal/init.go function Init (line 22) | func Init() { FILE: gomall/tutorial/ch06/demo/demo_thrift/biz/dal/mysql/init.go function Init (line 29) | func Init() { FILE: gomall/tutorial/ch06/demo/demo_thrift/biz/dal/redis/init.go function Init (line 28) | func Init() { FILE: gomall/tutorial/ch06/demo/demo_thrift/biz/service/echo.go type EchoService (line 23) | type EchoService struct method Run (line 31) | func (s *EchoService) Run(req *api.Request) (resp *api.Response, err e... function NewEchoService (line 26) | func NewEchoService(ctx context.Context) *EchoService { FILE: gomall/tutorial/ch06/demo/demo_thrift/biz/service/echo_test.go function TestEcho_Run (line 23) | func TestEcho_Run(t *testing.T) { FILE: gomall/tutorial/ch06/demo/demo_thrift/conf/conf.go type Config (line 34) | type Config struct type MySQL (line 42) | type MySQL struct type Redis (line 46) | type Redis struct type Kitex (line 53) | type Kitex struct type Registry (line 66) | type Registry struct function GetConf (line 73) | func GetConf() *Config { function initConf (line 78) | func initConf() { function GetEnv (line 99) | func GetEnv() string { function LogLevel (line 107) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch06/demo/demo_thrift/handler.go type EchoImpl (line 24) | type EchoImpl struct method Echo (line 27) | func (s *EchoImpl) Echo(ctx context.Context, req *api.Request) (resp *... FILE: gomall/tutorial/ch06/demo/demo_thrift/kitex_gen/api/echo.go type Request (line 12) | type Request struct method InitDefault (line 20) | func (p *Request) InitDefault() { method GetMessage (line 24) | func (p *Request) GetMessage() (v string) { method SetMessage (line 27) | func (p *Request) SetMessage(val string) { method Read (line 35) | func (p *Request) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 94) | func (p *Request) ReadField1(iprot thrift.TProtocol) error { method Write (line 103) | func (p *Request) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 132) | func (p *Request) writeField1(oprot thrift.TProtocol) (err error) { method String (line 149) | func (p *Request) String() string { method DeepEqual (line 156) | func (p *Request) DeepEqual(ano *Request) bool { method Field1DeepEqual (line 168) | func (p *Request) Field1DeepEqual(src string) bool { function NewRequest (line 16) | func NewRequest() *Request { type Response (line 176) | type Response struct method InitDefault (line 184) | func (p *Response) InitDefault() { method GetMessage (line 188) | func (p *Response) GetMessage() (v string) { method SetMessage (line 191) | func (p *Response) SetMessage(val string) { method Read (line 199) | func (p *Response) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 258) | func (p *Response) ReadField1(iprot thrift.TProtocol) error { method Write (line 267) | func (p *Response) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 296) | func (p *Response) writeField1(oprot thrift.TProtocol) (err error) { method String (line 313) | func (p *Response) String() string { method DeepEqual (line 320) | func (p *Response) DeepEqual(ano *Response) bool { method Field1DeepEqual (line 332) | func (p *Response) Field1DeepEqual(src string) bool { function NewResponse (line 180) | func NewResponse() *Response { type Echo (line 340) | type Echo interface type EchoClient (line 344) | type EchoClient struct method Client_ (line 366) | func (p *EchoClient) Client_() thrift.TClient { method Echo (line 370) | func (p *EchoClient) Echo(ctx context.Context, req *Request) (r *Respo... function NewEchoClientFactory (line 348) | func NewEchoClientFactory(t thrift.TTransport, f thrift.TProtocolFactory... function NewEchoClientProtocol (line 354) | func NewEchoClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, ... function NewEchoClient (line 360) | func NewEchoClient(c thrift.TClient) *EchoClient { type EchoProcessor (line 380) | type EchoProcessor struct method AddToProcessorMap (line 385) | func (p *EchoProcessor) AddToProcessorMap(key string, processor thrift... method GetProcessorFunction (line 389) | func (p *EchoProcessor) GetProcessorFunction(key string) (processor th... method ProcessorMap (line 394) | func (p *EchoProcessor) ProcessorMap() map[string]thrift.TProcessorFun... method Process (line 403) | func (p *EchoProcessor) Process(ctx context.Context, iprot, oprot thri... function NewEchoProcessor (line 398) | func NewEchoProcessor(handler Echo) *EchoProcessor { type echoProcessorEcho (line 421) | type echoProcessorEcho struct method Process (line 425) | func (p *echoProcessorEcho) Process(ctx context.Context, seqId int32, ... type EchoEchoArgs (line 469) | type EchoEchoArgs struct method InitDefault (line 477) | func (p *EchoEchoArgs) InitDefault() { method GetReq (line 483) | func (p *EchoEchoArgs) GetReq() (v *Request) { method SetReq (line 489) | func (p *EchoEchoArgs) SetReq(val *Request) { method IsSetReq (line 497) | func (p *EchoEchoArgs) IsSetReq() bool { method Read (line 501) | func (p *EchoEchoArgs) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 560) | func (p *EchoEchoArgs) ReadField1(iprot thrift.TProtocol) error { method Write (line 568) | func (p *EchoEchoArgs) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 597) | func (p *EchoEchoArgs) writeField1(oprot thrift.TProtocol) (err error) { method String (line 614) | func (p *EchoEchoArgs) String() string { method DeepEqual (line 621) | func (p *EchoEchoArgs) DeepEqual(ano *EchoEchoArgs) bool { method Field1DeepEqual (line 633) | func (p *EchoEchoArgs) Field1DeepEqual(src *Request) bool { function NewEchoEchoArgs (line 473) | func NewEchoEchoArgs() *EchoEchoArgs { type EchoEchoResult (line 641) | type EchoEchoResult struct method InitDefault (line 649) | func (p *EchoEchoResult) InitDefault() { method GetSuccess (line 655) | func (p *EchoEchoResult) GetSuccess() (v *Response) { method SetSuccess (line 661) | func (p *EchoEchoResult) SetSuccess(x interface{}) { method IsSetSuccess (line 669) | func (p *EchoEchoResult) IsSetSuccess() bool { method Read (line 673) | func (p *EchoEchoResult) Read(iprot thrift.TProtocol) (err error) { method ReadField0 (line 732) | func (p *EchoEchoResult) ReadField0(iprot thrift.TProtocol) error { method Write (line 740) | func (p *EchoEchoResult) Write(oprot thrift.TProtocol) (err error) { method writeField0 (line 769) | func (p *EchoEchoResult) writeField0(oprot thrift.TProtocol) (err erro... method String (line 788) | func (p *EchoEchoResult) String() string { method DeepEqual (line 795) | func (p *EchoEchoResult) DeepEqual(ano *EchoEchoResult) bool { method Field0DeepEqual (line 807) | func (p *EchoEchoResult) Field0DeepEqual(src *Response) bool { function NewEchoEchoResult (line 645) | func NewEchoEchoResult() *EchoEchoResult { FILE: gomall/tutorial/ch06/demo/demo_thrift/kitex_gen/api/echo/client.go type Client (line 13) | type Client interface function NewClient (line 18) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 34) | func MustNewClient(destService string, opts ...client.Option) Client { type kEchoClient (line 42) | type kEchoClient struct method Echo (line 46) | func (p *kEchoClient) Echo(ctx context.Context, req *api.Request, call... FILE: gomall/tutorial/ch06/demo/demo_thrift/kitex_gen/api/echo/echo.go function serviceInfo (line 12) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 18) | func NewServiceInfo() *kitex.ServiceInfo { function echoHandler (line 39) | func echoHandler(ctx context.Context, handler interface{}, arg, result i... function newEchoEchoArgs (line 49) | func newEchoEchoArgs() interface{} { function newEchoEchoResult (line 53) | func newEchoEchoResult() interface{} { type kClient (line 57) | type kClient struct method Echo (line 67) | func (p *kClient) Echo(ctx context.Context, req *api.Request) (r *api.... function newServiceClient (line 61) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch06/demo/demo_thrift/kitex_gen/api/echo/invoker.go function NewInvoker (line 11) | func NewInvoker(handler api.Echo, opts ...server.Option) server.Invoker { FILE: gomall/tutorial/ch06/demo/demo_thrift/kitex_gen/api/echo/server.go function NewServer (line 10) | func NewServer(handler api.Echo, opts ...server.Option) server.Server { FILE: gomall/tutorial/ch06/demo/demo_thrift/kitex_gen/api/k-echo.go method FastRead (line 26) | func (p *Request) FastRead(buf []byte) (int, error) { method FastReadField1 (line 97) | func (p *Request) FastReadField1(buf []byte) (int, error) { method FastWrite (line 112) | func (p *Request) FastWrite(buf []byte) int { method FastWriteNocopy (line 116) | func (p *Request) FastWriteNocopy(buf []byte, binaryWriter bthrift.Binar... method BLength (line 127) | func (p *Request) BLength() int { method fastWriteField1 (line 138) | func (p *Request) fastWriteField1(buf []byte, binaryWriter bthrift.Binar... method field1Length (line 147) | func (p *Request) field1Length() int { method FastRead (line 156) | func (p *Response) FastRead(buf []byte) (int, error) { method FastReadField1 (line 227) | func (p *Response) FastReadField1(buf []byte) (int, error) { method FastWrite (line 242) | func (p *Response) FastWrite(buf []byte) int { method FastWriteNocopy (line 246) | func (p *Response) FastWriteNocopy(buf []byte, binaryWriter bthrift.Bina... method BLength (line 257) | func (p *Response) BLength() int { method fastWriteField1 (line 268) | func (p *Response) fastWriteField1(buf []byte, binaryWriter bthrift.Bina... method field1Length (line 277) | func (p *Response) field1Length() int { method FastRead (line 286) | func (p *EchoEchoArgs) FastRead(buf []byte) (int, error) { method FastReadField1 (line 357) | func (p *EchoEchoArgs) FastReadField1(buf []byte) (int, error) { method FastWrite (line 371) | func (p *EchoEchoArgs) FastWrite(buf []byte) int { method FastWriteNocopy (line 375) | func (p *EchoEchoArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.... method BLength (line 386) | func (p *EchoEchoArgs) BLength() int { method fastWriteField1 (line 397) | func (p *EchoEchoArgs) fastWriteField1(buf []byte, binaryWriter bthrift.... method field1Length (line 405) | func (p *EchoEchoArgs) field1Length() int { method FastRead (line 413) | func (p *EchoEchoResult) FastRead(buf []byte) (int, error) { method FastReadField0 (line 484) | func (p *EchoEchoResult) FastReadField0(buf []byte) (int, error) { method FastWrite (line 498) | func (p *EchoEchoResult) FastWrite(buf []byte) int { method FastWriteNocopy (line 502) | func (p *EchoEchoResult) FastWriteNocopy(buf []byte, binaryWriter bthrif... method BLength (line 513) | func (p *EchoEchoResult) BLength() int { method fastWriteField0 (line 524) | func (p *EchoEchoResult) fastWriteField0(buf []byte, binaryWriter bthrif... method field0Length (line 534) | func (p *EchoEchoResult) field0Length() int { method GetFirstArgument (line 544) | func (p *EchoEchoArgs) GetFirstArgument() interface{} { method GetResult (line 548) | func (p *EchoEchoResult) GetResult() interface{} { FILE: gomall/tutorial/ch06/demo/demo_thrift/main.go function main (line 32) | func main() { function kitexInit (line 43) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch06/hello_world/main.go function main (line 25) | func main() { FILE: gomall/tutorial/ch07/demo/demo_proto/biz/dal/init.go function Init (line 21) | func Init() { FILE: gomall/tutorial/ch07/demo/demo_proto/biz/dal/mysql/init.go function Init (line 33) | func Init() { FILE: gomall/tutorial/ch07/demo/demo_proto/biz/dal/redis/init.go function Init (line 26) | func Init() { FILE: gomall/tutorial/ch07/demo/demo_proto/biz/model/user.go type User (line 19) | type User struct method TableName (line 25) | func (User) TableName() string { FILE: gomall/tutorial/ch07/demo/demo_proto/biz/service/echo.go type EchoService (line 26) | type EchoService struct method Run (line 34) | func (s *EchoService) Run(req *pbapi.Request) (resp *pbapi.Response, e... function NewEchoService (line 29) | func NewEchoService(ctx context.Context) *EchoService { FILE: gomall/tutorial/ch07/demo/demo_proto/biz/service/echo_test.go function TestEcho_Run (line 24) | func TestEcho_Run(t *testing.T) { FILE: gomall/tutorial/ch07/demo/demo_proto/cmd/client/client.go function main (line 35) | func main() { FILE: gomall/tutorial/ch07/demo/demo_proto/cmd/dbop/db.go function main (line 26) | func main() { FILE: gomall/tutorial/ch07/demo/demo_proto/conf/conf.go type Config (line 33) | type Config struct type MySQL (line 41) | type MySQL struct type Redis (line 45) | type Redis struct type Kitex (line 52) | type Kitex struct type Registry (line 65) | type Registry struct function GetConf (line 72) | func GetConf() *Config { function initConf (line 77) | func initConf() { function GetEnv (line 98) | func GetEnv() string { function LogLevel (line 106) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch07/demo/demo_proto/handler.go type EchoImpl (line 25) | type EchoImpl struct method Echo (line 28) | func (s *EchoImpl) Echo(ctx context.Context, req *pbapi.Request) (resp... FILE: gomall/tutorial/ch07/demo/demo_proto/kitex_gen/pbapi/echo.pb.fast.go method FastRead (line 15) | func (x *Request) FastRead(buf []byte, _type int8, number int32) (offset... method fastReadField1 (line 35) | func (x *Request) fastReadField1(buf []byte, _type int8) (offset int, er... method FastRead (line 40) | func (x *Response) FastRead(buf []byte, _type int8, number int32) (offse... method fastReadField1 (line 60) | func (x *Response) fastReadField1(buf []byte, _type int8) (offset int, e... method FastWrite (line 65) | func (x *Request) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 73) | func (x *Request) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 81) | func (x *Response) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 89) | func (x *Response) fastWriteField1(buf []byte) (offset int) { method Size (line 97) | func (x *Request) Size() (n int) { method sizeField1 (line 105) | func (x *Request) sizeField1() (n int) { method Size (line 113) | func (x *Response) Size() (n int) { method sizeField1 (line 121) | func (x *Response) sizeField1() (n int) { FILE: gomall/tutorial/ch07/demo/demo_proto/kitex_gen/pbapi/echo.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Request (line 24) | type Request struct method Reset (line 32) | func (x *Request) Reset() { method String (line 41) | func (x *Request) String() string { method ProtoMessage (line 45) | func (*Request) ProtoMessage() {} method ProtoReflect (line 47) | func (x *Request) ProtoReflect() protoreflect.Message { method Descriptor (line 60) | func (*Request) Descriptor() ([]byte, []int) { method GetMessage (line 64) | func (x *Request) GetMessage() string { type Response (line 71) | type Response struct method Reset (line 79) | func (x *Response) Reset() { method String (line 88) | func (x *Response) String() string { method ProtoMessage (line 92) | func (*Response) ProtoMessage() {} method ProtoReflect (line 94) | func (x *Response) ProtoReflect() protoreflect.Message { method Descriptor (line 107) | func (*Response) Descriptor() ([]byte, []int) { method GetMessage (line 111) | func (x *Response) GetMessage() string { function file_echo_proto_rawDescGZIP (line 143) | func file_echo_proto_rawDescGZIP() []byte { function init (line 165) | func init() { file_echo_proto_init() } function file_echo_proto_init (line 166) | func file_echo_proto_init() { type Echo (line 220) | type Echo interface FILE: gomall/tutorial/ch07/demo/demo_proto/kitex_gen/pbapi/echo/client.go type Client (line 13) | type Client interface function NewClient (line 18) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 34) | func MustNewClient(destService string, opts ...client.Option) Client { type kEchoClient (line 42) | type kEchoClient struct method Echo (line 46) | func (p *kEchoClient) Echo(ctx context.Context, Req *pbapi.Request, ca... FILE: gomall/tutorial/ch07/demo/demo_proto/kitex_gen/pbapi/echo/echo.go function serviceInfo (line 14) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 20) | func NewServiceInfo() *kitex.ServiceInfo { function echoHandler (line 41) | func echoHandler(ctx context.Context, handler interface{}, arg, result i... function newEchoArgs (line 66) | func newEchoArgs() interface{} { function newEchoResult (line 70) | func newEchoResult() interface{} { type EchoArgs (line 74) | type EchoArgs struct method FastRead (line 78) | func (p *EchoArgs) FastRead(buf []byte, _type int8, number int32) (n i... method FastWrite (line 85) | func (p *EchoArgs) FastWrite(buf []byte) (n int) { method Size (line 92) | func (p *EchoArgs) Size() (n int) { method Marshal (line 99) | func (p *EchoArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 106) | func (p *EchoArgs) Unmarshal(in []byte) error { method GetReq (line 117) | func (p *EchoArgs) GetReq() *pbapi.Request { method IsSetReq (line 124) | func (p *EchoArgs) IsSetReq() bool { method GetFirstArgument (line 128) | func (p *EchoArgs) GetFirstArgument() interface{} { type EchoResult (line 132) | type EchoResult struct method FastRead (line 138) | func (p *EchoResult) FastRead(buf []byte, _type int8, number int32) (n... method FastWrite (line 145) | func (p *EchoResult) FastWrite(buf []byte) (n int) { method Size (line 152) | func (p *EchoResult) Size() (n int) { method Marshal (line 159) | func (p *EchoResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 166) | func (p *EchoResult) Unmarshal(in []byte) error { method GetSuccess (line 175) | func (p *EchoResult) GetSuccess() *pbapi.Response { method SetSuccess (line 182) | func (p *EchoResult) SetSuccess(x interface{}) { method IsSetSuccess (line 186) | func (p *EchoResult) IsSetSuccess() bool { method GetResult (line 190) | func (p *EchoResult) GetResult() interface{} { type kClient (line 194) | type kClient struct method Echo (line 204) | func (p *kClient) Echo(ctx context.Context, Req *pbapi.Request) (r *pb... function newServiceClient (line 198) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch07/demo/demo_proto/kitex_gen/pbapi/echo/invoker.go function NewInvoker (line 11) | func NewInvoker(handler pbapi.Echo, opts ...server.Option) server.Invoker { FILE: gomall/tutorial/ch07/demo/demo_proto/kitex_gen/pbapi/echo/server.go function NewServer (line 10) | func NewServer(handler pbapi.Echo, opts ...server.Option) server.Server { FILE: gomall/tutorial/ch07/demo/demo_proto/main.go function main (line 35) | func main() { function kitexInit (line 53) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch07/demo/demo_proto/middleware/middleware.go function Middleware (line 25) | func Middleware(next endpoint.Endpoint) endpoint.Endpoint { FILE: gomall/tutorial/ch07/demo/demo_thrift/biz/dal/init.go function Init (line 22) | func Init() { FILE: gomall/tutorial/ch07/demo/demo_thrift/biz/dal/mysql/init.go function Init (line 29) | func Init() { FILE: gomall/tutorial/ch07/demo/demo_thrift/biz/dal/redis/init.go function Init (line 26) | func Init() { FILE: gomall/tutorial/ch07/demo/demo_thrift/biz/service/echo.go type EchoService (line 25) | type EchoService struct method Run (line 33) | func (s *EchoService) Run(req *api.Request) (resp *api.Response, err e... function NewEchoService (line 28) | func NewEchoService(ctx context.Context) *EchoService { FILE: gomall/tutorial/ch07/demo/demo_thrift/biz/service/echo_test.go function TestEcho_Run (line 24) | func TestEcho_Run(t *testing.T) { FILE: gomall/tutorial/ch07/demo/demo_thrift/cmd/client/client.go function main (line 29) | func main() { FILE: gomall/tutorial/ch07/demo/demo_thrift/conf/conf.go type Config (line 33) | type Config struct type MySQL (line 41) | type MySQL struct type Redis (line 45) | type Redis struct type Kitex (line 52) | type Kitex struct type Registry (line 65) | type Registry struct function GetConf (line 72) | func GetConf() *Config { function initConf (line 77) | func initConf() { function GetEnv (line 98) | func GetEnv() string { function LogLevel (line 106) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch07/demo/demo_thrift/handler.go type EchoImpl (line 25) | type EchoImpl struct method Echo (line 28) | func (s *EchoImpl) Echo(ctx context.Context, req *api.Request) (resp *... FILE: gomall/tutorial/ch07/demo/demo_thrift/kitex_gen/api/echo.go type Request (line 12) | type Request struct method InitDefault (line 20) | func (p *Request) InitDefault() { method GetMessage (line 24) | func (p *Request) GetMessage() (v string) { method SetMessage (line 27) | func (p *Request) SetMessage(val string) { method Read (line 35) | func (p *Request) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 94) | func (p *Request) ReadField1(iprot thrift.TProtocol) error { method Write (line 103) | func (p *Request) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 132) | func (p *Request) writeField1(oprot thrift.TProtocol) (err error) { method String (line 149) | func (p *Request) String() string { method DeepEqual (line 156) | func (p *Request) DeepEqual(ano *Request) bool { method Field1DeepEqual (line 168) | func (p *Request) Field1DeepEqual(src string) bool { function NewRequest (line 16) | func NewRequest() *Request { type Response (line 176) | type Response struct method InitDefault (line 184) | func (p *Response) InitDefault() { method GetMessage (line 188) | func (p *Response) GetMessage() (v string) { method SetMessage (line 191) | func (p *Response) SetMessage(val string) { method Read (line 199) | func (p *Response) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 258) | func (p *Response) ReadField1(iprot thrift.TProtocol) error { method Write (line 267) | func (p *Response) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 296) | func (p *Response) writeField1(oprot thrift.TProtocol) (err error) { method String (line 313) | func (p *Response) String() string { method DeepEqual (line 320) | func (p *Response) DeepEqual(ano *Response) bool { method Field1DeepEqual (line 332) | func (p *Response) Field1DeepEqual(src string) bool { function NewResponse (line 180) | func NewResponse() *Response { type Echo (line 340) | type Echo interface type EchoClient (line 344) | type EchoClient struct method Client_ (line 366) | func (p *EchoClient) Client_() thrift.TClient { method Echo (line 370) | func (p *EchoClient) Echo(ctx context.Context, req *Request) (r *Respo... function NewEchoClientFactory (line 348) | func NewEchoClientFactory(t thrift.TTransport, f thrift.TProtocolFactory... function NewEchoClientProtocol (line 354) | func NewEchoClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, ... function NewEchoClient (line 360) | func NewEchoClient(c thrift.TClient) *EchoClient { type EchoProcessor (line 380) | type EchoProcessor struct method AddToProcessorMap (line 385) | func (p *EchoProcessor) AddToProcessorMap(key string, processor thrift... method GetProcessorFunction (line 389) | func (p *EchoProcessor) GetProcessorFunction(key string) (processor th... method ProcessorMap (line 394) | func (p *EchoProcessor) ProcessorMap() map[string]thrift.TProcessorFun... method Process (line 403) | func (p *EchoProcessor) Process(ctx context.Context, iprot, oprot thri... function NewEchoProcessor (line 398) | func NewEchoProcessor(handler Echo) *EchoProcessor { type echoProcessorEcho (line 421) | type echoProcessorEcho struct method Process (line 425) | func (p *echoProcessorEcho) Process(ctx context.Context, seqId int32, ... type EchoEchoArgs (line 469) | type EchoEchoArgs struct method InitDefault (line 477) | func (p *EchoEchoArgs) InitDefault() { method GetReq (line 483) | func (p *EchoEchoArgs) GetReq() (v *Request) { method SetReq (line 489) | func (p *EchoEchoArgs) SetReq(val *Request) { method IsSetReq (line 497) | func (p *EchoEchoArgs) IsSetReq() bool { method Read (line 501) | func (p *EchoEchoArgs) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 560) | func (p *EchoEchoArgs) ReadField1(iprot thrift.TProtocol) error { method Write (line 568) | func (p *EchoEchoArgs) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 597) | func (p *EchoEchoArgs) writeField1(oprot thrift.TProtocol) (err error) { method String (line 614) | func (p *EchoEchoArgs) String() string { method DeepEqual (line 621) | func (p *EchoEchoArgs) DeepEqual(ano *EchoEchoArgs) bool { method Field1DeepEqual (line 633) | func (p *EchoEchoArgs) Field1DeepEqual(src *Request) bool { function NewEchoEchoArgs (line 473) | func NewEchoEchoArgs() *EchoEchoArgs { type EchoEchoResult (line 641) | type EchoEchoResult struct method InitDefault (line 649) | func (p *EchoEchoResult) InitDefault() { method GetSuccess (line 655) | func (p *EchoEchoResult) GetSuccess() (v *Response) { method SetSuccess (line 661) | func (p *EchoEchoResult) SetSuccess(x interface{}) { method IsSetSuccess (line 669) | func (p *EchoEchoResult) IsSetSuccess() bool { method Read (line 673) | func (p *EchoEchoResult) Read(iprot thrift.TProtocol) (err error) { method ReadField0 (line 732) | func (p *EchoEchoResult) ReadField0(iprot thrift.TProtocol) error { method Write (line 740) | func (p *EchoEchoResult) Write(oprot thrift.TProtocol) (err error) { method writeField0 (line 769) | func (p *EchoEchoResult) writeField0(oprot thrift.TProtocol) (err erro... method String (line 788) | func (p *EchoEchoResult) String() string { method DeepEqual (line 795) | func (p *EchoEchoResult) DeepEqual(ano *EchoEchoResult) bool { method Field0DeepEqual (line 807) | func (p *EchoEchoResult) Field0DeepEqual(src *Response) bool { function NewEchoEchoResult (line 645) | func NewEchoEchoResult() *EchoEchoResult { FILE: gomall/tutorial/ch07/demo/demo_thrift/kitex_gen/api/echo/client.go type Client (line 13) | type Client interface function NewClient (line 18) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 34) | func MustNewClient(destService string, opts ...client.Option) Client { type kEchoClient (line 42) | type kEchoClient struct method Echo (line 46) | func (p *kEchoClient) Echo(ctx context.Context, req *api.Request, call... FILE: gomall/tutorial/ch07/demo/demo_thrift/kitex_gen/api/echo/echo.go function serviceInfo (line 12) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 18) | func NewServiceInfo() *kitex.ServiceInfo { function echoHandler (line 39) | func echoHandler(ctx context.Context, handler interface{}, arg, result i... function newEchoEchoArgs (line 49) | func newEchoEchoArgs() interface{} { function newEchoEchoResult (line 53) | func newEchoEchoResult() interface{} { type kClient (line 57) | type kClient struct method Echo (line 67) | func (p *kClient) Echo(ctx context.Context, req *api.Request) (r *api.... function newServiceClient (line 61) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch07/demo/demo_thrift/kitex_gen/api/echo/invoker.go function NewInvoker (line 11) | func NewInvoker(handler api.Echo, opts ...server.Option) server.Invoker { FILE: gomall/tutorial/ch07/demo/demo_thrift/kitex_gen/api/echo/server.go function NewServer (line 10) | func NewServer(handler api.Echo, opts ...server.Option) server.Server { FILE: gomall/tutorial/ch07/demo/demo_thrift/kitex_gen/api/k-echo.go method FastRead (line 26) | func (p *Request) FastRead(buf []byte) (int, error) { method FastReadField1 (line 97) | func (p *Request) FastReadField1(buf []byte) (int, error) { method FastWrite (line 112) | func (p *Request) FastWrite(buf []byte) int { method FastWriteNocopy (line 116) | func (p *Request) FastWriteNocopy(buf []byte, binaryWriter bthrift.Binar... method BLength (line 127) | func (p *Request) BLength() int { method fastWriteField1 (line 138) | func (p *Request) fastWriteField1(buf []byte, binaryWriter bthrift.Binar... method field1Length (line 147) | func (p *Request) field1Length() int { method FastRead (line 156) | func (p *Response) FastRead(buf []byte) (int, error) { method FastReadField1 (line 227) | func (p *Response) FastReadField1(buf []byte) (int, error) { method FastWrite (line 242) | func (p *Response) FastWrite(buf []byte) int { method FastWriteNocopy (line 246) | func (p *Response) FastWriteNocopy(buf []byte, binaryWriter bthrift.Bina... method BLength (line 257) | func (p *Response) BLength() int { method fastWriteField1 (line 268) | func (p *Response) fastWriteField1(buf []byte, binaryWriter bthrift.Bina... method field1Length (line 277) | func (p *Response) field1Length() int { method FastRead (line 286) | func (p *EchoEchoArgs) FastRead(buf []byte) (int, error) { method FastReadField1 (line 357) | func (p *EchoEchoArgs) FastReadField1(buf []byte) (int, error) { method FastWrite (line 371) | func (p *EchoEchoArgs) FastWrite(buf []byte) int { method FastWriteNocopy (line 375) | func (p *EchoEchoArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.... method BLength (line 386) | func (p *EchoEchoArgs) BLength() int { method fastWriteField1 (line 397) | func (p *EchoEchoArgs) fastWriteField1(buf []byte, binaryWriter bthrift.... method field1Length (line 405) | func (p *EchoEchoArgs) field1Length() int { method FastRead (line 413) | func (p *EchoEchoResult) FastRead(buf []byte) (int, error) { method FastReadField0 (line 484) | func (p *EchoEchoResult) FastReadField0(buf []byte) (int, error) { method FastWrite (line 498) | func (p *EchoEchoResult) FastWrite(buf []byte) int { method FastWriteNocopy (line 502) | func (p *EchoEchoResult) FastWriteNocopy(buf []byte, binaryWriter bthrif... method BLength (line 513) | func (p *EchoEchoResult) BLength() int { method fastWriteField0 (line 524) | func (p *EchoEchoResult) fastWriteField0(buf []byte, binaryWriter bthrif... method field0Length (line 534) | func (p *EchoEchoResult) field0Length() int { method GetFirstArgument (line 544) | func (p *EchoEchoArgs) GetFirstArgument() interface{} { method GetResult (line 548) | func (p *EchoEchoResult) GetResult() interface{} { FILE: gomall/tutorial/ch07/demo/demo_thrift/main.go function main (line 32) | func main() { function kitexInit (line 43) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch07/hello_world/main.go function main (line 25) | func main() { FILE: gomall/tutorial/ch08/app/frontend/biz/dal/init.go function Init (line 22) | func Init() { FILE: gomall/tutorial/ch08/app/frontend/biz/dal/mysql/init.go function Init (line 28) | func Init() { FILE: gomall/tutorial/ch08/app/frontend/biz/dal/redis/init.go function Init (line 26) | func Init() { FILE: gomall/tutorial/ch08/app/frontend/biz/handler/home/home_service.go function Home (line 29) | func Home(ctx context.Context, c *app.RequestContext) { FILE: gomall/tutorial/ch08/app/frontend/biz/handler/home/home_service_test.go function TestHome (line 26) | func TestHome(t *testing.T) { FILE: gomall/tutorial/ch08/app/frontend/biz/router/home/home.go function Register (line 31) | func Register(r *server.Hertz) { FILE: gomall/tutorial/ch08/app/frontend/biz/router/home/middleware.go function rootMw (line 23) | func rootMw() []app.HandlerFunc { function _homeMw (line 28) | func _homeMw() []app.HandlerFunc { FILE: gomall/tutorial/ch08/app/frontend/biz/router/register.go function GeneratedRegister (line 25) | func GeneratedRegister(r *server.Hertz) { FILE: gomall/tutorial/ch08/app/frontend/biz/service/home.go type HomeService (line 24) | type HomeService struct method Run (line 33) | func (h *HomeService) Run(req *home.Empty) (map[string]any, error) { function NewHomeService (line 29) | func NewHomeService(Context context.Context, RequestContext *app.Request... FILE: gomall/tutorial/ch08/app/frontend/biz/utils/resp.go function SendErrResponse (line 24) | func SendErrResponse(ctx context.Context, c *app.RequestContext, code in... function SendSuccessResponse (line 30) | func SendSuccessResponse(ctx context.Context, c *app.RequestContext, cod... FILE: gomall/tutorial/ch08/app/frontend/conf/conf.go type Config (line 34) | type Config struct type MySQL (line 42) | type MySQL struct type Redis (line 46) | type Redis struct type Hertz (line 53) | type Hertz struct function GetConf (line 66) | func GetConf() *Config { function initConf (line 71) | func initConf() { function GetEnv (line 95) | func GetEnv() string { function LogLevel (line 103) | func LogLevel() hlog.Level { FILE: gomall/tutorial/ch08/app/frontend/hertz_gen/api/api.pb.go constant _ (line 18) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 20) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) function init (line 651) | func init() { file_api_proto_init() } function file_api_proto_init (line 652) | func file_api_proto_init() { FILE: gomall/tutorial/ch08/app/frontend/hertz_gen/frontend/home/home.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Empty (line 24) | type Empty struct method Reset (line 30) | func (x *Empty) Reset() { method String (line 39) | func (x *Empty) String() string { method ProtoMessage (line 43) | func (*Empty) ProtoMessage() {} method ProtoReflect (line 45) | func (x *Empty) ProtoReflect() protoreflect.Message { method Descriptor (line 58) | func (*Empty) Descriptor() ([]byte, []int) { function file_home_proto_rawDescGZIP (line 85) | func file_home_proto_rawDescGZIP() []byte { function init (line 106) | func init() { file_home_proto_init() } function file_home_proto_init (line 107) | func file_home_proto_init() { FILE: gomall/tutorial/ch08/app/frontend/main.go function main (line 40) | func main() { function registerMiddleware (line 60) | func registerMiddleware(h *server.Hertz) { FILE: gomall/tutorial/ch08/demo/demo_proto/biz/dal/init.go function Init (line 21) | func Init() { FILE: gomall/tutorial/ch08/demo/demo_proto/biz/dal/mysql/init.go function Init (line 33) | func Init() { FILE: gomall/tutorial/ch08/demo/demo_proto/biz/dal/redis/init.go function Init (line 28) | func Init() { FILE: gomall/tutorial/ch08/demo/demo_proto/biz/model/user.go type User (line 19) | type User struct method TableName (line 25) | func (User) TableName() string { FILE: gomall/tutorial/ch08/demo/demo_proto/biz/service/echo.go type EchoService (line 23) | type EchoService struct method Run (line 31) | func (s *EchoService) Run(req *pbapi.Request) (resp *pbapi.Response, e... function NewEchoService (line 26) | func NewEchoService(ctx context.Context) *EchoService { FILE: gomall/tutorial/ch08/demo/demo_proto/biz/service/echo_test.go function TestEcho_Run (line 23) | func TestEcho_Run(t *testing.T) { FILE: gomall/tutorial/ch08/demo/demo_proto/cmd/client/client.go function main (line 32) | func main() { FILE: gomall/tutorial/ch08/demo/demo_proto/cmd/dbop/db.go function main (line 26) | func main() { FILE: gomall/tutorial/ch08/demo/demo_proto/conf/conf.go type Config (line 33) | type Config struct type MySQL (line 41) | type MySQL struct type Redis (line 45) | type Redis struct type Kitex (line 52) | type Kitex struct type Registry (line 65) | type Registry struct function GetConf (line 72) | func GetConf() *Config { function initConf (line 77) | func initConf() { function GetEnv (line 98) | func GetEnv() string { function LogLevel (line 106) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch08/demo/demo_proto/handler.go type EchoImpl (line 25) | type EchoImpl struct method Echo (line 28) | func (s *EchoImpl) Echo(ctx context.Context, req *pbapi.Request) (resp... FILE: gomall/tutorial/ch08/demo/demo_proto/kitex_gen/pbapi/echo.pb.fast.go method FastRead (line 15) | func (x *Request) FastRead(buf []byte, _type int8, number int32) (offset... method fastReadField1 (line 35) | func (x *Request) fastReadField1(buf []byte, _type int8) (offset int, er... method FastRead (line 40) | func (x *Response) FastRead(buf []byte, _type int8, number int32) (offse... method fastReadField1 (line 60) | func (x *Response) fastReadField1(buf []byte, _type int8) (offset int, e... method FastWrite (line 65) | func (x *Request) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 73) | func (x *Request) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 81) | func (x *Response) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 89) | func (x *Response) fastWriteField1(buf []byte) (offset int) { method Size (line 97) | func (x *Request) Size() (n int) { method sizeField1 (line 105) | func (x *Request) sizeField1() (n int) { method Size (line 113) | func (x *Response) Size() (n int) { method sizeField1 (line 121) | func (x *Response) sizeField1() (n int) { FILE: gomall/tutorial/ch08/demo/demo_proto/kitex_gen/pbapi/echo.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Request (line 24) | type Request struct method Reset (line 32) | func (x *Request) Reset() { method String (line 41) | func (x *Request) String() string { method ProtoMessage (line 45) | func (*Request) ProtoMessage() {} method ProtoReflect (line 47) | func (x *Request) ProtoReflect() protoreflect.Message { method Descriptor (line 60) | func (*Request) Descriptor() ([]byte, []int) { method GetMessage (line 64) | func (x *Request) GetMessage() string { type Response (line 71) | type Response struct method Reset (line 79) | func (x *Response) Reset() { method String (line 88) | func (x *Response) String() string { method ProtoMessage (line 92) | func (*Response) ProtoMessage() {} method ProtoReflect (line 94) | func (x *Response) ProtoReflect() protoreflect.Message { method Descriptor (line 107) | func (*Response) Descriptor() ([]byte, []int) { method GetMessage (line 111) | func (x *Response) GetMessage() string { function file_echo_proto_rawDescGZIP (line 143) | func file_echo_proto_rawDescGZIP() []byte { function init (line 165) | func init() { file_echo_proto_init() } function file_echo_proto_init (line 166) | func file_echo_proto_init() { type Echo (line 220) | type Echo interface FILE: gomall/tutorial/ch08/demo/demo_proto/kitex_gen/pbapi/echo/client.go type Client (line 13) | type Client interface function NewClient (line 18) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 34) | func MustNewClient(destService string, opts ...client.Option) Client { type kEchoClient (line 42) | type kEchoClient struct method Echo (line 46) | func (p *kEchoClient) Echo(ctx context.Context, Req *pbapi.Request, ca... FILE: gomall/tutorial/ch08/demo/demo_proto/kitex_gen/pbapi/echo/echo.go function serviceInfo (line 14) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 20) | func NewServiceInfo() *kitex.ServiceInfo { function echoHandler (line 41) | func echoHandler(ctx context.Context, handler interface{}, arg, result i... function newEchoArgs (line 66) | func newEchoArgs() interface{} { function newEchoResult (line 70) | func newEchoResult() interface{} { type EchoArgs (line 74) | type EchoArgs struct method FastRead (line 78) | func (p *EchoArgs) FastRead(buf []byte, _type int8, number int32) (n i... method FastWrite (line 85) | func (p *EchoArgs) FastWrite(buf []byte) (n int) { method Size (line 92) | func (p *EchoArgs) Size() (n int) { method Marshal (line 99) | func (p *EchoArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 106) | func (p *EchoArgs) Unmarshal(in []byte) error { method GetReq (line 117) | func (p *EchoArgs) GetReq() *pbapi.Request { method IsSetReq (line 124) | func (p *EchoArgs) IsSetReq() bool { method GetFirstArgument (line 128) | func (p *EchoArgs) GetFirstArgument() interface{} { type EchoResult (line 132) | type EchoResult struct method FastRead (line 138) | func (p *EchoResult) FastRead(buf []byte, _type int8, number int32) (n... method FastWrite (line 145) | func (p *EchoResult) FastWrite(buf []byte) (n int) { method Size (line 152) | func (p *EchoResult) Size() (n int) { method Marshal (line 159) | func (p *EchoResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 166) | func (p *EchoResult) Unmarshal(in []byte) error { method GetSuccess (line 175) | func (p *EchoResult) GetSuccess() *pbapi.Response { method SetSuccess (line 182) | func (p *EchoResult) SetSuccess(x interface{}) { method IsSetSuccess (line 186) | func (p *EchoResult) IsSetSuccess() bool { method GetResult (line 190) | func (p *EchoResult) GetResult() interface{} { type kClient (line 194) | type kClient struct method Echo (line 204) | func (p *kClient) Echo(ctx context.Context, Req *pbapi.Request) (r *pb... function newServiceClient (line 198) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch08/demo/demo_proto/kitex_gen/pbapi/echo/invoker.go function NewInvoker (line 11) | func NewInvoker(handler pbapi.Echo, opts ...server.Option) server.Invoker { FILE: gomall/tutorial/ch08/demo/demo_proto/kitex_gen/pbapi/echo/server.go function NewServer (line 10) | func NewServer(handler pbapi.Echo, opts ...server.Option) server.Server { FILE: gomall/tutorial/ch08/demo/demo_proto/main.go function main (line 35) | func main() { function kitexInit (line 53) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch08/demo/demo_thrift/biz/dal/init.go function Init (line 22) | func Init() { FILE: gomall/tutorial/ch08/demo/demo_thrift/biz/dal/mysql/init.go function Init (line 29) | func Init() { FILE: gomall/tutorial/ch08/demo/demo_thrift/biz/dal/redis/init.go function Init (line 28) | func Init() { FILE: gomall/tutorial/ch08/demo/demo_thrift/biz/service/echo.go type EchoService (line 23) | type EchoService struct method Run (line 31) | func (s *EchoService) Run(req *api.Request) (resp *api.Response, err e... function NewEchoService (line 26) | func NewEchoService(ctx context.Context) *EchoService { FILE: gomall/tutorial/ch08/demo/demo_thrift/biz/service/echo_test.go function TestEcho_Run (line 23) | func TestEcho_Run(t *testing.T) { FILE: gomall/tutorial/ch08/demo/demo_thrift/cmd/client/client.go function main (line 32) | func main() { FILE: gomall/tutorial/ch08/demo/demo_thrift/conf/conf.go type Config (line 34) | type Config struct type MySQL (line 42) | type MySQL struct type Redis (line 46) | type Redis struct type Kitex (line 53) | type Kitex struct type Registry (line 66) | type Registry struct function GetConf (line 73) | func GetConf() *Config { function initConf (line 78) | func initConf() { function GetEnv (line 99) | func GetEnv() string { function LogLevel (line 107) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch08/demo/demo_thrift/handler.go type EchoImpl (line 25) | type EchoImpl struct method Echo (line 28) | func (s *EchoImpl) Echo(ctx context.Context, req *api.Request) (resp *... FILE: gomall/tutorial/ch08/demo/demo_thrift/kitex_gen/api/echo.go type Request (line 12) | type Request struct method InitDefault (line 20) | func (p *Request) InitDefault() { method GetMessage (line 24) | func (p *Request) GetMessage() (v string) { method SetMessage (line 27) | func (p *Request) SetMessage(val string) { method Read (line 35) | func (p *Request) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 94) | func (p *Request) ReadField1(iprot thrift.TProtocol) error { method Write (line 103) | func (p *Request) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 132) | func (p *Request) writeField1(oprot thrift.TProtocol) (err error) { method String (line 149) | func (p *Request) String() string { method DeepEqual (line 156) | func (p *Request) DeepEqual(ano *Request) bool { method Field1DeepEqual (line 168) | func (p *Request) Field1DeepEqual(src string) bool { function NewRequest (line 16) | func NewRequest() *Request { type Response (line 176) | type Response struct method InitDefault (line 184) | func (p *Response) InitDefault() { method GetMessage (line 188) | func (p *Response) GetMessage() (v string) { method SetMessage (line 191) | func (p *Response) SetMessage(val string) { method Read (line 199) | func (p *Response) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 258) | func (p *Response) ReadField1(iprot thrift.TProtocol) error { method Write (line 267) | func (p *Response) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 296) | func (p *Response) writeField1(oprot thrift.TProtocol) (err error) { method String (line 313) | func (p *Response) String() string { method DeepEqual (line 320) | func (p *Response) DeepEqual(ano *Response) bool { method Field1DeepEqual (line 332) | func (p *Response) Field1DeepEqual(src string) bool { function NewResponse (line 180) | func NewResponse() *Response { type Echo (line 340) | type Echo interface type EchoClient (line 344) | type EchoClient struct method Client_ (line 366) | func (p *EchoClient) Client_() thrift.TClient { method Echo (line 370) | func (p *EchoClient) Echo(ctx context.Context, req *Request) (r *Respo... function NewEchoClientFactory (line 348) | func NewEchoClientFactory(t thrift.TTransport, f thrift.TProtocolFactory... function NewEchoClientProtocol (line 354) | func NewEchoClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, ... function NewEchoClient (line 360) | func NewEchoClient(c thrift.TClient) *EchoClient { type EchoProcessor (line 380) | type EchoProcessor struct method AddToProcessorMap (line 385) | func (p *EchoProcessor) AddToProcessorMap(key string, processor thrift... method GetProcessorFunction (line 389) | func (p *EchoProcessor) GetProcessorFunction(key string) (processor th... method ProcessorMap (line 394) | func (p *EchoProcessor) ProcessorMap() map[string]thrift.TProcessorFun... method Process (line 403) | func (p *EchoProcessor) Process(ctx context.Context, iprot, oprot thri... function NewEchoProcessor (line 398) | func NewEchoProcessor(handler Echo) *EchoProcessor { type echoProcessorEcho (line 421) | type echoProcessorEcho struct method Process (line 425) | func (p *echoProcessorEcho) Process(ctx context.Context, seqId int32, ... type EchoEchoArgs (line 469) | type EchoEchoArgs struct method InitDefault (line 477) | func (p *EchoEchoArgs) InitDefault() { method GetReq (line 483) | func (p *EchoEchoArgs) GetReq() (v *Request) { method SetReq (line 489) | func (p *EchoEchoArgs) SetReq(val *Request) { method IsSetReq (line 497) | func (p *EchoEchoArgs) IsSetReq() bool { method Read (line 501) | func (p *EchoEchoArgs) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 560) | func (p *EchoEchoArgs) ReadField1(iprot thrift.TProtocol) error { method Write (line 568) | func (p *EchoEchoArgs) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 597) | func (p *EchoEchoArgs) writeField1(oprot thrift.TProtocol) (err error) { method String (line 614) | func (p *EchoEchoArgs) String() string { method DeepEqual (line 621) | func (p *EchoEchoArgs) DeepEqual(ano *EchoEchoArgs) bool { method Field1DeepEqual (line 633) | func (p *EchoEchoArgs) Field1DeepEqual(src *Request) bool { function NewEchoEchoArgs (line 473) | func NewEchoEchoArgs() *EchoEchoArgs { type EchoEchoResult (line 641) | type EchoEchoResult struct method InitDefault (line 649) | func (p *EchoEchoResult) InitDefault() { method GetSuccess (line 655) | func (p *EchoEchoResult) GetSuccess() (v *Response) { method SetSuccess (line 661) | func (p *EchoEchoResult) SetSuccess(x interface{}) { method IsSetSuccess (line 669) | func (p *EchoEchoResult) IsSetSuccess() bool { method Read (line 673) | func (p *EchoEchoResult) Read(iprot thrift.TProtocol) (err error) { method ReadField0 (line 732) | func (p *EchoEchoResult) ReadField0(iprot thrift.TProtocol) error { method Write (line 740) | func (p *EchoEchoResult) Write(oprot thrift.TProtocol) (err error) { method writeField0 (line 769) | func (p *EchoEchoResult) writeField0(oprot thrift.TProtocol) (err erro... method String (line 788) | func (p *EchoEchoResult) String() string { method DeepEqual (line 795) | func (p *EchoEchoResult) DeepEqual(ano *EchoEchoResult) bool { method Field0DeepEqual (line 807) | func (p *EchoEchoResult) Field0DeepEqual(src *Response) bool { function NewEchoEchoResult (line 645) | func NewEchoEchoResult() *EchoEchoResult { FILE: gomall/tutorial/ch08/demo/demo_thrift/kitex_gen/api/echo/client.go type Client (line 13) | type Client interface function NewClient (line 18) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 34) | func MustNewClient(destService string, opts ...client.Option) Client { type kEchoClient (line 42) | type kEchoClient struct method Echo (line 46) | func (p *kEchoClient) Echo(ctx context.Context, req *api.Request, call... FILE: gomall/tutorial/ch08/demo/demo_thrift/kitex_gen/api/echo/echo.go function serviceInfo (line 12) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 18) | func NewServiceInfo() *kitex.ServiceInfo { function echoHandler (line 39) | func echoHandler(ctx context.Context, handler interface{}, arg, result i... function newEchoEchoArgs (line 49) | func newEchoEchoArgs() interface{} { function newEchoEchoResult (line 53) | func newEchoEchoResult() interface{} { type kClient (line 57) | type kClient struct method Echo (line 67) | func (p *kClient) Echo(ctx context.Context, req *api.Request) (r *api.... function newServiceClient (line 61) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch08/demo/demo_thrift/kitex_gen/api/echo/invoker.go function NewInvoker (line 11) | func NewInvoker(handler api.Echo, opts ...server.Option) server.Invoker { FILE: gomall/tutorial/ch08/demo/demo_thrift/kitex_gen/api/echo/server.go function NewServer (line 10) | func NewServer(handler api.Echo, opts ...server.Option) server.Server { FILE: gomall/tutorial/ch08/demo/demo_thrift/kitex_gen/api/k-echo.go method FastRead (line 26) | func (p *Request) FastRead(buf []byte) (int, error) { method FastReadField1 (line 97) | func (p *Request) FastReadField1(buf []byte) (int, error) { method FastWrite (line 112) | func (p *Request) FastWrite(buf []byte) int { method FastWriteNocopy (line 116) | func (p *Request) FastWriteNocopy(buf []byte, binaryWriter bthrift.Binar... method BLength (line 127) | func (p *Request) BLength() int { method fastWriteField1 (line 138) | func (p *Request) fastWriteField1(buf []byte, binaryWriter bthrift.Binar... method field1Length (line 147) | func (p *Request) field1Length() int { method FastRead (line 156) | func (p *Response) FastRead(buf []byte) (int, error) { method FastReadField1 (line 227) | func (p *Response) FastReadField1(buf []byte) (int, error) { method FastWrite (line 242) | func (p *Response) FastWrite(buf []byte) int { method FastWriteNocopy (line 246) | func (p *Response) FastWriteNocopy(buf []byte, binaryWriter bthrift.Bina... method BLength (line 257) | func (p *Response) BLength() int { method fastWriteField1 (line 268) | func (p *Response) fastWriteField1(buf []byte, binaryWriter bthrift.Bina... method field1Length (line 277) | func (p *Response) field1Length() int { method FastRead (line 286) | func (p *EchoEchoArgs) FastRead(buf []byte) (int, error) { method FastReadField1 (line 357) | func (p *EchoEchoArgs) FastReadField1(buf []byte) (int, error) { method FastWrite (line 371) | func (p *EchoEchoArgs) FastWrite(buf []byte) int { method FastWriteNocopy (line 375) | func (p *EchoEchoArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.... method BLength (line 386) | func (p *EchoEchoArgs) BLength() int { method fastWriteField1 (line 397) | func (p *EchoEchoArgs) fastWriteField1(buf []byte, binaryWriter bthrift.... method field1Length (line 405) | func (p *EchoEchoArgs) field1Length() int { method FastRead (line 413) | func (p *EchoEchoResult) FastRead(buf []byte) (int, error) { method FastReadField0 (line 484) | func (p *EchoEchoResult) FastReadField0(buf []byte) (int, error) { method FastWrite (line 498) | func (p *EchoEchoResult) FastWrite(buf []byte) int { method FastWriteNocopy (line 502) | func (p *EchoEchoResult) FastWriteNocopy(buf []byte, binaryWriter bthrif... method BLength (line 513) | func (p *EchoEchoResult) BLength() int { method fastWriteField0 (line 524) | func (p *EchoEchoResult) fastWriteField0(buf []byte, binaryWriter bthrif... method field0Length (line 534) | func (p *EchoEchoResult) field0Length() int { method GetFirstArgument (line 544) | func (p *EchoEchoArgs) GetFirstArgument() interface{} { method GetResult (line 548) | func (p *EchoEchoResult) GetResult() interface{} { FILE: gomall/tutorial/ch08/demo/demo_thrift/main.go function main (line 33) | func main() { function kitexInit (line 44) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch08/hello_world/main.go function main (line 25) | func main() { FILE: gomall/tutorial/ch09/app/frontend/biz/dal/init.go function Init (line 22) | func Init() { FILE: gomall/tutorial/ch09/app/frontend/biz/dal/mysql/init.go function Init (line 28) | func Init() { FILE: gomall/tutorial/ch09/app/frontend/biz/dal/redis/init.go function Init (line 26) | func Init() { FILE: gomall/tutorial/ch09/app/frontend/biz/handler/auth/auth_service.go function Login (line 30) | func Login(ctx context.Context, c *app.RequestContext) { function Register (line 48) | func Register(ctx context.Context, c *app.RequestContext) { function Logout (line 68) | func Logout(ctx context.Context, c *app.RequestContext) { FILE: gomall/tutorial/ch09/app/frontend/biz/handler/auth/auth_service_test.go function TestLogin (line 26) | func TestLogin(t *testing.T) { function TestRegister (line 41) | func TestRegister(t *testing.T) { function TestLogout (line 56) | func TestLogout(t *testing.T) { FILE: gomall/tutorial/ch09/app/frontend/biz/handler/home/home_service.go function Home (line 29) | func Home(ctx context.Context, c *app.RequestContext) { FILE: gomall/tutorial/ch09/app/frontend/biz/handler/home/home_service_test.go function TestHome (line 26) | func TestHome(t *testing.T) { FILE: gomall/tutorial/ch09/app/frontend/biz/router/auth/auth_page.go function Register (line 31) | func Register(r *server.Hertz) { FILE: gomall/tutorial/ch09/app/frontend/biz/router/auth/middleware.go function rootMw (line 23) | func rootMw() []app.HandlerFunc { function _authMw (line 28) | func _authMw() []app.HandlerFunc { function _loginMw (line 33) | func _loginMw() []app.HandlerFunc { function _registerMw (line 38) | func _registerMw() []app.HandlerFunc { function _logoutMw (line 43) | func _logoutMw() []app.HandlerFunc { FILE: gomall/tutorial/ch09/app/frontend/biz/router/home/home.go function Register (line 31) | func Register(r *server.Hertz) { FILE: gomall/tutorial/ch09/app/frontend/biz/router/home/middleware.go function rootMw (line 23) | func rootMw() []app.HandlerFunc { function _homeMw (line 28) | func _homeMw() []app.HandlerFunc { FILE: gomall/tutorial/ch09/app/frontend/biz/router/register.go function GeneratedRegister (line 26) | func GeneratedRegister(r *server.Hertz) { FILE: gomall/tutorial/ch09/app/frontend/biz/service/home.go type HomeService (line 24) | type HomeService struct method Run (line 33) | func (h *HomeService) Run(req *common.Empty) (map[string]any, error) { function NewHomeService (line 29) | func NewHomeService(Context context.Context, RequestContext *app.Request... FILE: gomall/tutorial/ch09/app/frontend/biz/service/login.go type LoginService (line 27) | type LoginService struct method Run (line 36) | func (h *LoginService) Run(req *auth.LoginReq) (redirect string, err e... function NewLoginService (line 32) | func NewLoginService(Context context.Context, RequestContext *app.Reques... FILE: gomall/tutorial/ch09/app/frontend/biz/service/logout.go type LogoutService (line 25) | type LogoutService struct method Run (line 34) | func (h *LogoutService) Run(req *common.Empty) (resp *common.Empty, er... function NewLogoutService (line 30) | func NewLogoutService(Context context.Context, RequestContext *app.Reque... FILE: gomall/tutorial/ch09/app/frontend/biz/service/register.go type RegisterService (line 28) | type RegisterService struct method Run (line 37) | func (h *RegisterService) Run(req *auth.RegisterReq) (resp *common.Emp... function NewRegisterService (line 33) | func NewRegisterService(Context context.Context, RequestContext *app.Req... FILE: gomall/tutorial/ch09/app/frontend/biz/utils/resp.go function SendErrResponse (line 25) | func SendErrResponse(ctx context.Context, c *app.RequestContext, code in... function SendSuccessResponse (line 31) | func SendSuccessResponse(ctx context.Context, c *app.RequestContext, cod... function WarpResponse (line 36) | func WarpResponse(ctx context.Context, c *app.RequestContext, content ma... FILE: gomall/tutorial/ch09/app/frontend/conf/conf.go type Config (line 34) | type Config struct type MySQL (line 42) | type MySQL struct type Redis (line 46) | type Redis struct type Hertz (line 53) | type Hertz struct function GetConf (line 67) | func GetConf() *Config { function initConf (line 72) | func initConf() { function GetEnv (line 96) | func GetEnv() string { function LogLevel (line 104) | func LogLevel() hlog.Level { FILE: gomall/tutorial/ch09/app/frontend/hertz_gen/api/api.pb.go constant _ (line 18) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 20) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) function init (line 651) | func init() { file_api_proto_init() } function file_api_proto_init (line 652) | func file_api_proto_init() { FILE: gomall/tutorial/ch09/app/frontend/hertz_gen/frontend/auth/auth_page.pb.go constant _ (line 20) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 22) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type LoginReq (line 25) | type LoginReq struct method Reset (line 35) | func (x *LoginReq) Reset() { method String (line 44) | func (x *LoginReq) String() string { method ProtoMessage (line 48) | func (*LoginReq) ProtoMessage() {} method ProtoReflect (line 50) | func (x *LoginReq) ProtoReflect() protoreflect.Message { method Descriptor (line 63) | func (*LoginReq) Descriptor() ([]byte, []int) { method GetEmail (line 67) | func (x *LoginReq) GetEmail() string { method GetPassword (line 74) | func (x *LoginReq) GetPassword() string { method GetNext (line 81) | func (x *LoginReq) GetNext() string { type RegisterReq (line 88) | type RegisterReq struct method Reset (line 98) | func (x *RegisterReq) Reset() { method String (line 107) | func (x *RegisterReq) String() string { method ProtoMessage (line 111) | func (*RegisterReq) ProtoMessage() {} method ProtoReflect (line 113) | func (x *RegisterReq) ProtoReflect() protoreflect.Message { method Descriptor (line 126) | func (*RegisterReq) Descriptor() ([]byte, []int) { method GetEmail (line 130) | func (x *RegisterReq) GetEmail() string { method GetPassword (line 137) | func (x *RegisterReq) GetPassword() string { method GetPasswordConfirm (line 144) | func (x *RegisterReq) GetPasswordConfirm() string { function file_auth_page_proto_rawDescGZIP (line 204) | func file_auth_page_proto_rawDescGZIP() []byte { function init (line 231) | func init() { file_auth_page_proto_init() } function file_auth_page_proto_init (line 232) | func file_auth_page_proto_init() { FILE: gomall/tutorial/ch09/app/frontend/hertz_gen/frontend/common/common.pb.go constant _ (line 18) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 20) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Empty (line 23) | type Empty struct method Reset (line 29) | func (x *Empty) Reset() { method String (line 38) | func (x *Empty) String() string { method ProtoMessage (line 42) | func (*Empty) ProtoMessage() {} method ProtoReflect (line 44) | func (x *Empty) ProtoReflect() protoreflect.Message { method Descriptor (line 57) | func (*Empty) Descriptor() ([]byte, []int) { function file_frontend_common_proto_rawDescGZIP (line 80) | func file_frontend_common_proto_rawDescGZIP() []byte { function init (line 99) | func init() { file_frontend_common_proto_init() } function file_frontend_common_proto_init (line 100) | func file_frontend_common_proto_init() { FILE: gomall/tutorial/ch09/app/frontend/hertz_gen/frontend/home/home.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) function init (line 56) | func init() { file_home_proto_init() } function file_home_proto_init (line 57) | func file_home_proto_init() { FILE: gomall/tutorial/ch09/app/frontend/infra/rpc/client.go function InitClient (line 33) | func InitClient() { function initUserClient (line 39) | func initUserClient() { FILE: gomall/tutorial/ch09/app/frontend/infra/rpc/client_test.go function Test_iniUserClient (line 24) | func Test_iniUserClient(t *testing.T) { FILE: gomall/tutorial/ch09/app/frontend/main.go function main (line 46) | func main() { function registerMiddleware (line 83) | func registerMiddleware(h *server.Hertz) { FILE: gomall/tutorial/ch09/app/frontend/middleware/auth.go function GlobalAuth (line 26) | func GlobalAuth() app.HandlerFunc { function Auth (line 34) | func Auth() app.HandlerFunc { FILE: gomall/tutorial/ch09/app/frontend/middleware/middleware.go function Register (line 19) | func Register(h *server.Hertz) { FILE: gomall/tutorial/ch09/app/frontend/utils/constant.go type SessionUserIdKey (line 17) | type SessionUserIdKey constant SessionUserId (line 19) | SessionUserId SessionUserIdKey = "user_id" FILE: gomall/tutorial/ch09/app/frontend/utils/errors.go function MustHandleError (line 19) | func MustHandleError(err error) { FILE: gomall/tutorial/ch09/app/frontend/utils/function.go function GetUserIdFromCtx (line 19) | func GetUserIdFromCtx(ctx context.Context) int32 { FILE: gomall/tutorial/ch09/app/user/biz/dal/init.go function Init (line 22) | func Init() { FILE: gomall/tutorial/ch09/app/user/biz/dal/mysql/init.go function Init (line 33) | func Init() { FILE: gomall/tutorial/ch09/app/user/biz/dal/redis/init.go function Init (line 28) | func Init() { FILE: gomall/tutorial/ch09/app/user/biz/model/user.go type User (line 23) | type User struct method TableName (line 29) | func (User) TableName() string { function Create (line 33) | func Create(ctx context.Context, db *gorm.DB, user *User) error { function GetByEmail (line 37) | func GetByEmail(ctx context.Context, db *gorm.DB, email string) (*User, ... FILE: gomall/tutorial/ch09/app/user/biz/service/login.go type LoginService (line 27) | type LoginService struct method Run (line 35) | func (s *LoginService) Run(req *user.LoginReq) (resp *user.LoginResp, ... function NewLoginService (line 30) | func NewLoginService(ctx context.Context) *LoginService { FILE: gomall/tutorial/ch09/app/user/biz/service/login_test.go function TestLogin_Run (line 26) | func TestLogin_Run(t *testing.T) { FILE: gomall/tutorial/ch09/app/user/biz/service/register.go type RegisterService (line 27) | type RegisterService struct method Run (line 35) | func (s *RegisterService) Run(req *user.RegisterReq) (resp *user.Regis... function NewRegisterService (line 30) | func NewRegisterService(ctx context.Context) *RegisterService { FILE: gomall/tutorial/ch09/app/user/biz/service/register_test.go function TestRegister_Run (line 26) | func TestRegister_Run(t *testing.T) { FILE: gomall/tutorial/ch09/app/user/conf/conf.go type Config (line 34) | type Config struct type MySQL (line 42) | type MySQL struct type Redis (line 46) | type Redis struct type Kitex (line 53) | type Kitex struct type Registry (line 66) | type Registry struct function GetConf (line 73) | func GetConf() *Config { function initConf (line 78) | func initConf() { function GetEnv (line 99) | func GetEnv() string { function LogLevel (line 107) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch09/app/user/handler.go type UserServiceImpl (line 25) | type UserServiceImpl struct method Register (line 28) | func (s *UserServiceImpl) Register(ctx context.Context, req *user.Regi... method Login (line 35) | func (s *UserServiceImpl) Login(ctx context.Context, req *user.LoginRe... FILE: gomall/tutorial/ch09/app/user/main.go function main (line 34) | func main() { function kitexInit (line 51) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch09/demo/demo_proto/biz/dal/init.go function Init (line 21) | func Init() { FILE: gomall/tutorial/ch09/demo/demo_proto/biz/dal/mysql/init.go function Init (line 33) | func Init() { FILE: gomall/tutorial/ch09/demo/demo_proto/biz/dal/redis/init.go function Init (line 28) | func Init() { FILE: gomall/tutorial/ch09/demo/demo_proto/biz/model/user.go type User (line 19) | type User struct method TableName (line 25) | func (User) TableName() string { FILE: gomall/tutorial/ch09/demo/demo_proto/biz/service/echo.go type EchoService (line 23) | type EchoService struct method Run (line 31) | func (s *EchoService) Run(req *pbapi.Request) (resp *pbapi.Response, e... function NewEchoService (line 26) | func NewEchoService(ctx context.Context) *EchoService { FILE: gomall/tutorial/ch09/demo/demo_proto/biz/service/echo_test.go function TestEcho_Run (line 24) | func TestEcho_Run(t *testing.T) { FILE: gomall/tutorial/ch09/demo/demo_proto/cmd/client/client.go function main (line 32) | func main() { FILE: gomall/tutorial/ch09/demo/demo_proto/cmd/dbop/db.go function main (line 26) | func main() { FILE: gomall/tutorial/ch09/demo/demo_proto/conf/conf.go type Config (line 33) | type Config struct type MySQL (line 41) | type MySQL struct type Redis (line 45) | type Redis struct type Kitex (line 52) | type Kitex struct type Registry (line 65) | type Registry struct function GetConf (line 72) | func GetConf() *Config { function initConf (line 77) | func initConf() { function GetEnv (line 98) | func GetEnv() string { function LogLevel (line 106) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch09/demo/demo_proto/handler.go type EchoImpl (line 25) | type EchoImpl struct method Echo (line 28) | func (s *EchoImpl) Echo(ctx context.Context, req *pbapi.Request) (resp... FILE: gomall/tutorial/ch09/demo/demo_proto/kitex_gen/pbapi/echo.pb.fast.go method FastRead (line 15) | func (x *Request) FastRead(buf []byte, _type int8, number int32) (offset... method fastReadField1 (line 35) | func (x *Request) fastReadField1(buf []byte, _type int8) (offset int, er... method FastRead (line 40) | func (x *Response) FastRead(buf []byte, _type int8, number int32) (offse... method fastReadField1 (line 60) | func (x *Response) fastReadField1(buf []byte, _type int8) (offset int, e... method FastWrite (line 65) | func (x *Request) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 73) | func (x *Request) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 81) | func (x *Response) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 89) | func (x *Response) fastWriteField1(buf []byte) (offset int) { method Size (line 97) | func (x *Request) Size() (n int) { method sizeField1 (line 105) | func (x *Request) sizeField1() (n int) { method Size (line 113) | func (x *Response) Size() (n int) { method sizeField1 (line 121) | func (x *Response) sizeField1() (n int) { FILE: gomall/tutorial/ch09/demo/demo_proto/kitex_gen/pbapi/echo.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Request (line 24) | type Request struct method Reset (line 32) | func (x *Request) Reset() { method String (line 41) | func (x *Request) String() string { method ProtoMessage (line 45) | func (*Request) ProtoMessage() {} method ProtoReflect (line 47) | func (x *Request) ProtoReflect() protoreflect.Message { method Descriptor (line 60) | func (*Request) Descriptor() ([]byte, []int) { method GetMessage (line 64) | func (x *Request) GetMessage() string { type Response (line 71) | type Response struct method Reset (line 79) | func (x *Response) Reset() { method String (line 88) | func (x *Response) String() string { method ProtoMessage (line 92) | func (*Response) ProtoMessage() {} method ProtoReflect (line 94) | func (x *Response) ProtoReflect() protoreflect.Message { method Descriptor (line 107) | func (*Response) Descriptor() ([]byte, []int) { method GetMessage (line 111) | func (x *Response) GetMessage() string { function file_echo_proto_rawDescGZIP (line 143) | func file_echo_proto_rawDescGZIP() []byte { function init (line 165) | func init() { file_echo_proto_init() } function file_echo_proto_init (line 166) | func file_echo_proto_init() { type Echo (line 220) | type Echo interface FILE: gomall/tutorial/ch09/demo/demo_proto/kitex_gen/pbapi/echo/client.go type Client (line 13) | type Client interface function NewClient (line 18) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 34) | func MustNewClient(destService string, opts ...client.Option) Client { type kEchoClient (line 42) | type kEchoClient struct method Echo (line 46) | func (p *kEchoClient) Echo(ctx context.Context, Req *pbapi.Request, ca... FILE: gomall/tutorial/ch09/demo/demo_proto/kitex_gen/pbapi/echo/echo.go function serviceInfo (line 14) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 20) | func NewServiceInfo() *kitex.ServiceInfo { function echoHandler (line 41) | func echoHandler(ctx context.Context, handler interface{}, arg, result i... function newEchoArgs (line 66) | func newEchoArgs() interface{} { function newEchoResult (line 70) | func newEchoResult() interface{} { type EchoArgs (line 74) | type EchoArgs struct method FastRead (line 78) | func (p *EchoArgs) FastRead(buf []byte, _type int8, number int32) (n i... method FastWrite (line 85) | func (p *EchoArgs) FastWrite(buf []byte) (n int) { method Size (line 92) | func (p *EchoArgs) Size() (n int) { method Marshal (line 99) | func (p *EchoArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 106) | func (p *EchoArgs) Unmarshal(in []byte) error { method GetReq (line 117) | func (p *EchoArgs) GetReq() *pbapi.Request { method IsSetReq (line 124) | func (p *EchoArgs) IsSetReq() bool { method GetFirstArgument (line 128) | func (p *EchoArgs) GetFirstArgument() interface{} { type EchoResult (line 132) | type EchoResult struct method FastRead (line 138) | func (p *EchoResult) FastRead(buf []byte, _type int8, number int32) (n... method FastWrite (line 145) | func (p *EchoResult) FastWrite(buf []byte) (n int) { method Size (line 152) | func (p *EchoResult) Size() (n int) { method Marshal (line 159) | func (p *EchoResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 166) | func (p *EchoResult) Unmarshal(in []byte) error { method GetSuccess (line 175) | func (p *EchoResult) GetSuccess() *pbapi.Response { method SetSuccess (line 182) | func (p *EchoResult) SetSuccess(x interface{}) { method IsSetSuccess (line 186) | func (p *EchoResult) IsSetSuccess() bool { method GetResult (line 190) | func (p *EchoResult) GetResult() interface{} { type kClient (line 194) | type kClient struct method Echo (line 204) | func (p *kClient) Echo(ctx context.Context, Req *pbapi.Request) (r *pb... function newServiceClient (line 198) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch09/demo/demo_proto/kitex_gen/pbapi/echo/invoker.go function NewInvoker (line 11) | func NewInvoker(handler pbapi.Echo, opts ...server.Option) server.Invoker { FILE: gomall/tutorial/ch09/demo/demo_proto/kitex_gen/pbapi/echo/server.go function NewServer (line 10) | func NewServer(handler pbapi.Echo, opts ...server.Option) server.Server { FILE: gomall/tutorial/ch09/demo/demo_proto/main.go function main (line 35) | func main() { function kitexInit (line 53) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch09/demo/demo_thrift/biz/dal/init.go function Init (line 22) | func Init() { FILE: gomall/tutorial/ch09/demo/demo_thrift/biz/dal/mysql/init.go function Init (line 29) | func Init() { FILE: gomall/tutorial/ch09/demo/demo_thrift/biz/dal/redis/init.go function Init (line 28) | func Init() { FILE: gomall/tutorial/ch09/demo/demo_thrift/biz/service/echo.go type EchoService (line 23) | type EchoService struct method Run (line 31) | func (s *EchoService) Run(req *api.Request) (resp *api.Response, err e... function NewEchoService (line 26) | func NewEchoService(ctx context.Context) *EchoService { FILE: gomall/tutorial/ch09/demo/demo_thrift/biz/service/echo_test.go function TestEcho_Run (line 24) | func TestEcho_Run(t *testing.T) { FILE: gomall/tutorial/ch09/demo/demo_thrift/cmd/client/client.go function main (line 32) | func main() { FILE: gomall/tutorial/ch09/demo/demo_thrift/conf/conf.go type Config (line 34) | type Config struct type MySQL (line 42) | type MySQL struct type Redis (line 46) | type Redis struct type Kitex (line 53) | type Kitex struct type Registry (line 66) | type Registry struct function GetConf (line 73) | func GetConf() *Config { function initConf (line 78) | func initConf() { function GetEnv (line 99) | func GetEnv() string { function LogLevel (line 107) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch09/demo/demo_thrift/handler.go type EchoImpl (line 25) | type EchoImpl struct method Echo (line 28) | func (s *EchoImpl) Echo(ctx context.Context, req *api.Request) (resp *... FILE: gomall/tutorial/ch09/demo/demo_thrift/kitex_gen/api/echo.go type Request (line 12) | type Request struct method InitDefault (line 20) | func (p *Request) InitDefault() { method GetMessage (line 24) | func (p *Request) GetMessage() (v string) { method SetMessage (line 27) | func (p *Request) SetMessage(val string) { method Read (line 35) | func (p *Request) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 94) | func (p *Request) ReadField1(iprot thrift.TProtocol) error { method Write (line 103) | func (p *Request) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 132) | func (p *Request) writeField1(oprot thrift.TProtocol) (err error) { method String (line 149) | func (p *Request) String() string { method DeepEqual (line 156) | func (p *Request) DeepEqual(ano *Request) bool { method Field1DeepEqual (line 168) | func (p *Request) Field1DeepEqual(src string) bool { function NewRequest (line 16) | func NewRequest() *Request { type Response (line 176) | type Response struct method InitDefault (line 184) | func (p *Response) InitDefault() { method GetMessage (line 188) | func (p *Response) GetMessage() (v string) { method SetMessage (line 191) | func (p *Response) SetMessage(val string) { method Read (line 199) | func (p *Response) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 258) | func (p *Response) ReadField1(iprot thrift.TProtocol) error { method Write (line 267) | func (p *Response) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 296) | func (p *Response) writeField1(oprot thrift.TProtocol) (err error) { method String (line 313) | func (p *Response) String() string { method DeepEqual (line 320) | func (p *Response) DeepEqual(ano *Response) bool { method Field1DeepEqual (line 332) | func (p *Response) Field1DeepEqual(src string) bool { function NewResponse (line 180) | func NewResponse() *Response { type Echo (line 340) | type Echo interface type EchoClient (line 344) | type EchoClient struct method Client_ (line 366) | func (p *EchoClient) Client_() thrift.TClient { method Echo (line 370) | func (p *EchoClient) Echo(ctx context.Context, req *Request) (r *Respo... function NewEchoClientFactory (line 348) | func NewEchoClientFactory(t thrift.TTransport, f thrift.TProtocolFactory... function NewEchoClientProtocol (line 354) | func NewEchoClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, ... function NewEchoClient (line 360) | func NewEchoClient(c thrift.TClient) *EchoClient { type EchoProcessor (line 380) | type EchoProcessor struct method AddToProcessorMap (line 385) | func (p *EchoProcessor) AddToProcessorMap(key string, processor thrift... method GetProcessorFunction (line 389) | func (p *EchoProcessor) GetProcessorFunction(key string) (processor th... method ProcessorMap (line 394) | func (p *EchoProcessor) ProcessorMap() map[string]thrift.TProcessorFun... method Process (line 403) | func (p *EchoProcessor) Process(ctx context.Context, iprot, oprot thri... function NewEchoProcessor (line 398) | func NewEchoProcessor(handler Echo) *EchoProcessor { type echoProcessorEcho (line 421) | type echoProcessorEcho struct method Process (line 425) | func (p *echoProcessorEcho) Process(ctx context.Context, seqId int32, ... type EchoEchoArgs (line 469) | type EchoEchoArgs struct method InitDefault (line 477) | func (p *EchoEchoArgs) InitDefault() { method GetReq (line 483) | func (p *EchoEchoArgs) GetReq() (v *Request) { method SetReq (line 489) | func (p *EchoEchoArgs) SetReq(val *Request) { method IsSetReq (line 497) | func (p *EchoEchoArgs) IsSetReq() bool { method Read (line 501) | func (p *EchoEchoArgs) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 560) | func (p *EchoEchoArgs) ReadField1(iprot thrift.TProtocol) error { method Write (line 568) | func (p *EchoEchoArgs) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 597) | func (p *EchoEchoArgs) writeField1(oprot thrift.TProtocol) (err error) { method String (line 614) | func (p *EchoEchoArgs) String() string { method DeepEqual (line 621) | func (p *EchoEchoArgs) DeepEqual(ano *EchoEchoArgs) bool { method Field1DeepEqual (line 633) | func (p *EchoEchoArgs) Field1DeepEqual(src *Request) bool { function NewEchoEchoArgs (line 473) | func NewEchoEchoArgs() *EchoEchoArgs { type EchoEchoResult (line 641) | type EchoEchoResult struct method InitDefault (line 649) | func (p *EchoEchoResult) InitDefault() { method GetSuccess (line 655) | func (p *EchoEchoResult) GetSuccess() (v *Response) { method SetSuccess (line 661) | func (p *EchoEchoResult) SetSuccess(x interface{}) { method IsSetSuccess (line 669) | func (p *EchoEchoResult) IsSetSuccess() bool { method Read (line 673) | func (p *EchoEchoResult) Read(iprot thrift.TProtocol) (err error) { method ReadField0 (line 732) | func (p *EchoEchoResult) ReadField0(iprot thrift.TProtocol) error { method Write (line 740) | func (p *EchoEchoResult) Write(oprot thrift.TProtocol) (err error) { method writeField0 (line 769) | func (p *EchoEchoResult) writeField0(oprot thrift.TProtocol) (err erro... method String (line 788) | func (p *EchoEchoResult) String() string { method DeepEqual (line 795) | func (p *EchoEchoResult) DeepEqual(ano *EchoEchoResult) bool { method Field0DeepEqual (line 807) | func (p *EchoEchoResult) Field0DeepEqual(src *Response) bool { function NewEchoEchoResult (line 645) | func NewEchoEchoResult() *EchoEchoResult { FILE: gomall/tutorial/ch09/demo/demo_thrift/kitex_gen/api/echo/client.go type Client (line 13) | type Client interface function NewClient (line 18) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 34) | func MustNewClient(destService string, opts ...client.Option) Client { type kEchoClient (line 42) | type kEchoClient struct method Echo (line 46) | func (p *kEchoClient) Echo(ctx context.Context, req *api.Request, call... FILE: gomall/tutorial/ch09/demo/demo_thrift/kitex_gen/api/echo/echo.go function serviceInfo (line 12) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 18) | func NewServiceInfo() *kitex.ServiceInfo { function echoHandler (line 39) | func echoHandler(ctx context.Context, handler interface{}, arg, result i... function newEchoEchoArgs (line 49) | func newEchoEchoArgs() interface{} { function newEchoEchoResult (line 53) | func newEchoEchoResult() interface{} { type kClient (line 57) | type kClient struct method Echo (line 67) | func (p *kClient) Echo(ctx context.Context, req *api.Request) (r *api.... function newServiceClient (line 61) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch09/demo/demo_thrift/kitex_gen/api/echo/invoker.go function NewInvoker (line 11) | func NewInvoker(handler api.Echo, opts ...server.Option) server.Invoker { FILE: gomall/tutorial/ch09/demo/demo_thrift/kitex_gen/api/echo/server.go function NewServer (line 10) | func NewServer(handler api.Echo, opts ...server.Option) server.Server { FILE: gomall/tutorial/ch09/demo/demo_thrift/kitex_gen/api/k-echo.go method FastRead (line 26) | func (p *Request) FastRead(buf []byte) (int, error) { method FastReadField1 (line 97) | func (p *Request) FastReadField1(buf []byte) (int, error) { method FastWrite (line 112) | func (p *Request) FastWrite(buf []byte) int { method FastWriteNocopy (line 116) | func (p *Request) FastWriteNocopy(buf []byte, binaryWriter bthrift.Binar... method BLength (line 127) | func (p *Request) BLength() int { method fastWriteField1 (line 138) | func (p *Request) fastWriteField1(buf []byte, binaryWriter bthrift.Binar... method field1Length (line 147) | func (p *Request) field1Length() int { method FastRead (line 156) | func (p *Response) FastRead(buf []byte) (int, error) { method FastReadField1 (line 227) | func (p *Response) FastReadField1(buf []byte) (int, error) { method FastWrite (line 242) | func (p *Response) FastWrite(buf []byte) int { method FastWriteNocopy (line 246) | func (p *Response) FastWriteNocopy(buf []byte, binaryWriter bthrift.Bina... method BLength (line 257) | func (p *Response) BLength() int { method fastWriteField1 (line 268) | func (p *Response) fastWriteField1(buf []byte, binaryWriter bthrift.Bina... method field1Length (line 277) | func (p *Response) field1Length() int { method FastRead (line 286) | func (p *EchoEchoArgs) FastRead(buf []byte) (int, error) { method FastReadField1 (line 357) | func (p *EchoEchoArgs) FastReadField1(buf []byte) (int, error) { method FastWrite (line 371) | func (p *EchoEchoArgs) FastWrite(buf []byte) int { method FastWriteNocopy (line 375) | func (p *EchoEchoArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.... method BLength (line 386) | func (p *EchoEchoArgs) BLength() int { method fastWriteField1 (line 397) | func (p *EchoEchoArgs) fastWriteField1(buf []byte, binaryWriter bthrift.... method field1Length (line 405) | func (p *EchoEchoArgs) field1Length() int { method FastRead (line 413) | func (p *EchoEchoResult) FastRead(buf []byte) (int, error) { method FastReadField0 (line 484) | func (p *EchoEchoResult) FastReadField0(buf []byte) (int, error) { method FastWrite (line 498) | func (p *EchoEchoResult) FastWrite(buf []byte) int { method FastWriteNocopy (line 502) | func (p *EchoEchoResult) FastWriteNocopy(buf []byte, binaryWriter bthrif... method BLength (line 513) | func (p *EchoEchoResult) BLength() int { method fastWriteField0 (line 524) | func (p *EchoEchoResult) fastWriteField0(buf []byte, binaryWriter bthrif... method field0Length (line 534) | func (p *EchoEchoResult) field0Length() int { method GetFirstArgument (line 544) | func (p *EchoEchoArgs) GetFirstArgument() interface{} { method GetResult (line 548) | func (p *EchoEchoResult) GetResult() interface{} { FILE: gomall/tutorial/ch09/demo/demo_thrift/main.go function main (line 33) | func main() { function kitexInit (line 44) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch09/hello_world/main.go function main (line 25) | func main() { FILE: gomall/tutorial/ch09/rpc_gen/kitex_gen/user/user.pb.fast.go method FastRead (line 15) | func (x *RegisterReq) FastRead(buf []byte, _type int8, number int32) (of... method fastReadField1 (line 45) | func (x *RegisterReq) fastReadField1(buf []byte, _type int8) (offset int... method fastReadField2 (line 50) | func (x *RegisterReq) fastReadField2(buf []byte, _type int8) (offset int... method fastReadField3 (line 55) | func (x *RegisterReq) fastReadField3(buf []byte, _type int8) (offset int... method FastRead (line 60) | func (x *RegisterResp) FastRead(buf []byte, _type int8, number int32) (o... method fastReadField1 (line 80) | func (x *RegisterResp) fastReadField1(buf []byte, _type int8) (offset in... method FastRead (line 85) | func (x *LoginReq) FastRead(buf []byte, _type int8, number int32) (offse... method fastReadField1 (line 110) | func (x *LoginReq) fastReadField1(buf []byte, _type int8) (offset int, e... method fastReadField2 (line 115) | func (x *LoginReq) fastReadField2(buf []byte, _type int8) (offset int, e... method FastRead (line 120) | func (x *LoginResp) FastRead(buf []byte, _type int8, number int32) (offs... method fastReadField1 (line 140) | func (x *LoginResp) fastReadField1(buf []byte, _type int8) (offset int, ... method FastWrite (line 145) | func (x *RegisterReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 155) | func (x *RegisterReq) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 163) | func (x *RegisterReq) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 171) | func (x *RegisterReq) fastWriteField3(buf []byte) (offset int) { method FastWrite (line 179) | func (x *RegisterResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 187) | func (x *RegisterResp) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 195) | func (x *LoginReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 204) | func (x *LoginReq) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 212) | func (x *LoginReq) fastWriteField2(buf []byte) (offset int) { method FastWrite (line 220) | func (x *LoginResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 228) | func (x *LoginResp) fastWriteField1(buf []byte) (offset int) { method Size (line 236) | func (x *RegisterReq) Size() (n int) { method sizeField1 (line 246) | func (x *RegisterReq) sizeField1() (n int) { method sizeField2 (line 254) | func (x *RegisterReq) sizeField2() (n int) { method sizeField3 (line 262) | func (x *RegisterReq) sizeField3() (n int) { method Size (line 270) | func (x *RegisterResp) Size() (n int) { method sizeField1 (line 278) | func (x *RegisterResp) sizeField1() (n int) { method Size (line 286) | func (x *LoginReq) Size() (n int) { method sizeField1 (line 295) | func (x *LoginReq) sizeField1() (n int) { method sizeField2 (line 303) | func (x *LoginReq) sizeField2() (n int) { method Size (line 311) | func (x *LoginResp) Size() (n int) { method sizeField1 (line 319) | func (x *LoginResp) sizeField1() (n int) { FILE: gomall/tutorial/ch09/rpc_gen/kitex_gen/user/user.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type RegisterReq (line 24) | type RegisterReq struct method Reset (line 34) | func (x *RegisterReq) Reset() { method String (line 43) | func (x *RegisterReq) String() string { method ProtoMessage (line 47) | func (*RegisterReq) ProtoMessage() {} method ProtoReflect (line 49) | func (x *RegisterReq) ProtoReflect() protoreflect.Message { method Descriptor (line 62) | func (*RegisterReq) Descriptor() ([]byte, []int) { method GetEmail (line 66) | func (x *RegisterReq) GetEmail() string { method GetPassword (line 73) | func (x *RegisterReq) GetPassword() string { method GetPasswordConfirm (line 80) | func (x *RegisterReq) GetPasswordConfirm() string { type RegisterResp (line 87) | type RegisterResp struct method Reset (line 95) | func (x *RegisterResp) Reset() { method String (line 104) | func (x *RegisterResp) String() string { method ProtoMessage (line 108) | func (*RegisterResp) ProtoMessage() {} method ProtoReflect (line 110) | func (x *RegisterResp) ProtoReflect() protoreflect.Message { method Descriptor (line 123) | func (*RegisterResp) Descriptor() ([]byte, []int) { method GetUserId (line 127) | func (x *RegisterResp) GetUserId() int32 { type LoginReq (line 134) | type LoginReq struct method Reset (line 143) | func (x *LoginReq) Reset() { method String (line 152) | func (x *LoginReq) String() string { method ProtoMessage (line 156) | func (*LoginReq) ProtoMessage() {} method ProtoReflect (line 158) | func (x *LoginReq) ProtoReflect() protoreflect.Message { method Descriptor (line 171) | func (*LoginReq) Descriptor() ([]byte, []int) { method GetEmail (line 175) | func (x *LoginReq) GetEmail() string { method GetPassword (line 182) | func (x *LoginReq) GetPassword() string { type LoginResp (line 189) | type LoginResp struct method Reset (line 197) | func (x *LoginResp) Reset() { method String (line 206) | func (x *LoginResp) String() string { method ProtoMessage (line 210) | func (*LoginResp) ProtoMessage() {} method ProtoReflect (line 212) | func (x *LoginResp) ProtoReflect() protoreflect.Message { method Descriptor (line 225) | func (*LoginResp) Descriptor() ([]byte, []int) { method GetUserId (line 229) | func (x *LoginResp) GetUserId() int32 { function file_user_proto_rawDescGZIP (line 275) | func file_user_proto_rawDescGZIP() []byte { function init (line 301) | func init() { file_user_proto_init() } function file_user_proto_init (line 302) | func file_user_proto_init() { type UserService (line 380) | type UserService interface FILE: gomall/tutorial/ch09/rpc_gen/kitex_gen/user/userservice/client.go type Client (line 13) | type Client interface function NewClient (line 19) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 35) | func MustNewClient(destService string, opts ...client.Option) Client { type kUserServiceClient (line 43) | type kUserServiceClient struct method Register (line 47) | func (p *kUserServiceClient) Register(ctx context.Context, Req *user.R... method Login (line 52) | func (p *kUserServiceClient) Login(ctx context.Context, Req *user.Logi... FILE: gomall/tutorial/ch09/rpc_gen/kitex_gen/user/userservice/invoker.go function NewInvoker (line 11) | func NewInvoker(handler user.UserService, opts ...server.Option) server.... FILE: gomall/tutorial/ch09/rpc_gen/kitex_gen/user/userservice/server.go function NewServer (line 10) | func NewServer(handler user.UserService, opts ...server.Option) server.S... FILE: gomall/tutorial/ch09/rpc_gen/kitex_gen/user/userservice/userservice.go function serviceInfo (line 14) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 20) | func NewServiceInfo() *kitex.ServiceInfo { function registerHandler (line 42) | func registerHandler(ctx context.Context, handler interface{}, arg, resu... function newRegisterArgs (line 67) | func newRegisterArgs() interface{} { function newRegisterResult (line 71) | func newRegisterResult() interface{} { type RegisterArgs (line 75) | type RegisterArgs struct method FastRead (line 79) | func (p *RegisterArgs) FastRead(buf []byte, _type int8, number int32) ... method FastWrite (line 86) | func (p *RegisterArgs) FastWrite(buf []byte) (n int) { method Size (line 93) | func (p *RegisterArgs) Size() (n int) { method Marshal (line 100) | func (p *RegisterArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 107) | func (p *RegisterArgs) Unmarshal(in []byte) error { method GetReq (line 118) | func (p *RegisterArgs) GetReq() *user.RegisterReq { method IsSetReq (line 125) | func (p *RegisterArgs) IsSetReq() bool { method GetFirstArgument (line 129) | func (p *RegisterArgs) GetFirstArgument() interface{} { type RegisterResult (line 133) | type RegisterResult struct method FastRead (line 139) | func (p *RegisterResult) FastRead(buf []byte, _type int8, number int32... method FastWrite (line 146) | func (p *RegisterResult) FastWrite(buf []byte) (n int) { method Size (line 153) | func (p *RegisterResult) Size() (n int) { method Marshal (line 160) | func (p *RegisterResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 167) | func (p *RegisterResult) Unmarshal(in []byte) error { method GetSuccess (line 176) | func (p *RegisterResult) GetSuccess() *user.RegisterResp { method SetSuccess (line 183) | func (p *RegisterResult) SetSuccess(x interface{}) { method IsSetSuccess (line 187) | func (p *RegisterResult) IsSetSuccess() bool { method GetResult (line 191) | func (p *RegisterResult) GetResult() interface{} { function loginHandler (line 195) | func loginHandler(ctx context.Context, handler interface{}, arg, result ... function newLoginArgs (line 220) | func newLoginArgs() interface{} { function newLoginResult (line 224) | func newLoginResult() interface{} { type LoginArgs (line 228) | type LoginArgs struct method FastRead (line 232) | func (p *LoginArgs) FastRead(buf []byte, _type int8, number int32) (n ... method FastWrite (line 239) | func (p *LoginArgs) FastWrite(buf []byte) (n int) { method Size (line 246) | func (p *LoginArgs) Size() (n int) { method Marshal (line 253) | func (p *LoginArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 260) | func (p *LoginArgs) Unmarshal(in []byte) error { method GetReq (line 271) | func (p *LoginArgs) GetReq() *user.LoginReq { method IsSetReq (line 278) | func (p *LoginArgs) IsSetReq() bool { method GetFirstArgument (line 282) | func (p *LoginArgs) GetFirstArgument() interface{} { type LoginResult (line 286) | type LoginResult struct method FastRead (line 292) | func (p *LoginResult) FastRead(buf []byte, _type int8, number int32) (... method FastWrite (line 299) | func (p *LoginResult) FastWrite(buf []byte) (n int) { method Size (line 306) | func (p *LoginResult) Size() (n int) { method Marshal (line 313) | func (p *LoginResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 320) | func (p *LoginResult) Unmarshal(in []byte) error { method GetSuccess (line 329) | func (p *LoginResult) GetSuccess() *user.LoginResp { method SetSuccess (line 336) | func (p *LoginResult) SetSuccess(x interface{}) { method IsSetSuccess (line 340) | func (p *LoginResult) IsSetSuccess() bool { method GetResult (line 344) | func (p *LoginResult) GetResult() interface{} { type kClient (line 348) | type kClient struct method Register (line 358) | func (p *kClient) Register(ctx context.Context, Req *user.RegisterReq)... method Login (line 368) | func (p *kClient) Login(ctx context.Context, Req *user.LoginReq) (r *u... function newServiceClient (line 352) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch09/rpc_gen/rpc/user/user_client.go type RPCClient (line 12) | type RPCClient interface function NewRPCClient (line 19) | func NewRPCClient(dstService string, opts ...client.Option) (RPCClient, ... type clientImpl (line 32) | type clientImpl struct method Service (line 37) | func (c *clientImpl) Service() string { method KitexClient (line 41) | func (c *clientImpl) KitexClient() userservice.Client { method Register (line 45) | func (c *clientImpl) Register(ctx context.Context, Req *user.RegisterR... method Login (line 49) | func (c *clientImpl) Login(ctx context.Context, Req *user.LoginReq, ca... FILE: gomall/tutorial/ch09/rpc_gen/rpc/user/user_default.go function Register (line 10) | func Register(ctx context.Context, req *user.RegisterReq, callOptions ..... function Login (line 19) | func Login(ctx context.Context, req *user.LoginReq, callOptions ...callo... FILE: gomall/tutorial/ch09/rpc_gen/rpc/user/user_init.go function init (line 19) | func init() { function DefaultClient (line 23) | func DefaultClient() RPCClient { function newClient (line 30) | func newClient(dstService string, opts ...client.Option) RPCClient { function InitClient (line 38) | func InitClient(dstService string, opts ...client.Option) { FILE: gomall/tutorial/ch10/app/frontend/biz/dal/init.go function Init (line 22) | func Init() { FILE: gomall/tutorial/ch10/app/frontend/biz/dal/mysql/init.go function Init (line 28) | func Init() { FILE: gomall/tutorial/ch10/app/frontend/biz/dal/redis/init.go function Init (line 26) | func Init() { FILE: gomall/tutorial/ch10/app/frontend/biz/handler/auth/auth_service.go function Login (line 30) | func Login(ctx context.Context, c *app.RequestContext) { function Register (line 48) | func Register(ctx context.Context, c *app.RequestContext) { function Logout (line 68) | func Logout(ctx context.Context, c *app.RequestContext) { FILE: gomall/tutorial/ch10/app/frontend/biz/handler/auth/auth_service_test.go function TestLogin (line 26) | func TestLogin(t *testing.T) { function TestRegister (line 41) | func TestRegister(t *testing.T) { function TestLogout (line 56) | func TestLogout(t *testing.T) { FILE: gomall/tutorial/ch10/app/frontend/biz/handler/category/category_service.go function Category (line 29) | func Category(ctx context.Context, c *app.RequestContext) { FILE: gomall/tutorial/ch10/app/frontend/biz/handler/category/category_service_test.go function TestCategory (line 26) | func TestCategory(t *testing.T) { FILE: gomall/tutorial/ch10/app/frontend/biz/handler/home/home_service.go function Home (line 29) | func Home(ctx context.Context, c *app.RequestContext) { FILE: gomall/tutorial/ch10/app/frontend/biz/handler/home/home_service_test.go function TestHome (line 26) | func TestHome(t *testing.T) { FILE: gomall/tutorial/ch10/app/frontend/biz/handler/product/product_service.go function GetProduct (line 29) | func GetProduct(ctx context.Context, c *app.RequestContext) { function SearchProducts (line 49) | func SearchProducts(ctx context.Context, c *app.RequestContext) { FILE: gomall/tutorial/ch10/app/frontend/biz/handler/product/product_service_test.go function TestGetProduct (line 26) | func TestGetProduct(t *testing.T) { function TestSearchProducts (line 41) | func TestSearchProducts(t *testing.T) { FILE: gomall/tutorial/ch10/app/frontend/biz/router/auth/auth_page.go function Register (line 31) | func Register(r *server.Hertz) { FILE: gomall/tutorial/ch10/app/frontend/biz/router/auth/middleware.go function rootMw (line 23) | func rootMw() []app.HandlerFunc { function _authMw (line 28) | func _authMw() []app.HandlerFunc { function _loginMw (line 33) | func _loginMw() []app.HandlerFunc { function _registerMw (line 38) | func _registerMw() []app.HandlerFunc { function _logoutMw (line 43) | func _logoutMw() []app.HandlerFunc { FILE: gomall/tutorial/ch10/app/frontend/biz/router/category/category_page.go function Register (line 31) | func Register(r *server.Hertz) { FILE: gomall/tutorial/ch10/app/frontend/biz/router/category/middleware.go function rootMw (line 23) | func rootMw() []app.HandlerFunc { function _categoryMw (line 28) | func _categoryMw() []app.HandlerFunc { function _category0Mw (line 33) | func _category0Mw() []app.HandlerFunc { FILE: gomall/tutorial/ch10/app/frontend/biz/router/home/home.go function Register (line 31) | func Register(r *server.Hertz) { FILE: gomall/tutorial/ch10/app/frontend/biz/router/home/middleware.go function rootMw (line 23) | func rootMw() []app.HandlerFunc { function _homeMw (line 28) | func _homeMw() []app.HandlerFunc { FILE: gomall/tutorial/ch10/app/frontend/biz/router/product/middleware.go function rootMw (line 23) | func rootMw() []app.HandlerFunc { function _getproductMw (line 28) | func _getproductMw() []app.HandlerFunc { function _searchproductsMw (line 33) | func _searchproductsMw() []app.HandlerFunc { FILE: gomall/tutorial/ch10/app/frontend/biz/router/product/product_page.go function Register (line 31) | func Register(r *server.Hertz) { FILE: gomall/tutorial/ch10/app/frontend/biz/router/register.go function GeneratedRegister (line 28) | func GeneratedRegister(r *server.Hertz) { FILE: gomall/tutorial/ch10/app/frontend/biz/service/category.go type CategoryService (line 27) | type CategoryService struct method Run (line 36) | func (h *CategoryService) Run(req *category.CategoryReq) (resp map[str... function NewCategoryService (line 32) | func NewCategoryService(Context context.Context, RequestContext *app.Req... FILE: gomall/tutorial/ch10/app/frontend/biz/service/get_product.go type GetProductService (line 27) | type GetProductService struct method Run (line 36) | func (h *GetProductService) Run(req *product.ProductReq) (resp map[str... function NewGetProductService (line 32) | func NewGetProductService(Context context.Context, RequestContext *app.R... FILE: gomall/tutorial/ch10/app/frontend/biz/service/home.go type HomeService (line 27) | type HomeService struct method Run (line 36) | func (h *HomeService) Run(req *common.Empty) (res map[string]any, err ... function NewHomeService (line 32) | func NewHomeService(Context context.Context, RequestContext *app.Request... FILE: gomall/tutorial/ch10/app/frontend/biz/service/login.go type LoginService (line 27) | type LoginService struct method Run (line 36) | func (h *LoginService) Run(req *auth.LoginReq) (redirect string, err e... function NewLoginService (line 32) | func NewLoginService(Context context.Context, RequestContext *app.Reques... FILE: gomall/tutorial/ch10/app/frontend/biz/service/logout.go type LogoutService (line 25) | type LogoutService struct method Run (line 34) | func (h *LogoutService) Run(req *common.Empty) (resp *common.Empty, er... function NewLogoutService (line 30) | func NewLogoutService(Context context.Context, RequestContext *app.Reque... FILE: gomall/tutorial/ch10/app/frontend/biz/service/register.go type RegisterService (line 28) | type RegisterService struct method Run (line 37) | func (h *RegisterService) Run(req *auth.RegisterReq) (resp *common.Emp... function NewRegisterService (line 33) | func NewRegisterService(Context context.Context, RequestContext *app.Req... FILE: gomall/tutorial/ch10/app/frontend/biz/service/search_products.go type SearchProductsService (line 27) | type SearchProductsService struct method Run (line 36) | func (h *SearchProductsService) Run(req *product.SearchProductsReq) (r... function NewSearchProductsService (line 32) | func NewSearchProductsService(Context context.Context, RequestContext *a... FILE: gomall/tutorial/ch10/app/frontend/biz/utils/resp.go function SendErrResponse (line 25) | func SendErrResponse(ctx context.Context, c *app.RequestContext, code in... function SendSuccessResponse (line 31) | func SendSuccessResponse(ctx context.Context, c *app.RequestContext, cod... function WarpResponse (line 36) | func WarpResponse(ctx context.Context, c *app.RequestContext, content ma... FILE: gomall/tutorial/ch10/app/frontend/conf/conf.go type Config (line 34) | type Config struct type MySQL (line 42) | type MySQL struct type Redis (line 46) | type Redis struct type Hertz (line 53) | type Hertz struct function GetConf (line 67) | func GetConf() *Config { function initConf (line 72) | func initConf() { function GetEnv (line 96) | func GetEnv() string { function LogLevel (line 104) | func LogLevel() hlog.Level { FILE: gomall/tutorial/ch10/app/frontend/hertz_gen/api/api.pb.go constant _ (line 18) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 20) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) function init (line 671) | func init() { file_api_proto_init() } function file_api_proto_init (line 672) | func file_api_proto_init() { FILE: gomall/tutorial/ch10/app/frontend/hertz_gen/frontend/auth/auth_page.pb.go constant _ (line 20) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 22) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type LoginReq (line 25) | type LoginReq struct method Reset (line 35) | func (x *LoginReq) Reset() { method String (line 44) | func (x *LoginReq) String() string { method ProtoMessage (line 48) | func (*LoginReq) ProtoMessage() {} method ProtoReflect (line 50) | func (x *LoginReq) ProtoReflect() protoreflect.Message { method Descriptor (line 63) | func (*LoginReq) Descriptor() ([]byte, []int) { method GetEmail (line 67) | func (x *LoginReq) GetEmail() string { method GetPassword (line 74) | func (x *LoginReq) GetPassword() string { method GetNext (line 81) | func (x *LoginReq) GetNext() string { type RegisterReq (line 88) | type RegisterReq struct method Reset (line 98) | func (x *RegisterReq) Reset() { method String (line 107) | func (x *RegisterReq) String() string { method ProtoMessage (line 111) | func (*RegisterReq) ProtoMessage() {} method ProtoReflect (line 113) | func (x *RegisterReq) ProtoReflect() protoreflect.Message { method Descriptor (line 126) | func (*RegisterReq) Descriptor() ([]byte, []int) { method GetEmail (line 130) | func (x *RegisterReq) GetEmail() string { method GetPassword (line 137) | func (x *RegisterReq) GetPassword() string { method GetPasswordConfirm (line 144) | func (x *RegisterReq) GetPasswordConfirm() string { function file_auth_page_proto_rawDescGZIP (line 204) | func file_auth_page_proto_rawDescGZIP() []byte { function init (line 231) | func init() { file_auth_page_proto_init() } function file_auth_page_proto_init (line 232) | func file_auth_page_proto_init() { FILE: gomall/tutorial/ch10/app/frontend/hertz_gen/frontend/category/category_page.pb.go constant _ (line 20) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 22) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type CategoryReq (line 25) | type CategoryReq struct method Reset (line 33) | func (x *CategoryReq) Reset() { method String (line 42) | func (x *CategoryReq) String() string { method ProtoMessage (line 46) | func (*CategoryReq) ProtoMessage() {} method ProtoReflect (line 48) | func (x *CategoryReq) ProtoReflect() protoreflect.Message { method Descriptor (line 61) | func (*CategoryReq) Descriptor() ([]byte, []int) { method GetCategory (line 65) | func (x *CategoryReq) GetCategory() string { function file_category_page_proto_rawDescGZIP (line 103) | func file_category_page_proto_rawDescGZIP() []byte { function init (line 125) | func init() { file_category_page_proto_init() } function file_category_page_proto_init (line 126) | func file_category_page_proto_init() { FILE: gomall/tutorial/ch10/app/frontend/hertz_gen/frontend/common/common.pb.go constant _ (line 18) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 20) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Empty (line 23) | type Empty struct method Reset (line 29) | func (x *Empty) Reset() { method String (line 38) | func (x *Empty) String() string { method ProtoMessage (line 42) | func (*Empty) ProtoMessage() {} method ProtoReflect (line 44) | func (x *Empty) ProtoReflect() protoreflect.Message { method Descriptor (line 57) | func (*Empty) Descriptor() ([]byte, []int) { function file_frontend_common_proto_rawDescGZIP (line 80) | func file_frontend_common_proto_rawDescGZIP() []byte { function init (line 99) | func init() { file_frontend_common_proto_init() } function file_frontend_common_proto_init (line 100) | func file_frontend_common_proto_init() { FILE: gomall/tutorial/ch10/app/frontend/hertz_gen/frontend/home/home.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) function init (line 56) | func init() { file_home_proto_init() } function file_home_proto_init (line 57) | func file_home_proto_init() { FILE: gomall/tutorial/ch10/app/frontend/hertz_gen/frontend/product/product_page.pb.go constant _ (line 20) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 22) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type ProductReq (line 25) | type ProductReq struct method Reset (line 33) | func (x *ProductReq) Reset() { method String (line 42) | func (x *ProductReq) String() string { method ProtoMessage (line 46) | func (*ProductReq) ProtoMessage() {} method ProtoReflect (line 48) | func (x *ProductReq) ProtoReflect() protoreflect.Message { method Descriptor (line 61) | func (*ProductReq) Descriptor() ([]byte, []int) { method GetId (line 65) | func (x *ProductReq) GetId() uint32 { type SearchProductsReq (line 72) | type SearchProductsReq struct method Reset (line 80) | func (x *SearchProductsReq) Reset() { method String (line 89) | func (x *SearchProductsReq) String() string { method ProtoMessage (line 93) | func (*SearchProductsReq) ProtoMessage() {} method ProtoReflect (line 95) | func (x *SearchProductsReq) ProtoReflect() protoreflect.Message { method Descriptor (line 108) | func (*SearchProductsReq) Descriptor() ([]byte, []int) { method GetQ (line 112) | func (x *SearchProductsReq) GetQ() string { function file_product_page_proto_rawDescGZIP (line 157) | func file_product_page_proto_rawDescGZIP() []byte { function init (line 182) | func init() { file_product_page_proto_init() } function file_product_page_proto_init (line 183) | func file_product_page_proto_init() { FILE: gomall/tutorial/ch10/app/frontend/infra/rpc/client.go function InitClient (line 34) | func InitClient() { function initUserClient (line 41) | func initUserClient() { function initProductClient (line 48) | func initProductClient() { FILE: gomall/tutorial/ch10/app/frontend/infra/rpc/client_test.go function Test_iniUserClient (line 24) | func Test_iniUserClient(t *testing.T) { FILE: gomall/tutorial/ch10/app/frontend/main.go function main (line 46) | func main() { function registerMiddleware (line 83) | func registerMiddleware(h *server.Hertz) { FILE: gomall/tutorial/ch10/app/frontend/middleware/auth.go function GlobalAuth (line 25) | func GlobalAuth() app.HandlerFunc { function Auth (line 33) | func Auth() app.HandlerFunc { FILE: gomall/tutorial/ch10/app/frontend/middleware/middleware.go function Register (line 19) | func Register(h *server.Hertz) { FILE: gomall/tutorial/ch10/app/frontend/utils/constant.go type SessionUserIdKey (line 17) | type SessionUserIdKey constant SessionUserId (line 19) | SessionUserId SessionUserIdKey = "user_id" FILE: gomall/tutorial/ch10/app/frontend/utils/errors.go function MustHandleError (line 19) | func MustHandleError(err error) { FILE: gomall/tutorial/ch10/app/frontend/utils/function.go function GetUserIdFromCtx (line 19) | func GetUserIdFromCtx(ctx context.Context) int32 { FILE: gomall/tutorial/ch10/app/product/biz/dal/init.go function Init (line 21) | func Init() { FILE: gomall/tutorial/ch10/app/product/biz/dal/mysql/init.go function Init (line 32) | func Init() { FILE: gomall/tutorial/ch10/app/product/biz/dal/redis/init.go function Init (line 27) | func Init() { FILE: gomall/tutorial/ch10/app/product/biz/model/base.go type Base (line 19) | type Base struct FILE: gomall/tutorial/ch10/app/product/biz/model/category.go type Category (line 23) | type Category struct method TableName (line 31) | func (c Category) TableName() string { type CategoryQuery (line 35) | type CategoryQuery struct method GetProductsByCategoryName (line 40) | func (c CategoryQuery) GetProductsByCategoryName(name string) (categor... function NewCategoryQuery (line 45) | func NewCategoryQuery(ctx context.Context, db *gorm.DB) *CategoryQuery { FILE: gomall/tutorial/ch10/app/product/biz/model/product.go type Product (line 23) | type Product struct method TableName (line 33) | func (p Product) TableName() string { type ProductQuery (line 37) | type ProductQuery struct method GetById (line 42) | func (p ProductQuery) GetById(productId int) (product Product, err err... method SearchProducts (line 47) | func (p ProductQuery) SearchProducts(q string) (products []*Product, e... function NewProductQuery (line 54) | func NewProductQuery(ctx context.Context, db *gorm.DB) *ProductQuery { FILE: gomall/tutorial/ch10/app/product/biz/service/get_product.go type GetProductService (line 26) | type GetProductService struct method Run (line 34) | func (s *GetProductService) Run(req *product.GetProductReq) (resp *pro... function NewGetProductService (line 29) | func NewGetProductService(ctx context.Context) *GetProductService { FILE: gomall/tutorial/ch10/app/product/biz/service/get_product_test.go function TestGetProduct_Run (line 23) | func TestGetProduct_Run(t *testing.T) { FILE: gomall/tutorial/ch10/app/product/biz/service/list_products.go type ListProductsService (line 25) | type ListProductsService struct method Run (line 33) | func (s *ListProductsService) Run(req *product.ListProductsReq) (resp ... function NewListProductsService (line 28) | func NewListProductsService(ctx context.Context) *ListProductsService { FILE: gomall/tutorial/ch10/app/product/biz/service/list_products_test.go function TestListProducts_Run (line 23) | func TestListProducts_Run(t *testing.T) { FILE: gomall/tutorial/ch10/app/product/biz/service/search_products.go type SearchProductsService (line 25) | type SearchProductsService struct method Run (line 33) | func (s *SearchProductsService) Run(req *product.SearchProductsReq) (r... function NewSearchProductsService (line 28) | func NewSearchProductsService(ctx context.Context) *SearchProductsService { FILE: gomall/tutorial/ch10/app/product/biz/service/search_products_test.go function TestSearchProducts_Run (line 23) | func TestSearchProducts_Run(t *testing.T) { FILE: gomall/tutorial/ch10/app/product/conf/conf.go type Config (line 34) | type Config struct type MySQL (line 42) | type MySQL struct type Redis (line 46) | type Redis struct type Kitex (line 53) | type Kitex struct type Registry (line 66) | type Registry struct function GetConf (line 73) | func GetConf() *Config { function initConf (line 78) | func initConf() { function GetEnv (line 99) | func GetEnv() string { function LogLevel (line 107) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch10/app/product/handler.go type ProductCatalogServiceImpl (line 24) | type ProductCatalogServiceImpl struct method ListProducts (line 27) | func (s *ProductCatalogServiceImpl) ListProducts(ctx context.Context, ... method GetProduct (line 34) | func (s *ProductCatalogServiceImpl) GetProduct(ctx context.Context, re... method SearchProducts (line 41) | func (s *ProductCatalogServiceImpl) SearchProducts(ctx context.Context... FILE: gomall/tutorial/ch10/app/product/main.go function main (line 33) | func main() { function kitexInit (line 46) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch10/app/user/biz/dal/init.go function Init (line 22) | func Init() { FILE: gomall/tutorial/ch10/app/user/biz/dal/mysql/init.go function Init (line 33) | func Init() { FILE: gomall/tutorial/ch10/app/user/biz/dal/redis/init.go function Init (line 28) | func Init() { FILE: gomall/tutorial/ch10/app/user/biz/model/user.go type User (line 23) | type User struct method TableName (line 29) | func (User) TableName() string { function Create (line 33) | func Create(ctx context.Context, db *gorm.DB, user *User) error { function GetByEmail (line 37) | func GetByEmail(ctx context.Context, db *gorm.DB, email string) (*User, ... FILE: gomall/tutorial/ch10/app/user/biz/service/login.go type LoginService (line 27) | type LoginService struct method Run (line 35) | func (s *LoginService) Run(req *user.LoginReq) (resp *user.LoginResp, ... function NewLoginService (line 30) | func NewLoginService(ctx context.Context) *LoginService { FILE: gomall/tutorial/ch10/app/user/biz/service/login_test.go function TestLogin_Run (line 26) | func TestLogin_Run(t *testing.T) { FILE: gomall/tutorial/ch10/app/user/biz/service/register.go type RegisterService (line 27) | type RegisterService struct method Run (line 35) | func (s *RegisterService) Run(req *user.RegisterReq) (resp *user.Regis... function NewRegisterService (line 30) | func NewRegisterService(ctx context.Context) *RegisterService { FILE: gomall/tutorial/ch10/app/user/biz/service/register_test.go function TestRegister_Run (line 26) | func TestRegister_Run(t *testing.T) { FILE: gomall/tutorial/ch10/app/user/conf/conf.go type Config (line 34) | type Config struct type MySQL (line 42) | type MySQL struct type Redis (line 46) | type Redis struct type Kitex (line 53) | type Kitex struct type Registry (line 66) | type Registry struct function GetConf (line 73) | func GetConf() *Config { function initConf (line 78) | func initConf() { function GetEnv (line 99) | func GetEnv() string { function LogLevel (line 107) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch10/app/user/handler.go type UserServiceImpl (line 25) | type UserServiceImpl struct method Register (line 28) | func (s *UserServiceImpl) Register(ctx context.Context, req *user.Regi... method Login (line 35) | func (s *UserServiceImpl) Login(ctx context.Context, req *user.LoginRe... FILE: gomall/tutorial/ch10/app/user/main.go function main (line 34) | func main() { function kitexInit (line 51) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch10/demo/demo_proto/biz/dal/init.go function Init (line 21) | func Init() { FILE: gomall/tutorial/ch10/demo/demo_proto/biz/dal/mysql/init.go function Init (line 33) | func Init() { FILE: gomall/tutorial/ch10/demo/demo_proto/biz/dal/redis/init.go function Init (line 28) | func Init() { FILE: gomall/tutorial/ch10/demo/demo_proto/biz/model/user.go type User (line 19) | type User struct method TableName (line 25) | func (User) TableName() string { FILE: gomall/tutorial/ch10/demo/demo_proto/biz/service/echo.go type EchoService (line 23) | type EchoService struct method Run (line 31) | func (s *EchoService) Run(req *pbapi.Request) (resp *pbapi.Response, e... function NewEchoService (line 26) | func NewEchoService(ctx context.Context) *EchoService { FILE: gomall/tutorial/ch10/demo/demo_proto/biz/service/echo_test.go function TestEcho_Run (line 23) | func TestEcho_Run(t *testing.T) { FILE: gomall/tutorial/ch10/demo/demo_proto/cmd/client/client.go function main (line 32) | func main() { FILE: gomall/tutorial/ch10/demo/demo_proto/cmd/dbop/db.go function main (line 26) | func main() { FILE: gomall/tutorial/ch10/demo/demo_proto/conf/conf.go type Config (line 33) | type Config struct type MySQL (line 41) | type MySQL struct type Redis (line 45) | type Redis struct type Kitex (line 52) | type Kitex struct type Registry (line 65) | type Registry struct function GetConf (line 72) | func GetConf() *Config { function initConf (line 77) | func initConf() { function GetEnv (line 98) | func GetEnv() string { function LogLevel (line 106) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch10/demo/demo_proto/handler.go type EchoImpl (line 25) | type EchoImpl struct method Echo (line 28) | func (s *EchoImpl) Echo(ctx context.Context, req *pbapi.Request) (resp... FILE: gomall/tutorial/ch10/demo/demo_proto/kitex_gen/pbapi/echo.pb.fast.go method FastRead (line 15) | func (x *Request) FastRead(buf []byte, _type int8, number int32) (offset... method fastReadField1 (line 35) | func (x *Request) fastReadField1(buf []byte, _type int8) (offset int, er... method FastRead (line 40) | func (x *Response) FastRead(buf []byte, _type int8, number int32) (offse... method fastReadField1 (line 60) | func (x *Response) fastReadField1(buf []byte, _type int8) (offset int, e... method FastWrite (line 65) | func (x *Request) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 73) | func (x *Request) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 81) | func (x *Response) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 89) | func (x *Response) fastWriteField1(buf []byte) (offset int) { method Size (line 97) | func (x *Request) Size() (n int) { method sizeField1 (line 105) | func (x *Request) sizeField1() (n int) { method Size (line 113) | func (x *Response) Size() (n int) { method sizeField1 (line 121) | func (x *Response) sizeField1() (n int) { FILE: gomall/tutorial/ch10/demo/demo_proto/kitex_gen/pbapi/echo.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Request (line 24) | type Request struct method Reset (line 32) | func (x *Request) Reset() { method String (line 41) | func (x *Request) String() string { method ProtoMessage (line 45) | func (*Request) ProtoMessage() {} method ProtoReflect (line 47) | func (x *Request) ProtoReflect() protoreflect.Message { method Descriptor (line 60) | func (*Request) Descriptor() ([]byte, []int) { method GetMessage (line 64) | func (x *Request) GetMessage() string { type Response (line 71) | type Response struct method Reset (line 79) | func (x *Response) Reset() { method String (line 88) | func (x *Response) String() string { method ProtoMessage (line 92) | func (*Response) ProtoMessage() {} method ProtoReflect (line 94) | func (x *Response) ProtoReflect() protoreflect.Message { method Descriptor (line 107) | func (*Response) Descriptor() ([]byte, []int) { method GetMessage (line 111) | func (x *Response) GetMessage() string { function file_echo_proto_rawDescGZIP (line 143) | func file_echo_proto_rawDescGZIP() []byte { function init (line 165) | func init() { file_echo_proto_init() } function file_echo_proto_init (line 166) | func file_echo_proto_init() { type Echo (line 220) | type Echo interface FILE: gomall/tutorial/ch10/demo/demo_proto/kitex_gen/pbapi/echo/client.go type Client (line 13) | type Client interface function NewClient (line 18) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 34) | func MustNewClient(destService string, opts ...client.Option) Client { type kEchoClient (line 42) | type kEchoClient struct method Echo (line 46) | func (p *kEchoClient) Echo(ctx context.Context, Req *pbapi.Request, ca... FILE: gomall/tutorial/ch10/demo/demo_proto/kitex_gen/pbapi/echo/echo.go function serviceInfo (line 14) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 20) | func NewServiceInfo() *kitex.ServiceInfo { function echoHandler (line 41) | func echoHandler(ctx context.Context, handler interface{}, arg, result i... function newEchoArgs (line 66) | func newEchoArgs() interface{} { function newEchoResult (line 70) | func newEchoResult() interface{} { type EchoArgs (line 74) | type EchoArgs struct method FastRead (line 78) | func (p *EchoArgs) FastRead(buf []byte, _type int8, number int32) (n i... method FastWrite (line 85) | func (p *EchoArgs) FastWrite(buf []byte) (n int) { method Size (line 92) | func (p *EchoArgs) Size() (n int) { method Marshal (line 99) | func (p *EchoArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 106) | func (p *EchoArgs) Unmarshal(in []byte) error { method GetReq (line 117) | func (p *EchoArgs) GetReq() *pbapi.Request { method IsSetReq (line 124) | func (p *EchoArgs) IsSetReq() bool { method GetFirstArgument (line 128) | func (p *EchoArgs) GetFirstArgument() interface{} { type EchoResult (line 132) | type EchoResult struct method FastRead (line 138) | func (p *EchoResult) FastRead(buf []byte, _type int8, number int32) (n... method FastWrite (line 145) | func (p *EchoResult) FastWrite(buf []byte) (n int) { method Size (line 152) | func (p *EchoResult) Size() (n int) { method Marshal (line 159) | func (p *EchoResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 166) | func (p *EchoResult) Unmarshal(in []byte) error { method GetSuccess (line 175) | func (p *EchoResult) GetSuccess() *pbapi.Response { method SetSuccess (line 182) | func (p *EchoResult) SetSuccess(x interface{}) { method IsSetSuccess (line 186) | func (p *EchoResult) IsSetSuccess() bool { method GetResult (line 190) | func (p *EchoResult) GetResult() interface{} { type kClient (line 194) | type kClient struct method Echo (line 204) | func (p *kClient) Echo(ctx context.Context, Req *pbapi.Request) (r *pb... function newServiceClient (line 198) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch10/demo/demo_proto/kitex_gen/pbapi/echo/invoker.go function NewInvoker (line 11) | func NewInvoker(handler pbapi.Echo, opts ...server.Option) server.Invoker { FILE: gomall/tutorial/ch10/demo/demo_proto/kitex_gen/pbapi/echo/server.go function NewServer (line 10) | func NewServer(handler pbapi.Echo, opts ...server.Option) server.Server { FILE: gomall/tutorial/ch10/demo/demo_proto/main.go function main (line 35) | func main() { function kitexInit (line 53) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch10/demo/demo_thrift/biz/dal/init.go function Init (line 22) | func Init() { FILE: gomall/tutorial/ch10/demo/demo_thrift/biz/dal/mysql/init.go function Init (line 29) | func Init() { FILE: gomall/tutorial/ch10/demo/demo_thrift/biz/dal/redis/init.go function Init (line 28) | func Init() { FILE: gomall/tutorial/ch10/demo/demo_thrift/biz/service/echo.go type EchoService (line 23) | type EchoService struct method Run (line 31) | func (s *EchoService) Run(req *api.Request) (resp *api.Response, err e... function NewEchoService (line 26) | func NewEchoService(ctx context.Context) *EchoService { FILE: gomall/tutorial/ch10/demo/demo_thrift/biz/service/echo_test.go function TestEcho_Run (line 23) | func TestEcho_Run(t *testing.T) { FILE: gomall/tutorial/ch10/demo/demo_thrift/cmd/client/client.go function main (line 32) | func main() { FILE: gomall/tutorial/ch10/demo/demo_thrift/conf/conf.go type Config (line 34) | type Config struct type MySQL (line 42) | type MySQL struct type Redis (line 46) | type Redis struct type Kitex (line 53) | type Kitex struct type Registry (line 66) | type Registry struct function GetConf (line 73) | func GetConf() *Config { function initConf (line 78) | func initConf() { function GetEnv (line 99) | func GetEnv() string { function LogLevel (line 107) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch10/demo/demo_thrift/handler.go type EchoImpl (line 25) | type EchoImpl struct method Echo (line 28) | func (s *EchoImpl) Echo(ctx context.Context, req *api.Request) (resp *... FILE: gomall/tutorial/ch10/demo/demo_thrift/kitex_gen/api/echo.go type Request (line 12) | type Request struct method InitDefault (line 20) | func (p *Request) InitDefault() { method GetMessage (line 24) | func (p *Request) GetMessage() (v string) { method SetMessage (line 27) | func (p *Request) SetMessage(val string) { method Read (line 35) | func (p *Request) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 94) | func (p *Request) ReadField1(iprot thrift.TProtocol) error { method Write (line 103) | func (p *Request) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 132) | func (p *Request) writeField1(oprot thrift.TProtocol) (err error) { method String (line 149) | func (p *Request) String() string { method DeepEqual (line 156) | func (p *Request) DeepEqual(ano *Request) bool { method Field1DeepEqual (line 168) | func (p *Request) Field1DeepEqual(src string) bool { function NewRequest (line 16) | func NewRequest() *Request { type Response (line 176) | type Response struct method InitDefault (line 184) | func (p *Response) InitDefault() { method GetMessage (line 188) | func (p *Response) GetMessage() (v string) { method SetMessage (line 191) | func (p *Response) SetMessage(val string) { method Read (line 199) | func (p *Response) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 258) | func (p *Response) ReadField1(iprot thrift.TProtocol) error { method Write (line 267) | func (p *Response) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 296) | func (p *Response) writeField1(oprot thrift.TProtocol) (err error) { method String (line 313) | func (p *Response) String() string { method DeepEqual (line 320) | func (p *Response) DeepEqual(ano *Response) bool { method Field1DeepEqual (line 332) | func (p *Response) Field1DeepEqual(src string) bool { function NewResponse (line 180) | func NewResponse() *Response { type Echo (line 340) | type Echo interface type EchoClient (line 344) | type EchoClient struct method Client_ (line 366) | func (p *EchoClient) Client_() thrift.TClient { method Echo (line 370) | func (p *EchoClient) Echo(ctx context.Context, req *Request) (r *Respo... function NewEchoClientFactory (line 348) | func NewEchoClientFactory(t thrift.TTransport, f thrift.TProtocolFactory... function NewEchoClientProtocol (line 354) | func NewEchoClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, ... function NewEchoClient (line 360) | func NewEchoClient(c thrift.TClient) *EchoClient { type EchoProcessor (line 380) | type EchoProcessor struct method AddToProcessorMap (line 385) | func (p *EchoProcessor) AddToProcessorMap(key string, processor thrift... method GetProcessorFunction (line 389) | func (p *EchoProcessor) GetProcessorFunction(key string) (processor th... method ProcessorMap (line 394) | func (p *EchoProcessor) ProcessorMap() map[string]thrift.TProcessorFun... method Process (line 403) | func (p *EchoProcessor) Process(ctx context.Context, iprot, oprot thri... function NewEchoProcessor (line 398) | func NewEchoProcessor(handler Echo) *EchoProcessor { type echoProcessorEcho (line 421) | type echoProcessorEcho struct method Process (line 425) | func (p *echoProcessorEcho) Process(ctx context.Context, seqId int32, ... type EchoEchoArgs (line 469) | type EchoEchoArgs struct method InitDefault (line 477) | func (p *EchoEchoArgs) InitDefault() { method GetReq (line 483) | func (p *EchoEchoArgs) GetReq() (v *Request) { method SetReq (line 489) | func (p *EchoEchoArgs) SetReq(val *Request) { method IsSetReq (line 497) | func (p *EchoEchoArgs) IsSetReq() bool { method Read (line 501) | func (p *EchoEchoArgs) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 560) | func (p *EchoEchoArgs) ReadField1(iprot thrift.TProtocol) error { method Write (line 568) | func (p *EchoEchoArgs) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 597) | func (p *EchoEchoArgs) writeField1(oprot thrift.TProtocol) (err error) { method String (line 614) | func (p *EchoEchoArgs) String() string { method DeepEqual (line 621) | func (p *EchoEchoArgs) DeepEqual(ano *EchoEchoArgs) bool { method Field1DeepEqual (line 633) | func (p *EchoEchoArgs) Field1DeepEqual(src *Request) bool { function NewEchoEchoArgs (line 473) | func NewEchoEchoArgs() *EchoEchoArgs { type EchoEchoResult (line 641) | type EchoEchoResult struct method InitDefault (line 649) | func (p *EchoEchoResult) InitDefault() { method GetSuccess (line 655) | func (p *EchoEchoResult) GetSuccess() (v *Response) { method SetSuccess (line 661) | func (p *EchoEchoResult) SetSuccess(x interface{}) { method IsSetSuccess (line 669) | func (p *EchoEchoResult) IsSetSuccess() bool { method Read (line 673) | func (p *EchoEchoResult) Read(iprot thrift.TProtocol) (err error) { method ReadField0 (line 732) | func (p *EchoEchoResult) ReadField0(iprot thrift.TProtocol) error { method Write (line 740) | func (p *EchoEchoResult) Write(oprot thrift.TProtocol) (err error) { method writeField0 (line 769) | func (p *EchoEchoResult) writeField0(oprot thrift.TProtocol) (err erro... method String (line 788) | func (p *EchoEchoResult) String() string { method DeepEqual (line 795) | func (p *EchoEchoResult) DeepEqual(ano *EchoEchoResult) bool { method Field0DeepEqual (line 807) | func (p *EchoEchoResult) Field0DeepEqual(src *Response) bool { function NewEchoEchoResult (line 645) | func NewEchoEchoResult() *EchoEchoResult { FILE: gomall/tutorial/ch10/demo/demo_thrift/kitex_gen/api/echo/client.go type Client (line 13) | type Client interface function NewClient (line 18) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 34) | func MustNewClient(destService string, opts ...client.Option) Client { type kEchoClient (line 42) | type kEchoClient struct method Echo (line 46) | func (p *kEchoClient) Echo(ctx context.Context, req *api.Request, call... FILE: gomall/tutorial/ch10/demo/demo_thrift/kitex_gen/api/echo/echo.go function serviceInfo (line 12) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 18) | func NewServiceInfo() *kitex.ServiceInfo { function echoHandler (line 39) | func echoHandler(ctx context.Context, handler interface{}, arg, result i... function newEchoEchoArgs (line 49) | func newEchoEchoArgs() interface{} { function newEchoEchoResult (line 53) | func newEchoEchoResult() interface{} { type kClient (line 57) | type kClient struct method Echo (line 67) | func (p *kClient) Echo(ctx context.Context, req *api.Request) (r *api.... function newServiceClient (line 61) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch10/demo/demo_thrift/kitex_gen/api/echo/invoker.go function NewInvoker (line 11) | func NewInvoker(handler api.Echo, opts ...server.Option) server.Invoker { FILE: gomall/tutorial/ch10/demo/demo_thrift/kitex_gen/api/echo/server.go function NewServer (line 10) | func NewServer(handler api.Echo, opts ...server.Option) server.Server { FILE: gomall/tutorial/ch10/demo/demo_thrift/kitex_gen/api/k-echo.go method FastRead (line 26) | func (p *Request) FastRead(buf []byte) (int, error) { method FastReadField1 (line 97) | func (p *Request) FastReadField1(buf []byte) (int, error) { method FastWrite (line 112) | func (p *Request) FastWrite(buf []byte) int { method FastWriteNocopy (line 116) | func (p *Request) FastWriteNocopy(buf []byte, binaryWriter bthrift.Binar... method BLength (line 127) | func (p *Request) BLength() int { method fastWriteField1 (line 138) | func (p *Request) fastWriteField1(buf []byte, binaryWriter bthrift.Binar... method field1Length (line 147) | func (p *Request) field1Length() int { method FastRead (line 156) | func (p *Response) FastRead(buf []byte) (int, error) { method FastReadField1 (line 227) | func (p *Response) FastReadField1(buf []byte) (int, error) { method FastWrite (line 242) | func (p *Response) FastWrite(buf []byte) int { method FastWriteNocopy (line 246) | func (p *Response) FastWriteNocopy(buf []byte, binaryWriter bthrift.Bina... method BLength (line 257) | func (p *Response) BLength() int { method fastWriteField1 (line 268) | func (p *Response) fastWriteField1(buf []byte, binaryWriter bthrift.Bina... method field1Length (line 277) | func (p *Response) field1Length() int { method FastRead (line 286) | func (p *EchoEchoArgs) FastRead(buf []byte) (int, error) { method FastReadField1 (line 357) | func (p *EchoEchoArgs) FastReadField1(buf []byte) (int, error) { method FastWrite (line 371) | func (p *EchoEchoArgs) FastWrite(buf []byte) int { method FastWriteNocopy (line 375) | func (p *EchoEchoArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.... method BLength (line 386) | func (p *EchoEchoArgs) BLength() int { method fastWriteField1 (line 397) | func (p *EchoEchoArgs) fastWriteField1(buf []byte, binaryWriter bthrift.... method field1Length (line 405) | func (p *EchoEchoArgs) field1Length() int { method FastRead (line 413) | func (p *EchoEchoResult) FastRead(buf []byte) (int, error) { method FastReadField0 (line 484) | func (p *EchoEchoResult) FastReadField0(buf []byte) (int, error) { method FastWrite (line 498) | func (p *EchoEchoResult) FastWrite(buf []byte) int { method FastWriteNocopy (line 502) | func (p *EchoEchoResult) FastWriteNocopy(buf []byte, binaryWriter bthrif... method BLength (line 513) | func (p *EchoEchoResult) BLength() int { method fastWriteField0 (line 524) | func (p *EchoEchoResult) fastWriteField0(buf []byte, binaryWriter bthrif... method field0Length (line 534) | func (p *EchoEchoResult) field0Length() int { method GetFirstArgument (line 544) | func (p *EchoEchoArgs) GetFirstArgument() interface{} { method GetResult (line 548) | func (p *EchoEchoResult) GetResult() interface{} { FILE: gomall/tutorial/ch10/demo/demo_thrift/main.go function main (line 33) | func main() { function kitexInit (line 44) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch10/hello_world/main.go function main (line 25) | func main() { FILE: gomall/tutorial/ch10/rpc_gen/kitex_gen/product/product.pb.fast.go method FastRead (line 15) | func (x *ListProductsReq) FastRead(buf []byte, _type int8, number int32)... method fastReadField1 (line 45) | func (x *ListProductsReq) fastReadField1(buf []byte, _type int8) (offset... method fastReadField2 (line 50) | func (x *ListProductsReq) fastReadField2(buf []byte, _type int8) (offset... method fastReadField3 (line 55) | func (x *ListProductsReq) fastReadField3(buf []byte, _type int8) (offset... method FastRead (line 60) | func (x *Product) FastRead(buf []byte, _type int8, number int32) (offset... method fastReadField1 (line 105) | func (x *Product) fastReadField1(buf []byte, _type int8) (offset int, er... method fastReadField2 (line 110) | func (x *Product) fastReadField2(buf []byte, _type int8) (offset int, er... method fastReadField3 (line 115) | func (x *Product) fastReadField3(buf []byte, _type int8) (offset int, er... method fastReadField4 (line 120) | func (x *Product) fastReadField4(buf []byte, _type int8) (offset int, er... method fastReadField5 (line 125) | func (x *Product) fastReadField5(buf []byte, _type int8) (offset int, er... method fastReadField6 (line 130) | func (x *Product) fastReadField6(buf []byte, _type int8) (offset int, er... method FastRead (line 140) | func (x *ListProductsResp) FastRead(buf []byte, _type int8, number int32... method fastReadField1 (line 160) | func (x *ListProductsResp) fastReadField1(buf []byte, _type int8) (offse... method FastRead (line 170) | func (x *GetProductReq) FastRead(buf []byte, _type int8, number int32) (... method fastReadField1 (line 190) | func (x *GetProductReq) fastReadField1(buf []byte, _type int8) (offset i... method FastRead (line 195) | func (x *GetProductResp) FastRead(buf []byte, _type int8, number int32) ... method fastReadField1 (line 215) | func (x *GetProductResp) fastReadField1(buf []byte, _type int8) (offset ... method FastRead (line 225) | func (x *SearchProductsReq) FastRead(buf []byte, _type int8, number int3... method fastReadField1 (line 245) | func (x *SearchProductsReq) fastReadField1(buf []byte, _type int8) (offs... method FastRead (line 250) | func (x *SearchProductsResp) FastRead(buf []byte, _type int8, number int... method fastReadField1 (line 270) | func (x *SearchProductsResp) fastReadField1(buf []byte, _type int8) (off... method FastWrite (line 280) | func (x *ListProductsReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 290) | func (x *ListProductsReq) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 298) | func (x *ListProductsReq) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 306) | func (x *ListProductsReq) fastWriteField3(buf []byte) (offset int) { method FastWrite (line 314) | func (x *Product) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 327) | func (x *Product) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 335) | func (x *Product) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 343) | func (x *Product) fastWriteField3(buf []byte) (offset int) { method fastWriteField4 (line 351) | func (x *Product) fastWriteField4(buf []byte) (offset int) { method fastWriteField5 (line 359) | func (x *Product) fastWriteField5(buf []byte) (offset int) { method fastWriteField6 (line 367) | func (x *Product) fastWriteField6(buf []byte) (offset int) { method FastWrite (line 377) | func (x *ListProductsResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 385) | func (x *ListProductsResp) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 395) | func (x *GetProductReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 403) | func (x *GetProductReq) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 411) | func (x *GetProductResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 419) | func (x *GetProductResp) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 427) | func (x *SearchProductsReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 435) | func (x *SearchProductsReq) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 443) | func (x *SearchProductsResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 451) | func (x *SearchProductsResp) fastWriteField1(buf []byte) (offset int) { method Size (line 461) | func (x *ListProductsReq) Size() (n int) { method sizeField1 (line 471) | func (x *ListProductsReq) sizeField1() (n int) { method sizeField2 (line 479) | func (x *ListProductsReq) sizeField2() (n int) { method sizeField3 (line 487) | func (x *ListProductsReq) sizeField3() (n int) { method Size (line 495) | func (x *Product) Size() (n int) { method sizeField1 (line 508) | func (x *Product) sizeField1() (n int) { method sizeField2 (line 516) | func (x *Product) sizeField2() (n int) { method sizeField3 (line 524) | func (x *Product) sizeField3() (n int) { method sizeField4 (line 532) | func (x *Product) sizeField4() (n int) { method sizeField5 (line 540) | func (x *Product) sizeField5() (n int) { method sizeField6 (line 548) | func (x *Product) sizeField6() (n int) { method Size (line 558) | func (x *ListProductsResp) Size() (n int) { method sizeField1 (line 566) | func (x *ListProductsResp) sizeField1() (n int) { method Size (line 576) | func (x *GetProductReq) Size() (n int) { method sizeField1 (line 584) | func (x *GetProductReq) sizeField1() (n int) { method Size (line 592) | func (x *GetProductResp) Size() (n int) { method sizeField1 (line 600) | func (x *GetProductResp) sizeField1() (n int) { method Size (line 608) | func (x *SearchProductsReq) Size() (n int) { method sizeField1 (line 616) | func (x *SearchProductsReq) sizeField1() (n int) { method Size (line 624) | func (x *SearchProductsResp) Size() (n int) { method sizeField1 (line 632) | func (x *SearchProductsResp) sizeField1() (n int) { FILE: gomall/tutorial/ch10/rpc_gen/kitex_gen/product/product.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type ListProductsReq (line 24) | type ListProductsReq struct method Reset (line 34) | func (x *ListProductsReq) Reset() { method String (line 43) | func (x *ListProductsReq) String() string { method ProtoMessage (line 47) | func (*ListProductsReq) ProtoMessage() {} method ProtoReflect (line 49) | func (x *ListProductsReq) ProtoReflect() protoreflect.Message { method Descriptor (line 62) | func (*ListProductsReq) Descriptor() ([]byte, []int) { method GetPage (line 66) | func (x *ListProductsReq) GetPage() int32 { method GetPageSize (line 73) | func (x *ListProductsReq) GetPageSize() int32 { method GetCategoryName (line 80) | func (x *ListProductsReq) GetCategoryName() string { type Product (line 87) | type Product struct method Reset (line 100) | func (x *Product) Reset() { method String (line 109) | func (x *Product) String() string { method ProtoMessage (line 113) | func (*Product) ProtoMessage() {} method ProtoReflect (line 115) | func (x *Product) ProtoReflect() protoreflect.Message { method Descriptor (line 128) | func (*Product) Descriptor() ([]byte, []int) { method GetId (line 132) | func (x *Product) GetId() uint32 { method GetName (line 139) | func (x *Product) GetName() string { method GetDescription (line 146) | func (x *Product) GetDescription() string { method GetPicture (line 153) | func (x *Product) GetPicture() string { method GetPrice (line 160) | func (x *Product) GetPrice() float32 { method GetCategories (line 167) | func (x *Product) GetCategories() []string { type ListProductsResp (line 174) | type ListProductsResp struct method Reset (line 182) | func (x *ListProductsResp) Reset() { method String (line 191) | func (x *ListProductsResp) String() string { method ProtoMessage (line 195) | func (*ListProductsResp) ProtoMessage() {} method ProtoReflect (line 197) | func (x *ListProductsResp) ProtoReflect() protoreflect.Message { method Descriptor (line 210) | func (*ListProductsResp) Descriptor() ([]byte, []int) { method GetProducts (line 214) | func (x *ListProductsResp) GetProducts() []*Product { type GetProductReq (line 221) | type GetProductReq struct method Reset (line 229) | func (x *GetProductReq) Reset() { method String (line 238) | func (x *GetProductReq) String() string { method ProtoMessage (line 242) | func (*GetProductReq) ProtoMessage() {} method ProtoReflect (line 244) | func (x *GetProductReq) ProtoReflect() protoreflect.Message { method Descriptor (line 257) | func (*GetProductReq) Descriptor() ([]byte, []int) { method GetId (line 261) | func (x *GetProductReq) GetId() uint32 { type GetProductResp (line 268) | type GetProductResp struct method Reset (line 276) | func (x *GetProductResp) Reset() { method String (line 285) | func (x *GetProductResp) String() string { method ProtoMessage (line 289) | func (*GetProductResp) ProtoMessage() {} method ProtoReflect (line 291) | func (x *GetProductResp) ProtoReflect() protoreflect.Message { method Descriptor (line 304) | func (*GetProductResp) Descriptor() ([]byte, []int) { method GetProduct (line 308) | func (x *GetProductResp) GetProduct() *Product { type SearchProductsReq (line 315) | type SearchProductsReq struct method Reset (line 323) | func (x *SearchProductsReq) Reset() { method String (line 332) | func (x *SearchProductsReq) String() string { method ProtoMessage (line 336) | func (*SearchProductsReq) ProtoMessage() {} method ProtoReflect (line 338) | func (x *SearchProductsReq) ProtoReflect() protoreflect.Message { method Descriptor (line 351) | func (*SearchProductsReq) Descriptor() ([]byte, []int) { method GetQuery (line 355) | func (x *SearchProductsReq) GetQuery() string { type SearchProductsResp (line 362) | type SearchProductsResp struct method Reset (line 370) | func (x *SearchProductsResp) Reset() { method String (line 379) | func (x *SearchProductsResp) String() string { method ProtoMessage (line 383) | func (*SearchProductsResp) ProtoMessage() {} method ProtoReflect (line 385) | func (x *SearchProductsResp) ProtoReflect() protoreflect.Message { method Descriptor (line 398) | func (*SearchProductsResp) Descriptor() ([]byte, []int) { method GetResults (line 402) | func (x *SearchProductsResp) GetResults() []*Product { function file_product_proto_rawDescGZIP (line 474) | func file_product_proto_rawDescGZIP() []byte { function init (line 508) | func init() { file_product_proto_init() } function file_product_proto_init (line 509) | func file_product_proto_init() { type ProductCatalogService (line 623) | type ProductCatalogService interface FILE: gomall/tutorial/ch10/rpc_gen/kitex_gen/product/productcatalogservice/client.go type Client (line 13) | type Client interface function NewClient (line 20) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 36) | func MustNewClient(destService string, opts ...client.Option) Client { type kProductCatalogServiceClient (line 44) | type kProductCatalogServiceClient struct method ListProducts (line 48) | func (p *kProductCatalogServiceClient) ListProducts(ctx context.Contex... method GetProduct (line 53) | func (p *kProductCatalogServiceClient) GetProduct(ctx context.Context,... method SearchProducts (line 58) | func (p *kProductCatalogServiceClient) SearchProducts(ctx context.Cont... FILE: gomall/tutorial/ch10/rpc_gen/kitex_gen/product/productcatalogservice/invoker.go function NewInvoker (line 11) | func NewInvoker(handler product.ProductCatalogService, opts ...server.Op... FILE: gomall/tutorial/ch10/rpc_gen/kitex_gen/product/productcatalogservice/productcatalogservice.go function serviceInfo (line 48) | func serviceInfo() *kitex.ServiceInfo { function serviceInfoForStreamClient (line 53) | func serviceInfoForStreamClient() *kitex.ServiceInfo { function serviceInfoForClient (line 58) | func serviceInfoForClient() *kitex.ServiceInfo { function NewServiceInfo (line 63) | func NewServiceInfo() *kitex.ServiceInfo { function NewServiceInfoForClient (line 68) | func NewServiceInfoForClient() *kitex.ServiceInfo { function NewServiceInfoForStreamClient (line 71) | func NewServiceInfoForStreamClient() *kitex.ServiceInfo { function newServiceInfo (line 75) | func newServiceInfo(hasStreaming bool, keepStreamingMethods bool, keepNo... function listProductsHandler (line 105) | func listProductsHandler(ctx context.Context, handler interface{}, arg, ... function newListProductsArgs (line 130) | func newListProductsArgs() interface{} { function newListProductsResult (line 134) | func newListProductsResult() interface{} { type ListProductsArgs (line 138) | type ListProductsArgs struct method FastRead (line 142) | func (p *ListProductsArgs) FastRead(buf []byte, _type int8, number int... method FastWrite (line 149) | func (p *ListProductsArgs) FastWrite(buf []byte) (n int) { method Size (line 156) | func (p *ListProductsArgs) Size() (n int) { method Marshal (line 163) | func (p *ListProductsArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 170) | func (p *ListProductsArgs) Unmarshal(in []byte) error { method GetReq (line 181) | func (p *ListProductsArgs) GetReq() *product.ListProductsReq { method IsSetReq (line 188) | func (p *ListProductsArgs) IsSetReq() bool { method GetFirstArgument (line 192) | func (p *ListProductsArgs) GetFirstArgument() interface{} { type ListProductsResult (line 196) | type ListProductsResult struct method FastRead (line 202) | func (p *ListProductsResult) FastRead(buf []byte, _type int8, number i... method FastWrite (line 209) | func (p *ListProductsResult) FastWrite(buf []byte) (n int) { method Size (line 216) | func (p *ListProductsResult) Size() (n int) { method Marshal (line 223) | func (p *ListProductsResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 230) | func (p *ListProductsResult) Unmarshal(in []byte) error { method GetSuccess (line 239) | func (p *ListProductsResult) GetSuccess() *product.ListProductsResp { method SetSuccess (line 246) | func (p *ListProductsResult) SetSuccess(x interface{}) { method IsSetSuccess (line 250) | func (p *ListProductsResult) IsSetSuccess() bool { method GetResult (line 254) | func (p *ListProductsResult) GetResult() interface{} { function getProductHandler (line 258) | func getProductHandler(ctx context.Context, handler interface{}, arg, re... function newGetProductArgs (line 283) | func newGetProductArgs() interface{} { function newGetProductResult (line 287) | func newGetProductResult() interface{} { type GetProductArgs (line 291) | type GetProductArgs struct method FastRead (line 295) | func (p *GetProductArgs) FastRead(buf []byte, _type int8, number int32... method FastWrite (line 302) | func (p *GetProductArgs) FastWrite(buf []byte) (n int) { method Size (line 309) | func (p *GetProductArgs) Size() (n int) { method Marshal (line 316) | func (p *GetProductArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 323) | func (p *GetProductArgs) Unmarshal(in []byte) error { method GetReq (line 334) | func (p *GetProductArgs) GetReq() *product.GetProductReq { method IsSetReq (line 341) | func (p *GetProductArgs) IsSetReq() bool { method GetFirstArgument (line 345) | func (p *GetProductArgs) GetFirstArgument() interface{} { type GetProductResult (line 349) | type GetProductResult struct method FastRead (line 355) | func (p *GetProductResult) FastRead(buf []byte, _type int8, number int... method FastWrite (line 362) | func (p *GetProductResult) FastWrite(buf []byte) (n int) { method Size (line 369) | func (p *GetProductResult) Size() (n int) { method Marshal (line 376) | func (p *GetProductResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 383) | func (p *GetProductResult) Unmarshal(in []byte) error { method GetSuccess (line 392) | func (p *GetProductResult) GetSuccess() *product.GetProductResp { method SetSuccess (line 399) | func (p *GetProductResult) SetSuccess(x interface{}) { method IsSetSuccess (line 403) | func (p *GetProductResult) IsSetSuccess() bool { method GetResult (line 407) | func (p *GetProductResult) GetResult() interface{} { function searchProductsHandler (line 411) | func searchProductsHandler(ctx context.Context, handler interface{}, arg... function newSearchProductsArgs (line 436) | func newSearchProductsArgs() interface{} { function newSearchProductsResult (line 440) | func newSearchProductsResult() interface{} { type SearchProductsArgs (line 444) | type SearchProductsArgs struct method FastRead (line 448) | func (p *SearchProductsArgs) FastRead(buf []byte, _type int8, number i... method FastWrite (line 455) | func (p *SearchProductsArgs) FastWrite(buf []byte) (n int) { method Size (line 462) | func (p *SearchProductsArgs) Size() (n int) { method Marshal (line 469) | func (p *SearchProductsArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 476) | func (p *SearchProductsArgs) Unmarshal(in []byte) error { method GetReq (line 487) | func (p *SearchProductsArgs) GetReq() *product.SearchProductsReq { method IsSetReq (line 494) | func (p *SearchProductsArgs) IsSetReq() bool { method GetFirstArgument (line 498) | func (p *SearchProductsArgs) GetFirstArgument() interface{} { type SearchProductsResult (line 502) | type SearchProductsResult struct method FastRead (line 508) | func (p *SearchProductsResult) FastRead(buf []byte, _type int8, number... method FastWrite (line 515) | func (p *SearchProductsResult) FastWrite(buf []byte) (n int) { method Size (line 522) | func (p *SearchProductsResult) Size() (n int) { method Marshal (line 529) | func (p *SearchProductsResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 536) | func (p *SearchProductsResult) Unmarshal(in []byte) error { method GetSuccess (line 545) | func (p *SearchProductsResult) GetSuccess() *product.SearchProductsResp { method SetSuccess (line 552) | func (p *SearchProductsResult) SetSuccess(x interface{}) { method IsSetSuccess (line 556) | func (p *SearchProductsResult) IsSetSuccess() bool { method GetResult (line 560) | func (p *SearchProductsResult) GetResult() interface{} { type kClient (line 564) | type kClient struct method ListProducts (line 574) | func (p *kClient) ListProducts(ctx context.Context, Req *product.ListP... method GetProduct (line 584) | func (p *kClient) GetProduct(ctx context.Context, Req *product.GetProd... method SearchProducts (line 594) | func (p *kClient) SearchProducts(ctx context.Context, Req *product.Sea... function newServiceClient (line 568) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch10/rpc_gen/kitex_gen/product/productcatalogservice/server.go function NewServer (line 10) | func NewServer(handler product.ProductCatalogService, opts ...server.Opt... function RegisterService (line 22) | func RegisterService(svr server.Server, handler product.ProductCatalogSe... FILE: gomall/tutorial/ch10/rpc_gen/kitex_gen/user/user.pb.fast.go method FastRead (line 15) | func (x *RegisterReq) FastRead(buf []byte, _type int8, number int32) (of... method fastReadField1 (line 45) | func (x *RegisterReq) fastReadField1(buf []byte, _type int8) (offset int... method fastReadField2 (line 50) | func (x *RegisterReq) fastReadField2(buf []byte, _type int8) (offset int... method fastReadField3 (line 55) | func (x *RegisterReq) fastReadField3(buf []byte, _type int8) (offset int... method FastRead (line 60) | func (x *RegisterResp) FastRead(buf []byte, _type int8, number int32) (o... method fastReadField1 (line 80) | func (x *RegisterResp) fastReadField1(buf []byte, _type int8) (offset in... method FastRead (line 85) | func (x *LoginReq) FastRead(buf []byte, _type int8, number int32) (offse... method fastReadField1 (line 110) | func (x *LoginReq) fastReadField1(buf []byte, _type int8) (offset int, e... method fastReadField2 (line 115) | func (x *LoginReq) fastReadField2(buf []byte, _type int8) (offset int, e... method FastRead (line 120) | func (x *LoginResp) FastRead(buf []byte, _type int8, number int32) (offs... method fastReadField1 (line 140) | func (x *LoginResp) fastReadField1(buf []byte, _type int8) (offset int, ... method FastWrite (line 145) | func (x *RegisterReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 155) | func (x *RegisterReq) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 163) | func (x *RegisterReq) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 171) | func (x *RegisterReq) fastWriteField3(buf []byte) (offset int) { method FastWrite (line 179) | func (x *RegisterResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 187) | func (x *RegisterResp) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 195) | func (x *LoginReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 204) | func (x *LoginReq) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 212) | func (x *LoginReq) fastWriteField2(buf []byte) (offset int) { method FastWrite (line 220) | func (x *LoginResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 228) | func (x *LoginResp) fastWriteField1(buf []byte) (offset int) { method Size (line 236) | func (x *RegisterReq) Size() (n int) { method sizeField1 (line 246) | func (x *RegisterReq) sizeField1() (n int) { method sizeField2 (line 254) | func (x *RegisterReq) sizeField2() (n int) { method sizeField3 (line 262) | func (x *RegisterReq) sizeField3() (n int) { method Size (line 270) | func (x *RegisterResp) Size() (n int) { method sizeField1 (line 278) | func (x *RegisterResp) sizeField1() (n int) { method Size (line 286) | func (x *LoginReq) Size() (n int) { method sizeField1 (line 295) | func (x *LoginReq) sizeField1() (n int) { method sizeField2 (line 303) | func (x *LoginReq) sizeField2() (n int) { method Size (line 311) | func (x *LoginResp) Size() (n int) { method sizeField1 (line 319) | func (x *LoginResp) sizeField1() (n int) { FILE: gomall/tutorial/ch10/rpc_gen/kitex_gen/user/user.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type RegisterReq (line 24) | type RegisterReq struct method Reset (line 34) | func (x *RegisterReq) Reset() { method String (line 43) | func (x *RegisterReq) String() string { method ProtoMessage (line 47) | func (*RegisterReq) ProtoMessage() {} method ProtoReflect (line 49) | func (x *RegisterReq) ProtoReflect() protoreflect.Message { method Descriptor (line 62) | func (*RegisterReq) Descriptor() ([]byte, []int) { method GetEmail (line 66) | func (x *RegisterReq) GetEmail() string { method GetPassword (line 73) | func (x *RegisterReq) GetPassword() string { method GetPasswordConfirm (line 80) | func (x *RegisterReq) GetPasswordConfirm() string { type RegisterResp (line 87) | type RegisterResp struct method Reset (line 95) | func (x *RegisterResp) Reset() { method String (line 104) | func (x *RegisterResp) String() string { method ProtoMessage (line 108) | func (*RegisterResp) ProtoMessage() {} method ProtoReflect (line 110) | func (x *RegisterResp) ProtoReflect() protoreflect.Message { method Descriptor (line 123) | func (*RegisterResp) Descriptor() ([]byte, []int) { method GetUserId (line 127) | func (x *RegisterResp) GetUserId() int32 { type LoginReq (line 134) | type LoginReq struct method Reset (line 143) | func (x *LoginReq) Reset() { method String (line 152) | func (x *LoginReq) String() string { method ProtoMessage (line 156) | func (*LoginReq) ProtoMessage() {} method ProtoReflect (line 158) | func (x *LoginReq) ProtoReflect() protoreflect.Message { method Descriptor (line 171) | func (*LoginReq) Descriptor() ([]byte, []int) { method GetEmail (line 175) | func (x *LoginReq) GetEmail() string { method GetPassword (line 182) | func (x *LoginReq) GetPassword() string { type LoginResp (line 189) | type LoginResp struct method Reset (line 197) | func (x *LoginResp) Reset() { method String (line 206) | func (x *LoginResp) String() string { method ProtoMessage (line 210) | func (*LoginResp) ProtoMessage() {} method ProtoReflect (line 212) | func (x *LoginResp) ProtoReflect() protoreflect.Message { method Descriptor (line 225) | func (*LoginResp) Descriptor() ([]byte, []int) { method GetUserId (line 229) | func (x *LoginResp) GetUserId() int32 { function file_user_proto_rawDescGZIP (line 275) | func file_user_proto_rawDescGZIP() []byte { function init (line 301) | func init() { file_user_proto_init() } function file_user_proto_init (line 302) | func file_user_proto_init() { type UserService (line 380) | type UserService interface FILE: gomall/tutorial/ch10/rpc_gen/kitex_gen/user/userservice/client.go type Client (line 13) | type Client interface function NewClient (line 19) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 35) | func MustNewClient(destService string, opts ...client.Option) Client { type kUserServiceClient (line 43) | type kUserServiceClient struct method Register (line 47) | func (p *kUserServiceClient) Register(ctx context.Context, Req *user.R... method Login (line 52) | func (p *kUserServiceClient) Login(ctx context.Context, Req *user.Logi... FILE: gomall/tutorial/ch10/rpc_gen/kitex_gen/user/userservice/invoker.go function NewInvoker (line 11) | func NewInvoker(handler user.UserService, opts ...server.Option) server.... FILE: gomall/tutorial/ch10/rpc_gen/kitex_gen/user/userservice/server.go function NewServer (line 10) | func NewServer(handler user.UserService, opts ...server.Option) server.S... FILE: gomall/tutorial/ch10/rpc_gen/kitex_gen/user/userservice/userservice.go function serviceInfo (line 14) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 20) | func NewServiceInfo() *kitex.ServiceInfo { function registerHandler (line 42) | func registerHandler(ctx context.Context, handler interface{}, arg, resu... function newRegisterArgs (line 67) | func newRegisterArgs() interface{} { function newRegisterResult (line 71) | func newRegisterResult() interface{} { type RegisterArgs (line 75) | type RegisterArgs struct method FastRead (line 79) | func (p *RegisterArgs) FastRead(buf []byte, _type int8, number int32) ... method FastWrite (line 86) | func (p *RegisterArgs) FastWrite(buf []byte) (n int) { method Size (line 93) | func (p *RegisterArgs) Size() (n int) { method Marshal (line 100) | func (p *RegisterArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 107) | func (p *RegisterArgs) Unmarshal(in []byte) error { method GetReq (line 118) | func (p *RegisterArgs) GetReq() *user.RegisterReq { method IsSetReq (line 125) | func (p *RegisterArgs) IsSetReq() bool { method GetFirstArgument (line 129) | func (p *RegisterArgs) GetFirstArgument() interface{} { type RegisterResult (line 133) | type RegisterResult struct method FastRead (line 139) | func (p *RegisterResult) FastRead(buf []byte, _type int8, number int32... method FastWrite (line 146) | func (p *RegisterResult) FastWrite(buf []byte) (n int) { method Size (line 153) | func (p *RegisterResult) Size() (n int) { method Marshal (line 160) | func (p *RegisterResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 167) | func (p *RegisterResult) Unmarshal(in []byte) error { method GetSuccess (line 176) | func (p *RegisterResult) GetSuccess() *user.RegisterResp { method SetSuccess (line 183) | func (p *RegisterResult) SetSuccess(x interface{}) { method IsSetSuccess (line 187) | func (p *RegisterResult) IsSetSuccess() bool { method GetResult (line 191) | func (p *RegisterResult) GetResult() interface{} { function loginHandler (line 195) | func loginHandler(ctx context.Context, handler interface{}, arg, result ... function newLoginArgs (line 220) | func newLoginArgs() interface{} { function newLoginResult (line 224) | func newLoginResult() interface{} { type LoginArgs (line 228) | type LoginArgs struct method FastRead (line 232) | func (p *LoginArgs) FastRead(buf []byte, _type int8, number int32) (n ... method FastWrite (line 239) | func (p *LoginArgs) FastWrite(buf []byte) (n int) { method Size (line 246) | func (p *LoginArgs) Size() (n int) { method Marshal (line 253) | func (p *LoginArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 260) | func (p *LoginArgs) Unmarshal(in []byte) error { method GetReq (line 271) | func (p *LoginArgs) GetReq() *user.LoginReq { method IsSetReq (line 278) | func (p *LoginArgs) IsSetReq() bool { method GetFirstArgument (line 282) | func (p *LoginArgs) GetFirstArgument() interface{} { type LoginResult (line 286) | type LoginResult struct method FastRead (line 292) | func (p *LoginResult) FastRead(buf []byte, _type int8, number int32) (... method FastWrite (line 299) | func (p *LoginResult) FastWrite(buf []byte) (n int) { method Size (line 306) | func (p *LoginResult) Size() (n int) { method Marshal (line 313) | func (p *LoginResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 320) | func (p *LoginResult) Unmarshal(in []byte) error { method GetSuccess (line 329) | func (p *LoginResult) GetSuccess() *user.LoginResp { method SetSuccess (line 336) | func (p *LoginResult) SetSuccess(x interface{}) { method IsSetSuccess (line 340) | func (p *LoginResult) IsSetSuccess() bool { method GetResult (line 344) | func (p *LoginResult) GetResult() interface{} { type kClient (line 348) | type kClient struct method Register (line 358) | func (p *kClient) Register(ctx context.Context, Req *user.RegisterReq)... method Login (line 368) | func (p *kClient) Login(ctx context.Context, Req *user.LoginReq) (r *u... function newServiceClient (line 352) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch10/rpc_gen/rpc/product/product_client.go type RPCClient (line 12) | type RPCClient interface function NewRPCClient (line 20) | func NewRPCClient(dstService string, opts ...client.Option) (RPCClient, ... type clientImpl (line 33) | type clientImpl struct method Service (line 38) | func (c *clientImpl) Service() string { method KitexClient (line 42) | func (c *clientImpl) KitexClient() productcatalogservice.Client { method ListProducts (line 46) | func (c *clientImpl) ListProducts(ctx context.Context, Req *product.Li... method GetProduct (line 50) | func (c *clientImpl) GetProduct(ctx context.Context, Req *product.GetP... method SearchProducts (line 54) | func (c *clientImpl) SearchProducts(ctx context.Context, Req *product.... FILE: gomall/tutorial/ch10/rpc_gen/rpc/product/product_default.go function ListProducts (line 10) | func ListProducts(ctx context.Context, req *product.ListProductsReq, cal... function GetProduct (line 19) | func GetProduct(ctx context.Context, req *product.GetProductReq, callOpt... function SearchProducts (line 28) | func SearchProducts(ctx context.Context, req *product.SearchProductsReq,... FILE: gomall/tutorial/ch10/rpc_gen/rpc/product/product_init.go function init (line 19) | func init() { function DefaultClient (line 23) | func DefaultClient() RPCClient { function newClient (line 30) | func newClient(dstService string, opts ...client.Option) RPCClient { function InitClient (line 38) | func InitClient(dstService string, opts ...client.Option) { FILE: gomall/tutorial/ch10/rpc_gen/rpc/user/user_client.go type RPCClient (line 12) | type RPCClient interface function NewRPCClient (line 19) | func NewRPCClient(dstService string, opts ...client.Option) (RPCClient, ... type clientImpl (line 32) | type clientImpl struct method Service (line 37) | func (c *clientImpl) Service() string { method KitexClient (line 41) | func (c *clientImpl) KitexClient() userservice.Client { method Register (line 45) | func (c *clientImpl) Register(ctx context.Context, Req *user.RegisterR... method Login (line 49) | func (c *clientImpl) Login(ctx context.Context, Req *user.LoginReq, ca... FILE: gomall/tutorial/ch10/rpc_gen/rpc/user/user_default.go function Register (line 10) | func Register(ctx context.Context, req *user.RegisterReq, callOptions ..... function Login (line 19) | func Login(ctx context.Context, req *user.LoginReq, callOptions ...callo... FILE: gomall/tutorial/ch10/rpc_gen/rpc/user/user_init.go function init (line 19) | func init() { function DefaultClient (line 23) | func DefaultClient() RPCClient { function newClient (line 30) | func newClient(dstService string, opts ...client.Option) RPCClient { function InitClient (line 38) | func InitClient(dstService string, opts ...client.Option) { FILE: gomall/tutorial/ch11/app/cart/biz/dal/init.go function Init (line 21) | func Init() { FILE: gomall/tutorial/ch11/app/cart/biz/dal/mysql/init.go function Init (line 33) | func Init() { FILE: gomall/tutorial/ch11/app/cart/biz/dal/redis/init.go function Init (line 28) | func Init() { FILE: gomall/tutorial/ch11/app/cart/biz/model/cart.go type Cart (line 24) | type Cart struct method TableName (line 31) | func (Cart) TableName() string { function AddItem (line 35) | func AddItem(ctx context.Context, db *gorm.DB, item *Cart) error { function EmptyCart (line 54) | func EmptyCart(ctx context.Context, db *gorm.DB, userId uint32) error { function GetCartByUserId (line 61) | func GetCartByUserId(ctx context.Context, db *gorm.DB, userId uint32) ([... FILE: gomall/tutorial/ch11/app/cart/biz/service/add_item.go type AddItemService (line 28) | type AddItemService struct method Run (line 36) | func (s *AddItemService) Run(req *cart.AddItemReq) (resp *cart.AddItem... function NewAddItemService (line 31) | func NewAddItemService(ctx context.Context) *AddItemService { FILE: gomall/tutorial/ch11/app/cart/biz/service/add_item_test.go function TestAddItem_Run (line 24) | func TestAddItem_Run(t *testing.T) { FILE: gomall/tutorial/ch11/app/cart/biz/service/empty_cart.go type EmptyCartService (line 26) | type EmptyCartService struct method Run (line 34) | func (s *EmptyCartService) Run(req *cart.EmptyCartReq) (resp *cart.Emp... function NewEmptyCartService (line 29) | func NewEmptyCartService(ctx context.Context) *EmptyCartService { FILE: gomall/tutorial/ch11/app/cart/biz/service/empty_cart_test.go function TestEmptyCart_Run (line 24) | func TestEmptyCart_Run(t *testing.T) { FILE: gomall/tutorial/ch11/app/cart/biz/service/get_cart.go type GetCartService (line 26) | type GetCartService struct method Run (line 34) | func (s *GetCartService) Run(req *cart.GetCartReq) (resp *cart.GetCart... function NewGetCartService (line 29) | func NewGetCartService(ctx context.Context) *GetCartService { FILE: gomall/tutorial/ch11/app/cart/biz/service/get_cart_test.go function TestGetCart_Run (line 24) | func TestGetCart_Run(t *testing.T) { FILE: gomall/tutorial/ch11/app/cart/conf/conf.go type Config (line 34) | type Config struct type MySQL (line 42) | type MySQL struct type Redis (line 46) | type Redis struct type Kitex (line 53) | type Kitex struct type Registry (line 66) | type Registry struct function GetConf (line 73) | func GetConf() *Config { function initConf (line 78) | func initConf() { function GetEnv (line 99) | func GetEnv() string { function LogLevel (line 107) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch11/app/cart/handler.go type CartServiceImpl (line 25) | type CartServiceImpl struct method AddItem (line 28) | func (s *CartServiceImpl) AddItem(ctx context.Context, req *cart.AddIt... method GetCart (line 35) | func (s *CartServiceImpl) GetCart(ctx context.Context, req *cart.GetCa... method EmptyCart (line 42) | func (s *CartServiceImpl) EmptyCart(ctx context.Context, req *cart.Emp... FILE: gomall/tutorial/ch11/app/cart/infra/rpc/client.go function InitClient (line 32) | func InitClient() { function initProductClient (line 38) | func initProductClient() { FILE: gomall/tutorial/ch11/app/cart/main.go function main (line 35) | func main() { function kitexInit (line 49) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch11/app/cart/utils/errors.go function MustHandleError (line 19) | func MustHandleError(err error) { FILE: gomall/tutorial/ch11/app/frontend/biz/dal/init.go function Init (line 22) | func Init() { FILE: gomall/tutorial/ch11/app/frontend/biz/dal/mysql/init.go function Init (line 28) | func Init() { FILE: gomall/tutorial/ch11/app/frontend/biz/dal/redis/init.go function Init (line 26) | func Init() { FILE: gomall/tutorial/ch11/app/frontend/biz/handler/auth/auth_service.go function Login (line 30) | func Login(ctx context.Context, c *app.RequestContext) { function Register (line 48) | func Register(ctx context.Context, c *app.RequestContext) { function Logout (line 67) | func Logout(ctx context.Context, c *app.RequestContext) { FILE: gomall/tutorial/ch11/app/frontend/biz/handler/auth/auth_service_test.go function TestLogin (line 26) | func TestLogin(t *testing.T) { function TestRegister (line 41) | func TestRegister(t *testing.T) { function TestLogout (line 56) | func TestLogout(t *testing.T) { FILE: gomall/tutorial/ch11/app/frontend/biz/handler/cart/cart_service.go function GetCart (line 30) | func GetCart(ctx context.Context, c *app.RequestContext) { function AddCartItem (line 49) | func AddCartItem(ctx context.Context, c *app.RequestContext) { FILE: gomall/tutorial/ch11/app/frontend/biz/handler/cart/cart_service_test.go function TestGetCart (line 26) | func TestGetCart(t *testing.T) { function TestAddCartItem (line 41) | func TestAddCartItem(t *testing.T) { FILE: gomall/tutorial/ch11/app/frontend/biz/handler/category/category_service.go function Category (line 29) | func Category(ctx context.Context, c *app.RequestContext) { FILE: gomall/tutorial/ch11/app/frontend/biz/handler/category/category_service_test.go function TestCategory (line 26) | func TestCategory(t *testing.T) { FILE: gomall/tutorial/ch11/app/frontend/biz/handler/home/home_service.go function Home (line 29) | func Home(ctx context.Context, c *app.RequestContext) { FILE: gomall/tutorial/ch11/app/frontend/biz/handler/home/home_service_test.go function TestHome (line 26) | func TestHome(t *testing.T) { FILE: gomall/tutorial/ch11/app/frontend/biz/handler/product/product_service.go function GetProduct (line 29) | func GetProduct(ctx context.Context, c *app.RequestContext) { function SearchProducts (line 49) | func SearchProducts(ctx context.Context, c *app.RequestContext) { FILE: gomall/tutorial/ch11/app/frontend/biz/handler/product/product_service_test.go function TestGetProduct (line 26) | func TestGetProduct(t *testing.T) { function TestSearchProducts (line 41) | func TestSearchProducts(t *testing.T) { FILE: gomall/tutorial/ch11/app/frontend/biz/router/auth/auth_page.go function Register (line 31) | func Register(r *server.Hertz) { FILE: gomall/tutorial/ch11/app/frontend/biz/router/auth/middleware.go function rootMw (line 23) | func rootMw() []app.HandlerFunc { function _authMw (line 28) | func _authMw() []app.HandlerFunc { function _loginMw (line 33) | func _loginMw() []app.HandlerFunc { function _registerMw (line 38) | func _registerMw() []app.HandlerFunc { function _logoutMw (line 43) | func _logoutMw() []app.HandlerFunc { FILE: gomall/tutorial/ch11/app/frontend/biz/router/cart/cart_page.go function Register (line 17) | func Register(r *server.Hertz) { FILE: gomall/tutorial/ch11/app/frontend/biz/router/cart/middleware.go function rootMw (line 10) | func rootMw() []app.HandlerFunc { function _getcartMw (line 14) | func _getcartMw() []app.HandlerFunc { function _addcartitemMw (line 19) | func _addcartitemMw() []app.HandlerFunc { FILE: gomall/tutorial/ch11/app/frontend/biz/router/category/category_page.go function Register (line 31) | func Register(r *server.Hertz) { FILE: gomall/tutorial/ch11/app/frontend/biz/router/category/middleware.go function rootMw (line 23) | func rootMw() []app.HandlerFunc { function _categoryMw (line 28) | func _categoryMw() []app.HandlerFunc { function _category0Mw (line 33) | func _category0Mw() []app.HandlerFunc { FILE: gomall/tutorial/ch11/app/frontend/biz/router/home/home.go function Register (line 31) | func Register(r *server.Hertz) { FILE: gomall/tutorial/ch11/app/frontend/biz/router/home/middleware.go function rootMw (line 23) | func rootMw() []app.HandlerFunc { function _homeMw (line 28) | func _homeMw() []app.HandlerFunc { FILE: gomall/tutorial/ch11/app/frontend/biz/router/product/middleware.go function rootMw (line 23) | func rootMw() []app.HandlerFunc { function _getproductMw (line 28) | func _getproductMw() []app.HandlerFunc { function _searchproductsMw (line 33) | func _searchproductsMw() []app.HandlerFunc { FILE: gomall/tutorial/ch11/app/frontend/biz/router/product/product_page.go function Register (line 31) | func Register(r *server.Hertz) { FILE: gomall/tutorial/ch11/app/frontend/biz/router/register.go function GeneratedRegister (line 29) | func GeneratedRegister(r *server.Hertz) { FILE: gomall/tutorial/ch11/app/frontend/biz/service/add_cart_item.go type AddCartItemService (line 28) | type AddCartItemService struct method Run (line 37) | func (h *AddCartItemService) Run(req *cart.AddCartItemReq) (resp *comm... function NewAddCartItemService (line 33) | func NewAddCartItemService(Context context.Context, RequestContext *app.... FILE: gomall/tutorial/ch11/app/frontend/biz/service/category.go type CategoryService (line 27) | type CategoryService struct method Run (line 36) | func (h *CategoryService) Run(req *category.CategoryReq) (resp map[str... function NewCategoryService (line 32) | func NewCategoryService(Context context.Context, RequestContext *app.Req... FILE: gomall/tutorial/ch11/app/frontend/biz/service/get_cart.go type GetCartService (line 30) | type GetCartService struct method Run (line 39) | func (h *GetCartService) Run(req *common.Empty) (resp map[string]any, ... function NewGetCartService (line 35) | func NewGetCartService(Context context.Context, RequestContext *app.Requ... FILE: gomall/tutorial/ch11/app/frontend/biz/service/get_product.go type GetProductService (line 27) | type GetProductService struct method Run (line 36) | func (h *GetProductService) Run(req *product.ProductReq) (resp map[str... function NewGetProductService (line 32) | func NewGetProductService(Context context.Context, RequestContext *app.R... FILE: gomall/tutorial/ch11/app/frontend/biz/service/home.go type HomeService (line 27) | type HomeService struct method Run (line 36) | func (h *HomeService) Run(req *common.Empty) (res map[string]any, err ... function NewHomeService (line 32) | func NewHomeService(Context context.Context, RequestContext *app.Request... FILE: gomall/tutorial/ch11/app/frontend/biz/service/login.go type LoginService (line 27) | type LoginService struct method Run (line 36) | func (h *LoginService) Run(req *auth.LoginReq) (redirect string, err e... function NewLoginService (line 32) | func NewLoginService(Context context.Context, RequestContext *app.Reques... FILE: gomall/tutorial/ch11/app/frontend/biz/service/logout.go type LogoutService (line 25) | type LogoutService struct method Run (line 34) | func (h *LogoutService) Run(req *common.Empty) (resp *common.Empty, er... function NewLogoutService (line 30) | func NewLogoutService(Context context.Context, RequestContext *app.Reque... FILE: gomall/tutorial/ch11/app/frontend/biz/service/register.go type RegisterService (line 28) | type RegisterService struct method Run (line 37) | func (h *RegisterService) Run(req *auth.RegisterReq) (resp *common.Emp... function NewRegisterService (line 33) | func NewRegisterService(Context context.Context, RequestContext *app.Req... FILE: gomall/tutorial/ch11/app/frontend/biz/service/search_products.go type SearchProductsService (line 27) | type SearchProductsService struct method Run (line 36) | func (h *SearchProductsService) Run(req *product.SearchProductsReq) (r... function NewSearchProductsService (line 32) | func NewSearchProductsService(Context context.Context, RequestContext *a... FILE: gomall/tutorial/ch11/app/frontend/biz/utils/resp.go function SendErrResponse (line 27) | func SendErrResponse(ctx context.Context, c *app.RequestContext, code in... function SendSuccessResponse (line 33) | func SendSuccessResponse(ctx context.Context, c *app.RequestContext, cod... function WarpResponse (line 38) | func WarpResponse(ctx context.Context, c *app.RequestContext, content ma... FILE: gomall/tutorial/ch11/app/frontend/conf/conf.go type Config (line 34) | type Config struct type MySQL (line 42) | type MySQL struct type Redis (line 46) | type Redis struct type Hertz (line 53) | type Hertz struct function GetConf (line 67) | func GetConf() *Config { function initConf (line 72) | func initConf() { function GetEnv (line 96) | func GetEnv() string { function LogLevel (line 104) | func LogLevel() hlog.Level { FILE: gomall/tutorial/ch11/app/frontend/hertz_gen/api/api.pb.go constant _ (line 18) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 20) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) function init (line 651) | func init() { file_api_proto_init() } function file_api_proto_init (line 652) | func file_api_proto_init() { FILE: gomall/tutorial/ch11/app/frontend/hertz_gen/frontend/auth/auth_page.pb.go constant _ (line 20) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 22) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type LoginReq (line 25) | type LoginReq struct method Reset (line 35) | func (x *LoginReq) Reset() { method String (line 44) | func (x *LoginReq) String() string { method ProtoMessage (line 48) | func (*LoginReq) ProtoMessage() {} method ProtoReflect (line 50) | func (x *LoginReq) ProtoReflect() protoreflect.Message { method Descriptor (line 63) | func (*LoginReq) Descriptor() ([]byte, []int) { method GetEmail (line 67) | func (x *LoginReq) GetEmail() string { method GetPassword (line 74) | func (x *LoginReq) GetPassword() string { method GetNext (line 81) | func (x *LoginReq) GetNext() string { type RegisterReq (line 88) | type RegisterReq struct method Reset (line 98) | func (x *RegisterReq) Reset() { method String (line 107) | func (x *RegisterReq) String() string { method ProtoMessage (line 111) | func (*RegisterReq) ProtoMessage() {} method ProtoReflect (line 113) | func (x *RegisterReq) ProtoReflect() protoreflect.Message { method Descriptor (line 126) | func (*RegisterReq) Descriptor() ([]byte, []int) { method GetEmail (line 130) | func (x *RegisterReq) GetEmail() string { method GetPassword (line 137) | func (x *RegisterReq) GetPassword() string { method GetPasswordConfirm (line 144) | func (x *RegisterReq) GetPasswordConfirm() string { function file_auth_page_proto_rawDescGZIP (line 204) | func file_auth_page_proto_rawDescGZIP() []byte { function init (line 231) | func init() { file_auth_page_proto_init() } function file_auth_page_proto_init (line 232) | func file_auth_page_proto_init() { FILE: gomall/tutorial/ch11/app/frontend/hertz_gen/frontend/cart/cart_page.pb.go constant _ (line 20) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 22) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type AddCartItemReq (line 25) | type AddCartItemReq struct method Reset (line 34) | func (x *AddCartItemReq) Reset() { method String (line 43) | func (x *AddCartItemReq) String() string { method ProtoMessage (line 47) | func (*AddCartItemReq) ProtoMessage() {} method ProtoReflect (line 49) | func (x *AddCartItemReq) ProtoReflect() protoreflect.Message { method Descriptor (line 62) | func (*AddCartItemReq) Descriptor() ([]byte, []int) { method GetProductId (line 66) | func (x *AddCartItemReq) GetProductId() uint32 { method GetProductNum (line 73) | func (x *AddCartItemReq) GetProductNum() int32 { function file_cart_page_proto_rawDescGZIP (line 117) | func file_cart_page_proto_rawDescGZIP() []byte { function init (line 141) | func init() { file_cart_page_proto_init() } function file_cart_page_proto_init (line 142) | func file_cart_page_proto_init() { FILE: gomall/tutorial/ch11/app/frontend/hertz_gen/frontend/category/category_page.pb.go constant _ (line 20) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 22) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type CategoryReq (line 25) | type CategoryReq struct method Reset (line 33) | func (x *CategoryReq) Reset() { method String (line 42) | func (x *CategoryReq) String() string { method ProtoMessage (line 46) | func (*CategoryReq) ProtoMessage() {} method ProtoReflect (line 48) | func (x *CategoryReq) ProtoReflect() protoreflect.Message { method Descriptor (line 61) | func (*CategoryReq) Descriptor() ([]byte, []int) { method GetCategory (line 65) | func (x *CategoryReq) GetCategory() string { function file_category_page_proto_rawDescGZIP (line 103) | func file_category_page_proto_rawDescGZIP() []byte { function init (line 125) | func init() { file_category_page_proto_init() } function file_category_page_proto_init (line 126) | func file_category_page_proto_init() { FILE: gomall/tutorial/ch11/app/frontend/hertz_gen/frontend/common/common.pb.go constant _ (line 18) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 20) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Empty (line 23) | type Empty struct method Reset (line 29) | func (x *Empty) Reset() { method String (line 38) | func (x *Empty) String() string { method ProtoMessage (line 42) | func (*Empty) ProtoMessage() {} method ProtoReflect (line 44) | func (x *Empty) ProtoReflect() protoreflect.Message { method Descriptor (line 57) | func (*Empty) Descriptor() ([]byte, []int) { function file_frontend_common_proto_rawDescGZIP (line 80) | func file_frontend_common_proto_rawDescGZIP() []byte { function init (line 99) | func init() { file_frontend_common_proto_init() } function file_frontend_common_proto_init (line 100) | func file_frontend_common_proto_init() { FILE: gomall/tutorial/ch11/app/frontend/hertz_gen/frontend/home/home.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) function init (line 56) | func init() { file_home_proto_init() } function file_home_proto_init (line 57) | func file_home_proto_init() { FILE: gomall/tutorial/ch11/app/frontend/hertz_gen/frontend/product/product_page.pb.go constant _ (line 20) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 22) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type ProductReq (line 25) | type ProductReq struct method Reset (line 33) | func (x *ProductReq) Reset() { method String (line 42) | func (x *ProductReq) String() string { method ProtoMessage (line 46) | func (*ProductReq) ProtoMessage() {} method ProtoReflect (line 48) | func (x *ProductReq) ProtoReflect() protoreflect.Message { method Descriptor (line 61) | func (*ProductReq) Descriptor() ([]byte, []int) { method GetId (line 65) | func (x *ProductReq) GetId() uint32 { type SearchProductsReq (line 72) | type SearchProductsReq struct method Reset (line 80) | func (x *SearchProductsReq) Reset() { method String (line 89) | func (x *SearchProductsReq) String() string { method ProtoMessage (line 93) | func (*SearchProductsReq) ProtoMessage() {} method ProtoReflect (line 95) | func (x *SearchProductsReq) ProtoReflect() protoreflect.Message { method Descriptor (line 108) | func (*SearchProductsReq) Descriptor() ([]byte, []int) { method GetQ (line 112) | func (x *SearchProductsReq) GetQ() string { function file_product_page_proto_rawDescGZIP (line 157) | func file_product_page_proto_rawDescGZIP() []byte { function init (line 182) | func init() { file_product_page_proto_init() } function file_product_page_proto_init (line 183) | func file_product_page_proto_init() { FILE: gomall/tutorial/ch11/app/frontend/infra/rpc/client.go function InitClient (line 36) | func InitClient() { function initUserClient (line 44) | func initUserClient() { function initProductClient (line 52) | func initProductClient() { function initCartClient (line 61) | func initCartClient() { FILE: gomall/tutorial/ch11/app/frontend/infra/rpc/client_test.go function Test_iniUserClient (line 24) | func Test_iniUserClient(t *testing.T) { FILE: gomall/tutorial/ch11/app/frontend/main.go function main (line 46) | func main() { function registerMiddleware (line 83) | func registerMiddleware(h *server.Hertz) { FILE: gomall/tutorial/ch11/app/frontend/middleware/auth.go function GlobalAuth (line 25) | func GlobalAuth() app.HandlerFunc { function Auth (line 33) | func Auth() app.HandlerFunc { FILE: gomall/tutorial/ch11/app/frontend/middleware/middleware.go function Register (line 19) | func Register(h *server.Hertz) { FILE: gomall/tutorial/ch11/app/frontend/utils/constant.go type SessionUserIdKey (line 17) | type SessionUserIdKey constant SessionUserId (line 19) | SessionUserId SessionUserIdKey = "user_id" FILE: gomall/tutorial/ch11/app/frontend/utils/errors.go function MustHandleError (line 19) | func MustHandleError(err error) { FILE: gomall/tutorial/ch11/app/frontend/utils/function.go function GetUserIdFromCtx (line 19) | func GetUserIdFromCtx(ctx context.Context) int32 { FILE: gomall/tutorial/ch11/app/product/biz/dal/init.go function Init (line 21) | func Init() { FILE: gomall/tutorial/ch11/app/product/biz/dal/mysql/init.go function Init (line 32) | func Init() { FILE: gomall/tutorial/ch11/app/product/biz/dal/redis/init.go function Init (line 26) | func Init() { FILE: gomall/tutorial/ch11/app/product/biz/model/base.go type Base (line 19) | type Base struct FILE: gomall/tutorial/ch11/app/product/biz/model/category.go type Category (line 23) | type Category struct method TableName (line 31) | func (c Category) TableName() string { type CategoryQuery (line 35) | type CategoryQuery struct method GetProductsByCategoryName (line 40) | func (c CategoryQuery) GetProductsByCategoryName(name string) (categor... function NewCategoryQuery (line 45) | func NewCategoryQuery(ctx context.Context, db *gorm.DB) *CategoryQuery { FILE: gomall/tutorial/ch11/app/product/biz/model/product.go type Product (line 23) | type Product struct method TableName (line 33) | func (p Product) TableName() string { type ProductQuery (line 37) | type ProductQuery struct method GetById (line 42) | func (p ProductQuery) GetById(productId int) (product Product, err err... method SearchProducts (line 47) | func (p ProductQuery) SearchProducts(q string) (products []*Product, e... function NewProductQuery (line 54) | func NewProductQuery(ctx context.Context, db *gorm.DB) *ProductQuery { FILE: gomall/tutorial/ch11/app/product/biz/service/get_product.go type GetProductService (line 26) | type GetProductService struct method Run (line 34) | func (s *GetProductService) Run(req *product.GetProductReq) (resp *pro... function NewGetProductService (line 29) | func NewGetProductService(ctx context.Context) *GetProductService { FILE: gomall/tutorial/ch11/app/product/biz/service/get_product_test.go function TestGetProduct_Run (line 24) | func TestGetProduct_Run(t *testing.T) { FILE: gomall/tutorial/ch11/app/product/biz/service/list_products.go type ListProductsService (line 25) | type ListProductsService struct method Run (line 33) | func (s *ListProductsService) Run(req *product.ListProductsReq) (resp ... function NewListProductsService (line 28) | func NewListProductsService(ctx context.Context) *ListProductsService { FILE: gomall/tutorial/ch11/app/product/biz/service/list_products_test.go function TestListProducts_Run (line 24) | func TestListProducts_Run(t *testing.T) { FILE: gomall/tutorial/ch11/app/product/biz/service/search_products.go type SearchProductsService (line 25) | type SearchProductsService struct method Run (line 33) | func (s *SearchProductsService) Run(req *product.SearchProductsReq) (r... function NewSearchProductsService (line 28) | func NewSearchProductsService(ctx context.Context) *SearchProductsService { FILE: gomall/tutorial/ch11/app/product/biz/service/search_products_test.go function TestSearchProducts_Run (line 24) | func TestSearchProducts_Run(t *testing.T) { FILE: gomall/tutorial/ch11/app/product/conf/conf.go type Config (line 34) | type Config struct type MySQL (line 42) | type MySQL struct type Redis (line 46) | type Redis struct type Kitex (line 53) | type Kitex struct type Registry (line 66) | type Registry struct function GetConf (line 73) | func GetConf() *Config { function initConf (line 78) | func initConf() { function GetEnv (line 99) | func GetEnv() string { function LogLevel (line 107) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch11/app/product/handler.go type ProductCatalogServiceImpl (line 25) | type ProductCatalogServiceImpl struct method ListProducts (line 28) | func (s *ProductCatalogServiceImpl) ListProducts(ctx context.Context, ... method GetProduct (line 35) | func (s *ProductCatalogServiceImpl) GetProduct(ctx context.Context, re... method SearchProducts (line 42) | func (s *ProductCatalogServiceImpl) SearchProducts(ctx context.Context... FILE: gomall/tutorial/ch11/app/product/main.go function main (line 34) | func main() { function kitexInit (line 47) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch11/app/product/script/product.sql type `category` (line 1) | CREATE TABLE `category` type `product` (line 13) | CREATE TABLE `product` type `product_category` (line 46) | CREATE TABLE `product_category` FILE: gomall/tutorial/ch11/app/product/utils/constant.go constant ServiceName (line 17) | ServiceName = "shop-product" FILE: gomall/tutorial/ch11/app/user/biz/dal/init.go function Init (line 22) | func Init() { FILE: gomall/tutorial/ch11/app/user/biz/dal/mysql/init.go function Init (line 33) | func Init() { FILE: gomall/tutorial/ch11/app/user/biz/dal/redis/init.go function Init (line 26) | func Init() { FILE: gomall/tutorial/ch11/app/user/biz/model/user.go type User (line 23) | type User struct method TableName (line 29) | func (User) TableName() string { function Create (line 33) | func Create(ctx context.Context, db *gorm.DB, user *User) error { function GetByEmail (line 37) | func GetByEmail(ctx context.Context, db *gorm.DB, email string) (*User, ... FILE: gomall/tutorial/ch11/app/user/biz/service/login.go type LoginService (line 27) | type LoginService struct method Run (line 35) | func (s *LoginService) Run(req *user.LoginReq) (resp *user.LoginResp, ... function NewLoginService (line 30) | func NewLoginService(ctx context.Context) *LoginService { FILE: gomall/tutorial/ch11/app/user/biz/service/login_test.go function TestLogin_Run (line 26) | func TestLogin_Run(t *testing.T) { FILE: gomall/tutorial/ch11/app/user/biz/service/register.go type RegisterService (line 27) | type RegisterService struct method Run (line 35) | func (s *RegisterService) Run(req *user.RegisterReq) (resp *user.Regis... function NewRegisterService (line 30) | func NewRegisterService(ctx context.Context) *RegisterService { FILE: gomall/tutorial/ch11/app/user/biz/service/register_test.go function TestRegister_Run (line 26) | func TestRegister_Run(t *testing.T) { FILE: gomall/tutorial/ch11/app/user/conf/conf.go type Config (line 34) | type Config struct type MySQL (line 42) | type MySQL struct type Redis (line 46) | type Redis struct type Kitex (line 53) | type Kitex struct type Registry (line 66) | type Registry struct function GetConf (line 73) | func GetConf() *Config { function initConf (line 78) | func initConf() { function GetEnv (line 99) | func GetEnv() string { function LogLevel (line 107) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch11/app/user/handler.go type UserServiceImpl (line 25) | type UserServiceImpl struct method Register (line 28) | func (s *UserServiceImpl) Register(ctx context.Context, req *user.Regi... method Login (line 35) | func (s *UserServiceImpl) Login(ctx context.Context, req *user.LoginRe... FILE: gomall/tutorial/ch11/app/user/main.go function main (line 34) | func main() { function kitexInit (line 51) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch11/demo/demo_proto/biz/dal/init.go function Init (line 21) | func Init() { FILE: gomall/tutorial/ch11/demo/demo_proto/biz/dal/mysql/init.go function Init (line 33) | func Init() { FILE: gomall/tutorial/ch11/demo/demo_proto/biz/dal/redis/init.go function Init (line 14) | func Init() { FILE: gomall/tutorial/ch11/demo/demo_proto/biz/model/user.go type User (line 19) | type User struct method TableName (line 25) | func (User) TableName() string { FILE: gomall/tutorial/ch11/demo/demo_proto/biz/service/echo.go type EchoService (line 23) | type EchoService struct method Run (line 31) | func (s *EchoService) Run(req *pbapi.Request) (resp *pbapi.Response, e... function NewEchoService (line 26) | func NewEchoService(ctx context.Context) *EchoService { FILE: gomall/tutorial/ch11/demo/demo_proto/biz/service/echo_test.go function TestEcho_Run (line 24) | func TestEcho_Run(t *testing.T) { FILE: gomall/tutorial/ch11/demo/demo_proto/cmd/client/client.go function main (line 32) | func main() { FILE: gomall/tutorial/ch11/demo/demo_proto/cmd/dbop/db.go function main (line 26) | func main() { FILE: gomall/tutorial/ch11/demo/demo_proto/conf/conf.go type Config (line 33) | type Config struct type MySQL (line 41) | type MySQL struct type Redis (line 45) | type Redis struct type Kitex (line 52) | type Kitex struct type Registry (line 65) | type Registry struct function GetConf (line 72) | func GetConf() *Config { function initConf (line 77) | func initConf() { function GetEnv (line 98) | func GetEnv() string { function LogLevel (line 106) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch11/demo/demo_proto/handler.go type EchoImpl (line 25) | type EchoImpl struct method Echo (line 28) | func (s *EchoImpl) Echo(ctx context.Context, req *pbapi.Request) (resp... FILE: gomall/tutorial/ch11/demo/demo_proto/kitex_gen/pbapi/echo.pb.fast.go method FastRead (line 15) | func (x *Request) FastRead(buf []byte, _type int8, number int32) (offset... method fastReadField1 (line 35) | func (x *Request) fastReadField1(buf []byte, _type int8) (offset int, er... method FastRead (line 40) | func (x *Response) FastRead(buf []byte, _type int8, number int32) (offse... method fastReadField1 (line 60) | func (x *Response) fastReadField1(buf []byte, _type int8) (offset int, e... method FastWrite (line 65) | func (x *Request) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 73) | func (x *Request) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 81) | func (x *Response) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 89) | func (x *Response) fastWriteField1(buf []byte) (offset int) { method Size (line 97) | func (x *Request) Size() (n int) { method sizeField1 (line 105) | func (x *Request) sizeField1() (n int) { method Size (line 113) | func (x *Response) Size() (n int) { method sizeField1 (line 121) | func (x *Response) sizeField1() (n int) { FILE: gomall/tutorial/ch11/demo/demo_proto/kitex_gen/pbapi/echo.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Request (line 24) | type Request struct method Reset (line 32) | func (x *Request) Reset() { method String (line 41) | func (x *Request) String() string { method ProtoMessage (line 45) | func (*Request) ProtoMessage() {} method ProtoReflect (line 47) | func (x *Request) ProtoReflect() protoreflect.Message { method Descriptor (line 60) | func (*Request) Descriptor() ([]byte, []int) { method GetMessage (line 64) | func (x *Request) GetMessage() string { type Response (line 71) | type Response struct method Reset (line 79) | func (x *Response) Reset() { method String (line 88) | func (x *Response) String() string { method ProtoMessage (line 92) | func (*Response) ProtoMessage() {} method ProtoReflect (line 94) | func (x *Response) ProtoReflect() protoreflect.Message { method Descriptor (line 107) | func (*Response) Descriptor() ([]byte, []int) { method GetMessage (line 111) | func (x *Response) GetMessage() string { function file_echo_proto_rawDescGZIP (line 143) | func file_echo_proto_rawDescGZIP() []byte { function init (line 165) | func init() { file_echo_proto_init() } function file_echo_proto_init (line 166) | func file_echo_proto_init() { type Echo (line 220) | type Echo interface FILE: gomall/tutorial/ch11/demo/demo_proto/kitex_gen/pbapi/echo/client.go type Client (line 13) | type Client interface function NewClient (line 18) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 34) | func MustNewClient(destService string, opts ...client.Option) Client { type kEchoClient (line 42) | type kEchoClient struct method Echo (line 46) | func (p *kEchoClient) Echo(ctx context.Context, Req *pbapi.Request, ca... FILE: gomall/tutorial/ch11/demo/demo_proto/kitex_gen/pbapi/echo/echo.go function serviceInfo (line 14) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 20) | func NewServiceInfo() *kitex.ServiceInfo { function echoHandler (line 41) | func echoHandler(ctx context.Context, handler interface{}, arg, result i... function newEchoArgs (line 66) | func newEchoArgs() interface{} { function newEchoResult (line 70) | func newEchoResult() interface{} { type EchoArgs (line 74) | type EchoArgs struct method FastRead (line 78) | func (p *EchoArgs) FastRead(buf []byte, _type int8, number int32) (n i... method FastWrite (line 85) | func (p *EchoArgs) FastWrite(buf []byte) (n int) { method Size (line 92) | func (p *EchoArgs) Size() (n int) { method Marshal (line 99) | func (p *EchoArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 106) | func (p *EchoArgs) Unmarshal(in []byte) error { method GetReq (line 117) | func (p *EchoArgs) GetReq() *pbapi.Request { method IsSetReq (line 124) | func (p *EchoArgs) IsSetReq() bool { method GetFirstArgument (line 128) | func (p *EchoArgs) GetFirstArgument() interface{} { type EchoResult (line 132) | type EchoResult struct method FastRead (line 138) | func (p *EchoResult) FastRead(buf []byte, _type int8, number int32) (n... method FastWrite (line 145) | func (p *EchoResult) FastWrite(buf []byte) (n int) { method Size (line 152) | func (p *EchoResult) Size() (n int) { method Marshal (line 159) | func (p *EchoResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 166) | func (p *EchoResult) Unmarshal(in []byte) error { method GetSuccess (line 175) | func (p *EchoResult) GetSuccess() *pbapi.Response { method SetSuccess (line 182) | func (p *EchoResult) SetSuccess(x interface{}) { method IsSetSuccess (line 186) | func (p *EchoResult) IsSetSuccess() bool { method GetResult (line 190) | func (p *EchoResult) GetResult() interface{} { type kClient (line 194) | type kClient struct method Echo (line 204) | func (p *kClient) Echo(ctx context.Context, Req *pbapi.Request) (r *pb... function newServiceClient (line 198) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch11/demo/demo_proto/kitex_gen/pbapi/echo/invoker.go function NewInvoker (line 11) | func NewInvoker(handler pbapi.Echo, opts ...server.Option) server.Invoker { FILE: gomall/tutorial/ch11/demo/demo_proto/kitex_gen/pbapi/echo/server.go function NewServer (line 10) | func NewServer(handler pbapi.Echo, opts ...server.Option) server.Server { FILE: gomall/tutorial/ch11/demo/demo_proto/main.go function main (line 35) | func main() { function kitexInit (line 53) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch11/demo/demo_thrift/biz/dal/init.go function Init (line 22) | func Init() { FILE: gomall/tutorial/ch11/demo/demo_thrift/biz/dal/mysql/init.go function Init (line 29) | func Init() { FILE: gomall/tutorial/ch11/demo/demo_thrift/biz/dal/redis/init.go function Init (line 28) | func Init() { FILE: gomall/tutorial/ch11/demo/demo_thrift/biz/service/echo.go type EchoService (line 23) | type EchoService struct method Run (line 31) | func (s *EchoService) Run(req *api.Request) (resp *api.Response, err e... function NewEchoService (line 26) | func NewEchoService(ctx context.Context) *EchoService { FILE: gomall/tutorial/ch11/demo/demo_thrift/biz/service/echo_test.go function TestEcho_Run (line 24) | func TestEcho_Run(t *testing.T) { FILE: gomall/tutorial/ch11/demo/demo_thrift/cmd/client/client.go function main (line 32) | func main() { FILE: gomall/tutorial/ch11/demo/demo_thrift/conf/conf.go type Config (line 34) | type Config struct type MySQL (line 42) | type MySQL struct type Redis (line 46) | type Redis struct type Kitex (line 53) | type Kitex struct type Registry (line 66) | type Registry struct function GetConf (line 73) | func GetConf() *Config { function initConf (line 78) | func initConf() { function GetEnv (line 99) | func GetEnv() string { function LogLevel (line 107) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch11/demo/demo_thrift/handler.go type EchoImpl (line 25) | type EchoImpl struct method Echo (line 28) | func (s *EchoImpl) Echo(ctx context.Context, req *api.Request) (resp *... FILE: gomall/tutorial/ch11/demo/demo_thrift/kitex_gen/api/echo.go type Request (line 12) | type Request struct method InitDefault (line 20) | func (p *Request) InitDefault() { method GetMessage (line 24) | func (p *Request) GetMessage() (v string) { method SetMessage (line 27) | func (p *Request) SetMessage(val string) { method Read (line 35) | func (p *Request) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 94) | func (p *Request) ReadField1(iprot thrift.TProtocol) error { method Write (line 103) | func (p *Request) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 132) | func (p *Request) writeField1(oprot thrift.TProtocol) (err error) { method String (line 149) | func (p *Request) String() string { method DeepEqual (line 156) | func (p *Request) DeepEqual(ano *Request) bool { method Field1DeepEqual (line 168) | func (p *Request) Field1DeepEqual(src string) bool { function NewRequest (line 16) | func NewRequest() *Request { type Response (line 176) | type Response struct method InitDefault (line 184) | func (p *Response) InitDefault() { method GetMessage (line 188) | func (p *Response) GetMessage() (v string) { method SetMessage (line 191) | func (p *Response) SetMessage(val string) { method Read (line 199) | func (p *Response) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 258) | func (p *Response) ReadField1(iprot thrift.TProtocol) error { method Write (line 267) | func (p *Response) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 296) | func (p *Response) writeField1(oprot thrift.TProtocol) (err error) { method String (line 313) | func (p *Response) String() string { method DeepEqual (line 320) | func (p *Response) DeepEqual(ano *Response) bool { method Field1DeepEqual (line 332) | func (p *Response) Field1DeepEqual(src string) bool { function NewResponse (line 180) | func NewResponse() *Response { type Echo (line 340) | type Echo interface type EchoClient (line 344) | type EchoClient struct method Client_ (line 366) | func (p *EchoClient) Client_() thrift.TClient { method Echo (line 370) | func (p *EchoClient) Echo(ctx context.Context, req *Request) (r *Respo... function NewEchoClientFactory (line 348) | func NewEchoClientFactory(t thrift.TTransport, f thrift.TProtocolFactory... function NewEchoClientProtocol (line 354) | func NewEchoClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, ... function NewEchoClient (line 360) | func NewEchoClient(c thrift.TClient) *EchoClient { type EchoProcessor (line 380) | type EchoProcessor struct method AddToProcessorMap (line 385) | func (p *EchoProcessor) AddToProcessorMap(key string, processor thrift... method GetProcessorFunction (line 389) | func (p *EchoProcessor) GetProcessorFunction(key string) (processor th... method ProcessorMap (line 394) | func (p *EchoProcessor) ProcessorMap() map[string]thrift.TProcessorFun... method Process (line 403) | func (p *EchoProcessor) Process(ctx context.Context, iprot, oprot thri... function NewEchoProcessor (line 398) | func NewEchoProcessor(handler Echo) *EchoProcessor { type echoProcessorEcho (line 421) | type echoProcessorEcho struct method Process (line 425) | func (p *echoProcessorEcho) Process(ctx context.Context, seqId int32, ... type EchoEchoArgs (line 469) | type EchoEchoArgs struct method InitDefault (line 477) | func (p *EchoEchoArgs) InitDefault() { method GetReq (line 483) | func (p *EchoEchoArgs) GetReq() (v *Request) { method SetReq (line 489) | func (p *EchoEchoArgs) SetReq(val *Request) { method IsSetReq (line 497) | func (p *EchoEchoArgs) IsSetReq() bool { method Read (line 501) | func (p *EchoEchoArgs) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 560) | func (p *EchoEchoArgs) ReadField1(iprot thrift.TProtocol) error { method Write (line 568) | func (p *EchoEchoArgs) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 597) | func (p *EchoEchoArgs) writeField1(oprot thrift.TProtocol) (err error) { method String (line 614) | func (p *EchoEchoArgs) String() string { method DeepEqual (line 621) | func (p *EchoEchoArgs) DeepEqual(ano *EchoEchoArgs) bool { method Field1DeepEqual (line 633) | func (p *EchoEchoArgs) Field1DeepEqual(src *Request) bool { function NewEchoEchoArgs (line 473) | func NewEchoEchoArgs() *EchoEchoArgs { type EchoEchoResult (line 641) | type EchoEchoResult struct method InitDefault (line 649) | func (p *EchoEchoResult) InitDefault() { method GetSuccess (line 655) | func (p *EchoEchoResult) GetSuccess() (v *Response) { method SetSuccess (line 661) | func (p *EchoEchoResult) SetSuccess(x interface{}) { method IsSetSuccess (line 669) | func (p *EchoEchoResult) IsSetSuccess() bool { method Read (line 673) | func (p *EchoEchoResult) Read(iprot thrift.TProtocol) (err error) { method ReadField0 (line 732) | func (p *EchoEchoResult) ReadField0(iprot thrift.TProtocol) error { method Write (line 740) | func (p *EchoEchoResult) Write(oprot thrift.TProtocol) (err error) { method writeField0 (line 769) | func (p *EchoEchoResult) writeField0(oprot thrift.TProtocol) (err erro... method String (line 788) | func (p *EchoEchoResult) String() string { method DeepEqual (line 795) | func (p *EchoEchoResult) DeepEqual(ano *EchoEchoResult) bool { method Field0DeepEqual (line 807) | func (p *EchoEchoResult) Field0DeepEqual(src *Response) bool { function NewEchoEchoResult (line 645) | func NewEchoEchoResult() *EchoEchoResult { FILE: gomall/tutorial/ch11/demo/demo_thrift/kitex_gen/api/echo/client.go type Client (line 13) | type Client interface function NewClient (line 18) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 34) | func MustNewClient(destService string, opts ...client.Option) Client { type kEchoClient (line 42) | type kEchoClient struct method Echo (line 46) | func (p *kEchoClient) Echo(ctx context.Context, req *api.Request, call... FILE: gomall/tutorial/ch11/demo/demo_thrift/kitex_gen/api/echo/echo.go function serviceInfo (line 12) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 18) | func NewServiceInfo() *kitex.ServiceInfo { function echoHandler (line 39) | func echoHandler(ctx context.Context, handler interface{}, arg, result i... function newEchoEchoArgs (line 49) | func newEchoEchoArgs() interface{} { function newEchoEchoResult (line 53) | func newEchoEchoResult() interface{} { type kClient (line 57) | type kClient struct method Echo (line 67) | func (p *kClient) Echo(ctx context.Context, req *api.Request) (r *api.... function newServiceClient (line 61) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch11/demo/demo_thrift/kitex_gen/api/echo/invoker.go function NewInvoker (line 11) | func NewInvoker(handler api.Echo, opts ...server.Option) server.Invoker { FILE: gomall/tutorial/ch11/demo/demo_thrift/kitex_gen/api/echo/server.go function NewServer (line 10) | func NewServer(handler api.Echo, opts ...server.Option) server.Server { FILE: gomall/tutorial/ch11/demo/demo_thrift/kitex_gen/api/k-echo.go method FastRead (line 26) | func (p *Request) FastRead(buf []byte) (int, error) { method FastReadField1 (line 97) | func (p *Request) FastReadField1(buf []byte) (int, error) { method FastWrite (line 112) | func (p *Request) FastWrite(buf []byte) int { method FastWriteNocopy (line 116) | func (p *Request) FastWriteNocopy(buf []byte, binaryWriter bthrift.Binar... method BLength (line 127) | func (p *Request) BLength() int { method fastWriteField1 (line 138) | func (p *Request) fastWriteField1(buf []byte, binaryWriter bthrift.Binar... method field1Length (line 147) | func (p *Request) field1Length() int { method FastRead (line 156) | func (p *Response) FastRead(buf []byte) (int, error) { method FastReadField1 (line 227) | func (p *Response) FastReadField1(buf []byte) (int, error) { method FastWrite (line 242) | func (p *Response) FastWrite(buf []byte) int { method FastWriteNocopy (line 246) | func (p *Response) FastWriteNocopy(buf []byte, binaryWriter bthrift.Bina... method BLength (line 257) | func (p *Response) BLength() int { method fastWriteField1 (line 268) | func (p *Response) fastWriteField1(buf []byte, binaryWriter bthrift.Bina... method field1Length (line 277) | func (p *Response) field1Length() int { method FastRead (line 286) | func (p *EchoEchoArgs) FastRead(buf []byte) (int, error) { method FastReadField1 (line 357) | func (p *EchoEchoArgs) FastReadField1(buf []byte) (int, error) { method FastWrite (line 371) | func (p *EchoEchoArgs) FastWrite(buf []byte) int { method FastWriteNocopy (line 375) | func (p *EchoEchoArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.... method BLength (line 386) | func (p *EchoEchoArgs) BLength() int { method fastWriteField1 (line 397) | func (p *EchoEchoArgs) fastWriteField1(buf []byte, binaryWriter bthrift.... method field1Length (line 405) | func (p *EchoEchoArgs) field1Length() int { method FastRead (line 413) | func (p *EchoEchoResult) FastRead(buf []byte) (int, error) { method FastReadField0 (line 484) | func (p *EchoEchoResult) FastReadField0(buf []byte) (int, error) { method FastWrite (line 498) | func (p *EchoEchoResult) FastWrite(buf []byte) int { method FastWriteNocopy (line 502) | func (p *EchoEchoResult) FastWriteNocopy(buf []byte, binaryWriter bthrif... method BLength (line 513) | func (p *EchoEchoResult) BLength() int { method fastWriteField0 (line 524) | func (p *EchoEchoResult) fastWriteField0(buf []byte, binaryWriter bthrif... method field0Length (line 534) | func (p *EchoEchoResult) field0Length() int { method GetFirstArgument (line 544) | func (p *EchoEchoArgs) GetFirstArgument() interface{} { method GetResult (line 548) | func (p *EchoEchoResult) GetResult() interface{} { FILE: gomall/tutorial/ch11/demo/demo_thrift/main.go function main (line 33) | func main() { function kitexInit (line 44) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch11/hello_world/main.go function main (line 25) | func main() { FILE: gomall/tutorial/ch11/rpc_gen/kitex_gen/cart/cart.pb.fast.go method FastRead (line 15) | func (x *CartItem) FastRead(buf []byte, _type int8, number int32) (offse... method fastReadField1 (line 40) | func (x *CartItem) fastReadField1(buf []byte, _type int8) (offset int, e... method fastReadField2 (line 45) | func (x *CartItem) fastReadField2(buf []byte, _type int8) (offset int, e... method FastRead (line 50) | func (x *AddItemReq) FastRead(buf []byte, _type int8, number int32) (off... method fastReadField1 (line 75) | func (x *AddItemReq) fastReadField1(buf []byte, _type int8) (offset int,... method fastReadField2 (line 80) | func (x *AddItemReq) fastReadField2(buf []byte, _type int8) (offset int,... method FastRead (line 90) | func (x *AddItemResp) FastRead(buf []byte, _type int8, number int32) (of... method FastRead (line 103) | func (x *GetCartReq) FastRead(buf []byte, _type int8, number int32) (off... method fastReadField1 (line 123) | func (x *GetCartReq) fastReadField1(buf []byte, _type int8) (offset int,... method FastRead (line 128) | func (x *GetCartResp) FastRead(buf []byte, _type int8, number int32) (of... method fastReadField1 (line 148) | func (x *GetCartResp) fastReadField1(buf []byte, _type int8) (offset int... method FastRead (line 158) | func (x *EmptyCartReq) FastRead(buf []byte, _type int8, number int32) (o... method fastReadField1 (line 178) | func (x *EmptyCartReq) fastReadField1(buf []byte, _type int8) (offset in... method FastRead (line 183) | func (x *EmptyCartResp) FastRead(buf []byte, _type int8, number int32) (... method FastWrite (line 196) | func (x *CartItem) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 205) | func (x *CartItem) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 213) | func (x *CartItem) fastWriteField2(buf []byte) (offset int) { method FastWrite (line 221) | func (x *AddItemReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 230) | func (x *AddItemReq) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 238) | func (x *AddItemReq) fastWriteField2(buf []byte) (offset int) { method FastWrite (line 246) | func (x *AddItemResp) FastWrite(buf []byte) (offset int) { method FastWrite (line 253) | func (x *GetCartReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 261) | func (x *GetCartReq) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 269) | func (x *GetCartResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 277) | func (x *GetCartResp) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 287) | func (x *EmptyCartReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 295) | func (x *EmptyCartReq) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 303) | func (x *EmptyCartResp) FastWrite(buf []byte) (offset int) { method Size (line 310) | func (x *CartItem) Size() (n int) { method sizeField1 (line 319) | func (x *CartItem) sizeField1() (n int) { method sizeField2 (line 327) | func (x *CartItem) sizeField2() (n int) { method Size (line 335) | func (x *AddItemReq) Size() (n int) { method sizeField1 (line 344) | func (x *AddItemReq) sizeField1() (n int) { method sizeField2 (line 352) | func (x *AddItemReq) sizeField2() (n int) { method Size (line 360) | func (x *AddItemResp) Size() (n int) { method Size (line 367) | func (x *GetCartReq) Size() (n int) { method sizeField1 (line 375) | func (x *GetCartReq) sizeField1() (n int) { method Size (line 383) | func (x *GetCartResp) Size() (n int) { method sizeField1 (line 391) | func (x *GetCartResp) sizeField1() (n int) { method Size (line 401) | func (x *EmptyCartReq) Size() (n int) { method sizeField1 (line 409) | func (x *EmptyCartReq) sizeField1() (n int) { method Size (line 417) | func (x *EmptyCartResp) Size() (n int) { FILE: gomall/tutorial/ch11/rpc_gen/kitex_gen/cart/cart.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type CartItem (line 24) | type CartItem struct method Reset (line 33) | func (x *CartItem) Reset() { method String (line 42) | func (x *CartItem) String() string { method ProtoMessage (line 46) | func (*CartItem) ProtoMessage() {} method ProtoReflect (line 48) | func (x *CartItem) ProtoReflect() protoreflect.Message { method Descriptor (line 61) | func (*CartItem) Descriptor() ([]byte, []int) { method GetProductId (line 65) | func (x *CartItem) GetProductId() uint32 { method GetQuantity (line 72) | func (x *CartItem) GetQuantity() uint32 { type AddItemReq (line 79) | type AddItemReq struct method Reset (line 88) | func (x *AddItemReq) Reset() { method String (line 97) | func (x *AddItemReq) String() string { method ProtoMessage (line 101) | func (*AddItemReq) ProtoMessage() {} method ProtoReflect (line 103) | func (x *AddItemReq) ProtoReflect() protoreflect.Message { method Descriptor (line 116) | func (*AddItemReq) Descriptor() ([]byte, []int) { method GetUserId (line 120) | func (x *AddItemReq) GetUserId() uint32 { method GetItem (line 127) | func (x *AddItemReq) GetItem() *CartItem { type AddItemResp (line 134) | type AddItemResp struct method Reset (line 140) | func (x *AddItemResp) Reset() { method String (line 149) | func (x *AddItemResp) String() string { method ProtoMessage (line 153) | func (*AddItemResp) ProtoMessage() {} method ProtoReflect (line 155) | func (x *AddItemResp) ProtoReflect() protoreflect.Message { method Descriptor (line 168) | func (*AddItemResp) Descriptor() ([]byte, []int) { type GetCartReq (line 172) | type GetCartReq struct method Reset (line 180) | func (x *GetCartReq) Reset() { method String (line 189) | func (x *GetCartReq) String() string { method ProtoMessage (line 193) | func (*GetCartReq) ProtoMessage() {} method ProtoReflect (line 195) | func (x *GetCartReq) ProtoReflect() protoreflect.Message { method Descriptor (line 208) | func (*GetCartReq) Descriptor() ([]byte, []int) { method GetUserId (line 212) | func (x *GetCartReq) GetUserId() uint32 { type GetCartResp (line 219) | type GetCartResp struct method Reset (line 227) | func (x *GetCartResp) Reset() { method String (line 236) | func (x *GetCartResp) String() string { method ProtoMessage (line 240) | func (*GetCartResp) ProtoMessage() {} method ProtoReflect (line 242) | func (x *GetCartResp) ProtoReflect() protoreflect.Message { method Descriptor (line 255) | func (*GetCartResp) Descriptor() ([]byte, []int) { method GetItems (line 259) | func (x *GetCartResp) GetItems() []*CartItem { type EmptyCartReq (line 266) | type EmptyCartReq struct method Reset (line 274) | func (x *EmptyCartReq) Reset() { method String (line 283) | func (x *EmptyCartReq) String() string { method ProtoMessage (line 287) | func (*EmptyCartReq) ProtoMessage() {} method ProtoReflect (line 289) | func (x *EmptyCartReq) ProtoReflect() protoreflect.Message { method Descriptor (line 302) | func (*EmptyCartReq) Descriptor() ([]byte, []int) { method GetUserId (line 306) | func (x *EmptyCartReq) GetUserId() uint32 { type EmptyCartResp (line 313) | type EmptyCartResp struct method Reset (line 319) | func (x *EmptyCartResp) Reset() { method String (line 328) | func (x *EmptyCartResp) String() string { method ProtoMessage (line 332) | func (*EmptyCartResp) ProtoMessage() {} method ProtoReflect (line 334) | func (x *EmptyCartResp) ProtoReflect() protoreflect.Message { method Descriptor (line 347) | func (*EmptyCartResp) Descriptor() ([]byte, []int) { function file_cart_proto_rawDescGZIP (line 397) | func file_cart_proto_rawDescGZIP() []byte { function init (line 430) | func init() { file_cart_proto_init() } function file_cart_proto_init (line 431) | func file_cart_proto_init() { type CartService (line 545) | type CartService interface FILE: gomall/tutorial/ch11/rpc_gen/kitex_gen/cart/cartservice/cartservice.go function serviceInfo (line 14) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 20) | func NewServiceInfo() *kitex.ServiceInfo { function addItemHandler (line 43) | func addItemHandler(ctx context.Context, handler interface{}, arg, resul... function newAddItemArgs (line 68) | func newAddItemArgs() interface{} { function newAddItemResult (line 72) | func newAddItemResult() interface{} { type AddItemArgs (line 76) | type AddItemArgs struct method FastRead (line 80) | func (p *AddItemArgs) FastRead(buf []byte, _type int8, number int32) (... method FastWrite (line 87) | func (p *AddItemArgs) FastWrite(buf []byte) (n int) { method Size (line 94) | func (p *AddItemArgs) Size() (n int) { method Marshal (line 101) | func (p *AddItemArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 108) | func (p *AddItemArgs) Unmarshal(in []byte) error { method GetReq (line 119) | func (p *AddItemArgs) GetReq() *cart.AddItemReq { method IsSetReq (line 126) | func (p *AddItemArgs) IsSetReq() bool { method GetFirstArgument (line 130) | func (p *AddItemArgs) GetFirstArgument() interface{} { type AddItemResult (line 134) | type AddItemResult struct method FastRead (line 140) | func (p *AddItemResult) FastRead(buf []byte, _type int8, number int32)... method FastWrite (line 147) | func (p *AddItemResult) FastWrite(buf []byte) (n int) { method Size (line 154) | func (p *AddItemResult) Size() (n int) { method Marshal (line 161) | func (p *AddItemResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 168) | func (p *AddItemResult) Unmarshal(in []byte) error { method GetSuccess (line 177) | func (p *AddItemResult) GetSuccess() *cart.AddItemResp { method SetSuccess (line 184) | func (p *AddItemResult) SetSuccess(x interface{}) { method IsSetSuccess (line 188) | func (p *AddItemResult) IsSetSuccess() bool { method GetResult (line 192) | func (p *AddItemResult) GetResult() interface{} { function getCartHandler (line 196) | func getCartHandler(ctx context.Context, handler interface{}, arg, resul... function newGetCartArgs (line 221) | func newGetCartArgs() interface{} { function newGetCartResult (line 225) | func newGetCartResult() interface{} { type GetCartArgs (line 229) | type GetCartArgs struct method FastRead (line 233) | func (p *GetCartArgs) FastRead(buf []byte, _type int8, number int32) (... method FastWrite (line 240) | func (p *GetCartArgs) FastWrite(buf []byte) (n int) { method Size (line 247) | func (p *GetCartArgs) Size() (n int) { method Marshal (line 254) | func (p *GetCartArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 261) | func (p *GetCartArgs) Unmarshal(in []byte) error { method GetReq (line 272) | func (p *GetCartArgs) GetReq() *cart.GetCartReq { method IsSetReq (line 279) | func (p *GetCartArgs) IsSetReq() bool { method GetFirstArgument (line 283) | func (p *GetCartArgs) GetFirstArgument() interface{} { type GetCartResult (line 287) | type GetCartResult struct method FastRead (line 293) | func (p *GetCartResult) FastRead(buf []byte, _type int8, number int32)... method FastWrite (line 300) | func (p *GetCartResult) FastWrite(buf []byte) (n int) { method Size (line 307) | func (p *GetCartResult) Size() (n int) { method Marshal (line 314) | func (p *GetCartResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 321) | func (p *GetCartResult) Unmarshal(in []byte) error { method GetSuccess (line 330) | func (p *GetCartResult) GetSuccess() *cart.GetCartResp { method SetSuccess (line 337) | func (p *GetCartResult) SetSuccess(x interface{}) { method IsSetSuccess (line 341) | func (p *GetCartResult) IsSetSuccess() bool { method GetResult (line 345) | func (p *GetCartResult) GetResult() interface{} { function emptyCartHandler (line 349) | func emptyCartHandler(ctx context.Context, handler interface{}, arg, res... function newEmptyCartArgs (line 374) | func newEmptyCartArgs() interface{} { function newEmptyCartResult (line 378) | func newEmptyCartResult() interface{} { type EmptyCartArgs (line 382) | type EmptyCartArgs struct method FastRead (line 386) | func (p *EmptyCartArgs) FastRead(buf []byte, _type int8, number int32)... method FastWrite (line 393) | func (p *EmptyCartArgs) FastWrite(buf []byte) (n int) { method Size (line 400) | func (p *EmptyCartArgs) Size() (n int) { method Marshal (line 407) | func (p *EmptyCartArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 414) | func (p *EmptyCartArgs) Unmarshal(in []byte) error { method GetReq (line 425) | func (p *EmptyCartArgs) GetReq() *cart.EmptyCartReq { method IsSetReq (line 432) | func (p *EmptyCartArgs) IsSetReq() bool { method GetFirstArgument (line 436) | func (p *EmptyCartArgs) GetFirstArgument() interface{} { type EmptyCartResult (line 440) | type EmptyCartResult struct method FastRead (line 446) | func (p *EmptyCartResult) FastRead(buf []byte, _type int8, number int3... method FastWrite (line 453) | func (p *EmptyCartResult) FastWrite(buf []byte) (n int) { method Size (line 460) | func (p *EmptyCartResult) Size() (n int) { method Marshal (line 467) | func (p *EmptyCartResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 474) | func (p *EmptyCartResult) Unmarshal(in []byte) error { method GetSuccess (line 483) | func (p *EmptyCartResult) GetSuccess() *cart.EmptyCartResp { method SetSuccess (line 490) | func (p *EmptyCartResult) SetSuccess(x interface{}) { method IsSetSuccess (line 494) | func (p *EmptyCartResult) IsSetSuccess() bool { method GetResult (line 498) | func (p *EmptyCartResult) GetResult() interface{} { type kClient (line 502) | type kClient struct method AddItem (line 512) | func (p *kClient) AddItem(ctx context.Context, Req *cart.AddItemReq) (... method GetCart (line 522) | func (p *kClient) GetCart(ctx context.Context, Req *cart.GetCartReq) (... method EmptyCart (line 532) | func (p *kClient) EmptyCart(ctx context.Context, Req *cart.EmptyCartRe... function newServiceClient (line 506) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch11/rpc_gen/kitex_gen/cart/cartservice/client.go type Client (line 13) | type Client interface function NewClient (line 20) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 36) | func MustNewClient(destService string, opts ...client.Option) Client { type kCartServiceClient (line 44) | type kCartServiceClient struct method AddItem (line 48) | func (p *kCartServiceClient) AddItem(ctx context.Context, Req *cart.Ad... method GetCart (line 53) | func (p *kCartServiceClient) GetCart(ctx context.Context, Req *cart.Ge... method EmptyCart (line 58) | func (p *kCartServiceClient) EmptyCart(ctx context.Context, Req *cart.... FILE: gomall/tutorial/ch11/rpc_gen/kitex_gen/cart/cartservice/invoker.go function NewInvoker (line 11) | func NewInvoker(handler cart.CartService, opts ...server.Option) server.... FILE: gomall/tutorial/ch11/rpc_gen/kitex_gen/cart/cartservice/server.go function NewServer (line 10) | func NewServer(handler cart.CartService, opts ...server.Option) server.S... FILE: gomall/tutorial/ch11/rpc_gen/kitex_gen/product/product.pb.fast.go method FastRead (line 15) | func (x *ListProductsReq) FastRead(buf []byte, _type int8, number int32)... method fastReadField1 (line 45) | func (x *ListProductsReq) fastReadField1(buf []byte, _type int8) (offset... method fastReadField2 (line 50) | func (x *ListProductsReq) fastReadField2(buf []byte, _type int8) (offset... method fastReadField3 (line 55) | func (x *ListProductsReq) fastReadField3(buf []byte, _type int8) (offset... method FastRead (line 60) | func (x *Product) FastRead(buf []byte, _type int8, number int32) (offset... method fastReadField1 (line 105) | func (x *Product) fastReadField1(buf []byte, _type int8) (offset int, er... method fastReadField2 (line 110) | func (x *Product) fastReadField2(buf []byte, _type int8) (offset int, er... method fastReadField3 (line 115) | func (x *Product) fastReadField3(buf []byte, _type int8) (offset int, er... method fastReadField4 (line 120) | func (x *Product) fastReadField4(buf []byte, _type int8) (offset int, er... method fastReadField5 (line 125) | func (x *Product) fastReadField5(buf []byte, _type int8) (offset int, er... method fastReadField6 (line 130) | func (x *Product) fastReadField6(buf []byte, _type int8) (offset int, er... method FastRead (line 140) | func (x *ListProductsResp) FastRead(buf []byte, _type int8, number int32... method fastReadField1 (line 160) | func (x *ListProductsResp) fastReadField1(buf []byte, _type int8) (offse... method FastRead (line 170) | func (x *GetProductReq) FastRead(buf []byte, _type int8, number int32) (... method fastReadField1 (line 190) | func (x *GetProductReq) fastReadField1(buf []byte, _type int8) (offset i... method FastRead (line 195) | func (x *GetProductResp) FastRead(buf []byte, _type int8, number int32) ... method fastReadField1 (line 215) | func (x *GetProductResp) fastReadField1(buf []byte, _type int8) (offset ... method FastRead (line 225) | func (x *SearchProductsReq) FastRead(buf []byte, _type int8, number int3... method fastReadField1 (line 245) | func (x *SearchProductsReq) fastReadField1(buf []byte, _type int8) (offs... method FastRead (line 250) | func (x *SearchProductsResp) FastRead(buf []byte, _type int8, number int... method fastReadField1 (line 270) | func (x *SearchProductsResp) fastReadField1(buf []byte, _type int8) (off... method FastWrite (line 280) | func (x *ListProductsReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 290) | func (x *ListProductsReq) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 298) | func (x *ListProductsReq) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 306) | func (x *ListProductsReq) fastWriteField3(buf []byte) (offset int) { method FastWrite (line 314) | func (x *Product) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 327) | func (x *Product) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 335) | func (x *Product) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 343) | func (x *Product) fastWriteField3(buf []byte) (offset int) { method fastWriteField4 (line 351) | func (x *Product) fastWriteField4(buf []byte) (offset int) { method fastWriteField5 (line 359) | func (x *Product) fastWriteField5(buf []byte) (offset int) { method fastWriteField6 (line 367) | func (x *Product) fastWriteField6(buf []byte) (offset int) { method FastWrite (line 377) | func (x *ListProductsResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 385) | func (x *ListProductsResp) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 395) | func (x *GetProductReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 403) | func (x *GetProductReq) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 411) | func (x *GetProductResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 419) | func (x *GetProductResp) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 427) | func (x *SearchProductsReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 435) | func (x *SearchProductsReq) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 443) | func (x *SearchProductsResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 451) | func (x *SearchProductsResp) fastWriteField1(buf []byte) (offset int) { method Size (line 461) | func (x *ListProductsReq) Size() (n int) { method sizeField1 (line 471) | func (x *ListProductsReq) sizeField1() (n int) { method sizeField2 (line 479) | func (x *ListProductsReq) sizeField2() (n int) { method sizeField3 (line 487) | func (x *ListProductsReq) sizeField3() (n int) { method Size (line 495) | func (x *Product) Size() (n int) { method sizeField1 (line 508) | func (x *Product) sizeField1() (n int) { method sizeField2 (line 516) | func (x *Product) sizeField2() (n int) { method sizeField3 (line 524) | func (x *Product) sizeField3() (n int) { method sizeField4 (line 532) | func (x *Product) sizeField4() (n int) { method sizeField5 (line 540) | func (x *Product) sizeField5() (n int) { method sizeField6 (line 548) | func (x *Product) sizeField6() (n int) { method Size (line 558) | func (x *ListProductsResp) Size() (n int) { method sizeField1 (line 566) | func (x *ListProductsResp) sizeField1() (n int) { method Size (line 576) | func (x *GetProductReq) Size() (n int) { method sizeField1 (line 584) | func (x *GetProductReq) sizeField1() (n int) { method Size (line 592) | func (x *GetProductResp) Size() (n int) { method sizeField1 (line 600) | func (x *GetProductResp) sizeField1() (n int) { method Size (line 608) | func (x *SearchProductsReq) Size() (n int) { method sizeField1 (line 616) | func (x *SearchProductsReq) sizeField1() (n int) { method Size (line 624) | func (x *SearchProductsResp) Size() (n int) { method sizeField1 (line 632) | func (x *SearchProductsResp) sizeField1() (n int) { FILE: gomall/tutorial/ch11/rpc_gen/kitex_gen/product/product.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type ListProductsReq (line 24) | type ListProductsReq struct method Reset (line 34) | func (x *ListProductsReq) Reset() { method String (line 43) | func (x *ListProductsReq) String() string { method ProtoMessage (line 47) | func (*ListProductsReq) ProtoMessage() {} method ProtoReflect (line 49) | func (x *ListProductsReq) ProtoReflect() protoreflect.Message { method Descriptor (line 62) | func (*ListProductsReq) Descriptor() ([]byte, []int) { method GetPage (line 66) | func (x *ListProductsReq) GetPage() int32 { method GetPageSize (line 73) | func (x *ListProductsReq) GetPageSize() int32 { method GetCategoryName (line 80) | func (x *ListProductsReq) GetCategoryName() string { type Product (line 87) | type Product struct method Reset (line 100) | func (x *Product) Reset() { method String (line 109) | func (x *Product) String() string { method ProtoMessage (line 113) | func (*Product) ProtoMessage() {} method ProtoReflect (line 115) | func (x *Product) ProtoReflect() protoreflect.Message { method Descriptor (line 128) | func (*Product) Descriptor() ([]byte, []int) { method GetId (line 132) | func (x *Product) GetId() uint32 { method GetName (line 139) | func (x *Product) GetName() string { method GetDescription (line 146) | func (x *Product) GetDescription() string { method GetPicture (line 153) | func (x *Product) GetPicture() string { method GetPrice (line 160) | func (x *Product) GetPrice() float32 { method GetCategories (line 167) | func (x *Product) GetCategories() []string { type ListProductsResp (line 174) | type ListProductsResp struct method Reset (line 182) | func (x *ListProductsResp) Reset() { method String (line 191) | func (x *ListProductsResp) String() string { method ProtoMessage (line 195) | func (*ListProductsResp) ProtoMessage() {} method ProtoReflect (line 197) | func (x *ListProductsResp) ProtoReflect() protoreflect.Message { method Descriptor (line 210) | func (*ListProductsResp) Descriptor() ([]byte, []int) { method GetProducts (line 214) | func (x *ListProductsResp) GetProducts() []*Product { type GetProductReq (line 221) | type GetProductReq struct method Reset (line 229) | func (x *GetProductReq) Reset() { method String (line 238) | func (x *GetProductReq) String() string { method ProtoMessage (line 242) | func (*GetProductReq) ProtoMessage() {} method ProtoReflect (line 244) | func (x *GetProductReq) ProtoReflect() protoreflect.Message { method Descriptor (line 257) | func (*GetProductReq) Descriptor() ([]byte, []int) { method GetId (line 261) | func (x *GetProductReq) GetId() uint32 { type GetProductResp (line 268) | type GetProductResp struct method Reset (line 276) | func (x *GetProductResp) Reset() { method String (line 285) | func (x *GetProductResp) String() string { method ProtoMessage (line 289) | func (*GetProductResp) ProtoMessage() {} method ProtoReflect (line 291) | func (x *GetProductResp) ProtoReflect() protoreflect.Message { method Descriptor (line 304) | func (*GetProductResp) Descriptor() ([]byte, []int) { method GetProduct (line 308) | func (x *GetProductResp) GetProduct() *Product { type SearchProductsReq (line 315) | type SearchProductsReq struct method Reset (line 323) | func (x *SearchProductsReq) Reset() { method String (line 332) | func (x *SearchProductsReq) String() string { method ProtoMessage (line 336) | func (*SearchProductsReq) ProtoMessage() {} method ProtoReflect (line 338) | func (x *SearchProductsReq) ProtoReflect() protoreflect.Message { method Descriptor (line 351) | func (*SearchProductsReq) Descriptor() ([]byte, []int) { method GetQuery (line 355) | func (x *SearchProductsReq) GetQuery() string { type SearchProductsResp (line 362) | type SearchProductsResp struct method Reset (line 370) | func (x *SearchProductsResp) Reset() { method String (line 379) | func (x *SearchProductsResp) String() string { method ProtoMessage (line 383) | func (*SearchProductsResp) ProtoMessage() {} method ProtoReflect (line 385) | func (x *SearchProductsResp) ProtoReflect() protoreflect.Message { method Descriptor (line 398) | func (*SearchProductsResp) Descriptor() ([]byte, []int) { method GetResults (line 402) | func (x *SearchProductsResp) GetResults() []*Product { function file_product_proto_rawDescGZIP (line 474) | func file_product_proto_rawDescGZIP() []byte { function init (line 508) | func init() { file_product_proto_init() } function file_product_proto_init (line 509) | func file_product_proto_init() { type ProductCatalogService (line 623) | type ProductCatalogService interface FILE: gomall/tutorial/ch11/rpc_gen/kitex_gen/product/productcatalogservice/client.go type Client (line 13) | type Client interface function NewClient (line 20) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 36) | func MustNewClient(destService string, opts ...client.Option) Client { type kProductCatalogServiceClient (line 44) | type kProductCatalogServiceClient struct method ListProducts (line 48) | func (p *kProductCatalogServiceClient) ListProducts(ctx context.Contex... method GetProduct (line 53) | func (p *kProductCatalogServiceClient) GetProduct(ctx context.Context,... method SearchProducts (line 58) | func (p *kProductCatalogServiceClient) SearchProducts(ctx context.Cont... FILE: gomall/tutorial/ch11/rpc_gen/kitex_gen/product/productcatalogservice/invoker.go function NewInvoker (line 11) | func NewInvoker(handler product.ProductCatalogService, opts ...server.Op... FILE: gomall/tutorial/ch11/rpc_gen/kitex_gen/product/productcatalogservice/productcatalogservice.go function serviceInfo (line 48) | func serviceInfo() *kitex.ServiceInfo { function serviceInfoForStreamClient (line 53) | func serviceInfoForStreamClient() *kitex.ServiceInfo { function serviceInfoForClient (line 58) | func serviceInfoForClient() *kitex.ServiceInfo { function NewServiceInfo (line 63) | func NewServiceInfo() *kitex.ServiceInfo { function NewServiceInfoForClient (line 68) | func NewServiceInfoForClient() *kitex.ServiceInfo { function NewServiceInfoForStreamClient (line 71) | func NewServiceInfoForStreamClient() *kitex.ServiceInfo { function newServiceInfo (line 75) | func newServiceInfo(hasStreaming bool, keepStreamingMethods bool, keepNo... function listProductsHandler (line 105) | func listProductsHandler(ctx context.Context, handler interface{}, arg, ... function newListProductsArgs (line 130) | func newListProductsArgs() interface{} { function newListProductsResult (line 134) | func newListProductsResult() interface{} { type ListProductsArgs (line 138) | type ListProductsArgs struct method FastRead (line 142) | func (p *ListProductsArgs) FastRead(buf []byte, _type int8, number int... method FastWrite (line 149) | func (p *ListProductsArgs) FastWrite(buf []byte) (n int) { method Size (line 156) | func (p *ListProductsArgs) Size() (n int) { method Marshal (line 163) | func (p *ListProductsArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 170) | func (p *ListProductsArgs) Unmarshal(in []byte) error { method GetReq (line 181) | func (p *ListProductsArgs) GetReq() *product.ListProductsReq { method IsSetReq (line 188) | func (p *ListProductsArgs) IsSetReq() bool { method GetFirstArgument (line 192) | func (p *ListProductsArgs) GetFirstArgument() interface{} { type ListProductsResult (line 196) | type ListProductsResult struct method FastRead (line 202) | func (p *ListProductsResult) FastRead(buf []byte, _type int8, number i... method FastWrite (line 209) | func (p *ListProductsResult) FastWrite(buf []byte) (n int) { method Size (line 216) | func (p *ListProductsResult) Size() (n int) { method Marshal (line 223) | func (p *ListProductsResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 230) | func (p *ListProductsResult) Unmarshal(in []byte) error { method GetSuccess (line 239) | func (p *ListProductsResult) GetSuccess() *product.ListProductsResp { method SetSuccess (line 246) | func (p *ListProductsResult) SetSuccess(x interface{}) { method IsSetSuccess (line 250) | func (p *ListProductsResult) IsSetSuccess() bool { method GetResult (line 254) | func (p *ListProductsResult) GetResult() interface{} { function getProductHandler (line 258) | func getProductHandler(ctx context.Context, handler interface{}, arg, re... function newGetProductArgs (line 283) | func newGetProductArgs() interface{} { function newGetProductResult (line 287) | func newGetProductResult() interface{} { type GetProductArgs (line 291) | type GetProductArgs struct method FastRead (line 295) | func (p *GetProductArgs) FastRead(buf []byte, _type int8, number int32... method FastWrite (line 302) | func (p *GetProductArgs) FastWrite(buf []byte) (n int) { method Size (line 309) | func (p *GetProductArgs) Size() (n int) { method Marshal (line 316) | func (p *GetProductArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 323) | func (p *GetProductArgs) Unmarshal(in []byte) error { method GetReq (line 334) | func (p *GetProductArgs) GetReq() *product.GetProductReq { method IsSetReq (line 341) | func (p *GetProductArgs) IsSetReq() bool { method GetFirstArgument (line 345) | func (p *GetProductArgs) GetFirstArgument() interface{} { type GetProductResult (line 349) | type GetProductResult struct method FastRead (line 355) | func (p *GetProductResult) FastRead(buf []byte, _type int8, number int... method FastWrite (line 362) | func (p *GetProductResult) FastWrite(buf []byte) (n int) { method Size (line 369) | func (p *GetProductResult) Size() (n int) { method Marshal (line 376) | func (p *GetProductResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 383) | func (p *GetProductResult) Unmarshal(in []byte) error { method GetSuccess (line 392) | func (p *GetProductResult) GetSuccess() *product.GetProductResp { method SetSuccess (line 399) | func (p *GetProductResult) SetSuccess(x interface{}) { method IsSetSuccess (line 403) | func (p *GetProductResult) IsSetSuccess() bool { method GetResult (line 407) | func (p *GetProductResult) GetResult() interface{} { function searchProductsHandler (line 411) | func searchProductsHandler(ctx context.Context, handler interface{}, arg... function newSearchProductsArgs (line 436) | func newSearchProductsArgs() interface{} { function newSearchProductsResult (line 440) | func newSearchProductsResult() interface{} { type SearchProductsArgs (line 444) | type SearchProductsArgs struct method FastRead (line 448) | func (p *SearchProductsArgs) FastRead(buf []byte, _type int8, number i... method FastWrite (line 455) | func (p *SearchProductsArgs) FastWrite(buf []byte) (n int) { method Size (line 462) | func (p *SearchProductsArgs) Size() (n int) { method Marshal (line 469) | func (p *SearchProductsArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 476) | func (p *SearchProductsArgs) Unmarshal(in []byte) error { method GetReq (line 487) | func (p *SearchProductsArgs) GetReq() *product.SearchProductsReq { method IsSetReq (line 494) | func (p *SearchProductsArgs) IsSetReq() bool { method GetFirstArgument (line 498) | func (p *SearchProductsArgs) GetFirstArgument() interface{} { type SearchProductsResult (line 502) | type SearchProductsResult struct method FastRead (line 508) | func (p *SearchProductsResult) FastRead(buf []byte, _type int8, number... method FastWrite (line 515) | func (p *SearchProductsResult) FastWrite(buf []byte) (n int) { method Size (line 522) | func (p *SearchProductsResult) Size() (n int) { method Marshal (line 529) | func (p *SearchProductsResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 536) | func (p *SearchProductsResult) Unmarshal(in []byte) error { method GetSuccess (line 545) | func (p *SearchProductsResult) GetSuccess() *product.SearchProductsResp { method SetSuccess (line 552) | func (p *SearchProductsResult) SetSuccess(x interface{}) { method IsSetSuccess (line 556) | func (p *SearchProductsResult) IsSetSuccess() bool { method GetResult (line 560) | func (p *SearchProductsResult) GetResult() interface{} { type kClient (line 564) | type kClient struct method ListProducts (line 574) | func (p *kClient) ListProducts(ctx context.Context, Req *product.ListP... method GetProduct (line 584) | func (p *kClient) GetProduct(ctx context.Context, Req *product.GetProd... method SearchProducts (line 594) | func (p *kClient) SearchProducts(ctx context.Context, Req *product.Sea... function newServiceClient (line 568) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch11/rpc_gen/kitex_gen/product/productcatalogservice/server.go function NewServer (line 10) | func NewServer(handler product.ProductCatalogService, opts ...server.Opt... function RegisterService (line 22) | func RegisterService(svr server.Server, handler product.ProductCatalogSe... FILE: gomall/tutorial/ch11/rpc_gen/kitex_gen/user/user.pb.fast.go method FastRead (line 15) | func (x *RegisterReq) FastRead(buf []byte, _type int8, number int32) (of... method fastReadField1 (line 45) | func (x *RegisterReq) fastReadField1(buf []byte, _type int8) (offset int... method fastReadField2 (line 50) | func (x *RegisterReq) fastReadField2(buf []byte, _type int8) (offset int... method fastReadField3 (line 55) | func (x *RegisterReq) fastReadField3(buf []byte, _type int8) (offset int... method FastRead (line 60) | func (x *RegisterResp) FastRead(buf []byte, _type int8, number int32) (o... method fastReadField1 (line 80) | func (x *RegisterResp) fastReadField1(buf []byte, _type int8) (offset in... method FastRead (line 85) | func (x *LoginReq) FastRead(buf []byte, _type int8, number int32) (offse... method fastReadField1 (line 110) | func (x *LoginReq) fastReadField1(buf []byte, _type int8) (offset int, e... method fastReadField2 (line 115) | func (x *LoginReq) fastReadField2(buf []byte, _type int8) (offset int, e... method FastRead (line 120) | func (x *LoginResp) FastRead(buf []byte, _type int8, number int32) (offs... method fastReadField1 (line 140) | func (x *LoginResp) fastReadField1(buf []byte, _type int8) (offset int, ... method FastWrite (line 145) | func (x *RegisterReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 155) | func (x *RegisterReq) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 163) | func (x *RegisterReq) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 171) | func (x *RegisterReq) fastWriteField3(buf []byte) (offset int) { method FastWrite (line 179) | func (x *RegisterResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 187) | func (x *RegisterResp) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 195) | func (x *LoginReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 204) | func (x *LoginReq) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 212) | func (x *LoginReq) fastWriteField2(buf []byte) (offset int) { method FastWrite (line 220) | func (x *LoginResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 228) | func (x *LoginResp) fastWriteField1(buf []byte) (offset int) { method Size (line 236) | func (x *RegisterReq) Size() (n int) { method sizeField1 (line 246) | func (x *RegisterReq) sizeField1() (n int) { method sizeField2 (line 254) | func (x *RegisterReq) sizeField2() (n int) { method sizeField3 (line 262) | func (x *RegisterReq) sizeField3() (n int) { method Size (line 270) | func (x *RegisterResp) Size() (n int) { method sizeField1 (line 278) | func (x *RegisterResp) sizeField1() (n int) { method Size (line 286) | func (x *LoginReq) Size() (n int) { method sizeField1 (line 295) | func (x *LoginReq) sizeField1() (n int) { method sizeField2 (line 303) | func (x *LoginReq) sizeField2() (n int) { method Size (line 311) | func (x *LoginResp) Size() (n int) { method sizeField1 (line 319) | func (x *LoginResp) sizeField1() (n int) { FILE: gomall/tutorial/ch11/rpc_gen/kitex_gen/user/user.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type RegisterReq (line 24) | type RegisterReq struct method Reset (line 34) | func (x *RegisterReq) Reset() { method String (line 43) | func (x *RegisterReq) String() string { method ProtoMessage (line 47) | func (*RegisterReq) ProtoMessage() {} method ProtoReflect (line 49) | func (x *RegisterReq) ProtoReflect() protoreflect.Message { method Descriptor (line 62) | func (*RegisterReq) Descriptor() ([]byte, []int) { method GetEmail (line 66) | func (x *RegisterReq) GetEmail() string { method GetPassword (line 73) | func (x *RegisterReq) GetPassword() string { method GetPasswordConfirm (line 80) | func (x *RegisterReq) GetPasswordConfirm() string { type RegisterResp (line 87) | type RegisterResp struct method Reset (line 95) | func (x *RegisterResp) Reset() { method String (line 104) | func (x *RegisterResp) String() string { method ProtoMessage (line 108) | func (*RegisterResp) ProtoMessage() {} method ProtoReflect (line 110) | func (x *RegisterResp) ProtoReflect() protoreflect.Message { method Descriptor (line 123) | func (*RegisterResp) Descriptor() ([]byte, []int) { method GetUserId (line 127) | func (x *RegisterResp) GetUserId() int32 { type LoginReq (line 134) | type LoginReq struct method Reset (line 143) | func (x *LoginReq) Reset() { method String (line 152) | func (x *LoginReq) String() string { method ProtoMessage (line 156) | func (*LoginReq) ProtoMessage() {} method ProtoReflect (line 158) | func (x *LoginReq) ProtoReflect() protoreflect.Message { method Descriptor (line 171) | func (*LoginReq) Descriptor() ([]byte, []int) { method GetEmail (line 175) | func (x *LoginReq) GetEmail() string { method GetPassword (line 182) | func (x *LoginReq) GetPassword() string { type LoginResp (line 189) | type LoginResp struct method Reset (line 197) | func (x *LoginResp) Reset() { method String (line 206) | func (x *LoginResp) String() string { method ProtoMessage (line 210) | func (*LoginResp) ProtoMessage() {} method ProtoReflect (line 212) | func (x *LoginResp) ProtoReflect() protoreflect.Message { method Descriptor (line 225) | func (*LoginResp) Descriptor() ([]byte, []int) { method GetUserId (line 229) | func (x *LoginResp) GetUserId() int32 { function file_user_proto_rawDescGZIP (line 275) | func file_user_proto_rawDescGZIP() []byte { function init (line 301) | func init() { file_user_proto_init() } function file_user_proto_init (line 302) | func file_user_proto_init() { type UserService (line 380) | type UserService interface FILE: gomall/tutorial/ch11/rpc_gen/kitex_gen/user/userservice/client.go type Client (line 13) | type Client interface function NewClient (line 19) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 35) | func MustNewClient(destService string, opts ...client.Option) Client { type kUserServiceClient (line 43) | type kUserServiceClient struct method Register (line 47) | func (p *kUserServiceClient) Register(ctx context.Context, Req *user.R... method Login (line 52) | func (p *kUserServiceClient) Login(ctx context.Context, Req *user.Logi... FILE: gomall/tutorial/ch11/rpc_gen/kitex_gen/user/userservice/invoker.go function NewInvoker (line 11) | func NewInvoker(handler user.UserService, opts ...server.Option) server.... FILE: gomall/tutorial/ch11/rpc_gen/kitex_gen/user/userservice/server.go function NewServer (line 10) | func NewServer(handler user.UserService, opts ...server.Option) server.S... FILE: gomall/tutorial/ch11/rpc_gen/kitex_gen/user/userservice/userservice.go function serviceInfo (line 14) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 20) | func NewServiceInfo() *kitex.ServiceInfo { function registerHandler (line 42) | func registerHandler(ctx context.Context, handler interface{}, arg, resu... function newRegisterArgs (line 67) | func newRegisterArgs() interface{} { function newRegisterResult (line 71) | func newRegisterResult() interface{} { type RegisterArgs (line 75) | type RegisterArgs struct method FastRead (line 79) | func (p *RegisterArgs) FastRead(buf []byte, _type int8, number int32) ... method FastWrite (line 86) | func (p *RegisterArgs) FastWrite(buf []byte) (n int) { method Size (line 93) | func (p *RegisterArgs) Size() (n int) { method Marshal (line 100) | func (p *RegisterArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 107) | func (p *RegisterArgs) Unmarshal(in []byte) error { method GetReq (line 118) | func (p *RegisterArgs) GetReq() *user.RegisterReq { method IsSetReq (line 125) | func (p *RegisterArgs) IsSetReq() bool { method GetFirstArgument (line 129) | func (p *RegisterArgs) GetFirstArgument() interface{} { type RegisterResult (line 133) | type RegisterResult struct method FastRead (line 139) | func (p *RegisterResult) FastRead(buf []byte, _type int8, number int32... method FastWrite (line 146) | func (p *RegisterResult) FastWrite(buf []byte) (n int) { method Size (line 153) | func (p *RegisterResult) Size() (n int) { method Marshal (line 160) | func (p *RegisterResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 167) | func (p *RegisterResult) Unmarshal(in []byte) error { method GetSuccess (line 176) | func (p *RegisterResult) GetSuccess() *user.RegisterResp { method SetSuccess (line 183) | func (p *RegisterResult) SetSuccess(x interface{}) { method IsSetSuccess (line 187) | func (p *RegisterResult) IsSetSuccess() bool { method GetResult (line 191) | func (p *RegisterResult) GetResult() interface{} { function loginHandler (line 195) | func loginHandler(ctx context.Context, handler interface{}, arg, result ... function newLoginArgs (line 220) | func newLoginArgs() interface{} { function newLoginResult (line 224) | func newLoginResult() interface{} { type LoginArgs (line 228) | type LoginArgs struct method FastRead (line 232) | func (p *LoginArgs) FastRead(buf []byte, _type int8, number int32) (n ... method FastWrite (line 239) | func (p *LoginArgs) FastWrite(buf []byte) (n int) { method Size (line 246) | func (p *LoginArgs) Size() (n int) { method Marshal (line 253) | func (p *LoginArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 260) | func (p *LoginArgs) Unmarshal(in []byte) error { method GetReq (line 271) | func (p *LoginArgs) GetReq() *user.LoginReq { method IsSetReq (line 278) | func (p *LoginArgs) IsSetReq() bool { method GetFirstArgument (line 282) | func (p *LoginArgs) GetFirstArgument() interface{} { type LoginResult (line 286) | type LoginResult struct method FastRead (line 292) | func (p *LoginResult) FastRead(buf []byte, _type int8, number int32) (... method FastWrite (line 299) | func (p *LoginResult) FastWrite(buf []byte) (n int) { method Size (line 306) | func (p *LoginResult) Size() (n int) { method Marshal (line 313) | func (p *LoginResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 320) | func (p *LoginResult) Unmarshal(in []byte) error { method GetSuccess (line 329) | func (p *LoginResult) GetSuccess() *user.LoginResp { method SetSuccess (line 336) | func (p *LoginResult) SetSuccess(x interface{}) { method IsSetSuccess (line 340) | func (p *LoginResult) IsSetSuccess() bool { method GetResult (line 344) | func (p *LoginResult) GetResult() interface{} { type kClient (line 348) | type kClient struct method Register (line 358) | func (p *kClient) Register(ctx context.Context, Req *user.RegisterReq)... method Login (line 368) | func (p *kClient) Login(ctx context.Context, Req *user.LoginReq) (r *u... function newServiceClient (line 352) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch11/rpc_gen/rpc/cart/cart_client.go type RPCClient (line 12) | type RPCClient interface function NewRPCClient (line 20) | func NewRPCClient(dstService string, opts ...client.Option) (RPCClient, ... type clientImpl (line 33) | type clientImpl struct method Service (line 38) | func (c *clientImpl) Service() string { method KitexClient (line 42) | func (c *clientImpl) KitexClient() cartservice.Client { method AddItem (line 46) | func (c *clientImpl) AddItem(ctx context.Context, Req *cart.AddItemReq... method GetCart (line 50) | func (c *clientImpl) GetCart(ctx context.Context, Req *cart.GetCartReq... method EmptyCart (line 54) | func (c *clientImpl) EmptyCart(ctx context.Context, Req *cart.EmptyCar... FILE: gomall/tutorial/ch11/rpc_gen/rpc/cart/cart_default.go function AddItem (line 10) | func AddItem(ctx context.Context, req *cart.AddItemReq, callOptions ...c... function GetCart (line 19) | func GetCart(ctx context.Context, req *cart.GetCartReq, callOptions ...c... function EmptyCart (line 28) | func EmptyCart(ctx context.Context, req *cart.EmptyCartReq, callOptions ... FILE: gomall/tutorial/ch11/rpc_gen/rpc/cart/cart_init.go function init (line 19) | func init() { function DefaultClient (line 23) | func DefaultClient() RPCClient { function newClient (line 30) | func newClient(dstService string, opts ...client.Option) RPCClient { function InitClient (line 38) | func InitClient(dstService string, opts ...client.Option) { FILE: gomall/tutorial/ch11/rpc_gen/rpc/product/product_client.go type RPCClient (line 12) | type RPCClient interface function NewRPCClient (line 20) | func NewRPCClient(dstService string, opts ...client.Option) (RPCClient, ... type clientImpl (line 33) | type clientImpl struct method Service (line 38) | func (c *clientImpl) Service() string { method KitexClient (line 42) | func (c *clientImpl) KitexClient() productcatalogservice.Client { method ListProducts (line 46) | func (c *clientImpl) ListProducts(ctx context.Context, Req *product.Li... method GetProduct (line 50) | func (c *clientImpl) GetProduct(ctx context.Context, Req *product.GetP... method SearchProducts (line 54) | func (c *clientImpl) SearchProducts(ctx context.Context, Req *product.... FILE: gomall/tutorial/ch11/rpc_gen/rpc/product/product_default.go function ListProducts (line 10) | func ListProducts(ctx context.Context, req *product.ListProductsReq, cal... function GetProduct (line 19) | func GetProduct(ctx context.Context, req *product.GetProductReq, callOpt... function SearchProducts (line 28) | func SearchProducts(ctx context.Context, req *product.SearchProductsReq,... FILE: gomall/tutorial/ch11/rpc_gen/rpc/product/product_init.go function init (line 19) | func init() { function DefaultClient (line 23) | func DefaultClient() RPCClient { function newClient (line 30) | func newClient(dstService string, opts ...client.Option) RPCClient { function InitClient (line 38) | func InitClient(dstService string, opts ...client.Option) { FILE: gomall/tutorial/ch11/rpc_gen/rpc/user/user_client.go type RPCClient (line 12) | type RPCClient interface function NewRPCClient (line 19) | func NewRPCClient(dstService string, opts ...client.Option) (RPCClient, ... type clientImpl (line 32) | type clientImpl struct method Service (line 37) | func (c *clientImpl) Service() string { method KitexClient (line 41) | func (c *clientImpl) KitexClient() userservice.Client { method Register (line 45) | func (c *clientImpl) Register(ctx context.Context, Req *user.RegisterR... method Login (line 49) | func (c *clientImpl) Login(ctx context.Context, Req *user.LoginReq, ca... FILE: gomall/tutorial/ch11/rpc_gen/rpc/user/user_default.go function Register (line 10) | func Register(ctx context.Context, req *user.RegisterReq, callOptions ..... function Login (line 19) | func Login(ctx context.Context, req *user.LoginReq, callOptions ...callo... FILE: gomall/tutorial/ch11/rpc_gen/rpc/user/user_init.go function init (line 19) | func init() { function DefaultClient (line 23) | func DefaultClient() RPCClient { function newClient (line 30) | func newClient(dstService string, opts ...client.Option) RPCClient { function InitClient (line 38) | func InitClient(dstService string, opts ...client.Option) { FILE: gomall/tutorial/ch12/app/cart/biz/dal/init.go function Init (line 21) | func Init() { FILE: gomall/tutorial/ch12/app/cart/biz/dal/mysql/init.go function Init (line 33) | func Init() { FILE: gomall/tutorial/ch12/app/cart/biz/dal/redis/init.go function Init (line 26) | func Init() { FILE: gomall/tutorial/ch12/app/cart/biz/model/cart.go type Cart (line 24) | type Cart struct method TableName (line 31) | func (Cart) TableName() string { function AddItem (line 35) | func AddItem(ctx context.Context, db *gorm.DB, item *Cart) error { function EmptyCart (line 54) | func EmptyCart(ctx context.Context, db *gorm.DB, userId uint32) error { function GetCartByUserId (line 61) | func GetCartByUserId(ctx context.Context, db *gorm.DB, userId uint32) ([... FILE: gomall/tutorial/ch12/app/cart/biz/service/add_item.go type AddItemService (line 28) | type AddItemService struct method Run (line 36) | func (s *AddItemService) Run(req *cart.AddItemReq) (resp *cart.AddItem... function NewAddItemService (line 31) | func NewAddItemService(ctx context.Context) *AddItemService { FILE: gomall/tutorial/ch12/app/cart/biz/service/add_item_test.go function TestAddItem_Run (line 24) | func TestAddItem_Run(t *testing.T) { FILE: gomall/tutorial/ch12/app/cart/biz/service/empty_cart.go type EmptyCartService (line 26) | type EmptyCartService struct method Run (line 34) | func (s *EmptyCartService) Run(req *cart.EmptyCartReq) (resp *cart.Emp... function NewEmptyCartService (line 29) | func NewEmptyCartService(ctx context.Context) *EmptyCartService { FILE: gomall/tutorial/ch12/app/cart/biz/service/empty_cart_test.go function TestEmptyCart_Run (line 24) | func TestEmptyCart_Run(t *testing.T) { FILE: gomall/tutorial/ch12/app/cart/biz/service/get_cart.go type GetCartService (line 26) | type GetCartService struct method Run (line 34) | func (s *GetCartService) Run(req *cart.GetCartReq) (resp *cart.GetCart... function NewGetCartService (line 29) | func NewGetCartService(ctx context.Context) *GetCartService { FILE: gomall/tutorial/ch12/app/cart/biz/service/get_cart_test.go function TestGetCart_Run (line 24) | func TestGetCart_Run(t *testing.T) { FILE: gomall/tutorial/ch12/app/cart/conf/conf.go type Config (line 33) | type Config struct type MySQL (line 41) | type MySQL struct type Redis (line 45) | type Redis struct type Kitex (line 52) | type Kitex struct type Registry (line 65) | type Registry struct function GetConf (line 72) | func GetConf() *Config { function initConf (line 77) | func initConf() { function GetEnv (line 98) | func GetEnv() string { function LogLevel (line 106) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch12/app/cart/handler.go type CartServiceImpl (line 25) | type CartServiceImpl struct method AddItem (line 28) | func (s *CartServiceImpl) AddItem(ctx context.Context, req *cart.AddIt... method GetCart (line 35) | func (s *CartServiceImpl) GetCart(ctx context.Context, req *cart.GetCa... method EmptyCart (line 42) | func (s *CartServiceImpl) EmptyCart(ctx context.Context, req *cart.Emp... FILE: gomall/tutorial/ch12/app/cart/infra/rpc/client.go function InitClient (line 32) | func InitClient() { function initProductClient (line 38) | func initProductClient() { FILE: gomall/tutorial/ch12/app/cart/main.go function main (line 35) | func main() { function kitexInit (line 49) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch12/app/cart/utils/errors.go function MustHandleError (line 19) | func MustHandleError(err error) { FILE: gomall/tutorial/ch12/app/checkout/biz/dal/init.go function Init (line 22) | func Init() { FILE: gomall/tutorial/ch12/app/checkout/biz/dal/mysql/init.go function Init (line 29) | func Init() { FILE: gomall/tutorial/ch12/app/checkout/biz/dal/redis/init.go function Init (line 26) | func Init() { FILE: gomall/tutorial/ch12/app/checkout/biz/service/checkout.go type CheckoutService (line 30) | type CheckoutService struct method Run (line 38) | func (s *CheckoutService) Run(req *checkout.CheckoutReq) (resp *checko... function NewCheckoutService (line 33) | func NewCheckoutService(ctx context.Context) *CheckoutService { FILE: gomall/tutorial/ch12/app/checkout/biz/service/checkout_test.go function TestCheckout_Run (line 23) | func TestCheckout_Run(t *testing.T) { FILE: gomall/tutorial/ch12/app/checkout/conf/conf.go type Config (line 33) | type Config struct type MySQL (line 41) | type MySQL struct type Redis (line 45) | type Redis struct type Kitex (line 52) | type Kitex struct type Registry (line 65) | type Registry struct function GetConf (line 72) | func GetConf() *Config { function initConf (line 77) | func initConf() { function GetEnv (line 98) | func GetEnv() string { function LogLevel (line 106) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch12/app/checkout/handler.go type CheckoutServiceImpl (line 10) | type CheckoutServiceImpl struct method Checkout (line 13) | func (s *CheckoutServiceImpl) Checkout(ctx context.Context, req *check... FILE: gomall/tutorial/ch12/app/checkout/infra/rpc/client.go function InitClient (line 39) | func InitClient() { function initCartClient (line 47) | func initCartClient() { function initProductClient (line 66) | func initProductClient() { function initPaymentClient (line 85) | func initPaymentClient() { FILE: gomall/tutorial/ch12/app/checkout/main.go function main (line 33) | func main() { function kitexInit (line 45) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch12/app/frontend/biz/dal/init.go function Init (line 22) | func Init() { FILE: gomall/tutorial/ch12/app/frontend/biz/dal/mysql/init.go function Init (line 28) | func Init() { FILE: gomall/tutorial/ch12/app/frontend/biz/dal/redis/init.go function Init (line 26) | func Init() { FILE: gomall/tutorial/ch12/app/frontend/biz/handler/auth/auth_service.go function Login (line 30) | func Login(ctx context.Context, c *app.RequestContext) { function Register (line 48) | func Register(ctx context.Context, c *app.RequestContext) { function Logout (line 67) | func Logout(ctx context.Context, c *app.RequestContext) { FILE: gomall/tutorial/ch12/app/frontend/biz/handler/auth/auth_service_test.go function TestLogin (line 26) | func TestLogin(t *testing.T) { function TestRegister (line 41) | func TestRegister(t *testing.T) { function TestLogout (line 56) | func TestLogout(t *testing.T) { FILE: gomall/tutorial/ch12/app/frontend/biz/handler/cart/cart_service.go function GetCart (line 30) | func GetCart(ctx context.Context, c *app.RequestContext) { function AddCartItem (line 49) | func AddCartItem(ctx context.Context, c *app.RequestContext) { FILE: gomall/tutorial/ch12/app/frontend/biz/handler/cart/cart_service_test.go function TestGetCart (line 26) | func TestGetCart(t *testing.T) { function TestAddCartItem (line 41) | func TestAddCartItem(t *testing.T) { FILE: gomall/tutorial/ch12/app/frontend/biz/handler/category/category_service.go function Category (line 29) | func Category(ctx context.Context, c *app.RequestContext) { FILE: gomall/tutorial/ch12/app/frontend/biz/handler/category/category_service_test.go function TestCategory (line 26) | func TestCategory(t *testing.T) { FILE: gomall/tutorial/ch12/app/frontend/biz/handler/checkout/checkout_service.go function Checkout (line 31) | func Checkout(ctx context.Context, c *app.RequestContext) { function CheckoutWaiting (line 51) | func CheckoutWaiting(ctx context.Context, c *app.RequestContext) { function CheckoutResult (line 71) | func CheckoutResult(ctx context.Context, c *app.RequestContext) { FILE: gomall/tutorial/ch12/app/frontend/biz/handler/checkout/checkout_service_test.go function TestCheckout (line 26) | func TestCheckout(t *testing.T) { function TestCheckoutWaiting (line 41) | func TestCheckoutWaiting(t *testing.T) { function TestCheckoutResult (line 56) | func TestCheckoutResult(t *testing.T) { FILE: gomall/tutorial/ch12/app/frontend/biz/handler/home/home_service.go function Home (line 29) | func Home(ctx context.Context, c *app.RequestContext) { FILE: gomall/tutorial/ch12/app/frontend/biz/handler/home/home_service_test.go function TestHome (line 26) | func TestHome(t *testing.T) { FILE: gomall/tutorial/ch12/app/frontend/biz/handler/product/product_service.go function GetProduct (line 29) | func GetProduct(ctx context.Context, c *app.RequestContext) { function SearchProducts (line 49) | func SearchProducts(ctx context.Context, c *app.RequestContext) { FILE: gomall/tutorial/ch12/app/frontend/biz/handler/product/product_service_test.go function TestGetProduct (line 26) | func TestGetProduct(t *testing.T) { function TestSearchProducts (line 41) | func TestSearchProducts(t *testing.T) { FILE: gomall/tutorial/ch12/app/frontend/biz/router/auth/auth_page.go function Register (line 31) | func Register(r *server.Hertz) { FILE: gomall/tutorial/ch12/app/frontend/biz/router/auth/middleware.go function rootMw (line 23) | func rootMw() []app.HandlerFunc { function _authMw (line 28) | func _authMw() []app.HandlerFunc { function _loginMw (line 33) | func _loginMw() []app.HandlerFunc { function _registerMw (line 38) | func _registerMw() []app.HandlerFunc { function _logoutMw (line 43) | func _logoutMw() []app.HandlerFunc { FILE: gomall/tutorial/ch12/app/frontend/biz/router/cart/cart_page.go function Register (line 17) | func Register(r *server.Hertz) { FILE: gomall/tutorial/ch12/app/frontend/biz/router/cart/middleware.go function rootMw (line 10) | func rootMw() []app.HandlerFunc { function _getcartMw (line 15) | func _getcartMw() []app.HandlerFunc { function _addcartitemMw (line 20) | func _addcartitemMw() []app.HandlerFunc { FILE: gomall/tutorial/ch12/app/frontend/biz/router/category/category_page.go function Register (line 31) | func Register(r *server.Hertz) { FILE: gomall/tutorial/ch12/app/frontend/biz/router/category/middleware.go function rootMw (line 23) | func rootMw() []app.HandlerFunc { function _categoryMw (line 28) | func _categoryMw() []app.HandlerFunc { function _category0Mw (line 33) | func _category0Mw() []app.HandlerFunc { FILE: gomall/tutorial/ch12/app/frontend/biz/router/checkout/checkout_page.go function Register (line 17) | func Register(r *server.Hertz) { FILE: gomall/tutorial/ch12/app/frontend/biz/router/checkout/middleware.go function rootMw (line 10) | func rootMw() []app.HandlerFunc { function _checkoutMw (line 15) | func _checkoutMw() []app.HandlerFunc { function _checkout0Mw (line 20) | func _checkout0Mw() []app.HandlerFunc { function _checkoutresultMw (line 25) | func _checkoutresultMw() []app.HandlerFunc { function _checkoutwaitingMw (line 30) | func _checkoutwaitingMw() []app.HandlerFunc { FILE: gomall/tutorial/ch12/app/frontend/biz/router/home/home.go function Register (line 31) | func Register(r *server.Hertz) { FILE: gomall/tutorial/ch12/app/frontend/biz/router/home/middleware.go function rootMw (line 23) | func rootMw() []app.HandlerFunc { function _homeMw (line 28) | func _homeMw() []app.HandlerFunc { FILE: gomall/tutorial/ch12/app/frontend/biz/router/product/middleware.go function rootMw (line 23) | func rootMw() []app.HandlerFunc { function _getproductMw (line 28) | func _getproductMw() []app.HandlerFunc { function _searchproductsMw (line 33) | func _searchproductsMw() []app.HandlerFunc { FILE: gomall/tutorial/ch12/app/frontend/biz/router/product/product_page.go function Register (line 31) | func Register(r *server.Hertz) { FILE: gomall/tutorial/ch12/app/frontend/biz/router/register.go function GeneratedRegister (line 30) | func GeneratedRegister(r *server.Hertz) { FILE: gomall/tutorial/ch12/app/frontend/biz/service/add_cart_item.go type AddCartItemService (line 28) | type AddCartItemService struct method Run (line 37) | func (h *AddCartItemService) Run(req *cart.AddCartItemReq) (resp *comm... function NewAddCartItemService (line 33) | func NewAddCartItemService(Context context.Context, RequestContext *app.... FILE: gomall/tutorial/ch12/app/frontend/biz/service/category.go type CategoryService (line 27) | type CategoryService struct method Run (line 36) | func (h *CategoryService) Run(req *category.CategoryReq) (resp map[str... function NewCategoryService (line 32) | func NewCategoryService(Context context.Context, RequestContext *app.Req... FILE: gomall/tutorial/ch12/app/frontend/biz/service/checkout.go type CheckoutService (line 30) | type CheckoutService struct method Run (line 39) | func (h *CheckoutService) Run(req *common.Empty) (resp map[string]any,... function NewCheckoutService (line 35) | func NewCheckoutService(Context context.Context, RequestContext *app.Req... FILE: gomall/tutorial/ch12/app/frontend/biz/service/checkout_result.go type CheckoutResultService (line 25) | type CheckoutResultService struct method Run (line 34) | func (h *CheckoutResultService) Run(req *common.Empty) (resp map[strin... function NewCheckoutResultService (line 30) | func NewCheckoutResultService(Context context.Context, RequestContext *a... FILE: gomall/tutorial/ch12/app/frontend/biz/service/checkout_waiting.go type CheckoutWaitingService (line 29) | type CheckoutWaitingService struct method Run (line 38) | func (h *CheckoutWaitingService) Run(req *checkout.CheckoutReq) (resp ... function NewCheckoutWaitingService (line 34) | func NewCheckoutWaitingService(Context context.Context, RequestContext *... FILE: gomall/tutorial/ch12/app/frontend/biz/service/get_cart.go type GetCartService (line 30) | type GetCartService struct method Run (line 39) | func (h *GetCartService) Run(req *common.Empty) (resp map[string]any, ... function NewGetCartService (line 35) | func NewGetCartService(Context context.Context, RequestContext *app.Requ... FILE: gomall/tutorial/ch12/app/frontend/biz/service/get_product.go type GetProductService (line 27) | type GetProductService struct method Run (line 36) | func (h *GetProductService) Run(req *product.ProductReq) (resp map[str... function NewGetProductService (line 32) | func NewGetProductService(Context context.Context, RequestContext *app.R... FILE: gomall/tutorial/ch12/app/frontend/biz/service/home.go type HomeService (line 27) | type HomeService struct method Run (line 36) | func (h *HomeService) Run(req *common.Empty) (res map[string]any, err ... function NewHomeService (line 32) | func NewHomeService(Context context.Context, RequestContext *app.Request... FILE: gomall/tutorial/ch12/app/frontend/biz/service/login.go type LoginService (line 27) | type LoginService struct method Run (line 36) | func (h *LoginService) Run(req *auth.LoginReq) (redirect string, err e... function NewLoginService (line 32) | func NewLoginService(Context context.Context, RequestContext *app.Reques... FILE: gomall/tutorial/ch12/app/frontend/biz/service/logout.go type LogoutService (line 25) | type LogoutService struct method Run (line 34) | func (h *LogoutService) Run(req *common.Empty) (resp *common.Empty, er... function NewLogoutService (line 30) | func NewLogoutService(Context context.Context, RequestContext *app.Reque... FILE: gomall/tutorial/ch12/app/frontend/biz/service/register.go type RegisterService (line 28) | type RegisterService struct method Run (line 37) | func (h *RegisterService) Run(req *auth.RegisterReq) (resp *common.Emp... function NewRegisterService (line 33) | func NewRegisterService(Context context.Context, RequestContext *app.Req... FILE: gomall/tutorial/ch12/app/frontend/biz/service/search_products.go type SearchProductsService (line 27) | type SearchProductsService struct method Run (line 36) | func (h *SearchProductsService) Run(req *product.SearchProductsReq) (r... function NewSearchProductsService (line 32) | func NewSearchProductsService(Context context.Context, RequestContext *a... FILE: gomall/tutorial/ch12/app/frontend/biz/utils/resp.go function SendErrResponse (line 27) | func SendErrResponse(ctx context.Context, c *app.RequestContext, code in... function SendSuccessResponse (line 33) | func SendSuccessResponse(ctx context.Context, c *app.RequestContext, cod... function WarpResponse (line 38) | func WarpResponse(ctx context.Context, c *app.RequestContext, content ma... FILE: gomall/tutorial/ch12/app/frontend/conf/conf.go type Config (line 33) | type Config struct type MySQL (line 41) | type MySQL struct type Redis (line 45) | type Redis struct type Hertz (line 52) | type Hertz struct function GetConf (line 66) | func GetConf() *Config { function initConf (line 71) | func initConf() { function GetEnv (line 95) | func GetEnv() string { function LogLevel (line 103) | func LogLevel() hlog.Level { FILE: gomall/tutorial/ch12/app/frontend/hertz_gen/api/api.pb.go constant _ (line 18) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 20) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) function init (line 651) | func init() { file_api_proto_init() } function file_api_proto_init (line 652) | func file_api_proto_init() { FILE: gomall/tutorial/ch12/app/frontend/hertz_gen/frontend/auth/auth_page.pb.go constant _ (line 20) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 22) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type LoginReq (line 25) | type LoginReq struct method Reset (line 35) | func (x *LoginReq) Reset() { method String (line 44) | func (x *LoginReq) String() string { method ProtoMessage (line 48) | func (*LoginReq) ProtoMessage() {} method ProtoReflect (line 50) | func (x *LoginReq) ProtoReflect() protoreflect.Message { method Descriptor (line 63) | func (*LoginReq) Descriptor() ([]byte, []int) { method GetEmail (line 67) | func (x *LoginReq) GetEmail() string { method GetPassword (line 74) | func (x *LoginReq) GetPassword() string { method GetNext (line 81) | func (x *LoginReq) GetNext() string { type RegisterReq (line 88) | type RegisterReq struct method Reset (line 98) | func (x *RegisterReq) Reset() { method String (line 107) | func (x *RegisterReq) String() string { method ProtoMessage (line 111) | func (*RegisterReq) ProtoMessage() {} method ProtoReflect (line 113) | func (x *RegisterReq) ProtoReflect() protoreflect.Message { method Descriptor (line 126) | func (*RegisterReq) Descriptor() ([]byte, []int) { method GetEmail (line 130) | func (x *RegisterReq) GetEmail() string { method GetPassword (line 137) | func (x *RegisterReq) GetPassword() string { method GetPasswordConfirm (line 144) | func (x *RegisterReq) GetPasswordConfirm() string { function file_auth_page_proto_rawDescGZIP (line 204) | func file_auth_page_proto_rawDescGZIP() []byte { function init (line 231) | func init() { file_auth_page_proto_init() } function file_auth_page_proto_init (line 232) | func file_auth_page_proto_init() { FILE: gomall/tutorial/ch12/app/frontend/hertz_gen/frontend/cart/cart_page.pb.go constant _ (line 20) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 22) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type AddCartItemReq (line 25) | type AddCartItemReq struct method Reset (line 34) | func (x *AddCartItemReq) Reset() { method String (line 43) | func (x *AddCartItemReq) String() string { method ProtoMessage (line 47) | func (*AddCartItemReq) ProtoMessage() {} method ProtoReflect (line 49) | func (x *AddCartItemReq) ProtoReflect() protoreflect.Message { method Descriptor (line 62) | func (*AddCartItemReq) Descriptor() ([]byte, []int) { method GetProductId (line 66) | func (x *AddCartItemReq) GetProductId() uint32 { method GetProductNum (line 73) | func (x *AddCartItemReq) GetProductNum() int32 { function file_cart_page_proto_rawDescGZIP (line 117) | func file_cart_page_proto_rawDescGZIP() []byte { function init (line 141) | func init() { file_cart_page_proto_init() } function file_cart_page_proto_init (line 142) | func file_cart_page_proto_init() { FILE: gomall/tutorial/ch12/app/frontend/hertz_gen/frontend/category/category_page.pb.go constant _ (line 20) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 22) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type CategoryReq (line 25) | type CategoryReq struct method Reset (line 33) | func (x *CategoryReq) Reset() { method String (line 42) | func (x *CategoryReq) String() string { method ProtoMessage (line 46) | func (*CategoryReq) ProtoMessage() {} method ProtoReflect (line 48) | func (x *CategoryReq) ProtoReflect() protoreflect.Message { method Descriptor (line 61) | func (*CategoryReq) Descriptor() ([]byte, []int) { method GetCategory (line 65) | func (x *CategoryReq) GetCategory() string { function file_category_page_proto_rawDescGZIP (line 103) | func file_category_page_proto_rawDescGZIP() []byte { function init (line 125) | func init() { file_category_page_proto_init() } function file_category_page_proto_init (line 126) | func file_category_page_proto_init() { FILE: gomall/tutorial/ch12/app/frontend/hertz_gen/frontend/checkout/checkout_page.pb.go constant _ (line 20) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 22) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type CheckoutReq (line 25) | type CheckoutReq struct method Reset (line 45) | func (x *CheckoutReq) Reset() { method String (line 54) | func (x *CheckoutReq) String() string { method ProtoMessage (line 58) | func (*CheckoutReq) ProtoMessage() {} method ProtoReflect (line 60) | func (x *CheckoutReq) ProtoReflect() protoreflect.Message { method Descriptor (line 73) | func (*CheckoutReq) Descriptor() ([]byte, []int) { method GetEmail (line 77) | func (x *CheckoutReq) GetEmail() string { method GetFirstname (line 84) | func (x *CheckoutReq) GetFirstname() string { method GetLastname (line 91) | func (x *CheckoutReq) GetLastname() string { method GetStreet (line 98) | func (x *CheckoutReq) GetStreet() string { method GetZipcode (line 105) | func (x *CheckoutReq) GetZipcode() string { method GetProvince (line 112) | func (x *CheckoutReq) GetProvince() string { method GetCountry (line 119) | func (x *CheckoutReq) GetCountry() string { method GetCity (line 126) | func (x *CheckoutReq) GetCity() string { method GetCardNum (line 133) | func (x *CheckoutReq) GetCardNum() string { method GetExpirationMonth (line 140) | func (x *CheckoutReq) GetExpirationMonth() int32 { method GetExpirationYear (line 147) | func (x *CheckoutReq) GetExpirationYear() int32 { method GetCvv (line 154) | func (x *CheckoutReq) GetCvv() int32 { method GetPayment (line 161) | func (x *CheckoutReq) GetPayment() string { function file_checkout_page_proto_rawDescGZIP (line 241) | func file_checkout_page_proto_rawDescGZIP() []byte { function init (line 267) | func init() { file_checkout_page_proto_init() } function file_checkout_page_proto_init (line 268) | func file_checkout_page_proto_init() { FILE: gomall/tutorial/ch12/app/frontend/hertz_gen/frontend/common/common.pb.go constant _ (line 18) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 20) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Empty (line 23) | type Empty struct method Reset (line 29) | func (x *Empty) Reset() { method String (line 38) | func (x *Empty) String() string { method ProtoMessage (line 42) | func (*Empty) ProtoMessage() {} method ProtoReflect (line 44) | func (x *Empty) ProtoReflect() protoreflect.Message { method Descriptor (line 57) | func (*Empty) Descriptor() ([]byte, []int) { function file_frontend_common_proto_rawDescGZIP (line 80) | func file_frontend_common_proto_rawDescGZIP() []byte { function init (line 99) | func init() { file_frontend_common_proto_init() } function file_frontend_common_proto_init (line 100) | func file_frontend_common_proto_init() { FILE: gomall/tutorial/ch12/app/frontend/hertz_gen/frontend/home/home.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) function init (line 56) | func init() { file_home_proto_init() } function file_home_proto_init (line 57) | func file_home_proto_init() { FILE: gomall/tutorial/ch12/app/frontend/hertz_gen/frontend/product/product_page.pb.go constant _ (line 20) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 22) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type ProductReq (line 25) | type ProductReq struct method Reset (line 33) | func (x *ProductReq) Reset() { method String (line 42) | func (x *ProductReq) String() string { method ProtoMessage (line 46) | func (*ProductReq) ProtoMessage() {} method ProtoReflect (line 48) | func (x *ProductReq) ProtoReflect() protoreflect.Message { method Descriptor (line 61) | func (*ProductReq) Descriptor() ([]byte, []int) { method GetId (line 65) | func (x *ProductReq) GetId() uint32 { type SearchProductsReq (line 72) | type SearchProductsReq struct method Reset (line 80) | func (x *SearchProductsReq) Reset() { method String (line 89) | func (x *SearchProductsReq) String() string { method ProtoMessage (line 93) | func (*SearchProductsReq) ProtoMessage() {} method ProtoReflect (line 95) | func (x *SearchProductsReq) ProtoReflect() protoreflect.Message { method Descriptor (line 108) | func (*SearchProductsReq) Descriptor() ([]byte, []int) { method GetQ (line 112) | func (x *SearchProductsReq) GetQ() string { function file_product_page_proto_rawDescGZIP (line 157) | func file_product_page_proto_rawDescGZIP() []byte { function init (line 182) | func init() { file_product_page_proto_init() } function file_product_page_proto_init (line 183) | func file_product_page_proto_init() { FILE: gomall/tutorial/ch12/app/frontend/infra/rpc/client.go function InitClient (line 38) | func InitClient() { function initUserClient (line 47) | func initUserClient() { function initProductClient (line 54) | func initProductClient() { function initCartClient (line 63) | func initCartClient() { function initCheckoutClient (line 72) | func initCheckoutClient() { FILE: gomall/tutorial/ch12/app/frontend/infra/rpc/client_test.go function Test_iniUserClient (line 24) | func Test_iniUserClient(t *testing.T) { FILE: gomall/tutorial/ch12/app/frontend/main.go function main (line 46) | func main() { function registerMiddleware (line 83) | func registerMiddleware(h *server.Hertz) { FILE: gomall/tutorial/ch12/app/frontend/middleware/auth.go function GlobalAuth (line 25) | func GlobalAuth() app.HandlerFunc { function Auth (line 33) | func Auth() app.HandlerFunc { FILE: gomall/tutorial/ch12/app/frontend/middleware/middleware.go function Register (line 19) | func Register(h *server.Hertz) { FILE: gomall/tutorial/ch12/app/frontend/utils/constant.go type SessionUserIdKey (line 17) | type SessionUserIdKey constant SessionUserId (line 19) | SessionUserId SessionUserIdKey = "user_id" FILE: gomall/tutorial/ch12/app/frontend/utils/errors.go function MustHandleError (line 19) | func MustHandleError(err error) { FILE: gomall/tutorial/ch12/app/frontend/utils/function.go function GetUserIdFromCtx (line 19) | func GetUserIdFromCtx(ctx context.Context) int32 { FILE: gomall/tutorial/ch12/app/payment/biz/dal/init.go function Init (line 21) | func Init() { FILE: gomall/tutorial/ch12/app/payment/biz/dal/mysql/init.go function Init (line 33) | func Init() { FILE: gomall/tutorial/ch12/app/payment/biz/dal/redis/init.go function Init (line 26) | func Init() { FILE: gomall/tutorial/ch12/app/payment/biz/model/payment.go type PaymentLog (line 24) | type PaymentLog struct method TableName (line 33) | func (p PaymentLog) TableName() string { function CreatePaymentLog (line 37) | func CreatePaymentLog(db *gorm.DB, ctx context.Context, payment *Payment... FILE: gomall/tutorial/ch12/app/payment/biz/service/charge.go type ChargeService (line 30) | type ChargeService struct method Run (line 38) | func (s *ChargeService) Run(req *payment.ChargeReq) (resp *payment.Cha... function NewChargeService (line 33) | func NewChargeService(ctx context.Context) *ChargeService { FILE: gomall/tutorial/ch12/app/payment/biz/service/charge_test.go function TestCharge_Run (line 24) | func TestCharge_Run(t *testing.T) { FILE: gomall/tutorial/ch12/app/payment/conf/conf.go type Config (line 33) | type Config struct type MySQL (line 41) | type MySQL struct type Redis (line 45) | type Redis struct type Kitex (line 52) | type Kitex struct type Registry (line 65) | type Registry struct function GetConf (line 72) | func GetConf() *Config { function initConf (line 77) | func initConf() { function GetEnv (line 98) | func GetEnv() string { function LogLevel (line 106) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch12/app/payment/handler.go type PaymentServiceImpl (line 25) | type PaymentServiceImpl struct method Charge (line 28) | func (s *PaymentServiceImpl) Charge(ctx context.Context, req *payment.... FILE: gomall/tutorial/ch12/app/payment/main.go function main (line 34) | func main() { function kitexInit (line 47) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch12/app/product/biz/dal/init.go function Init (line 21) | func Init() { FILE: gomall/tutorial/ch12/app/product/biz/dal/mysql/init.go function Init (line 32) | func Init() { FILE: gomall/tutorial/ch12/app/product/biz/dal/redis/init.go function Init (line 26) | func Init() { FILE: gomall/tutorial/ch12/app/product/biz/model/base.go type Base (line 19) | type Base struct FILE: gomall/tutorial/ch12/app/product/biz/model/category.go type Category (line 23) | type Category struct method TableName (line 31) | func (c Category) TableName() string { type CategoryQuery (line 35) | type CategoryQuery struct method GetProductsByCategoryName (line 40) | func (c CategoryQuery) GetProductsByCategoryName(name string) (categor... function NewCategoryQuery (line 45) | func NewCategoryQuery(ctx context.Context, db *gorm.DB) *CategoryQuery { FILE: gomall/tutorial/ch12/app/product/biz/model/product.go type Product (line 23) | type Product struct method TableName (line 33) | func (p Product) TableName() string { type ProductQuery (line 37) | type ProductQuery struct method GetById (line 42) | func (p ProductQuery) GetById(productId int) (product Product, err err... method SearchProducts (line 47) | func (p ProductQuery) SearchProducts(q string) (products []*Product, e... function NewProductQuery (line 54) | func NewProductQuery(ctx context.Context, db *gorm.DB) *ProductQuery { FILE: gomall/tutorial/ch12/app/product/biz/service/get_product.go type GetProductService (line 26) | type GetProductService struct method Run (line 34) | func (s *GetProductService) Run(req *product.GetProductReq) (resp *pro... function NewGetProductService (line 29) | func NewGetProductService(ctx context.Context) *GetProductService { FILE: gomall/tutorial/ch12/app/product/biz/service/get_product_test.go function TestGetProduct_Run (line 24) | func TestGetProduct_Run(t *testing.T) { FILE: gomall/tutorial/ch12/app/product/biz/service/list_products.go type ListProductsService (line 25) | type ListProductsService struct method Run (line 33) | func (s *ListProductsService) Run(req *product.ListProductsReq) (resp ... function NewListProductsService (line 28) | func NewListProductsService(ctx context.Context) *ListProductsService { FILE: gomall/tutorial/ch12/app/product/biz/service/list_products_test.go function TestListProducts_Run (line 24) | func TestListProducts_Run(t *testing.T) { FILE: gomall/tutorial/ch12/app/product/biz/service/search_products.go type SearchProductsService (line 25) | type SearchProductsService struct method Run (line 33) | func (s *SearchProductsService) Run(req *product.SearchProductsReq) (r... function NewSearchProductsService (line 28) | func NewSearchProductsService(ctx context.Context) *SearchProductsService { FILE: gomall/tutorial/ch12/app/product/biz/service/search_products_test.go function TestSearchProducts_Run (line 24) | func TestSearchProducts_Run(t *testing.T) { FILE: gomall/tutorial/ch12/app/product/conf/conf.go type Config (line 34) | type Config struct type MySQL (line 42) | type MySQL struct type Redis (line 46) | type Redis struct type Kitex (line 53) | type Kitex struct type Registry (line 66) | type Registry struct function GetConf (line 73) | func GetConf() *Config { function initConf (line 78) | func initConf() { function GetEnv (line 99) | func GetEnv() string { function LogLevel (line 107) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch12/app/product/handler.go type ProductCatalogServiceImpl (line 25) | type ProductCatalogServiceImpl struct method ListProducts (line 28) | func (s *ProductCatalogServiceImpl) ListProducts(ctx context.Context, ... method GetProduct (line 35) | func (s *ProductCatalogServiceImpl) GetProduct(ctx context.Context, re... method SearchProducts (line 42) | func (s *ProductCatalogServiceImpl) SearchProducts(ctx context.Context... FILE: gomall/tutorial/ch12/app/product/main.go function main (line 34) | func main() { function kitexInit (line 47) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch12/app/product/script/product.sql type `category` (line 1) | CREATE TABLE `category` type `product` (line 13) | CREATE TABLE `product` type `product_category` (line 46) | CREATE TABLE `product_category` FILE: gomall/tutorial/ch12/app/product/utils/constant.go constant ServiceName (line 17) | ServiceName = "shop-product" FILE: gomall/tutorial/ch12/app/user/biz/dal/init.go function Init (line 22) | func Init() { FILE: gomall/tutorial/ch12/app/user/biz/dal/mysql/init.go function Init (line 33) | func Init() { FILE: gomall/tutorial/ch12/app/user/biz/dal/redis/init.go function Init (line 26) | func Init() { FILE: gomall/tutorial/ch12/app/user/biz/model/user.go type User (line 23) | type User struct method TableName (line 29) | func (User) TableName() string { function Create (line 33) | func Create(ctx context.Context, db *gorm.DB, user *User) error { function GetByEmail (line 37) | func GetByEmail(ctx context.Context, db *gorm.DB, email string) (*User, ... FILE: gomall/tutorial/ch12/app/user/biz/service/login.go type LoginService (line 27) | type LoginService struct method Run (line 35) | func (s *LoginService) Run(req *user.LoginReq) (resp *user.LoginResp, ... function NewLoginService (line 30) | func NewLoginService(ctx context.Context) *LoginService { FILE: gomall/tutorial/ch12/app/user/biz/service/login_test.go function TestLogin_Run (line 26) | func TestLogin_Run(t *testing.T) { FILE: gomall/tutorial/ch12/app/user/biz/service/register.go type RegisterService (line 27) | type RegisterService struct method Run (line 35) | func (s *RegisterService) Run(req *user.RegisterReq) (resp *user.Regis... function NewRegisterService (line 30) | func NewRegisterService(ctx context.Context) *RegisterService { FILE: gomall/tutorial/ch12/app/user/biz/service/register_test.go function TestRegister_Run (line 26) | func TestRegister_Run(t *testing.T) { FILE: gomall/tutorial/ch12/app/user/conf/conf.go type Config (line 34) | type Config struct type MySQL (line 42) | type MySQL struct type Redis (line 46) | type Redis struct type Kitex (line 53) | type Kitex struct type Registry (line 66) | type Registry struct function GetConf (line 73) | func GetConf() *Config { function initConf (line 78) | func initConf() { function GetEnv (line 99) | func GetEnv() string { function LogLevel (line 107) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch12/app/user/handler.go type UserServiceImpl (line 25) | type UserServiceImpl struct method Register (line 28) | func (s *UserServiceImpl) Register(ctx context.Context, req *user.Regi... method Login (line 35) | func (s *UserServiceImpl) Login(ctx context.Context, req *user.LoginRe... FILE: gomall/tutorial/ch12/app/user/main.go function main (line 34) | func main() { function kitexInit (line 51) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch12/demo/demo_proto/biz/dal/init.go function Init (line 21) | func Init() { FILE: gomall/tutorial/ch12/demo/demo_proto/biz/dal/mysql/init.go function Init (line 33) | func Init() { FILE: gomall/tutorial/ch12/demo/demo_proto/biz/dal/redis/init.go function Init (line 14) | func Init() { FILE: gomall/tutorial/ch12/demo/demo_proto/biz/model/user.go type User (line 19) | type User struct method TableName (line 25) | func (User) TableName() string { FILE: gomall/tutorial/ch12/demo/demo_proto/biz/service/echo.go type EchoService (line 23) | type EchoService struct method Run (line 31) | func (s *EchoService) Run(req *pbapi.Request) (resp *pbapi.Response, e... function NewEchoService (line 26) | func NewEchoService(ctx context.Context) *EchoService { FILE: gomall/tutorial/ch12/demo/demo_proto/biz/service/echo_test.go function TestEcho_Run (line 24) | func TestEcho_Run(t *testing.T) { FILE: gomall/tutorial/ch12/demo/demo_proto/cmd/client/client.go function main (line 32) | func main() { FILE: gomall/tutorial/ch12/demo/demo_proto/cmd/dbop/db.go function main (line 26) | func main() { FILE: gomall/tutorial/ch12/demo/demo_proto/conf/conf.go type Config (line 33) | type Config struct type MySQL (line 41) | type MySQL struct type Redis (line 45) | type Redis struct type Kitex (line 52) | type Kitex struct type Registry (line 65) | type Registry struct function GetConf (line 72) | func GetConf() *Config { function initConf (line 77) | func initConf() { function GetEnv (line 98) | func GetEnv() string { function LogLevel (line 106) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch12/demo/demo_proto/handler.go type EchoImpl (line 25) | type EchoImpl struct method Echo (line 28) | func (s *EchoImpl) Echo(ctx context.Context, req *pbapi.Request) (resp... FILE: gomall/tutorial/ch12/demo/demo_proto/kitex_gen/pbapi/echo.pb.fast.go method FastRead (line 15) | func (x *Request) FastRead(buf []byte, _type int8, number int32) (offset... method fastReadField1 (line 35) | func (x *Request) fastReadField1(buf []byte, _type int8) (offset int, er... method FastRead (line 40) | func (x *Response) FastRead(buf []byte, _type int8, number int32) (offse... method fastReadField1 (line 60) | func (x *Response) fastReadField1(buf []byte, _type int8) (offset int, e... method FastWrite (line 65) | func (x *Request) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 73) | func (x *Request) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 81) | func (x *Response) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 89) | func (x *Response) fastWriteField1(buf []byte) (offset int) { method Size (line 97) | func (x *Request) Size() (n int) { method sizeField1 (line 105) | func (x *Request) sizeField1() (n int) { method Size (line 113) | func (x *Response) Size() (n int) { method sizeField1 (line 121) | func (x *Response) sizeField1() (n int) { FILE: gomall/tutorial/ch12/demo/demo_proto/kitex_gen/pbapi/echo.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Request (line 24) | type Request struct method Reset (line 32) | func (x *Request) Reset() { method String (line 41) | func (x *Request) String() string { method ProtoMessage (line 45) | func (*Request) ProtoMessage() {} method ProtoReflect (line 47) | func (x *Request) ProtoReflect() protoreflect.Message { method Descriptor (line 60) | func (*Request) Descriptor() ([]byte, []int) { method GetMessage (line 64) | func (x *Request) GetMessage() string { type Response (line 71) | type Response struct method Reset (line 79) | func (x *Response) Reset() { method String (line 88) | func (x *Response) String() string { method ProtoMessage (line 92) | func (*Response) ProtoMessage() {} method ProtoReflect (line 94) | func (x *Response) ProtoReflect() protoreflect.Message { method Descriptor (line 107) | func (*Response) Descriptor() ([]byte, []int) { method GetMessage (line 111) | func (x *Response) GetMessage() string { function file_echo_proto_rawDescGZIP (line 143) | func file_echo_proto_rawDescGZIP() []byte { function init (line 165) | func init() { file_echo_proto_init() } function file_echo_proto_init (line 166) | func file_echo_proto_init() { type Echo (line 220) | type Echo interface FILE: gomall/tutorial/ch12/demo/demo_proto/kitex_gen/pbapi/echo/client.go type Client (line 13) | type Client interface function NewClient (line 18) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 34) | func MustNewClient(destService string, opts ...client.Option) Client { type kEchoClient (line 42) | type kEchoClient struct method Echo (line 46) | func (p *kEchoClient) Echo(ctx context.Context, Req *pbapi.Request, ca... FILE: gomall/tutorial/ch12/demo/demo_proto/kitex_gen/pbapi/echo/echo.go function serviceInfo (line 14) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 20) | func NewServiceInfo() *kitex.ServiceInfo { function echoHandler (line 41) | func echoHandler(ctx context.Context, handler interface{}, arg, result i... function newEchoArgs (line 66) | func newEchoArgs() interface{} { function newEchoResult (line 70) | func newEchoResult() interface{} { type EchoArgs (line 74) | type EchoArgs struct method FastRead (line 78) | func (p *EchoArgs) FastRead(buf []byte, _type int8, number int32) (n i... method FastWrite (line 85) | func (p *EchoArgs) FastWrite(buf []byte) (n int) { method Size (line 92) | func (p *EchoArgs) Size() (n int) { method Marshal (line 99) | func (p *EchoArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 106) | func (p *EchoArgs) Unmarshal(in []byte) error { method GetReq (line 117) | func (p *EchoArgs) GetReq() *pbapi.Request { method IsSetReq (line 124) | func (p *EchoArgs) IsSetReq() bool { method GetFirstArgument (line 128) | func (p *EchoArgs) GetFirstArgument() interface{} { type EchoResult (line 132) | type EchoResult struct method FastRead (line 138) | func (p *EchoResult) FastRead(buf []byte, _type int8, number int32) (n... method FastWrite (line 145) | func (p *EchoResult) FastWrite(buf []byte) (n int) { method Size (line 152) | func (p *EchoResult) Size() (n int) { method Marshal (line 159) | func (p *EchoResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 166) | func (p *EchoResult) Unmarshal(in []byte) error { method GetSuccess (line 175) | func (p *EchoResult) GetSuccess() *pbapi.Response { method SetSuccess (line 182) | func (p *EchoResult) SetSuccess(x interface{}) { method IsSetSuccess (line 186) | func (p *EchoResult) IsSetSuccess() bool { method GetResult (line 190) | func (p *EchoResult) GetResult() interface{} { type kClient (line 194) | type kClient struct method Echo (line 204) | func (p *kClient) Echo(ctx context.Context, Req *pbapi.Request) (r *pb... function newServiceClient (line 198) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch12/demo/demo_proto/kitex_gen/pbapi/echo/invoker.go function NewInvoker (line 11) | func NewInvoker(handler pbapi.Echo, opts ...server.Option) server.Invoker { FILE: gomall/tutorial/ch12/demo/demo_proto/kitex_gen/pbapi/echo/server.go function NewServer (line 10) | func NewServer(handler pbapi.Echo, opts ...server.Option) server.Server { FILE: gomall/tutorial/ch12/demo/demo_proto/main.go function main (line 35) | func main() { function kitexInit (line 53) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch12/demo/demo_thrift/biz/dal/init.go function Init (line 22) | func Init() { FILE: gomall/tutorial/ch12/demo/demo_thrift/biz/dal/mysql/init.go function Init (line 29) | func Init() { FILE: gomall/tutorial/ch12/demo/demo_thrift/biz/dal/redis/init.go function Init (line 28) | func Init() { FILE: gomall/tutorial/ch12/demo/demo_thrift/biz/service/echo.go type EchoService (line 23) | type EchoService struct method Run (line 31) | func (s *EchoService) Run(req *api.Request) (resp *api.Response, err e... function NewEchoService (line 26) | func NewEchoService(ctx context.Context) *EchoService { FILE: gomall/tutorial/ch12/demo/demo_thrift/biz/service/echo_test.go function TestEcho_Run (line 24) | func TestEcho_Run(t *testing.T) { FILE: gomall/tutorial/ch12/demo/demo_thrift/cmd/client/client.go function main (line 32) | func main() { FILE: gomall/tutorial/ch12/demo/demo_thrift/conf/conf.go type Config (line 34) | type Config struct type MySQL (line 42) | type MySQL struct type Redis (line 46) | type Redis struct type Kitex (line 53) | type Kitex struct type Registry (line 66) | type Registry struct function GetConf (line 73) | func GetConf() *Config { function initConf (line 78) | func initConf() { function GetEnv (line 99) | func GetEnv() string { function LogLevel (line 107) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch12/demo/demo_thrift/handler.go type EchoImpl (line 25) | type EchoImpl struct method Echo (line 28) | func (s *EchoImpl) Echo(ctx context.Context, req *api.Request) (resp *... FILE: gomall/tutorial/ch12/demo/demo_thrift/kitex_gen/api/echo.go type Request (line 12) | type Request struct method InitDefault (line 20) | func (p *Request) InitDefault() { method GetMessage (line 24) | func (p *Request) GetMessage() (v string) { method SetMessage (line 27) | func (p *Request) SetMessage(val string) { method Read (line 35) | func (p *Request) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 94) | func (p *Request) ReadField1(iprot thrift.TProtocol) error { method Write (line 103) | func (p *Request) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 132) | func (p *Request) writeField1(oprot thrift.TProtocol) (err error) { method String (line 149) | func (p *Request) String() string { method DeepEqual (line 156) | func (p *Request) DeepEqual(ano *Request) bool { method Field1DeepEqual (line 168) | func (p *Request) Field1DeepEqual(src string) bool { function NewRequest (line 16) | func NewRequest() *Request { type Response (line 176) | type Response struct method InitDefault (line 184) | func (p *Response) InitDefault() { method GetMessage (line 188) | func (p *Response) GetMessage() (v string) { method SetMessage (line 191) | func (p *Response) SetMessage(val string) { method Read (line 199) | func (p *Response) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 258) | func (p *Response) ReadField1(iprot thrift.TProtocol) error { method Write (line 267) | func (p *Response) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 296) | func (p *Response) writeField1(oprot thrift.TProtocol) (err error) { method String (line 313) | func (p *Response) String() string { method DeepEqual (line 320) | func (p *Response) DeepEqual(ano *Response) bool { method Field1DeepEqual (line 332) | func (p *Response) Field1DeepEqual(src string) bool { function NewResponse (line 180) | func NewResponse() *Response { type Echo (line 340) | type Echo interface type EchoClient (line 344) | type EchoClient struct method Client_ (line 366) | func (p *EchoClient) Client_() thrift.TClient { method Echo (line 370) | func (p *EchoClient) Echo(ctx context.Context, req *Request) (r *Respo... function NewEchoClientFactory (line 348) | func NewEchoClientFactory(t thrift.TTransport, f thrift.TProtocolFactory... function NewEchoClientProtocol (line 354) | func NewEchoClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, ... function NewEchoClient (line 360) | func NewEchoClient(c thrift.TClient) *EchoClient { type EchoProcessor (line 380) | type EchoProcessor struct method AddToProcessorMap (line 385) | func (p *EchoProcessor) AddToProcessorMap(key string, processor thrift... method GetProcessorFunction (line 389) | func (p *EchoProcessor) GetProcessorFunction(key string) (processor th... method ProcessorMap (line 394) | func (p *EchoProcessor) ProcessorMap() map[string]thrift.TProcessorFun... method Process (line 403) | func (p *EchoProcessor) Process(ctx context.Context, iprot, oprot thri... function NewEchoProcessor (line 398) | func NewEchoProcessor(handler Echo) *EchoProcessor { type echoProcessorEcho (line 421) | type echoProcessorEcho struct method Process (line 425) | func (p *echoProcessorEcho) Process(ctx context.Context, seqId int32, ... type EchoEchoArgs (line 469) | type EchoEchoArgs struct method InitDefault (line 477) | func (p *EchoEchoArgs) InitDefault() { method GetReq (line 483) | func (p *EchoEchoArgs) GetReq() (v *Request) { method SetReq (line 489) | func (p *EchoEchoArgs) SetReq(val *Request) { method IsSetReq (line 497) | func (p *EchoEchoArgs) IsSetReq() bool { method Read (line 501) | func (p *EchoEchoArgs) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 560) | func (p *EchoEchoArgs) ReadField1(iprot thrift.TProtocol) error { method Write (line 568) | func (p *EchoEchoArgs) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 597) | func (p *EchoEchoArgs) writeField1(oprot thrift.TProtocol) (err error) { method String (line 614) | func (p *EchoEchoArgs) String() string { method DeepEqual (line 621) | func (p *EchoEchoArgs) DeepEqual(ano *EchoEchoArgs) bool { method Field1DeepEqual (line 633) | func (p *EchoEchoArgs) Field1DeepEqual(src *Request) bool { function NewEchoEchoArgs (line 473) | func NewEchoEchoArgs() *EchoEchoArgs { type EchoEchoResult (line 641) | type EchoEchoResult struct method InitDefault (line 649) | func (p *EchoEchoResult) InitDefault() { method GetSuccess (line 655) | func (p *EchoEchoResult) GetSuccess() (v *Response) { method SetSuccess (line 661) | func (p *EchoEchoResult) SetSuccess(x interface{}) { method IsSetSuccess (line 669) | func (p *EchoEchoResult) IsSetSuccess() bool { method Read (line 673) | func (p *EchoEchoResult) Read(iprot thrift.TProtocol) (err error) { method ReadField0 (line 732) | func (p *EchoEchoResult) ReadField0(iprot thrift.TProtocol) error { method Write (line 740) | func (p *EchoEchoResult) Write(oprot thrift.TProtocol) (err error) { method writeField0 (line 769) | func (p *EchoEchoResult) writeField0(oprot thrift.TProtocol) (err erro... method String (line 788) | func (p *EchoEchoResult) String() string { method DeepEqual (line 795) | func (p *EchoEchoResult) DeepEqual(ano *EchoEchoResult) bool { method Field0DeepEqual (line 807) | func (p *EchoEchoResult) Field0DeepEqual(src *Response) bool { function NewEchoEchoResult (line 645) | func NewEchoEchoResult() *EchoEchoResult { FILE: gomall/tutorial/ch12/demo/demo_thrift/kitex_gen/api/echo/client.go type Client (line 13) | type Client interface function NewClient (line 18) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 34) | func MustNewClient(destService string, opts ...client.Option) Client { type kEchoClient (line 42) | type kEchoClient struct method Echo (line 46) | func (p *kEchoClient) Echo(ctx context.Context, req *api.Request, call... FILE: gomall/tutorial/ch12/demo/demo_thrift/kitex_gen/api/echo/echo.go function serviceInfo (line 12) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 18) | func NewServiceInfo() *kitex.ServiceInfo { function echoHandler (line 39) | func echoHandler(ctx context.Context, handler interface{}, arg, result i... function newEchoEchoArgs (line 49) | func newEchoEchoArgs() interface{} { function newEchoEchoResult (line 53) | func newEchoEchoResult() interface{} { type kClient (line 57) | type kClient struct method Echo (line 67) | func (p *kClient) Echo(ctx context.Context, req *api.Request) (r *api.... function newServiceClient (line 61) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch12/demo/demo_thrift/kitex_gen/api/echo/invoker.go function NewInvoker (line 11) | func NewInvoker(handler api.Echo, opts ...server.Option) server.Invoker { FILE: gomall/tutorial/ch12/demo/demo_thrift/kitex_gen/api/echo/server.go function NewServer (line 10) | func NewServer(handler api.Echo, opts ...server.Option) server.Server { FILE: gomall/tutorial/ch12/demo/demo_thrift/kitex_gen/api/k-echo.go method FastRead (line 26) | func (p *Request) FastRead(buf []byte) (int, error) { method FastReadField1 (line 97) | func (p *Request) FastReadField1(buf []byte) (int, error) { method FastWrite (line 112) | func (p *Request) FastWrite(buf []byte) int { method FastWriteNocopy (line 116) | func (p *Request) FastWriteNocopy(buf []byte, binaryWriter bthrift.Binar... method BLength (line 127) | func (p *Request) BLength() int { method fastWriteField1 (line 138) | func (p *Request) fastWriteField1(buf []byte, binaryWriter bthrift.Binar... method field1Length (line 147) | func (p *Request) field1Length() int { method FastRead (line 156) | func (p *Response) FastRead(buf []byte) (int, error) { method FastReadField1 (line 227) | func (p *Response) FastReadField1(buf []byte) (int, error) { method FastWrite (line 242) | func (p *Response) FastWrite(buf []byte) int { method FastWriteNocopy (line 246) | func (p *Response) FastWriteNocopy(buf []byte, binaryWriter bthrift.Bina... method BLength (line 257) | func (p *Response) BLength() int { method fastWriteField1 (line 268) | func (p *Response) fastWriteField1(buf []byte, binaryWriter bthrift.Bina... method field1Length (line 277) | func (p *Response) field1Length() int { method FastRead (line 286) | func (p *EchoEchoArgs) FastRead(buf []byte) (int, error) { method FastReadField1 (line 357) | func (p *EchoEchoArgs) FastReadField1(buf []byte) (int, error) { method FastWrite (line 371) | func (p *EchoEchoArgs) FastWrite(buf []byte) int { method FastWriteNocopy (line 375) | func (p *EchoEchoArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.... method BLength (line 386) | func (p *EchoEchoArgs) BLength() int { method fastWriteField1 (line 397) | func (p *EchoEchoArgs) fastWriteField1(buf []byte, binaryWriter bthrift.... method field1Length (line 405) | func (p *EchoEchoArgs) field1Length() int { method FastRead (line 413) | func (p *EchoEchoResult) FastRead(buf []byte) (int, error) { method FastReadField0 (line 484) | func (p *EchoEchoResult) FastReadField0(buf []byte) (int, error) { method FastWrite (line 498) | func (p *EchoEchoResult) FastWrite(buf []byte) int { method FastWriteNocopy (line 502) | func (p *EchoEchoResult) FastWriteNocopy(buf []byte, binaryWriter bthrif... method BLength (line 513) | func (p *EchoEchoResult) BLength() int { method fastWriteField0 (line 524) | func (p *EchoEchoResult) fastWriteField0(buf []byte, binaryWriter bthrif... method field0Length (line 534) | func (p *EchoEchoResult) field0Length() int { method GetFirstArgument (line 544) | func (p *EchoEchoArgs) GetFirstArgument() interface{} { method GetResult (line 548) | func (p *EchoEchoResult) GetResult() interface{} { FILE: gomall/tutorial/ch12/demo/demo_thrift/main.go function main (line 33) | func main() { function kitexInit (line 44) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch12/hello_world/main.go function main (line 25) | func main() { FILE: gomall/tutorial/ch12/rpc_gen/kitex_gen/cart/cart.pb.fast.go method FastRead (line 15) | func (x *CartItem) FastRead(buf []byte, _type int8, number int32) (offse... method fastReadField1 (line 40) | func (x *CartItem) fastReadField1(buf []byte, _type int8) (offset int, e... method fastReadField2 (line 45) | func (x *CartItem) fastReadField2(buf []byte, _type int8) (offset int, e... method FastRead (line 50) | func (x *AddItemReq) FastRead(buf []byte, _type int8, number int32) (off... method fastReadField1 (line 75) | func (x *AddItemReq) fastReadField1(buf []byte, _type int8) (offset int,... method fastReadField2 (line 80) | func (x *AddItemReq) fastReadField2(buf []byte, _type int8) (offset int,... method FastRead (line 90) | func (x *AddItemResp) FastRead(buf []byte, _type int8, number int32) (of... method FastRead (line 103) | func (x *GetCartReq) FastRead(buf []byte, _type int8, number int32) (off... method fastReadField1 (line 123) | func (x *GetCartReq) fastReadField1(buf []byte, _type int8) (offset int,... method FastRead (line 128) | func (x *GetCartResp) FastRead(buf []byte, _type int8, number int32) (of... method fastReadField1 (line 148) | func (x *GetCartResp) fastReadField1(buf []byte, _type int8) (offset int... method FastRead (line 158) | func (x *EmptyCartReq) FastRead(buf []byte, _type int8, number int32) (o... method fastReadField1 (line 178) | func (x *EmptyCartReq) fastReadField1(buf []byte, _type int8) (offset in... method FastRead (line 183) | func (x *EmptyCartResp) FastRead(buf []byte, _type int8, number int32) (... method FastWrite (line 196) | func (x *CartItem) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 205) | func (x *CartItem) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 213) | func (x *CartItem) fastWriteField2(buf []byte) (offset int) { method FastWrite (line 221) | func (x *AddItemReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 230) | func (x *AddItemReq) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 238) | func (x *AddItemReq) fastWriteField2(buf []byte) (offset int) { method FastWrite (line 246) | func (x *AddItemResp) FastWrite(buf []byte) (offset int) { method FastWrite (line 253) | func (x *GetCartReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 261) | func (x *GetCartReq) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 269) | func (x *GetCartResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 277) | func (x *GetCartResp) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 287) | func (x *EmptyCartReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 295) | func (x *EmptyCartReq) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 303) | func (x *EmptyCartResp) FastWrite(buf []byte) (offset int) { method Size (line 310) | func (x *CartItem) Size() (n int) { method sizeField1 (line 319) | func (x *CartItem) sizeField1() (n int) { method sizeField2 (line 327) | func (x *CartItem) sizeField2() (n int) { method Size (line 335) | func (x *AddItemReq) Size() (n int) { method sizeField1 (line 344) | func (x *AddItemReq) sizeField1() (n int) { method sizeField2 (line 352) | func (x *AddItemReq) sizeField2() (n int) { method Size (line 360) | func (x *AddItemResp) Size() (n int) { method Size (line 367) | func (x *GetCartReq) Size() (n int) { method sizeField1 (line 375) | func (x *GetCartReq) sizeField1() (n int) { method Size (line 383) | func (x *GetCartResp) Size() (n int) { method sizeField1 (line 391) | func (x *GetCartResp) sizeField1() (n int) { method Size (line 401) | func (x *EmptyCartReq) Size() (n int) { method sizeField1 (line 409) | func (x *EmptyCartReq) sizeField1() (n int) { method Size (line 417) | func (x *EmptyCartResp) Size() (n int) { FILE: gomall/tutorial/ch12/rpc_gen/kitex_gen/cart/cart.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type CartItem (line 24) | type CartItem struct method Reset (line 33) | func (x *CartItem) Reset() { method String (line 42) | func (x *CartItem) String() string { method ProtoMessage (line 46) | func (*CartItem) ProtoMessage() {} method ProtoReflect (line 48) | func (x *CartItem) ProtoReflect() protoreflect.Message { method Descriptor (line 61) | func (*CartItem) Descriptor() ([]byte, []int) { method GetProductId (line 65) | func (x *CartItem) GetProductId() uint32 { method GetQuantity (line 72) | func (x *CartItem) GetQuantity() uint32 { type AddItemReq (line 79) | type AddItemReq struct method Reset (line 88) | func (x *AddItemReq) Reset() { method String (line 97) | func (x *AddItemReq) String() string { method ProtoMessage (line 101) | func (*AddItemReq) ProtoMessage() {} method ProtoReflect (line 103) | func (x *AddItemReq) ProtoReflect() protoreflect.Message { method Descriptor (line 116) | func (*AddItemReq) Descriptor() ([]byte, []int) { method GetUserId (line 120) | func (x *AddItemReq) GetUserId() uint32 { method GetItem (line 127) | func (x *AddItemReq) GetItem() *CartItem { type AddItemResp (line 134) | type AddItemResp struct method Reset (line 140) | func (x *AddItemResp) Reset() { method String (line 149) | func (x *AddItemResp) String() string { method ProtoMessage (line 153) | func (*AddItemResp) ProtoMessage() {} method ProtoReflect (line 155) | func (x *AddItemResp) ProtoReflect() protoreflect.Message { method Descriptor (line 168) | func (*AddItemResp) Descriptor() ([]byte, []int) { type GetCartReq (line 172) | type GetCartReq struct method Reset (line 180) | func (x *GetCartReq) Reset() { method String (line 189) | func (x *GetCartReq) String() string { method ProtoMessage (line 193) | func (*GetCartReq) ProtoMessage() {} method ProtoReflect (line 195) | func (x *GetCartReq) ProtoReflect() protoreflect.Message { method Descriptor (line 208) | func (*GetCartReq) Descriptor() ([]byte, []int) { method GetUserId (line 212) | func (x *GetCartReq) GetUserId() uint32 { type GetCartResp (line 219) | type GetCartResp struct method Reset (line 227) | func (x *GetCartResp) Reset() { method String (line 236) | func (x *GetCartResp) String() string { method ProtoMessage (line 240) | func (*GetCartResp) ProtoMessage() {} method ProtoReflect (line 242) | func (x *GetCartResp) ProtoReflect() protoreflect.Message { method Descriptor (line 255) | func (*GetCartResp) Descriptor() ([]byte, []int) { method GetItems (line 259) | func (x *GetCartResp) GetItems() []*CartItem { type EmptyCartReq (line 266) | type EmptyCartReq struct method Reset (line 274) | func (x *EmptyCartReq) Reset() { method String (line 283) | func (x *EmptyCartReq) String() string { method ProtoMessage (line 287) | func (*EmptyCartReq) ProtoMessage() {} method ProtoReflect (line 289) | func (x *EmptyCartReq) ProtoReflect() protoreflect.Message { method Descriptor (line 302) | func (*EmptyCartReq) Descriptor() ([]byte, []int) { method GetUserId (line 306) | func (x *EmptyCartReq) GetUserId() uint32 { type EmptyCartResp (line 313) | type EmptyCartResp struct method Reset (line 319) | func (x *EmptyCartResp) Reset() { method String (line 328) | func (x *EmptyCartResp) String() string { method ProtoMessage (line 332) | func (*EmptyCartResp) ProtoMessage() {} method ProtoReflect (line 334) | func (x *EmptyCartResp) ProtoReflect() protoreflect.Message { method Descriptor (line 347) | func (*EmptyCartResp) Descriptor() ([]byte, []int) { function file_cart_proto_rawDescGZIP (line 397) | func file_cart_proto_rawDescGZIP() []byte { function init (line 430) | func init() { file_cart_proto_init() } function file_cart_proto_init (line 431) | func file_cart_proto_init() { type CartService (line 545) | type CartService interface FILE: gomall/tutorial/ch12/rpc_gen/kitex_gen/cart/cartservice/cartservice.go function serviceInfo (line 14) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 20) | func NewServiceInfo() *kitex.ServiceInfo { function addItemHandler (line 43) | func addItemHandler(ctx context.Context, handler interface{}, arg, resul... function newAddItemArgs (line 68) | func newAddItemArgs() interface{} { function newAddItemResult (line 72) | func newAddItemResult() interface{} { type AddItemArgs (line 76) | type AddItemArgs struct method FastRead (line 80) | func (p *AddItemArgs) FastRead(buf []byte, _type int8, number int32) (... method FastWrite (line 87) | func (p *AddItemArgs) FastWrite(buf []byte) (n int) { method Size (line 94) | func (p *AddItemArgs) Size() (n int) { method Marshal (line 101) | func (p *AddItemArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 108) | func (p *AddItemArgs) Unmarshal(in []byte) error { method GetReq (line 119) | func (p *AddItemArgs) GetReq() *cart.AddItemReq { method IsSetReq (line 126) | func (p *AddItemArgs) IsSetReq() bool { method GetFirstArgument (line 130) | func (p *AddItemArgs) GetFirstArgument() interface{} { type AddItemResult (line 134) | type AddItemResult struct method FastRead (line 140) | func (p *AddItemResult) FastRead(buf []byte, _type int8, number int32)... method FastWrite (line 147) | func (p *AddItemResult) FastWrite(buf []byte) (n int) { method Size (line 154) | func (p *AddItemResult) Size() (n int) { method Marshal (line 161) | func (p *AddItemResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 168) | func (p *AddItemResult) Unmarshal(in []byte) error { method GetSuccess (line 177) | func (p *AddItemResult) GetSuccess() *cart.AddItemResp { method SetSuccess (line 184) | func (p *AddItemResult) SetSuccess(x interface{}) { method IsSetSuccess (line 188) | func (p *AddItemResult) IsSetSuccess() bool { method GetResult (line 192) | func (p *AddItemResult) GetResult() interface{} { function getCartHandler (line 196) | func getCartHandler(ctx context.Context, handler interface{}, arg, resul... function newGetCartArgs (line 221) | func newGetCartArgs() interface{} { function newGetCartResult (line 225) | func newGetCartResult() interface{} { type GetCartArgs (line 229) | type GetCartArgs struct method FastRead (line 233) | func (p *GetCartArgs) FastRead(buf []byte, _type int8, number int32) (... method FastWrite (line 240) | func (p *GetCartArgs) FastWrite(buf []byte) (n int) { method Size (line 247) | func (p *GetCartArgs) Size() (n int) { method Marshal (line 254) | func (p *GetCartArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 261) | func (p *GetCartArgs) Unmarshal(in []byte) error { method GetReq (line 272) | func (p *GetCartArgs) GetReq() *cart.GetCartReq { method IsSetReq (line 279) | func (p *GetCartArgs) IsSetReq() bool { method GetFirstArgument (line 283) | func (p *GetCartArgs) GetFirstArgument() interface{} { type GetCartResult (line 287) | type GetCartResult struct method FastRead (line 293) | func (p *GetCartResult) FastRead(buf []byte, _type int8, number int32)... method FastWrite (line 300) | func (p *GetCartResult) FastWrite(buf []byte) (n int) { method Size (line 307) | func (p *GetCartResult) Size() (n int) { method Marshal (line 314) | func (p *GetCartResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 321) | func (p *GetCartResult) Unmarshal(in []byte) error { method GetSuccess (line 330) | func (p *GetCartResult) GetSuccess() *cart.GetCartResp { method SetSuccess (line 337) | func (p *GetCartResult) SetSuccess(x interface{}) { method IsSetSuccess (line 341) | func (p *GetCartResult) IsSetSuccess() bool { method GetResult (line 345) | func (p *GetCartResult) GetResult() interface{} { function emptyCartHandler (line 349) | func emptyCartHandler(ctx context.Context, handler interface{}, arg, res... function newEmptyCartArgs (line 374) | func newEmptyCartArgs() interface{} { function newEmptyCartResult (line 378) | func newEmptyCartResult() interface{} { type EmptyCartArgs (line 382) | type EmptyCartArgs struct method FastRead (line 386) | func (p *EmptyCartArgs) FastRead(buf []byte, _type int8, number int32)... method FastWrite (line 393) | func (p *EmptyCartArgs) FastWrite(buf []byte) (n int) { method Size (line 400) | func (p *EmptyCartArgs) Size() (n int) { method Marshal (line 407) | func (p *EmptyCartArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 414) | func (p *EmptyCartArgs) Unmarshal(in []byte) error { method GetReq (line 425) | func (p *EmptyCartArgs) GetReq() *cart.EmptyCartReq { method IsSetReq (line 432) | func (p *EmptyCartArgs) IsSetReq() bool { method GetFirstArgument (line 436) | func (p *EmptyCartArgs) GetFirstArgument() interface{} { type EmptyCartResult (line 440) | type EmptyCartResult struct method FastRead (line 446) | func (p *EmptyCartResult) FastRead(buf []byte, _type int8, number int3... method FastWrite (line 453) | func (p *EmptyCartResult) FastWrite(buf []byte) (n int) { method Size (line 460) | func (p *EmptyCartResult) Size() (n int) { method Marshal (line 467) | func (p *EmptyCartResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 474) | func (p *EmptyCartResult) Unmarshal(in []byte) error { method GetSuccess (line 483) | func (p *EmptyCartResult) GetSuccess() *cart.EmptyCartResp { method SetSuccess (line 490) | func (p *EmptyCartResult) SetSuccess(x interface{}) { method IsSetSuccess (line 494) | func (p *EmptyCartResult) IsSetSuccess() bool { method GetResult (line 498) | func (p *EmptyCartResult) GetResult() interface{} { type kClient (line 502) | type kClient struct method AddItem (line 512) | func (p *kClient) AddItem(ctx context.Context, Req *cart.AddItemReq) (... method GetCart (line 522) | func (p *kClient) GetCart(ctx context.Context, Req *cart.GetCartReq) (... method EmptyCart (line 532) | func (p *kClient) EmptyCart(ctx context.Context, Req *cart.EmptyCartRe... function newServiceClient (line 506) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch12/rpc_gen/kitex_gen/cart/cartservice/client.go type Client (line 13) | type Client interface function NewClient (line 20) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 36) | func MustNewClient(destService string, opts ...client.Option) Client { type kCartServiceClient (line 44) | type kCartServiceClient struct method AddItem (line 48) | func (p *kCartServiceClient) AddItem(ctx context.Context, Req *cart.Ad... method GetCart (line 53) | func (p *kCartServiceClient) GetCart(ctx context.Context, Req *cart.Ge... method EmptyCart (line 58) | func (p *kCartServiceClient) EmptyCart(ctx context.Context, Req *cart.... FILE: gomall/tutorial/ch12/rpc_gen/kitex_gen/cart/cartservice/invoker.go function NewInvoker (line 11) | func NewInvoker(handler cart.CartService, opts ...server.Option) server.... FILE: gomall/tutorial/ch12/rpc_gen/kitex_gen/cart/cartservice/server.go function NewServer (line 10) | func NewServer(handler cart.CartService, opts ...server.Option) server.S... FILE: gomall/tutorial/ch12/rpc_gen/kitex_gen/checkout/checkout.pb.fast.go method FastRead (line 16) | func (x *CheckoutReq) FastRead(buf []byte, _type int8, number int32) (of... method fastReadField1 (line 61) | func (x *CheckoutReq) fastReadField1(buf []byte, _type int8) (offset int... method fastReadField2 (line 66) | func (x *CheckoutReq) fastReadField2(buf []byte, _type int8) (offset int... method fastReadField3 (line 71) | func (x *CheckoutReq) fastReadField3(buf []byte, _type int8) (offset int... method fastReadField4 (line 76) | func (x *CheckoutReq) fastReadField4(buf []byte, _type int8) (offset int... method fastReadField5 (line 81) | func (x *CheckoutReq) fastReadField5(buf []byte, _type int8) (offset int... method fastReadField6 (line 91) | func (x *CheckoutReq) fastReadField6(buf []byte, _type int8) (offset int... method FastRead (line 101) | func (x *Address) FastRead(buf []byte, _type int8, number int32) (offset... method fastReadField1 (line 141) | func (x *Address) fastReadField1(buf []byte, _type int8) (offset int, er... method fastReadField2 (line 146) | func (x *Address) fastReadField2(buf []byte, _type int8) (offset int, er... method fastReadField3 (line 151) | func (x *Address) fastReadField3(buf []byte, _type int8) (offset int, er... method fastReadField4 (line 156) | func (x *Address) fastReadField4(buf []byte, _type int8) (offset int, er... method fastReadField5 (line 161) | func (x *Address) fastReadField5(buf []byte, _type int8) (offset int, er... method FastRead (line 166) | func (x *CheckoutResp) FastRead(buf []byte, _type int8, number int32) (o... method fastReadField1 (line 191) | func (x *CheckoutResp) fastReadField1(buf []byte, _type int8) (offset in... method fastReadField2 (line 196) | func (x *CheckoutResp) fastReadField2(buf []byte, _type int8) (offset in... method FastWrite (line 201) | func (x *CheckoutReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 214) | func (x *CheckoutReq) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 222) | func (x *CheckoutReq) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 230) | func (x *CheckoutReq) fastWriteField3(buf []byte) (offset int) { method fastWriteField4 (line 238) | func (x *CheckoutReq) fastWriteField4(buf []byte) (offset int) { method fastWriteField5 (line 246) | func (x *CheckoutReq) fastWriteField5(buf []byte) (offset int) { method fastWriteField6 (line 254) | func (x *CheckoutReq) fastWriteField6(buf []byte) (offset int) { method FastWrite (line 262) | func (x *Address) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 274) | func (x *Address) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 282) | func (x *Address) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 290) | func (x *Address) fastWriteField3(buf []byte) (offset int) { method fastWriteField4 (line 298) | func (x *Address) fastWriteField4(buf []byte) (offset int) { method fastWriteField5 (line 306) | func (x *Address) fastWriteField5(buf []byte) (offset int) { method FastWrite (line 314) | func (x *CheckoutResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 323) | func (x *CheckoutResp) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 331) | func (x *CheckoutResp) fastWriteField2(buf []byte) (offset int) { method Size (line 339) | func (x *CheckoutReq) Size() (n int) { method sizeField1 (line 352) | func (x *CheckoutReq) sizeField1() (n int) { method sizeField2 (line 360) | func (x *CheckoutReq) sizeField2() (n int) { method sizeField3 (line 368) | func (x *CheckoutReq) sizeField3() (n int) { method sizeField4 (line 376) | func (x *CheckoutReq) sizeField4() (n int) { method sizeField5 (line 384) | func (x *CheckoutReq) sizeField5() (n int) { method sizeField6 (line 392) | func (x *CheckoutReq) sizeField6() (n int) { method Size (line 400) | func (x *Address) Size() (n int) { method sizeField1 (line 412) | func (x *Address) sizeField1() (n int) { method sizeField2 (line 420) | func (x *Address) sizeField2() (n int) { method sizeField3 (line 428) | func (x *Address) sizeField3() (n int) { method sizeField4 (line 436) | func (x *Address) sizeField4() (n int) { method sizeField5 (line 444) | func (x *Address) sizeField5() (n int) { method Size (line 452) | func (x *CheckoutResp) Size() (n int) { method sizeField1 (line 461) | func (x *CheckoutResp) sizeField1() (n int) { method sizeField2 (line 469) | func (x *CheckoutResp) sizeField2() (n int) { FILE: gomall/tutorial/ch12/rpc_gen/kitex_gen/checkout/checkout.pb.go constant _ (line 20) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 22) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type CheckoutReq (line 25) | type CheckoutReq struct method Reset (line 38) | func (x *CheckoutReq) Reset() { method String (line 47) | func (x *CheckoutReq) String() string { method ProtoMessage (line 51) | func (*CheckoutReq) ProtoMessage() {} method ProtoReflect (line 53) | func (x *CheckoutReq) ProtoReflect() protoreflect.Message { method Descriptor (line 66) | func (*CheckoutReq) Descriptor() ([]byte, []int) { method GetUserId (line 70) | func (x *CheckoutReq) GetUserId() uint32 { method GetFirstname (line 77) | func (x *CheckoutReq) GetFirstname() string { method GetLastname (line 84) | func (x *CheckoutReq) GetLastname() string { method GetEmail (line 91) | func (x *CheckoutReq) GetEmail() string { method GetAddress (line 98) | func (x *CheckoutReq) GetAddress() *Address { method GetCreditCard (line 105) | func (x *CheckoutReq) GetCreditCard() *payment.CreditCardInfo { type Address (line 112) | type Address struct method Reset (line 124) | func (x *Address) Reset() { method String (line 133) | func (x *Address) String() string { method ProtoMessage (line 137) | func (*Address) ProtoMessage() {} method ProtoReflect (line 139) | func (x *Address) ProtoReflect() protoreflect.Message { method Descriptor (line 152) | func (*Address) Descriptor() ([]byte, []int) { method GetStreetAddress (line 156) | func (x *Address) GetStreetAddress() string { method GetCity (line 163) | func (x *Address) GetCity() string { method GetState (line 170) | func (x *Address) GetState() string { method GetCountry (line 177) | func (x *Address) GetCountry() string { method GetZipCode (line 184) | func (x *Address) GetZipCode() string { type CheckoutResp (line 191) | type CheckoutResp struct method Reset (line 200) | func (x *CheckoutResp) Reset() { method String (line 209) | func (x *CheckoutResp) String() string { method ProtoMessage (line 213) | func (*CheckoutResp) ProtoMessage() {} method ProtoReflect (line 215) | func (x *CheckoutResp) ProtoReflect() protoreflect.Message { method Descriptor (line 228) | func (*CheckoutResp) Descriptor() ([]byte, []int) { method GetOrderId (line 232) | func (x *CheckoutResp) GetOrderId() string { method GetTransactionId (line 239) | func (x *CheckoutResp) GetTransactionId() string { function file_checkout_proto_rawDescGZIP (line 297) | func file_checkout_proto_rawDescGZIP() []byte { function init (line 323) | func init() { file_checkout_proto_init() } function file_checkout_proto_init (line 324) | func file_checkout_proto_init() { type CheckoutService (line 390) | type CheckoutService interface FILE: gomall/tutorial/ch12/rpc_gen/kitex_gen/checkout/checkoutservice/checkoutservice.go function serviceInfo (line 34) | func serviceInfo() *kitex.ServiceInfo { function serviceInfoForStreamClient (line 39) | func serviceInfoForStreamClient() *kitex.ServiceInfo { function serviceInfoForClient (line 44) | func serviceInfoForClient() *kitex.ServiceInfo { function NewServiceInfo (line 49) | func NewServiceInfo() *kitex.ServiceInfo { function NewServiceInfoForClient (line 54) | func NewServiceInfoForClient() *kitex.ServiceInfo { function NewServiceInfoForStreamClient (line 57) | func NewServiceInfoForStreamClient() *kitex.ServiceInfo { function newServiceInfo (line 61) | func newServiceInfo(hasStreaming bool, keepStreamingMethods bool, keepNo... function checkoutHandler (line 91) | func checkoutHandler(ctx context.Context, handler interface{}, arg, resu... function newCheckoutArgs (line 116) | func newCheckoutArgs() interface{} { function newCheckoutResult (line 120) | func newCheckoutResult() interface{} { type CheckoutArgs (line 124) | type CheckoutArgs struct method FastRead (line 128) | func (p *CheckoutArgs) FastRead(buf []byte, _type int8, number int32) ... method FastWrite (line 135) | func (p *CheckoutArgs) FastWrite(buf []byte) (n int) { method Size (line 142) | func (p *CheckoutArgs) Size() (n int) { method Marshal (line 149) | func (p *CheckoutArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 156) | func (p *CheckoutArgs) Unmarshal(in []byte) error { method GetReq (line 167) | func (p *CheckoutArgs) GetReq() *checkout.CheckoutReq { method IsSetReq (line 174) | func (p *CheckoutArgs) IsSetReq() bool { method GetFirstArgument (line 178) | func (p *CheckoutArgs) GetFirstArgument() interface{} { type CheckoutResult (line 182) | type CheckoutResult struct method FastRead (line 188) | func (p *CheckoutResult) FastRead(buf []byte, _type int8, number int32... method FastWrite (line 195) | func (p *CheckoutResult) FastWrite(buf []byte) (n int) { method Size (line 202) | func (p *CheckoutResult) Size() (n int) { method Marshal (line 209) | func (p *CheckoutResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 216) | func (p *CheckoutResult) Unmarshal(in []byte) error { method GetSuccess (line 225) | func (p *CheckoutResult) GetSuccess() *checkout.CheckoutResp { method SetSuccess (line 232) | func (p *CheckoutResult) SetSuccess(x interface{}) { method IsSetSuccess (line 236) | func (p *CheckoutResult) IsSetSuccess() bool { method GetResult (line 240) | func (p *CheckoutResult) GetResult() interface{} { type kClient (line 244) | type kClient struct method Checkout (line 254) | func (p *kClient) Checkout(ctx context.Context, Req *checkout.Checkout... function newServiceClient (line 248) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch12/rpc_gen/kitex_gen/checkout/checkoutservice/client.go type Client (line 13) | type Client interface function NewClient (line 18) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 34) | func MustNewClient(destService string, opts ...client.Option) Client { type kCheckoutServiceClient (line 42) | type kCheckoutServiceClient struct method Checkout (line 46) | func (p *kCheckoutServiceClient) Checkout(ctx context.Context, Req *ch... FILE: gomall/tutorial/ch12/rpc_gen/kitex_gen/checkout/checkoutservice/invoker.go function NewInvoker (line 11) | func NewInvoker(handler checkout.CheckoutService, opts ...server.Option)... FILE: gomall/tutorial/ch12/rpc_gen/kitex_gen/checkout/checkoutservice/server.go function NewServer (line 10) | func NewServer(handler checkout.CheckoutService, opts ...server.Option) ... function RegisterService (line 22) | func RegisterService(svr server.Server, handler checkout.CheckoutService... FILE: gomall/tutorial/ch12/rpc_gen/kitex_gen/payment/payment.pb.fast.go method FastRead (line 15) | func (x *CreditCardInfo) FastRead(buf []byte, _type int8, number int32) ... method fastReadField1 (line 50) | func (x *CreditCardInfo) fastReadField1(buf []byte, _type int8) (offset ... method fastReadField2 (line 55) | func (x *CreditCardInfo) fastReadField2(buf []byte, _type int8) (offset ... method fastReadField3 (line 60) | func (x *CreditCardInfo) fastReadField3(buf []byte, _type int8) (offset ... method fastReadField4 (line 65) | func (x *CreditCardInfo) fastReadField4(buf []byte, _type int8) (offset ... method FastRead (line 70) | func (x *ChargeReq) FastRead(buf []byte, _type int8, number int32) (offs... method fastReadField1 (line 105) | func (x *ChargeReq) fastReadField1(buf []byte, _type int8) (offset int, ... method fastReadField2 (line 110) | func (x *ChargeReq) fastReadField2(buf []byte, _type int8) (offset int, ... method fastReadField3 (line 120) | func (x *ChargeReq) fastReadField3(buf []byte, _type int8) (offset int, ... method fastReadField4 (line 125) | func (x *ChargeReq) fastReadField4(buf []byte, _type int8) (offset int, ... method FastRead (line 130) | func (x *ChargeResp) FastRead(buf []byte, _type int8, number int32) (off... method fastReadField1 (line 150) | func (x *ChargeResp) fastReadField1(buf []byte, _type int8) (offset int,... method FastWrite (line 155) | func (x *CreditCardInfo) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 166) | func (x *CreditCardInfo) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 174) | func (x *CreditCardInfo) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 182) | func (x *CreditCardInfo) fastWriteField3(buf []byte) (offset int) { method fastWriteField4 (line 190) | func (x *CreditCardInfo) fastWriteField4(buf []byte) (offset int) { method FastWrite (line 198) | func (x *ChargeReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 209) | func (x *ChargeReq) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 217) | func (x *ChargeReq) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 225) | func (x *ChargeReq) fastWriteField3(buf []byte) (offset int) { method fastWriteField4 (line 233) | func (x *ChargeReq) fastWriteField4(buf []byte) (offset int) { method FastWrite (line 241) | func (x *ChargeResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 249) | func (x *ChargeResp) fastWriteField1(buf []byte) (offset int) { method Size (line 257) | func (x *CreditCardInfo) Size() (n int) { method sizeField1 (line 268) | func (x *CreditCardInfo) sizeField1() (n int) { method sizeField2 (line 276) | func (x *CreditCardInfo) sizeField2() (n int) { method sizeField3 (line 284) | func (x *CreditCardInfo) sizeField3() (n int) { method sizeField4 (line 292) | func (x *CreditCardInfo) sizeField4() (n int) { method Size (line 300) | func (x *ChargeReq) Size() (n int) { method sizeField1 (line 311) | func (x *ChargeReq) sizeField1() (n int) { method sizeField2 (line 319) | func (x *ChargeReq) sizeField2() (n int) { method sizeField3 (line 327) | func (x *ChargeReq) sizeField3() (n int) { method sizeField4 (line 335) | func (x *ChargeReq) sizeField4() (n int) { method Size (line 343) | func (x *ChargeResp) Size() (n int) { method sizeField1 (line 351) | func (x *ChargeResp) sizeField1() (n int) { FILE: gomall/tutorial/ch12/rpc_gen/kitex_gen/payment/payment.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type CreditCardInfo (line 24) | type CreditCardInfo struct method Reset (line 35) | func (x *CreditCardInfo) Reset() { method String (line 44) | func (x *CreditCardInfo) String() string { method ProtoMessage (line 48) | func (*CreditCardInfo) ProtoMessage() {} method ProtoReflect (line 50) | func (x *CreditCardInfo) ProtoReflect() protoreflect.Message { method Descriptor (line 63) | func (*CreditCardInfo) Descriptor() ([]byte, []int) { method GetCreditCardNumber (line 67) | func (x *CreditCardInfo) GetCreditCardNumber() string { method GetCreditCardCvv (line 74) | func (x *CreditCardInfo) GetCreditCardCvv() int32 { method GetCreditCardExpirationYear (line 81) | func (x *CreditCardInfo) GetCreditCardExpirationYear() int32 { method GetCreditCardExpirationMonth (line 88) | func (x *CreditCardInfo) GetCreditCardExpirationMonth() int32 { type ChargeReq (line 95) | type ChargeReq struct method Reset (line 106) | func (x *ChargeReq) Reset() { method String (line 115) | func (x *ChargeReq) String() string { method ProtoMessage (line 119) | func (*ChargeReq) ProtoMessage() {} method ProtoReflect (line 121) | func (x *ChargeReq) ProtoReflect() protoreflect.Message { method Descriptor (line 134) | func (*ChargeReq) Descriptor() ([]byte, []int) { method GetAmount (line 138) | func (x *ChargeReq) GetAmount() float32 { method GetCreditCard (line 145) | func (x *ChargeReq) GetCreditCard() *CreditCardInfo { method GetOrderId (line 152) | func (x *ChargeReq) GetOrderId() string { method GetUserId (line 159) | func (x *ChargeReq) GetUserId() uint32 { type ChargeResp (line 166) | type ChargeResp struct method Reset (line 174) | func (x *ChargeResp) Reset() { method String (line 183) | func (x *ChargeResp) String() string { method ProtoMessage (line 187) | func (*ChargeResp) ProtoMessage() {} method ProtoReflect (line 189) | func (x *ChargeResp) ProtoReflect() protoreflect.Message { method Descriptor (line 202) | func (*ChargeResp) Descriptor() ([]byte, []int) { method GetTransactionId (line 206) | func (x *ChargeResp) GetTransactionId() string { function file_payment_proto_rawDescGZIP (line 261) | func file_payment_proto_rawDescGZIP() []byte { function init (line 285) | func init() { file_payment_proto_init() } function file_payment_proto_init (line 286) | func file_payment_proto_init() { type PaymentService (line 352) | type PaymentService interface FILE: gomall/tutorial/ch12/rpc_gen/kitex_gen/payment/paymentservice/client.go type Client (line 13) | type Client interface function NewClient (line 18) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 34) | func MustNewClient(destService string, opts ...client.Option) Client { type kPaymentServiceClient (line 42) | type kPaymentServiceClient struct method Charge (line 46) | func (p *kPaymentServiceClient) Charge(ctx context.Context, Req *payme... FILE: gomall/tutorial/ch12/rpc_gen/kitex_gen/payment/paymentservice/invoker.go function NewInvoker (line 11) | func NewInvoker(handler payment.PaymentService, opts ...server.Option) s... FILE: gomall/tutorial/ch12/rpc_gen/kitex_gen/payment/paymentservice/paymentservice.go function serviceInfo (line 34) | func serviceInfo() *kitex.ServiceInfo { function serviceInfoForStreamClient (line 39) | func serviceInfoForStreamClient() *kitex.ServiceInfo { function serviceInfoForClient (line 44) | func serviceInfoForClient() *kitex.ServiceInfo { function NewServiceInfo (line 49) | func NewServiceInfo() *kitex.ServiceInfo { function NewServiceInfoForClient (line 54) | func NewServiceInfoForClient() *kitex.ServiceInfo { function NewServiceInfoForStreamClient (line 57) | func NewServiceInfoForStreamClient() *kitex.ServiceInfo { function newServiceInfo (line 61) | func newServiceInfo(hasStreaming bool, keepStreamingMethods bool, keepNo... function chargeHandler (line 91) | func chargeHandler(ctx context.Context, handler interface{}, arg, result... function newChargeArgs (line 116) | func newChargeArgs() interface{} { function newChargeResult (line 120) | func newChargeResult() interface{} { type ChargeArgs (line 124) | type ChargeArgs struct method FastRead (line 128) | func (p *ChargeArgs) FastRead(buf []byte, _type int8, number int32) (n... method FastWrite (line 135) | func (p *ChargeArgs) FastWrite(buf []byte) (n int) { method Size (line 142) | func (p *ChargeArgs) Size() (n int) { method Marshal (line 149) | func (p *ChargeArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 156) | func (p *ChargeArgs) Unmarshal(in []byte) error { method GetReq (line 167) | func (p *ChargeArgs) GetReq() *payment.ChargeReq { method IsSetReq (line 174) | func (p *ChargeArgs) IsSetReq() bool { method GetFirstArgument (line 178) | func (p *ChargeArgs) GetFirstArgument() interface{} { type ChargeResult (line 182) | type ChargeResult struct method FastRead (line 188) | func (p *ChargeResult) FastRead(buf []byte, _type int8, number int32) ... method FastWrite (line 195) | func (p *ChargeResult) FastWrite(buf []byte) (n int) { method Size (line 202) | func (p *ChargeResult) Size() (n int) { method Marshal (line 209) | func (p *ChargeResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 216) | func (p *ChargeResult) Unmarshal(in []byte) error { method GetSuccess (line 225) | func (p *ChargeResult) GetSuccess() *payment.ChargeResp { method SetSuccess (line 232) | func (p *ChargeResult) SetSuccess(x interface{}) { method IsSetSuccess (line 236) | func (p *ChargeResult) IsSetSuccess() bool { method GetResult (line 240) | func (p *ChargeResult) GetResult() interface{} { type kClient (line 244) | type kClient struct method Charge (line 254) | func (p *kClient) Charge(ctx context.Context, Req *payment.ChargeReq) ... function newServiceClient (line 248) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch12/rpc_gen/kitex_gen/payment/paymentservice/server.go function NewServer (line 10) | func NewServer(handler payment.PaymentService, opts ...server.Option) se... function RegisterService (line 22) | func RegisterService(svr server.Server, handler payment.PaymentService, ... FILE: gomall/tutorial/ch12/rpc_gen/kitex_gen/product/product.pb.fast.go method FastRead (line 15) | func (x *ListProductsReq) FastRead(buf []byte, _type int8, number int32)... method fastReadField1 (line 45) | func (x *ListProductsReq) fastReadField1(buf []byte, _type int8) (offset... method fastReadField2 (line 50) | func (x *ListProductsReq) fastReadField2(buf []byte, _type int8) (offset... method fastReadField3 (line 55) | func (x *ListProductsReq) fastReadField3(buf []byte, _type int8) (offset... method FastRead (line 60) | func (x *Product) FastRead(buf []byte, _type int8, number int32) (offset... method fastReadField1 (line 105) | func (x *Product) fastReadField1(buf []byte, _type int8) (offset int, er... method fastReadField2 (line 110) | func (x *Product) fastReadField2(buf []byte, _type int8) (offset int, er... method fastReadField3 (line 115) | func (x *Product) fastReadField3(buf []byte, _type int8) (offset int, er... method fastReadField4 (line 120) | func (x *Product) fastReadField4(buf []byte, _type int8) (offset int, er... method fastReadField5 (line 125) | func (x *Product) fastReadField5(buf []byte, _type int8) (offset int, er... method fastReadField6 (line 130) | func (x *Product) fastReadField6(buf []byte, _type int8) (offset int, er... method FastRead (line 140) | func (x *ListProductsResp) FastRead(buf []byte, _type int8, number int32... method fastReadField1 (line 160) | func (x *ListProductsResp) fastReadField1(buf []byte, _type int8) (offse... method FastRead (line 170) | func (x *GetProductReq) FastRead(buf []byte, _type int8, number int32) (... method fastReadField1 (line 190) | func (x *GetProductReq) fastReadField1(buf []byte, _type int8) (offset i... method FastRead (line 195) | func (x *GetProductResp) FastRead(buf []byte, _type int8, number int32) ... method fastReadField1 (line 215) | func (x *GetProductResp) fastReadField1(buf []byte, _type int8) (offset ... method FastRead (line 225) | func (x *SearchProductsReq) FastRead(buf []byte, _type int8, number int3... method fastReadField1 (line 245) | func (x *SearchProductsReq) fastReadField1(buf []byte, _type int8) (offs... method FastRead (line 250) | func (x *SearchProductsResp) FastRead(buf []byte, _type int8, number int... method fastReadField1 (line 270) | func (x *SearchProductsResp) fastReadField1(buf []byte, _type int8) (off... method FastWrite (line 280) | func (x *ListProductsReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 290) | func (x *ListProductsReq) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 298) | func (x *ListProductsReq) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 306) | func (x *ListProductsReq) fastWriteField3(buf []byte) (offset int) { method FastWrite (line 314) | func (x *Product) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 327) | func (x *Product) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 335) | func (x *Product) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 343) | func (x *Product) fastWriteField3(buf []byte) (offset int) { method fastWriteField4 (line 351) | func (x *Product) fastWriteField4(buf []byte) (offset int) { method fastWriteField5 (line 359) | func (x *Product) fastWriteField5(buf []byte) (offset int) { method fastWriteField6 (line 367) | func (x *Product) fastWriteField6(buf []byte) (offset int) { method FastWrite (line 377) | func (x *ListProductsResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 385) | func (x *ListProductsResp) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 395) | func (x *GetProductReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 403) | func (x *GetProductReq) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 411) | func (x *GetProductResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 419) | func (x *GetProductResp) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 427) | func (x *SearchProductsReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 435) | func (x *SearchProductsReq) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 443) | func (x *SearchProductsResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 451) | func (x *SearchProductsResp) fastWriteField1(buf []byte) (offset int) { method Size (line 461) | func (x *ListProductsReq) Size() (n int) { method sizeField1 (line 471) | func (x *ListProductsReq) sizeField1() (n int) { method sizeField2 (line 479) | func (x *ListProductsReq) sizeField2() (n int) { method sizeField3 (line 487) | func (x *ListProductsReq) sizeField3() (n int) { method Size (line 495) | func (x *Product) Size() (n int) { method sizeField1 (line 508) | func (x *Product) sizeField1() (n int) { method sizeField2 (line 516) | func (x *Product) sizeField2() (n int) { method sizeField3 (line 524) | func (x *Product) sizeField3() (n int) { method sizeField4 (line 532) | func (x *Product) sizeField4() (n int) { method sizeField5 (line 540) | func (x *Product) sizeField5() (n int) { method sizeField6 (line 548) | func (x *Product) sizeField6() (n int) { method Size (line 558) | func (x *ListProductsResp) Size() (n int) { method sizeField1 (line 566) | func (x *ListProductsResp) sizeField1() (n int) { method Size (line 576) | func (x *GetProductReq) Size() (n int) { method sizeField1 (line 584) | func (x *GetProductReq) sizeField1() (n int) { method Size (line 592) | func (x *GetProductResp) Size() (n int) { method sizeField1 (line 600) | func (x *GetProductResp) sizeField1() (n int) { method Size (line 608) | func (x *SearchProductsReq) Size() (n int) { method sizeField1 (line 616) | func (x *SearchProductsReq) sizeField1() (n int) { method Size (line 624) | func (x *SearchProductsResp) Size() (n int) { method sizeField1 (line 632) | func (x *SearchProductsResp) sizeField1() (n int) { FILE: gomall/tutorial/ch12/rpc_gen/kitex_gen/product/product.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type ListProductsReq (line 24) | type ListProductsReq struct method Reset (line 34) | func (x *ListProductsReq) Reset() { method String (line 43) | func (x *ListProductsReq) String() string { method ProtoMessage (line 47) | func (*ListProductsReq) ProtoMessage() {} method ProtoReflect (line 49) | func (x *ListProductsReq) ProtoReflect() protoreflect.Message { method Descriptor (line 62) | func (*ListProductsReq) Descriptor() ([]byte, []int) { method GetPage (line 66) | func (x *ListProductsReq) GetPage() int32 { method GetPageSize (line 73) | func (x *ListProductsReq) GetPageSize() int32 { method GetCategoryName (line 80) | func (x *ListProductsReq) GetCategoryName() string { type Product (line 87) | type Product struct method Reset (line 100) | func (x *Product) Reset() { method String (line 109) | func (x *Product) String() string { method ProtoMessage (line 113) | func (*Product) ProtoMessage() {} method ProtoReflect (line 115) | func (x *Product) ProtoReflect() protoreflect.Message { method Descriptor (line 128) | func (*Product) Descriptor() ([]byte, []int) { method GetId (line 132) | func (x *Product) GetId() uint32 { method GetName (line 139) | func (x *Product) GetName() string { method GetDescription (line 146) | func (x *Product) GetDescription() string { method GetPicture (line 153) | func (x *Product) GetPicture() string { method GetPrice (line 160) | func (x *Product) GetPrice() float32 { method GetCategories (line 167) | func (x *Product) GetCategories() []string { type ListProductsResp (line 174) | type ListProductsResp struct method Reset (line 182) | func (x *ListProductsResp) Reset() { method String (line 191) | func (x *ListProductsResp) String() string { method ProtoMessage (line 195) | func (*ListProductsResp) ProtoMessage() {} method ProtoReflect (line 197) | func (x *ListProductsResp) ProtoReflect() protoreflect.Message { method Descriptor (line 210) | func (*ListProductsResp) Descriptor() ([]byte, []int) { method GetProducts (line 214) | func (x *ListProductsResp) GetProducts() []*Product { type GetProductReq (line 221) | type GetProductReq struct method Reset (line 229) | func (x *GetProductReq) Reset() { method String (line 238) | func (x *GetProductReq) String() string { method ProtoMessage (line 242) | func (*GetProductReq) ProtoMessage() {} method ProtoReflect (line 244) | func (x *GetProductReq) ProtoReflect() protoreflect.Message { method Descriptor (line 257) | func (*GetProductReq) Descriptor() ([]byte, []int) { method GetId (line 261) | func (x *GetProductReq) GetId() uint32 { type GetProductResp (line 268) | type GetProductResp struct method Reset (line 276) | func (x *GetProductResp) Reset() { method String (line 285) | func (x *GetProductResp) String() string { method ProtoMessage (line 289) | func (*GetProductResp) ProtoMessage() {} method ProtoReflect (line 291) | func (x *GetProductResp) ProtoReflect() protoreflect.Message { method Descriptor (line 304) | func (*GetProductResp) Descriptor() ([]byte, []int) { method GetProduct (line 308) | func (x *GetProductResp) GetProduct() *Product { type SearchProductsReq (line 315) | type SearchProductsReq struct method Reset (line 323) | func (x *SearchProductsReq) Reset() { method String (line 332) | func (x *SearchProductsReq) String() string { method ProtoMessage (line 336) | func (*SearchProductsReq) ProtoMessage() {} method ProtoReflect (line 338) | func (x *SearchProductsReq) ProtoReflect() protoreflect.Message { method Descriptor (line 351) | func (*SearchProductsReq) Descriptor() ([]byte, []int) { method GetQuery (line 355) | func (x *SearchProductsReq) GetQuery() string { type SearchProductsResp (line 362) | type SearchProductsResp struct method Reset (line 370) | func (x *SearchProductsResp) Reset() { method String (line 379) | func (x *SearchProductsResp) String() string { method ProtoMessage (line 383) | func (*SearchProductsResp) ProtoMessage() {} method ProtoReflect (line 385) | func (x *SearchProductsResp) ProtoReflect() protoreflect.Message { method Descriptor (line 398) | func (*SearchProductsResp) Descriptor() ([]byte, []int) { method GetResults (line 402) | func (x *SearchProductsResp) GetResults() []*Product { function file_product_proto_rawDescGZIP (line 474) | func file_product_proto_rawDescGZIP() []byte { function init (line 508) | func init() { file_product_proto_init() } function file_product_proto_init (line 509) | func file_product_proto_init() { type ProductCatalogService (line 623) | type ProductCatalogService interface FILE: gomall/tutorial/ch12/rpc_gen/kitex_gen/product/productcatalogservice/client.go type Client (line 13) | type Client interface function NewClient (line 20) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 36) | func MustNewClient(destService string, opts ...client.Option) Client { type kProductCatalogServiceClient (line 44) | type kProductCatalogServiceClient struct method ListProducts (line 48) | func (p *kProductCatalogServiceClient) ListProducts(ctx context.Contex... method GetProduct (line 53) | func (p *kProductCatalogServiceClient) GetProduct(ctx context.Context,... method SearchProducts (line 58) | func (p *kProductCatalogServiceClient) SearchProducts(ctx context.Cont... FILE: gomall/tutorial/ch12/rpc_gen/kitex_gen/product/productcatalogservice/invoker.go function NewInvoker (line 11) | func NewInvoker(handler product.ProductCatalogService, opts ...server.Op... FILE: gomall/tutorial/ch12/rpc_gen/kitex_gen/product/productcatalogservice/productcatalogservice.go function serviceInfo (line 48) | func serviceInfo() *kitex.ServiceInfo { function serviceInfoForStreamClient (line 53) | func serviceInfoForStreamClient() *kitex.ServiceInfo { function serviceInfoForClient (line 58) | func serviceInfoForClient() *kitex.ServiceInfo { function NewServiceInfo (line 63) | func NewServiceInfo() *kitex.ServiceInfo { function NewServiceInfoForClient (line 68) | func NewServiceInfoForClient() *kitex.ServiceInfo { function NewServiceInfoForStreamClient (line 71) | func NewServiceInfoForStreamClient() *kitex.ServiceInfo { function newServiceInfo (line 75) | func newServiceInfo(hasStreaming bool, keepStreamingMethods bool, keepNo... function listProductsHandler (line 105) | func listProductsHandler(ctx context.Context, handler interface{}, arg, ... function newListProductsArgs (line 130) | func newListProductsArgs() interface{} { function newListProductsResult (line 134) | func newListProductsResult() interface{} { type ListProductsArgs (line 138) | type ListProductsArgs struct method FastRead (line 142) | func (p *ListProductsArgs) FastRead(buf []byte, _type int8, number int... method FastWrite (line 149) | func (p *ListProductsArgs) FastWrite(buf []byte) (n int) { method Size (line 156) | func (p *ListProductsArgs) Size() (n int) { method Marshal (line 163) | func (p *ListProductsArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 170) | func (p *ListProductsArgs) Unmarshal(in []byte) error { method GetReq (line 181) | func (p *ListProductsArgs) GetReq() *product.ListProductsReq { method IsSetReq (line 188) | func (p *ListProductsArgs) IsSetReq() bool { method GetFirstArgument (line 192) | func (p *ListProductsArgs) GetFirstArgument() interface{} { type ListProductsResult (line 196) | type ListProductsResult struct method FastRead (line 202) | func (p *ListProductsResult) FastRead(buf []byte, _type int8, number i... method FastWrite (line 209) | func (p *ListProductsResult) FastWrite(buf []byte) (n int) { method Size (line 216) | func (p *ListProductsResult) Size() (n int) { method Marshal (line 223) | func (p *ListProductsResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 230) | func (p *ListProductsResult) Unmarshal(in []byte) error { method GetSuccess (line 239) | func (p *ListProductsResult) GetSuccess() *product.ListProductsResp { method SetSuccess (line 246) | func (p *ListProductsResult) SetSuccess(x interface{}) { method IsSetSuccess (line 250) | func (p *ListProductsResult) IsSetSuccess() bool { method GetResult (line 254) | func (p *ListProductsResult) GetResult() interface{} { function getProductHandler (line 258) | func getProductHandler(ctx context.Context, handler interface{}, arg, re... function newGetProductArgs (line 283) | func newGetProductArgs() interface{} { function newGetProductResult (line 287) | func newGetProductResult() interface{} { type GetProductArgs (line 291) | type GetProductArgs struct method FastRead (line 295) | func (p *GetProductArgs) FastRead(buf []byte, _type int8, number int32... method FastWrite (line 302) | func (p *GetProductArgs) FastWrite(buf []byte) (n int) { method Size (line 309) | func (p *GetProductArgs) Size() (n int) { method Marshal (line 316) | func (p *GetProductArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 323) | func (p *GetProductArgs) Unmarshal(in []byte) error { method GetReq (line 334) | func (p *GetProductArgs) GetReq() *product.GetProductReq { method IsSetReq (line 341) | func (p *GetProductArgs) IsSetReq() bool { method GetFirstArgument (line 345) | func (p *GetProductArgs) GetFirstArgument() interface{} { type GetProductResult (line 349) | type GetProductResult struct method FastRead (line 355) | func (p *GetProductResult) FastRead(buf []byte, _type int8, number int... method FastWrite (line 362) | func (p *GetProductResult) FastWrite(buf []byte) (n int) { method Size (line 369) | func (p *GetProductResult) Size() (n int) { method Marshal (line 376) | func (p *GetProductResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 383) | func (p *GetProductResult) Unmarshal(in []byte) error { method GetSuccess (line 392) | func (p *GetProductResult) GetSuccess() *product.GetProductResp { method SetSuccess (line 399) | func (p *GetProductResult) SetSuccess(x interface{}) { method IsSetSuccess (line 403) | func (p *GetProductResult) IsSetSuccess() bool { method GetResult (line 407) | func (p *GetProductResult) GetResult() interface{} { function searchProductsHandler (line 411) | func searchProductsHandler(ctx context.Context, handler interface{}, arg... function newSearchProductsArgs (line 436) | func newSearchProductsArgs() interface{} { function newSearchProductsResult (line 440) | func newSearchProductsResult() interface{} { type SearchProductsArgs (line 444) | type SearchProductsArgs struct method FastRead (line 448) | func (p *SearchProductsArgs) FastRead(buf []byte, _type int8, number i... method FastWrite (line 455) | func (p *SearchProductsArgs) FastWrite(buf []byte) (n int) { method Size (line 462) | func (p *SearchProductsArgs) Size() (n int) { method Marshal (line 469) | func (p *SearchProductsArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 476) | func (p *SearchProductsArgs) Unmarshal(in []byte) error { method GetReq (line 487) | func (p *SearchProductsArgs) GetReq() *product.SearchProductsReq { method IsSetReq (line 494) | func (p *SearchProductsArgs) IsSetReq() bool { method GetFirstArgument (line 498) | func (p *SearchProductsArgs) GetFirstArgument() interface{} { type SearchProductsResult (line 502) | type SearchProductsResult struct method FastRead (line 508) | func (p *SearchProductsResult) FastRead(buf []byte, _type int8, number... method FastWrite (line 515) | func (p *SearchProductsResult) FastWrite(buf []byte) (n int) { method Size (line 522) | func (p *SearchProductsResult) Size() (n int) { method Marshal (line 529) | func (p *SearchProductsResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 536) | func (p *SearchProductsResult) Unmarshal(in []byte) error { method GetSuccess (line 545) | func (p *SearchProductsResult) GetSuccess() *product.SearchProductsResp { method SetSuccess (line 552) | func (p *SearchProductsResult) SetSuccess(x interface{}) { method IsSetSuccess (line 556) | func (p *SearchProductsResult) IsSetSuccess() bool { method GetResult (line 560) | func (p *SearchProductsResult) GetResult() interface{} { type kClient (line 564) | type kClient struct method ListProducts (line 574) | func (p *kClient) ListProducts(ctx context.Context, Req *product.ListP... method GetProduct (line 584) | func (p *kClient) GetProduct(ctx context.Context, Req *product.GetProd... method SearchProducts (line 594) | func (p *kClient) SearchProducts(ctx context.Context, Req *product.Sea... function newServiceClient (line 568) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch12/rpc_gen/kitex_gen/product/productcatalogservice/server.go function NewServer (line 10) | func NewServer(handler product.ProductCatalogService, opts ...server.Opt... function RegisterService (line 22) | func RegisterService(svr server.Server, handler product.ProductCatalogSe... FILE: gomall/tutorial/ch12/rpc_gen/kitex_gen/user/user.pb.fast.go method FastRead (line 15) | func (x *RegisterReq) FastRead(buf []byte, _type int8, number int32) (of... method fastReadField1 (line 45) | func (x *RegisterReq) fastReadField1(buf []byte, _type int8) (offset int... method fastReadField2 (line 50) | func (x *RegisterReq) fastReadField2(buf []byte, _type int8) (offset int... method fastReadField3 (line 55) | func (x *RegisterReq) fastReadField3(buf []byte, _type int8) (offset int... method FastRead (line 60) | func (x *RegisterResp) FastRead(buf []byte, _type int8, number int32) (o... method fastReadField1 (line 80) | func (x *RegisterResp) fastReadField1(buf []byte, _type int8) (offset in... method FastRead (line 85) | func (x *LoginReq) FastRead(buf []byte, _type int8, number int32) (offse... method fastReadField1 (line 110) | func (x *LoginReq) fastReadField1(buf []byte, _type int8) (offset int, e... method fastReadField2 (line 115) | func (x *LoginReq) fastReadField2(buf []byte, _type int8) (offset int, e... method FastRead (line 120) | func (x *LoginResp) FastRead(buf []byte, _type int8, number int32) (offs... method fastReadField1 (line 140) | func (x *LoginResp) fastReadField1(buf []byte, _type int8) (offset int, ... method FastWrite (line 145) | func (x *RegisterReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 155) | func (x *RegisterReq) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 163) | func (x *RegisterReq) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 171) | func (x *RegisterReq) fastWriteField3(buf []byte) (offset int) { method FastWrite (line 179) | func (x *RegisterResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 187) | func (x *RegisterResp) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 195) | func (x *LoginReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 204) | func (x *LoginReq) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 212) | func (x *LoginReq) fastWriteField2(buf []byte) (offset int) { method FastWrite (line 220) | func (x *LoginResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 228) | func (x *LoginResp) fastWriteField1(buf []byte) (offset int) { method Size (line 236) | func (x *RegisterReq) Size() (n int) { method sizeField1 (line 246) | func (x *RegisterReq) sizeField1() (n int) { method sizeField2 (line 254) | func (x *RegisterReq) sizeField2() (n int) { method sizeField3 (line 262) | func (x *RegisterReq) sizeField3() (n int) { method Size (line 270) | func (x *RegisterResp) Size() (n int) { method sizeField1 (line 278) | func (x *RegisterResp) sizeField1() (n int) { method Size (line 286) | func (x *LoginReq) Size() (n int) { method sizeField1 (line 295) | func (x *LoginReq) sizeField1() (n int) { method sizeField2 (line 303) | func (x *LoginReq) sizeField2() (n int) { method Size (line 311) | func (x *LoginResp) Size() (n int) { method sizeField1 (line 319) | func (x *LoginResp) sizeField1() (n int) { FILE: gomall/tutorial/ch12/rpc_gen/kitex_gen/user/user.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type RegisterReq (line 24) | type RegisterReq struct method Reset (line 34) | func (x *RegisterReq) Reset() { method String (line 43) | func (x *RegisterReq) String() string { method ProtoMessage (line 47) | func (*RegisterReq) ProtoMessage() {} method ProtoReflect (line 49) | func (x *RegisterReq) ProtoReflect() protoreflect.Message { method Descriptor (line 62) | func (*RegisterReq) Descriptor() ([]byte, []int) { method GetEmail (line 66) | func (x *RegisterReq) GetEmail() string { method GetPassword (line 73) | func (x *RegisterReq) GetPassword() string { method GetPasswordConfirm (line 80) | func (x *RegisterReq) GetPasswordConfirm() string { type RegisterResp (line 87) | type RegisterResp struct method Reset (line 95) | func (x *RegisterResp) Reset() { method String (line 104) | func (x *RegisterResp) String() string { method ProtoMessage (line 108) | func (*RegisterResp) ProtoMessage() {} method ProtoReflect (line 110) | func (x *RegisterResp) ProtoReflect() protoreflect.Message { method Descriptor (line 123) | func (*RegisterResp) Descriptor() ([]byte, []int) { method GetUserId (line 127) | func (x *RegisterResp) GetUserId() int32 { type LoginReq (line 134) | type LoginReq struct method Reset (line 143) | func (x *LoginReq) Reset() { method String (line 152) | func (x *LoginReq) String() string { method ProtoMessage (line 156) | func (*LoginReq) ProtoMessage() {} method ProtoReflect (line 158) | func (x *LoginReq) ProtoReflect() protoreflect.Message { method Descriptor (line 171) | func (*LoginReq) Descriptor() ([]byte, []int) { method GetEmail (line 175) | func (x *LoginReq) GetEmail() string { method GetPassword (line 182) | func (x *LoginReq) GetPassword() string { type LoginResp (line 189) | type LoginResp struct method Reset (line 197) | func (x *LoginResp) Reset() { method String (line 206) | func (x *LoginResp) String() string { method ProtoMessage (line 210) | func (*LoginResp) ProtoMessage() {} method ProtoReflect (line 212) | func (x *LoginResp) ProtoReflect() protoreflect.Message { method Descriptor (line 225) | func (*LoginResp) Descriptor() ([]byte, []int) { method GetUserId (line 229) | func (x *LoginResp) GetUserId() int32 { function file_user_proto_rawDescGZIP (line 275) | func file_user_proto_rawDescGZIP() []byte { function init (line 301) | func init() { file_user_proto_init() } function file_user_proto_init (line 302) | func file_user_proto_init() { type UserService (line 380) | type UserService interface FILE: gomall/tutorial/ch12/rpc_gen/kitex_gen/user/userservice/client.go type Client (line 13) | type Client interface function NewClient (line 19) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 35) | func MustNewClient(destService string, opts ...client.Option) Client { type kUserServiceClient (line 43) | type kUserServiceClient struct method Register (line 47) | func (p *kUserServiceClient) Register(ctx context.Context, Req *user.R... method Login (line 52) | func (p *kUserServiceClient) Login(ctx context.Context, Req *user.Logi... FILE: gomall/tutorial/ch12/rpc_gen/kitex_gen/user/userservice/invoker.go function NewInvoker (line 11) | func NewInvoker(handler user.UserService, opts ...server.Option) server.... FILE: gomall/tutorial/ch12/rpc_gen/kitex_gen/user/userservice/server.go function NewServer (line 10) | func NewServer(handler user.UserService, opts ...server.Option) server.S... FILE: gomall/tutorial/ch12/rpc_gen/kitex_gen/user/userservice/userservice.go function serviceInfo (line 14) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 20) | func NewServiceInfo() *kitex.ServiceInfo { function registerHandler (line 42) | func registerHandler(ctx context.Context, handler interface{}, arg, resu... function newRegisterArgs (line 67) | func newRegisterArgs() interface{} { function newRegisterResult (line 71) | func newRegisterResult() interface{} { type RegisterArgs (line 75) | type RegisterArgs struct method FastRead (line 79) | func (p *RegisterArgs) FastRead(buf []byte, _type int8, number int32) ... method FastWrite (line 86) | func (p *RegisterArgs) FastWrite(buf []byte) (n int) { method Size (line 93) | func (p *RegisterArgs) Size() (n int) { method Marshal (line 100) | func (p *RegisterArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 107) | func (p *RegisterArgs) Unmarshal(in []byte) error { method GetReq (line 118) | func (p *RegisterArgs) GetReq() *user.RegisterReq { method IsSetReq (line 125) | func (p *RegisterArgs) IsSetReq() bool { method GetFirstArgument (line 129) | func (p *RegisterArgs) GetFirstArgument() interface{} { type RegisterResult (line 133) | type RegisterResult struct method FastRead (line 139) | func (p *RegisterResult) FastRead(buf []byte, _type int8, number int32... method FastWrite (line 146) | func (p *RegisterResult) FastWrite(buf []byte) (n int) { method Size (line 153) | func (p *RegisterResult) Size() (n int) { method Marshal (line 160) | func (p *RegisterResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 167) | func (p *RegisterResult) Unmarshal(in []byte) error { method GetSuccess (line 176) | func (p *RegisterResult) GetSuccess() *user.RegisterResp { method SetSuccess (line 183) | func (p *RegisterResult) SetSuccess(x interface{}) { method IsSetSuccess (line 187) | func (p *RegisterResult) IsSetSuccess() bool { method GetResult (line 191) | func (p *RegisterResult) GetResult() interface{} { function loginHandler (line 195) | func loginHandler(ctx context.Context, handler interface{}, arg, result ... function newLoginArgs (line 220) | func newLoginArgs() interface{} { function newLoginResult (line 224) | func newLoginResult() interface{} { type LoginArgs (line 228) | type LoginArgs struct method FastRead (line 232) | func (p *LoginArgs) FastRead(buf []byte, _type int8, number int32) (n ... method FastWrite (line 239) | func (p *LoginArgs) FastWrite(buf []byte) (n int) { method Size (line 246) | func (p *LoginArgs) Size() (n int) { method Marshal (line 253) | func (p *LoginArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 260) | func (p *LoginArgs) Unmarshal(in []byte) error { method GetReq (line 271) | func (p *LoginArgs) GetReq() *user.LoginReq { method IsSetReq (line 278) | func (p *LoginArgs) IsSetReq() bool { method GetFirstArgument (line 282) | func (p *LoginArgs) GetFirstArgument() interface{} { type LoginResult (line 286) | type LoginResult struct method FastRead (line 292) | func (p *LoginResult) FastRead(buf []byte, _type int8, number int32) (... method FastWrite (line 299) | func (p *LoginResult) FastWrite(buf []byte) (n int) { method Size (line 306) | func (p *LoginResult) Size() (n int) { method Marshal (line 313) | func (p *LoginResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 320) | func (p *LoginResult) Unmarshal(in []byte) error { method GetSuccess (line 329) | func (p *LoginResult) GetSuccess() *user.LoginResp { method SetSuccess (line 336) | func (p *LoginResult) SetSuccess(x interface{}) { method IsSetSuccess (line 340) | func (p *LoginResult) IsSetSuccess() bool { method GetResult (line 344) | func (p *LoginResult) GetResult() interface{} { type kClient (line 348) | type kClient struct method Register (line 358) | func (p *kClient) Register(ctx context.Context, Req *user.RegisterReq)... method Login (line 368) | func (p *kClient) Login(ctx context.Context, Req *user.LoginReq) (r *u... function newServiceClient (line 352) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch12/rpc_gen/rpc/cart/cart_client.go type RPCClient (line 12) | type RPCClient interface function NewRPCClient (line 20) | func NewRPCClient(dstService string, opts ...client.Option) (RPCClient, ... type clientImpl (line 33) | type clientImpl struct method Service (line 38) | func (c *clientImpl) Service() string { method KitexClient (line 42) | func (c *clientImpl) KitexClient() cartservice.Client { method AddItem (line 46) | func (c *clientImpl) AddItem(ctx context.Context, Req *cart.AddItemReq... method GetCart (line 50) | func (c *clientImpl) GetCart(ctx context.Context, Req *cart.GetCartReq... method EmptyCart (line 54) | func (c *clientImpl) EmptyCart(ctx context.Context, Req *cart.EmptyCar... FILE: gomall/tutorial/ch12/rpc_gen/rpc/cart/cart_default.go function AddItem (line 10) | func AddItem(ctx context.Context, req *cart.AddItemReq, callOptions ...c... function GetCart (line 19) | func GetCart(ctx context.Context, req *cart.GetCartReq, callOptions ...c... function EmptyCart (line 28) | func EmptyCart(ctx context.Context, req *cart.EmptyCartReq, callOptions ... FILE: gomall/tutorial/ch12/rpc_gen/rpc/cart/cart_init.go function init (line 19) | func init() { function DefaultClient (line 23) | func DefaultClient() RPCClient { function newClient (line 30) | func newClient(dstService string, opts ...client.Option) RPCClient { function InitClient (line 38) | func InitClient(dstService string, opts ...client.Option) { FILE: gomall/tutorial/ch12/rpc_gen/rpc/checkout/checkout_client.go type RPCClient (line 12) | type RPCClient interface function NewRPCClient (line 18) | func NewRPCClient(dstService string, opts ...client.Option) (RPCClient, ... type clientImpl (line 31) | type clientImpl struct method Service (line 36) | func (c *clientImpl) Service() string { method KitexClient (line 40) | func (c *clientImpl) KitexClient() checkoutservice.Client { method Checkout (line 44) | func (c *clientImpl) Checkout(ctx context.Context, Req *checkout.Check... FILE: gomall/tutorial/ch12/rpc_gen/rpc/checkout/checkout_default.go function Checkout (line 10) | func Checkout(ctx context.Context, req *checkout.CheckoutReq, callOption... FILE: gomall/tutorial/ch12/rpc_gen/rpc/checkout/checkout_init.go function init (line 19) | func init() { function DefaultClient (line 23) | func DefaultClient() RPCClient { function newClient (line 30) | func newClient(dstService string, opts ...client.Option) RPCClient { function InitClient (line 38) | func InitClient(dstService string, opts ...client.Option) { FILE: gomall/tutorial/ch12/rpc_gen/rpc/payment/payment_client.go type RPCClient (line 12) | type RPCClient interface function NewRPCClient (line 18) | func NewRPCClient(dstService string, opts ...client.Option) (RPCClient, ... type clientImpl (line 31) | type clientImpl struct method Service (line 36) | func (c *clientImpl) Service() string { method KitexClient (line 40) | func (c *clientImpl) KitexClient() paymentservice.Client { method Charge (line 44) | func (c *clientImpl) Charge(ctx context.Context, Req *payment.ChargeRe... FILE: gomall/tutorial/ch12/rpc_gen/rpc/payment/payment_default.go function Charge (line 10) | func Charge(ctx context.Context, req *payment.ChargeReq, callOptions ...... FILE: gomall/tutorial/ch12/rpc_gen/rpc/payment/payment_init.go function init (line 19) | func init() { function DefaultClient (line 23) | func DefaultClient() RPCClient { function newClient (line 30) | func newClient(dstService string, opts ...client.Option) RPCClient { function InitClient (line 38) | func InitClient(dstService string, opts ...client.Option) { FILE: gomall/tutorial/ch12/rpc_gen/rpc/product/product_client.go type RPCClient (line 12) | type RPCClient interface function NewRPCClient (line 20) | func NewRPCClient(dstService string, opts ...client.Option) (RPCClient, ... type clientImpl (line 33) | type clientImpl struct method Service (line 38) | func (c *clientImpl) Service() string { method KitexClient (line 42) | func (c *clientImpl) KitexClient() productcatalogservice.Client { method ListProducts (line 46) | func (c *clientImpl) ListProducts(ctx context.Context, Req *product.Li... method GetProduct (line 50) | func (c *clientImpl) GetProduct(ctx context.Context, Req *product.GetP... method SearchProducts (line 54) | func (c *clientImpl) SearchProducts(ctx context.Context, Req *product.... FILE: gomall/tutorial/ch12/rpc_gen/rpc/product/product_default.go function ListProducts (line 10) | func ListProducts(ctx context.Context, req *product.ListProductsReq, cal... function GetProduct (line 19) | func GetProduct(ctx context.Context, req *product.GetProductReq, callOpt... function SearchProducts (line 28) | func SearchProducts(ctx context.Context, req *product.SearchProductsReq,... FILE: gomall/tutorial/ch12/rpc_gen/rpc/product/product_init.go function init (line 19) | func init() { function DefaultClient (line 23) | func DefaultClient() RPCClient { function newClient (line 30) | func newClient(dstService string, opts ...client.Option) RPCClient { function InitClient (line 38) | func InitClient(dstService string, opts ...client.Option) { FILE: gomall/tutorial/ch12/rpc_gen/rpc/user/user_client.go type RPCClient (line 12) | type RPCClient interface function NewRPCClient (line 19) | func NewRPCClient(dstService string, opts ...client.Option) (RPCClient, ... type clientImpl (line 32) | type clientImpl struct method Service (line 37) | func (c *clientImpl) Service() string { method KitexClient (line 41) | func (c *clientImpl) KitexClient() userservice.Client { method Register (line 45) | func (c *clientImpl) Register(ctx context.Context, Req *user.RegisterR... method Login (line 49) | func (c *clientImpl) Login(ctx context.Context, Req *user.LoginReq, ca... FILE: gomall/tutorial/ch12/rpc_gen/rpc/user/user_default.go function Register (line 10) | func Register(ctx context.Context, req *user.RegisterReq, callOptions ..... function Login (line 19) | func Login(ctx context.Context, req *user.LoginReq, callOptions ...callo... FILE: gomall/tutorial/ch12/rpc_gen/rpc/user/user_init.go function init (line 19) | func init() { function DefaultClient (line 23) | func DefaultClient() RPCClient { function newClient (line 30) | func newClient(dstService string, opts ...client.Option) RPCClient { function InitClient (line 38) | func InitClient(dstService string, opts ...client.Option) { FILE: gomall/tutorial/ch13/app/cart/biz/dal/init.go function Init (line 21) | func Init() { FILE: gomall/tutorial/ch13/app/cart/biz/dal/mysql/init.go function Init (line 33) | func Init() { FILE: gomall/tutorial/ch13/app/cart/biz/dal/redis/init.go function Init (line 26) | func Init() { FILE: gomall/tutorial/ch13/app/cart/biz/model/cart.go type Cart (line 24) | type Cart struct method TableName (line 31) | func (Cart) TableName() string { function AddItem (line 35) | func AddItem(ctx context.Context, db *gorm.DB, item *Cart) error { function EmptyCart (line 54) | func EmptyCart(ctx context.Context, db *gorm.DB, userId uint32) error { function GetCartByUserId (line 61) | func GetCartByUserId(ctx context.Context, db *gorm.DB, userId uint32) ([... FILE: gomall/tutorial/ch13/app/cart/biz/service/add_item.go type AddItemService (line 28) | type AddItemService struct method Run (line 36) | func (s *AddItemService) Run(req *cart.AddItemReq) (resp *cart.AddItem... function NewAddItemService (line 31) | func NewAddItemService(ctx context.Context) *AddItemService { FILE: gomall/tutorial/ch13/app/cart/biz/service/add_item_test.go function TestAddItem_Run (line 24) | func TestAddItem_Run(t *testing.T) { FILE: gomall/tutorial/ch13/app/cart/biz/service/empty_cart.go type EmptyCartService (line 26) | type EmptyCartService struct method Run (line 34) | func (s *EmptyCartService) Run(req *cart.EmptyCartReq) (resp *cart.Emp... function NewEmptyCartService (line 29) | func NewEmptyCartService(ctx context.Context) *EmptyCartService { FILE: gomall/tutorial/ch13/app/cart/biz/service/empty_cart_test.go function TestEmptyCart_Run (line 24) | func TestEmptyCart_Run(t *testing.T) { FILE: gomall/tutorial/ch13/app/cart/biz/service/get_cart.go type GetCartService (line 26) | type GetCartService struct method Run (line 34) | func (s *GetCartService) Run(req *cart.GetCartReq) (resp *cart.GetCart... function NewGetCartService (line 29) | func NewGetCartService(ctx context.Context) *GetCartService { FILE: gomall/tutorial/ch13/app/cart/biz/service/get_cart_test.go function TestGetCart_Run (line 24) | func TestGetCart_Run(t *testing.T) { FILE: gomall/tutorial/ch13/app/cart/conf/conf.go type Config (line 33) | type Config struct type MySQL (line 41) | type MySQL struct type Redis (line 45) | type Redis struct type Kitex (line 52) | type Kitex struct type Registry (line 65) | type Registry struct function GetConf (line 72) | func GetConf() *Config { function initConf (line 77) | func initConf() { function GetEnv (line 98) | func GetEnv() string { function LogLevel (line 106) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch13/app/cart/handler.go type CartServiceImpl (line 25) | type CartServiceImpl struct method AddItem (line 28) | func (s *CartServiceImpl) AddItem(ctx context.Context, req *cart.AddIt... method GetCart (line 35) | func (s *CartServiceImpl) GetCart(ctx context.Context, req *cart.GetCa... method EmptyCart (line 42) | func (s *CartServiceImpl) EmptyCart(ctx context.Context, req *cart.Emp... FILE: gomall/tutorial/ch13/app/cart/main.go function main (line 35) | func main() { function kitexInit (line 49) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch13/app/cart/rpc/client.go function InitClient (line 32) | func InitClient() { function initProductClient (line 38) | func initProductClient() { FILE: gomall/tutorial/ch13/app/cart/utils/errors.go function MustHandleError (line 19) | func MustHandleError(err error) { FILE: gomall/tutorial/ch13/app/checkout/biz/dal/init.go function Init (line 22) | func Init() { FILE: gomall/tutorial/ch13/app/checkout/biz/dal/mysql/init.go function Init (line 29) | func Init() { FILE: gomall/tutorial/ch13/app/checkout/biz/dal/redis/init.go function Init (line 26) | func Init() { FILE: gomall/tutorial/ch13/app/checkout/biz/service/checkout.go type CheckoutService (line 30) | type CheckoutService struct method Run (line 38) | func (s *CheckoutService) Run(req *checkout.CheckoutReq) (resp *checko... function NewCheckoutService (line 33) | func NewCheckoutService(ctx context.Context) *CheckoutService { FILE: gomall/tutorial/ch13/app/checkout/biz/service/checkout_test.go function TestCheckout_Run (line 23) | func TestCheckout_Run(t *testing.T) { FILE: gomall/tutorial/ch13/app/checkout/conf/conf.go type Config (line 33) | type Config struct type MySQL (line 41) | type MySQL struct type Redis (line 45) | type Redis struct type Kitex (line 52) | type Kitex struct type Registry (line 65) | type Registry struct function GetConf (line 72) | func GetConf() *Config { function initConf (line 77) | func initConf() { function GetEnv (line 98) | func GetEnv() string { function LogLevel (line 106) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch13/app/checkout/handler.go type CheckoutServiceImpl (line 25) | type CheckoutServiceImpl struct method Checkout (line 28) | func (s *CheckoutServiceImpl) Checkout(ctx context.Context, req *check... FILE: gomall/tutorial/ch13/app/checkout/infra/rpc/client.go function InitClient (line 41) | func InitClient() { function initCartClient (line 50) | func initCartClient() { function initProductClient (line 69) | func initProductClient() { function initPaymentClient (line 88) | func initPaymentClient() { function initOrderClient (line 107) | func initOrderClient() { FILE: gomall/tutorial/ch13/app/checkout/main.go function main (line 33) | func main() { function kitexInit (line 45) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch13/app/frontend/biz/dal/init.go function Init (line 22) | func Init() { FILE: gomall/tutorial/ch13/app/frontend/biz/dal/mysql/init.go function Init (line 28) | func Init() { FILE: gomall/tutorial/ch13/app/frontend/biz/dal/redis/init.go function Init (line 26) | func Init() { FILE: gomall/tutorial/ch13/app/frontend/biz/handler/auth/auth_service.go function Login (line 30) | func Login(ctx context.Context, c *app.RequestContext) { function Register (line 48) | func Register(ctx context.Context, c *app.RequestContext) { function Logout (line 67) | func Logout(ctx context.Context, c *app.RequestContext) { FILE: gomall/tutorial/ch13/app/frontend/biz/handler/auth/auth_service_test.go function TestLogin (line 26) | func TestLogin(t *testing.T) { function TestRegister (line 41) | func TestRegister(t *testing.T) { function TestLogout (line 56) | func TestLogout(t *testing.T) { FILE: gomall/tutorial/ch13/app/frontend/biz/handler/cart/cart_service.go function GetCart (line 30) | func GetCart(ctx context.Context, c *app.RequestContext) { function AddCartItem (line 49) | func AddCartItem(ctx context.Context, c *app.RequestContext) { FILE: gomall/tutorial/ch13/app/frontend/biz/handler/cart/cart_service_test.go function TestGetCart (line 26) | func TestGetCart(t *testing.T) { function TestAddCartItem (line 41) | func TestAddCartItem(t *testing.T) { FILE: gomall/tutorial/ch13/app/frontend/biz/handler/category/category_service.go function Category (line 29) | func Category(ctx context.Context, c *app.RequestContext) { FILE: gomall/tutorial/ch13/app/frontend/biz/handler/category/category_service_test.go function TestCategory (line 26) | func TestCategory(t *testing.T) { FILE: gomall/tutorial/ch13/app/frontend/biz/handler/checkout/checkout_service.go function Checkout (line 31) | func Checkout(ctx context.Context, c *app.RequestContext) { function CheckoutWaiting (line 51) | func CheckoutWaiting(ctx context.Context, c *app.RequestContext) { function CheckoutResult (line 71) | func CheckoutResult(ctx context.Context, c *app.RequestContext) { FILE: gomall/tutorial/ch13/app/frontend/biz/handler/checkout/checkout_service_test.go function TestCheckout (line 26) | func TestCheckout(t *testing.T) { function TestCheckoutWaiting (line 41) | func TestCheckoutWaiting(t *testing.T) { function TestCheckoutResult (line 56) | func TestCheckoutResult(t *testing.T) { FILE: gomall/tutorial/ch13/app/frontend/biz/handler/home/home_service.go function Home (line 29) | func Home(ctx context.Context, c *app.RequestContext) { FILE: gomall/tutorial/ch13/app/frontend/biz/handler/home/home_service_test.go function TestHome (line 26) | func TestHome(t *testing.T) { FILE: gomall/tutorial/ch13/app/frontend/biz/handler/order/order_service.go function OrderList (line 29) | func OrderList(ctx context.Context, c *app.RequestContext) { FILE: gomall/tutorial/ch13/app/frontend/biz/handler/order/order_service_test.go function TestOrderList (line 12) | func TestOrderList(t *testing.T) { FILE: gomall/tutorial/ch13/app/frontend/biz/handler/product/product_service.go function GetProduct (line 29) | func GetProduct(ctx context.Context, c *app.RequestContext) { function SearchProducts (line 49) | func SearchProducts(ctx context.Context, c *app.RequestContext) { FILE: gomall/tutorial/ch13/app/frontend/biz/handler/product/product_service_test.go function TestGetProduct (line 26) | func TestGetProduct(t *testing.T) { function TestSearchProducts (line 41) | func TestSearchProducts(t *testing.T) { FILE: gomall/tutorial/ch13/app/frontend/biz/router/auth/auth_page.go function Register (line 31) | func Register(r *server.Hertz) { FILE: gomall/tutorial/ch13/app/frontend/biz/router/auth/middleware.go function rootMw (line 23) | func rootMw() []app.HandlerFunc { function _authMw (line 28) | func _authMw() []app.HandlerFunc { function _loginMw (line 33) | func _loginMw() []app.HandlerFunc { function _registerMw (line 38) | func _registerMw() []app.HandlerFunc { function _logoutMw (line 43) | func _logoutMw() []app.HandlerFunc { FILE: gomall/tutorial/ch13/app/frontend/biz/router/cart/cart_page.go function Register (line 17) | func Register(r *server.Hertz) { FILE: gomall/tutorial/ch13/app/frontend/biz/router/cart/middleware.go function rootMw (line 10) | func rootMw() []app.HandlerFunc { function _getcartMw (line 15) | func _getcartMw() []app.HandlerFunc { function _addcartitemMw (line 20) | func _addcartitemMw() []app.HandlerFunc { FILE: gomall/tutorial/ch13/app/frontend/biz/router/category/category_page.go function Register (line 31) | func Register(r *server.Hertz) { FILE: gomall/tutorial/ch13/app/frontend/biz/router/category/middleware.go function rootMw (line 23) | func rootMw() []app.HandlerFunc { function _categoryMw (line 28) | func _categoryMw() []app.HandlerFunc { function _category0Mw (line 33) | func _category0Mw() []app.HandlerFunc { FILE: gomall/tutorial/ch13/app/frontend/biz/router/checkout/checkout_page.go function Register (line 17) | func Register(r *server.Hertz) { FILE: gomall/tutorial/ch13/app/frontend/biz/router/checkout/middleware.go function rootMw (line 10) | func rootMw() []app.HandlerFunc { function _checkoutMw (line 15) | func _checkoutMw() []app.HandlerFunc { function _checkout0Mw (line 20) | func _checkout0Mw() []app.HandlerFunc { function _checkoutresultMw (line 25) | func _checkoutresultMw() []app.HandlerFunc { function _checkoutwaitingMw (line 30) | func _checkoutwaitingMw() []app.HandlerFunc { FILE: gomall/tutorial/ch13/app/frontend/biz/router/home/home.go function Register (line 31) | func Register(r *server.Hertz) { FILE: gomall/tutorial/ch13/app/frontend/biz/router/home/middleware.go function rootMw (line 23) | func rootMw() []app.HandlerFunc { function _homeMw (line 28) | func _homeMw() []app.HandlerFunc { FILE: gomall/tutorial/ch13/app/frontend/biz/router/order/middleware.go function rootMw (line 10) | func rootMw() []app.HandlerFunc { function _orderlistMw (line 15) | func _orderlistMw() []app.HandlerFunc { FILE: gomall/tutorial/ch13/app/frontend/biz/router/order/order_page.go function Register (line 17) | func Register(r *server.Hertz) { FILE: gomall/tutorial/ch13/app/frontend/biz/router/product/middleware.go function rootMw (line 23) | func rootMw() []app.HandlerFunc { function _getproductMw (line 28) | func _getproductMw() []app.HandlerFunc { function _searchproductsMw (line 33) | func _searchproductsMw() []app.HandlerFunc { FILE: gomall/tutorial/ch13/app/frontend/biz/router/product/product_page.go function Register (line 31) | func Register(r *server.Hertz) { FILE: gomall/tutorial/ch13/app/frontend/biz/router/register.go function GeneratedRegister (line 31) | func GeneratedRegister(r *server.Hertz) { FILE: gomall/tutorial/ch13/app/frontend/biz/service/add_cart_item.go type AddCartItemService (line 28) | type AddCartItemService struct method Run (line 37) | func (h *AddCartItemService) Run(req *cart.AddCartItemReq) (resp *comm... function NewAddCartItemService (line 33) | func NewAddCartItemService(Context context.Context, RequestContext *app.... FILE: gomall/tutorial/ch13/app/frontend/biz/service/category.go type CategoryService (line 27) | type CategoryService struct method Run (line 36) | func (h *CategoryService) Run(req *category.CategoryReq) (resp map[str... function NewCategoryService (line 32) | func NewCategoryService(Context context.Context, RequestContext *app.Req... FILE: gomall/tutorial/ch13/app/frontend/biz/service/checkout.go type CheckoutService (line 30) | type CheckoutService struct method Run (line 39) | func (h *CheckoutService) Run(req *common.Empty) (resp map[string]any,... function NewCheckoutService (line 35) | func NewCheckoutService(Context context.Context, RequestContext *app.Req... FILE: gomall/tutorial/ch13/app/frontend/biz/service/checkout_result.go type CheckoutResultService (line 25) | type CheckoutResultService struct method Run (line 34) | func (h *CheckoutResultService) Run(req *common.Empty) (resp map[strin... function NewCheckoutResultService (line 30) | func NewCheckoutResultService(Context context.Context, RequestContext *a... FILE: gomall/tutorial/ch13/app/frontend/biz/service/checkout_waiting.go type CheckoutWaitingService (line 29) | type CheckoutWaitingService struct method Run (line 38) | func (h *CheckoutWaitingService) Run(req *checkout.CheckoutReq) (resp ... function NewCheckoutWaitingService (line 34) | func NewCheckoutWaitingService(Context context.Context, RequestContext *... FILE: gomall/tutorial/ch13/app/frontend/biz/service/get_cart.go type GetCartService (line 30) | type GetCartService struct method Run (line 39) | func (h *GetCartService) Run(req *common.Empty) (resp map[string]any, ... function NewGetCartService (line 35) | func NewGetCartService(Context context.Context, RequestContext *app.Requ... FILE: gomall/tutorial/ch13/app/frontend/biz/service/get_product.go type GetProductService (line 27) | type GetProductService struct method Run (line 36) | func (h *GetProductService) Run(req *product.ProductReq) (resp map[str... function NewGetProductService (line 32) | func NewGetProductService(Context context.Context, RequestContext *app.R... FILE: gomall/tutorial/ch13/app/frontend/biz/service/home.go type HomeService (line 27) | type HomeService struct method Run (line 36) | func (h *HomeService) Run(req *common.Empty) (res map[string]any, err ... function NewHomeService (line 32) | func NewHomeService(Context context.Context, RequestContext *app.Request... FILE: gomall/tutorial/ch13/app/frontend/biz/service/login.go type LoginService (line 27) | type LoginService struct method Run (line 36) | func (h *LoginService) Run(req *auth.LoginReq) (redirect string, err e... function NewLoginService (line 32) | func NewLoginService(Context context.Context, RequestContext *app.Reques... FILE: gomall/tutorial/ch13/app/frontend/biz/service/logout.go type LogoutService (line 25) | type LogoutService struct method Run (line 34) | func (h *LogoutService) Run(req *common.Empty) (resp *common.Empty, er... function NewLogoutService (line 30) | func NewLogoutService(Context context.Context, RequestContext *app.Reque... FILE: gomall/tutorial/ch13/app/frontend/biz/service/order_list.go type OrderListService (line 31) | type OrderListService struct method Run (line 40) | func (h *OrderListService) Run(req *common.Empty) (resp map[string]any... function NewOrderListService (line 36) | func NewOrderListService(Context context.Context, RequestContext *app.Re... FILE: gomall/tutorial/ch13/app/frontend/biz/service/register.go type RegisterService (line 28) | type RegisterService struct method Run (line 37) | func (h *RegisterService) Run(req *auth.RegisterReq) (resp *common.Emp... function NewRegisterService (line 33) | func NewRegisterService(Context context.Context, RequestContext *app.Req... FILE: gomall/tutorial/ch13/app/frontend/biz/service/search_products.go type SearchProductsService (line 27) | type SearchProductsService struct method Run (line 36) | func (h *SearchProductsService) Run(req *product.SearchProductsReq) (r... function NewSearchProductsService (line 32) | func NewSearchProductsService(Context context.Context, RequestContext *a... FILE: gomall/tutorial/ch13/app/frontend/biz/utils/resp.go function SendErrResponse (line 27) | func SendErrResponse(ctx context.Context, c *app.RequestContext, code in... function SendSuccessResponse (line 33) | func SendSuccessResponse(ctx context.Context, c *app.RequestContext, cod... function WarpResponse (line 38) | func WarpResponse(ctx context.Context, c *app.RequestContext, content ma... FILE: gomall/tutorial/ch13/app/frontend/conf/conf.go type Config (line 33) | type Config struct type MySQL (line 41) | type MySQL struct type Redis (line 45) | type Redis struct type Hertz (line 52) | type Hertz struct function GetConf (line 66) | func GetConf() *Config { function initConf (line 71) | func initConf() { function GetEnv (line 95) | func GetEnv() string { function LogLevel (line 103) | func LogLevel() hlog.Level { FILE: gomall/tutorial/ch13/app/frontend/hertz_gen/api/api.pb.go constant _ (line 18) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 20) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) function init (line 651) | func init() { file_api_proto_init() } function file_api_proto_init (line 652) | func file_api_proto_init() { FILE: gomall/tutorial/ch13/app/frontend/hertz_gen/frontend/auth/auth_page.pb.go constant _ (line 20) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 22) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type LoginReq (line 25) | type LoginReq struct method Reset (line 35) | func (x *LoginReq) Reset() { method String (line 44) | func (x *LoginReq) String() string { method ProtoMessage (line 48) | func (*LoginReq) ProtoMessage() {} method ProtoReflect (line 50) | func (x *LoginReq) ProtoReflect() protoreflect.Message { method Descriptor (line 63) | func (*LoginReq) Descriptor() ([]byte, []int) { method GetEmail (line 67) | func (x *LoginReq) GetEmail() string { method GetPassword (line 74) | func (x *LoginReq) GetPassword() string { method GetNext (line 81) | func (x *LoginReq) GetNext() string { type RegisterReq (line 88) | type RegisterReq struct method Reset (line 98) | func (x *RegisterReq) Reset() { method String (line 107) | func (x *RegisterReq) String() string { method ProtoMessage (line 111) | func (*RegisterReq) ProtoMessage() {} method ProtoReflect (line 113) | func (x *RegisterReq) ProtoReflect() protoreflect.Message { method Descriptor (line 126) | func (*RegisterReq) Descriptor() ([]byte, []int) { method GetEmail (line 130) | func (x *RegisterReq) GetEmail() string { method GetPassword (line 137) | func (x *RegisterReq) GetPassword() string { method GetPasswordConfirm (line 144) | func (x *RegisterReq) GetPasswordConfirm() string { function file_auth_page_proto_rawDescGZIP (line 204) | func file_auth_page_proto_rawDescGZIP() []byte { function init (line 231) | func init() { file_auth_page_proto_init() } function file_auth_page_proto_init (line 232) | func file_auth_page_proto_init() { FILE: gomall/tutorial/ch13/app/frontend/hertz_gen/frontend/cart/cart_page.pb.go constant _ (line 20) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 22) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type AddCartItemReq (line 25) | type AddCartItemReq struct method Reset (line 34) | func (x *AddCartItemReq) Reset() { method String (line 43) | func (x *AddCartItemReq) String() string { method ProtoMessage (line 47) | func (*AddCartItemReq) ProtoMessage() {} method ProtoReflect (line 49) | func (x *AddCartItemReq) ProtoReflect() protoreflect.Message { method Descriptor (line 62) | func (*AddCartItemReq) Descriptor() ([]byte, []int) { method GetProductId (line 66) | func (x *AddCartItemReq) GetProductId() uint32 { method GetProductNum (line 73) | func (x *AddCartItemReq) GetProductNum() int32 { function file_cart_page_proto_rawDescGZIP (line 117) | func file_cart_page_proto_rawDescGZIP() []byte { function init (line 141) | func init() { file_cart_page_proto_init() } function file_cart_page_proto_init (line 142) | func file_cart_page_proto_init() { FILE: gomall/tutorial/ch13/app/frontend/hertz_gen/frontend/category/category_page.pb.go constant _ (line 20) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 22) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type CategoryReq (line 25) | type CategoryReq struct method Reset (line 33) | func (x *CategoryReq) Reset() { method String (line 42) | func (x *CategoryReq) String() string { method ProtoMessage (line 46) | func (*CategoryReq) ProtoMessage() {} method ProtoReflect (line 48) | func (x *CategoryReq) ProtoReflect() protoreflect.Message { method Descriptor (line 61) | func (*CategoryReq) Descriptor() ([]byte, []int) { method GetCategory (line 65) | func (x *CategoryReq) GetCategory() string { function file_category_page_proto_rawDescGZIP (line 103) | func file_category_page_proto_rawDescGZIP() []byte { function init (line 125) | func init() { file_category_page_proto_init() } function file_category_page_proto_init (line 126) | func file_category_page_proto_init() { FILE: gomall/tutorial/ch13/app/frontend/hertz_gen/frontend/checkout/checkout_page.pb.go constant _ (line 20) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 22) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type CheckoutReq (line 25) | type CheckoutReq struct method Reset (line 45) | func (x *CheckoutReq) Reset() { method String (line 54) | func (x *CheckoutReq) String() string { method ProtoMessage (line 58) | func (*CheckoutReq) ProtoMessage() {} method ProtoReflect (line 60) | func (x *CheckoutReq) ProtoReflect() protoreflect.Message { method Descriptor (line 73) | func (*CheckoutReq) Descriptor() ([]byte, []int) { method GetEmail (line 77) | func (x *CheckoutReq) GetEmail() string { method GetFirstname (line 84) | func (x *CheckoutReq) GetFirstname() string { method GetLastname (line 91) | func (x *CheckoutReq) GetLastname() string { method GetStreet (line 98) | func (x *CheckoutReq) GetStreet() string { method GetZipcode (line 105) | func (x *CheckoutReq) GetZipcode() string { method GetProvince (line 112) | func (x *CheckoutReq) GetProvince() string { method GetCountry (line 119) | func (x *CheckoutReq) GetCountry() string { method GetCity (line 126) | func (x *CheckoutReq) GetCity() string { method GetCardNum (line 133) | func (x *CheckoutReq) GetCardNum() string { method GetExpirationMonth (line 140) | func (x *CheckoutReq) GetExpirationMonth() int32 { method GetExpirationYear (line 147) | func (x *CheckoutReq) GetExpirationYear() int32 { method GetCvv (line 154) | func (x *CheckoutReq) GetCvv() int32 { method GetPayment (line 161) | func (x *CheckoutReq) GetPayment() string { function file_checkout_page_proto_rawDescGZIP (line 241) | func file_checkout_page_proto_rawDescGZIP() []byte { function init (line 267) | func init() { file_checkout_page_proto_init() } function file_checkout_page_proto_init (line 268) | func file_checkout_page_proto_init() { FILE: gomall/tutorial/ch13/app/frontend/hertz_gen/frontend/common/common.pb.go constant _ (line 18) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 20) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Empty (line 23) | type Empty struct method Reset (line 29) | func (x *Empty) Reset() { method String (line 38) | func (x *Empty) String() string { method ProtoMessage (line 42) | func (*Empty) ProtoMessage() {} method ProtoReflect (line 44) | func (x *Empty) ProtoReflect() protoreflect.Message { method Descriptor (line 57) | func (*Empty) Descriptor() ([]byte, []int) { function file_frontend_common_proto_rawDescGZIP (line 80) | func file_frontend_common_proto_rawDescGZIP() []byte { function init (line 99) | func init() { file_frontend_common_proto_init() } function file_frontend_common_proto_init (line 100) | func file_frontend_common_proto_init() { FILE: gomall/tutorial/ch13/app/frontend/hertz_gen/frontend/home/home.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) function init (line 56) | func init() { file_home_proto_init() } function file_home_proto_init (line 57) | func file_home_proto_init() { FILE: gomall/tutorial/ch13/app/frontend/hertz_gen/frontend/order/order_page.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) function init (line 58) | func init() { file_order_page_proto_init() } function file_order_page_proto_init (line 59) | func file_order_page_proto_init() { FILE: gomall/tutorial/ch13/app/frontend/hertz_gen/frontend/product/product_page.pb.go constant _ (line 20) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 22) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type ProductReq (line 25) | type ProductReq struct method Reset (line 33) | func (x *ProductReq) Reset() { method String (line 42) | func (x *ProductReq) String() string { method ProtoMessage (line 46) | func (*ProductReq) ProtoMessage() {} method ProtoReflect (line 48) | func (x *ProductReq) ProtoReflect() protoreflect.Message { method Descriptor (line 61) | func (*ProductReq) Descriptor() ([]byte, []int) { method GetId (line 65) | func (x *ProductReq) GetId() uint32 { type SearchProductsReq (line 72) | type SearchProductsReq struct method Reset (line 80) | func (x *SearchProductsReq) Reset() { method String (line 89) | func (x *SearchProductsReq) String() string { method ProtoMessage (line 93) | func (*SearchProductsReq) ProtoMessage() {} method ProtoReflect (line 95) | func (x *SearchProductsReq) ProtoReflect() protoreflect.Message { method Descriptor (line 108) | func (*SearchProductsReq) Descriptor() ([]byte, []int) { method GetQ (line 112) | func (x *SearchProductsReq) GetQ() string { function file_product_page_proto_rawDescGZIP (line 157) | func file_product_page_proto_rawDescGZIP() []byte { function init (line 182) | func init() { file_product_page_proto_init() } function file_product_page_proto_init (line 183) | func file_product_page_proto_init() { FILE: gomall/tutorial/ch13/app/frontend/infra/rpc/client.go function InitClient (line 40) | func InitClient() { function initUserClient (line 50) | func initUserClient() { function initProductClient (line 57) | func initProductClient() { function initCartClient (line 66) | func initCartClient() { function initCheckoutClient (line 75) | func initCheckoutClient() { function initOrderClient (line 84) | func initOrderClient() { FILE: gomall/tutorial/ch13/app/frontend/infra/rpc/client_test.go function Test_iniUserClient (line 24) | func Test_iniUserClient(t *testing.T) { FILE: gomall/tutorial/ch13/app/frontend/main.go function main (line 46) | func main() { function registerMiddleware (line 83) | func registerMiddleware(h *server.Hertz) { FILE: gomall/tutorial/ch13/app/frontend/middleware/auth.go function GlobalAuth (line 25) | func GlobalAuth() app.HandlerFunc { function Auth (line 33) | func Auth() app.HandlerFunc { FILE: gomall/tutorial/ch13/app/frontend/middleware/middleware.go function Register (line 19) | func Register(h *server.Hertz) { FILE: gomall/tutorial/ch13/app/frontend/types/order.go type OrderItem (line 3) | type OrderItem struct type Order (line 10) | type Order struct FILE: gomall/tutorial/ch13/app/frontend/utils/constant.go type SessionUserIdKey (line 17) | type SessionUserIdKey constant SessionUserId (line 19) | SessionUserId SessionUserIdKey = "user_id" FILE: gomall/tutorial/ch13/app/frontend/utils/errors.go function MustHandleError (line 19) | func MustHandleError(err error) { FILE: gomall/tutorial/ch13/app/frontend/utils/function.go function GetUserIdFromCtx (line 19) | func GetUserIdFromCtx(ctx context.Context) int32 { FILE: gomall/tutorial/ch13/app/order/biz/dal/init.go function Init (line 22) | func Init() { FILE: gomall/tutorial/ch13/app/order/biz/dal/mysql/init.go function Init (line 34) | func Init() { FILE: gomall/tutorial/ch13/app/order/biz/dal/redis/init.go function Init (line 28) | func Init() { FILE: gomall/tutorial/ch13/app/order/biz/model/order.go type Consignee (line 23) | type Consignee struct type Order (line 32) | type Order struct method TableName (line 40) | func (Order) TableName() string { function ListOrder (line 44) | func ListOrder(ctx context.Context, db *gorm.DB, userId uint32) ([]*Orde... FILE: gomall/tutorial/ch13/app/order/biz/model/order_item.go type OrderItem (line 19) | type OrderItem struct method TableName (line 27) | func (OrderItem) TableName() string { FILE: gomall/tutorial/ch13/app/order/biz/service/list_order.go type ListOrderService (line 27) | type ListOrderService struct method Run (line 35) | func (s *ListOrderService) Run(req *order.ListOrderReq) (resp *order.L... function NewListOrderService (line 30) | func NewListOrderService(ctx context.Context) *ListOrderService { FILE: gomall/tutorial/ch13/app/order/biz/service/list_order_test.go function TestListOrder_Run (line 24) | func TestListOrder_Run(t *testing.T) { FILE: gomall/tutorial/ch13/app/order/biz/service/place_order.go type PlaceOrderService (line 28) | type PlaceOrderService struct method Run (line 36) | func (s *PlaceOrderService) Run(req *order.PlaceOrderReq) (resp *order... function NewPlaceOrderService (line 31) | func NewPlaceOrderService(ctx context.Context) *PlaceOrderService { FILE: gomall/tutorial/ch13/app/order/biz/service/place_order_test.go function TestPlaceOrder_Run (line 24) | func TestPlaceOrder_Run(t *testing.T) { FILE: gomall/tutorial/ch13/app/order/conf/conf.go type Config (line 20) | type Config struct type MySQL (line 28) | type MySQL struct type Redis (line 32) | type Redis struct type Kitex (line 39) | type Kitex struct type Registry (line 52) | type Registry struct function GetConf (line 59) | func GetConf() *Config { function initConf (line 64) | func initConf() { function GetEnv (line 85) | func GetEnv() string { function LogLevel (line 93) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch13/app/order/handler.go type OrderServiceImpl (line 25) | type OrderServiceImpl struct method PlaceOrder (line 28) | func (s *OrderServiceImpl) PlaceOrder(ctx context.Context, req *order.... method ListOrder (line 35) | func (s *OrderServiceImpl) ListOrder(ctx context.Context, req *order.L... FILE: gomall/tutorial/ch13/app/order/main.go function main (line 34) | func main() { function kitexInit (line 47) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch13/app/payment/biz/dal/init.go function Init (line 21) | func Init() { FILE: gomall/tutorial/ch13/app/payment/biz/dal/mysql/init.go function Init (line 34) | func Init() { FILE: gomall/tutorial/ch13/app/payment/biz/dal/redis/init.go function Init (line 26) | func Init() { FILE: gomall/tutorial/ch13/app/payment/biz/model/payment.go type PaymentLog (line 24) | type PaymentLog struct method TableName (line 33) | func (p PaymentLog) TableName() string { function CreatePaymentLog (line 37) | func CreatePaymentLog(db *gorm.DB, ctx context.Context, payment *Payment... FILE: gomall/tutorial/ch13/app/payment/biz/service/charge.go type ChargeService (line 30) | type ChargeService struct method Run (line 38) | func (s *ChargeService) Run(req *payment.ChargeReq) (resp *payment.Cha... function NewChargeService (line 33) | func NewChargeService(ctx context.Context) *ChargeService { FILE: gomall/tutorial/ch13/app/payment/biz/service/charge_test.go function TestCharge_Run (line 24) | func TestCharge_Run(t *testing.T) { FILE: gomall/tutorial/ch13/app/payment/conf/conf.go type Config (line 33) | type Config struct type MySQL (line 41) | type MySQL struct type Redis (line 45) | type Redis struct type Kitex (line 52) | type Kitex struct type Registry (line 65) | type Registry struct function GetConf (line 72) | func GetConf() *Config { function initConf (line 77) | func initConf() { function GetEnv (line 98) | func GetEnv() string { function LogLevel (line 106) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch13/app/payment/handler.go type PaymentServiceImpl (line 25) | type PaymentServiceImpl struct method Charge (line 28) | func (s *PaymentServiceImpl) Charge(ctx context.Context, req *payment.... FILE: gomall/tutorial/ch13/app/payment/main.go function main (line 34) | func main() { function kitexInit (line 47) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch13/app/product/biz/dal/init.go function Init (line 21) | func Init() { FILE: gomall/tutorial/ch13/app/product/biz/dal/mysql/init.go function Init (line 32) | func Init() { FILE: gomall/tutorial/ch13/app/product/biz/dal/redis/init.go function Init (line 26) | func Init() { FILE: gomall/tutorial/ch13/app/product/biz/model/base.go type Base (line 19) | type Base struct FILE: gomall/tutorial/ch13/app/product/biz/model/category.go type Category (line 23) | type Category struct method TableName (line 31) | func (c Category) TableName() string { type CategoryQuery (line 35) | type CategoryQuery struct method GetProductsByCategoryName (line 40) | func (c CategoryQuery) GetProductsByCategoryName(name string) (categor... function NewCategoryQuery (line 45) | func NewCategoryQuery(ctx context.Context, db *gorm.DB) *CategoryQuery { FILE: gomall/tutorial/ch13/app/product/biz/model/product.go type Product (line 23) | type Product struct method TableName (line 33) | func (p Product) TableName() string { type ProductQuery (line 37) | type ProductQuery struct method GetById (line 42) | func (p ProductQuery) GetById(productId int) (product Product, err err... method SearchProducts (line 47) | func (p ProductQuery) SearchProducts(q string) (products []*Product, e... function NewProductQuery (line 54) | func NewProductQuery(ctx context.Context, db *gorm.DB) *ProductQuery { FILE: gomall/tutorial/ch13/app/product/biz/service/get_product.go type GetProductService (line 26) | type GetProductService struct method Run (line 34) | func (s *GetProductService) Run(req *product.GetProductReq) (resp *pro... function NewGetProductService (line 29) | func NewGetProductService(ctx context.Context) *GetProductService { FILE: gomall/tutorial/ch13/app/product/biz/service/get_product_test.go function TestGetProduct_Run (line 24) | func TestGetProduct_Run(t *testing.T) { FILE: gomall/tutorial/ch13/app/product/biz/service/list_products.go type ListProductsService (line 25) | type ListProductsService struct method Run (line 33) | func (s *ListProductsService) Run(req *product.ListProductsReq) (resp ... function NewListProductsService (line 28) | func NewListProductsService(ctx context.Context) *ListProductsService { FILE: gomall/tutorial/ch13/app/product/biz/service/list_products_test.go function TestListProducts_Run (line 24) | func TestListProducts_Run(t *testing.T) { FILE: gomall/tutorial/ch13/app/product/biz/service/search_products.go type SearchProductsService (line 25) | type SearchProductsService struct method Run (line 33) | func (s *SearchProductsService) Run(req *product.SearchProductsReq) (r... function NewSearchProductsService (line 28) | func NewSearchProductsService(ctx context.Context) *SearchProductsService { FILE: gomall/tutorial/ch13/app/product/biz/service/search_products_test.go function TestSearchProducts_Run (line 24) | func TestSearchProducts_Run(t *testing.T) { FILE: gomall/tutorial/ch13/app/product/conf/conf.go type Config (line 34) | type Config struct type MySQL (line 42) | type MySQL struct type Redis (line 46) | type Redis struct type Kitex (line 53) | type Kitex struct type Registry (line 66) | type Registry struct function GetConf (line 73) | func GetConf() *Config { function initConf (line 78) | func initConf() { function GetEnv (line 99) | func GetEnv() string { function LogLevel (line 107) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch13/app/product/handler.go type ProductCatalogServiceImpl (line 25) | type ProductCatalogServiceImpl struct method ListProducts (line 28) | func (s *ProductCatalogServiceImpl) ListProducts(ctx context.Context, ... method GetProduct (line 35) | func (s *ProductCatalogServiceImpl) GetProduct(ctx context.Context, re... method SearchProducts (line 42) | func (s *ProductCatalogServiceImpl) SearchProducts(ctx context.Context... FILE: gomall/tutorial/ch13/app/product/main.go function main (line 34) | func main() { function kitexInit (line 47) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch13/app/product/script/product.sql type `category` (line 1) | CREATE TABLE `category` type `product` (line 13) | CREATE TABLE `product` type `product_category` (line 46) | CREATE TABLE `product_category` FILE: gomall/tutorial/ch13/app/product/utils/constant.go constant ServiceName (line 17) | ServiceName = "shop-product" FILE: gomall/tutorial/ch13/app/user/biz/dal/init.go function Init (line 22) | func Init() { FILE: gomall/tutorial/ch13/app/user/biz/dal/mysql/init.go function Init (line 33) | func Init() { FILE: gomall/tutorial/ch13/app/user/biz/dal/redis/init.go function Init (line 26) | func Init() { FILE: gomall/tutorial/ch13/app/user/biz/model/user.go type User (line 23) | type User struct method TableName (line 29) | func (User) TableName() string { function Create (line 33) | func Create(ctx context.Context, db *gorm.DB, user *User) error { function GetByEmail (line 37) | func GetByEmail(ctx context.Context, db *gorm.DB, email string) (*User, ... FILE: gomall/tutorial/ch13/app/user/biz/service/login.go type LoginService (line 27) | type LoginService struct method Run (line 35) | func (s *LoginService) Run(req *user.LoginReq) (resp *user.LoginResp, ... function NewLoginService (line 30) | func NewLoginService(ctx context.Context) *LoginService { FILE: gomall/tutorial/ch13/app/user/biz/service/login_test.go function TestLogin_Run (line 26) | func TestLogin_Run(t *testing.T) { FILE: gomall/tutorial/ch13/app/user/biz/service/register.go type RegisterService (line 27) | type RegisterService struct method Run (line 35) | func (s *RegisterService) Run(req *user.RegisterReq) (resp *user.Regis... function NewRegisterService (line 30) | func NewRegisterService(ctx context.Context) *RegisterService { FILE: gomall/tutorial/ch13/app/user/biz/service/register_test.go function TestRegister_Run (line 26) | func TestRegister_Run(t *testing.T) { FILE: gomall/tutorial/ch13/app/user/conf/conf.go type Config (line 34) | type Config struct type MySQL (line 42) | type MySQL struct type Redis (line 46) | type Redis struct type Kitex (line 53) | type Kitex struct type Registry (line 66) | type Registry struct function GetConf (line 73) | func GetConf() *Config { function initConf (line 78) | func initConf() { function GetEnv (line 99) | func GetEnv() string { function LogLevel (line 107) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch13/app/user/handler.go type UserServiceImpl (line 25) | type UserServiceImpl struct method Register (line 28) | func (s *UserServiceImpl) Register(ctx context.Context, req *user.Regi... method Login (line 35) | func (s *UserServiceImpl) Login(ctx context.Context, req *user.LoginRe... FILE: gomall/tutorial/ch13/app/user/main.go function main (line 34) | func main() { function kitexInit (line 50) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch13/demo/demo_proto/biz/dal/init.go function Init (line 21) | func Init() { FILE: gomall/tutorial/ch13/demo/demo_proto/biz/dal/mysql/init.go function Init (line 33) | func Init() { FILE: gomall/tutorial/ch13/demo/demo_proto/biz/dal/redis/init.go function Init (line 12) | func Init() { FILE: gomall/tutorial/ch13/demo/demo_proto/biz/model/user.go type User (line 19) | type User struct method TableName (line 25) | func (User) TableName() string { FILE: gomall/tutorial/ch13/demo/demo_proto/biz/service/echo.go type EchoService (line 23) | type EchoService struct method Run (line 31) | func (s *EchoService) Run(req *pbapi.Request) (resp *pbapi.Response, e... function NewEchoService (line 26) | func NewEchoService(ctx context.Context) *EchoService { FILE: gomall/tutorial/ch13/demo/demo_proto/biz/service/echo_test.go function TestEcho_Run (line 24) | func TestEcho_Run(t *testing.T) { FILE: gomall/tutorial/ch13/demo/demo_proto/cmd/client/client.go function main (line 32) | func main() { FILE: gomall/tutorial/ch13/demo/demo_proto/cmd/dbop/db.go function main (line 26) | func main() { FILE: gomall/tutorial/ch13/demo/demo_proto/conf/conf.go type Config (line 33) | type Config struct type MySQL (line 41) | type MySQL struct type Redis (line 45) | type Redis struct type Kitex (line 52) | type Kitex struct type Registry (line 65) | type Registry struct function GetConf (line 72) | func GetConf() *Config { function initConf (line 77) | func initConf() { function GetEnv (line 98) | func GetEnv() string { function LogLevel (line 106) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch13/demo/demo_proto/handler.go type EchoImpl (line 25) | type EchoImpl struct method Echo (line 28) | func (s *EchoImpl) Echo(ctx context.Context, req *pbapi.Request) (resp... FILE: gomall/tutorial/ch13/demo/demo_proto/kitex_gen/pbapi/echo.pb.fast.go method FastRead (line 15) | func (x *Request) FastRead(buf []byte, _type int8, number int32) (offset... method fastReadField1 (line 35) | func (x *Request) fastReadField1(buf []byte, _type int8) (offset int, er... method FastRead (line 40) | func (x *Response) FastRead(buf []byte, _type int8, number int32) (offse... method fastReadField1 (line 60) | func (x *Response) fastReadField1(buf []byte, _type int8) (offset int, e... method FastWrite (line 65) | func (x *Request) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 73) | func (x *Request) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 81) | func (x *Response) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 89) | func (x *Response) fastWriteField1(buf []byte) (offset int) { method Size (line 97) | func (x *Request) Size() (n int) { method sizeField1 (line 105) | func (x *Request) sizeField1() (n int) { method Size (line 113) | func (x *Response) Size() (n int) { method sizeField1 (line 121) | func (x *Response) sizeField1() (n int) { FILE: gomall/tutorial/ch13/demo/demo_proto/kitex_gen/pbapi/echo.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Request (line 24) | type Request struct method Reset (line 32) | func (x *Request) Reset() { method String (line 41) | func (x *Request) String() string { method ProtoMessage (line 45) | func (*Request) ProtoMessage() {} method ProtoReflect (line 47) | func (x *Request) ProtoReflect() protoreflect.Message { method Descriptor (line 60) | func (*Request) Descriptor() ([]byte, []int) { method GetMessage (line 64) | func (x *Request) GetMessage() string { type Response (line 71) | type Response struct method Reset (line 79) | func (x *Response) Reset() { method String (line 88) | func (x *Response) String() string { method ProtoMessage (line 92) | func (*Response) ProtoMessage() {} method ProtoReflect (line 94) | func (x *Response) ProtoReflect() protoreflect.Message { method Descriptor (line 107) | func (*Response) Descriptor() ([]byte, []int) { method GetMessage (line 111) | func (x *Response) GetMessage() string { function file_echo_proto_rawDescGZIP (line 143) | func file_echo_proto_rawDescGZIP() []byte { function init (line 165) | func init() { file_echo_proto_init() } function file_echo_proto_init (line 166) | func file_echo_proto_init() { type Echo (line 220) | type Echo interface FILE: gomall/tutorial/ch13/demo/demo_proto/kitex_gen/pbapi/echo/client.go type Client (line 13) | type Client interface function NewClient (line 18) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 34) | func MustNewClient(destService string, opts ...client.Option) Client { type kEchoClient (line 42) | type kEchoClient struct method Echo (line 46) | func (p *kEchoClient) Echo(ctx context.Context, Req *pbapi.Request, ca... FILE: gomall/tutorial/ch13/demo/demo_proto/kitex_gen/pbapi/echo/echo.go function serviceInfo (line 34) | func serviceInfo() *kitex.ServiceInfo { function serviceInfoForStreamClient (line 39) | func serviceInfoForStreamClient() *kitex.ServiceInfo { function serviceInfoForClient (line 44) | func serviceInfoForClient() *kitex.ServiceInfo { function NewServiceInfo (line 49) | func NewServiceInfo() *kitex.ServiceInfo { function NewServiceInfoForClient (line 54) | func NewServiceInfoForClient() *kitex.ServiceInfo { function NewServiceInfoForStreamClient (line 57) | func NewServiceInfoForStreamClient() *kitex.ServiceInfo { function newServiceInfo (line 61) | func newServiceInfo(hasStreaming bool, keepStreamingMethods bool, keepNo... function echoHandler (line 91) | func echoHandler(ctx context.Context, handler interface{}, arg, result i... function newEchoArgs (line 116) | func newEchoArgs() interface{} { function newEchoResult (line 120) | func newEchoResult() interface{} { type EchoArgs (line 124) | type EchoArgs struct method FastRead (line 128) | func (p *EchoArgs) FastRead(buf []byte, _type int8, number int32) (n i... method FastWrite (line 135) | func (p *EchoArgs) FastWrite(buf []byte) (n int) { method Size (line 142) | func (p *EchoArgs) Size() (n int) { method Marshal (line 149) | func (p *EchoArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 156) | func (p *EchoArgs) Unmarshal(in []byte) error { method GetReq (line 167) | func (p *EchoArgs) GetReq() *pbapi.Request { method IsSetReq (line 174) | func (p *EchoArgs) IsSetReq() bool { method GetFirstArgument (line 178) | func (p *EchoArgs) GetFirstArgument() interface{} { type EchoResult (line 182) | type EchoResult struct method FastRead (line 188) | func (p *EchoResult) FastRead(buf []byte, _type int8, number int32) (n... method FastWrite (line 195) | func (p *EchoResult) FastWrite(buf []byte) (n int) { method Size (line 202) | func (p *EchoResult) Size() (n int) { method Marshal (line 209) | func (p *EchoResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 216) | func (p *EchoResult) Unmarshal(in []byte) error { method GetSuccess (line 225) | func (p *EchoResult) GetSuccess() *pbapi.Response { method SetSuccess (line 232) | func (p *EchoResult) SetSuccess(x interface{}) { method IsSetSuccess (line 236) | func (p *EchoResult) IsSetSuccess() bool { method GetResult (line 240) | func (p *EchoResult) GetResult() interface{} { type kClient (line 244) | type kClient struct method Echo (line 254) | func (p *kClient) Echo(ctx context.Context, Req *pbapi.Request) (r *pb... function newServiceClient (line 248) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch13/demo/demo_proto/kitex_gen/pbapi/echo/invoker.go function NewInvoker (line 11) | func NewInvoker(handler pbapi.Echo, opts ...server.Option) server.Invoker { FILE: gomall/tutorial/ch13/demo/demo_proto/kitex_gen/pbapi/echo/server.go function NewServer (line 10) | func NewServer(handler pbapi.Echo, opts ...server.Option) server.Server { function RegisterService (line 22) | func RegisterService(svr server.Server, handler pbapi.Echo, opts ...serv... FILE: gomall/tutorial/ch13/demo/demo_proto/main.go function main (line 35) | func main() { function kitexInit (line 53) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch13/demo/demo_thrift/biz/dal/init.go function Init (line 22) | func Init() { FILE: gomall/tutorial/ch13/demo/demo_thrift/biz/dal/mysql/init.go function Init (line 29) | func Init() { FILE: gomall/tutorial/ch13/demo/demo_thrift/biz/dal/redis/init.go function Init (line 28) | func Init() { FILE: gomall/tutorial/ch13/demo/demo_thrift/biz/service/echo.go type EchoService (line 23) | type EchoService struct method Run (line 31) | func (s *EchoService) Run(req *api.Request) (resp *api.Response, err e... function NewEchoService (line 26) | func NewEchoService(ctx context.Context) *EchoService { FILE: gomall/tutorial/ch13/demo/demo_thrift/biz/service/echo_test.go function TestEcho_Run (line 24) | func TestEcho_Run(t *testing.T) { FILE: gomall/tutorial/ch13/demo/demo_thrift/cmd/client/client.go function main (line 32) | func main() { FILE: gomall/tutorial/ch13/demo/demo_thrift/conf/conf.go type Config (line 34) | type Config struct type MySQL (line 42) | type MySQL struct type Redis (line 46) | type Redis struct type Kitex (line 53) | type Kitex struct type Registry (line 66) | type Registry struct function GetConf (line 73) | func GetConf() *Config { function initConf (line 78) | func initConf() { function GetEnv (line 99) | func GetEnv() string { function LogLevel (line 107) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch13/demo/demo_thrift/handler.go type EchoImpl (line 25) | type EchoImpl struct method Echo (line 28) | func (s *EchoImpl) Echo(ctx context.Context, req *api.Request) (resp *... FILE: gomall/tutorial/ch13/demo/demo_thrift/kitex_gen/api/echo.go type Request (line 12) | type Request struct method InitDefault (line 20) | func (p *Request) InitDefault() { method GetMessage (line 23) | func (p *Request) GetMessage() (v string) { method SetMessage (line 26) | func (p *Request) SetMessage(val string) { method Read (line 34) | func (p *Request) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 90) | func (p *Request) ReadField1(iprot thrift.TProtocol) error { method Write (line 102) | func (p *Request) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 130) | func (p *Request) writeField1(oprot thrift.TProtocol) (err error) { method String (line 147) | func (p *Request) String() string { method DeepEqual (line 155) | func (p *Request) DeepEqual(ano *Request) bool { method Field1DeepEqual (line 167) | func (p *Request) Field1DeepEqual(src string) bool { function NewRequest (line 16) | func NewRequest() *Request { type Response (line 175) | type Response struct method InitDefault (line 183) | func (p *Response) InitDefault() { method GetMessage (line 186) | func (p *Response) GetMessage() (v string) { method SetMessage (line 189) | func (p *Response) SetMessage(val string) { method Read (line 197) | func (p *Response) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 253) | func (p *Response) ReadField1(iprot thrift.TProtocol) error { method Write (line 265) | func (p *Response) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 293) | func (p *Response) writeField1(oprot thrift.TProtocol) (err error) { method String (line 310) | func (p *Response) String() string { method DeepEqual (line 318) | func (p *Response) DeepEqual(ano *Response) bool { method Field1DeepEqual (line 330) | func (p *Response) Field1DeepEqual(src string) bool { function NewResponse (line 179) | func NewResponse() *Response { type Echo (line 338) | type Echo interface type EchoClient (line 342) | type EchoClient struct method Client_ (line 364) | func (p *EchoClient) Client_() thrift.TClient { method Echo (line 368) | func (p *EchoClient) Echo(ctx context.Context, req *Request) (r *Respo... function NewEchoClientFactory (line 346) | func NewEchoClientFactory(t thrift.TTransport, f thrift.TProtocolFactory... function NewEchoClientProtocol (line 352) | func NewEchoClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, ... function NewEchoClient (line 358) | func NewEchoClient(c thrift.TClient) *EchoClient { type EchoProcessor (line 378) | type EchoProcessor struct method AddToProcessorMap (line 383) | func (p *EchoProcessor) AddToProcessorMap(key string, processor thrift... method GetProcessorFunction (line 387) | func (p *EchoProcessor) GetProcessorFunction(key string) (processor th... method ProcessorMap (line 392) | func (p *EchoProcessor) ProcessorMap() map[string]thrift.TProcessorFun... method Process (line 401) | func (p *EchoProcessor) Process(ctx context.Context, iprot, oprot thri... function NewEchoProcessor (line 396) | func NewEchoProcessor(handler Echo) *EchoProcessor { type echoProcessorEcho (line 419) | type echoProcessorEcho struct method Process (line 423) | func (p *echoProcessorEcho) Process(ctx context.Context, seqId int32, ... type EchoEchoArgs (line 467) | type EchoEchoArgs struct method InitDefault (line 475) | func (p *EchoEchoArgs) InitDefault() { method GetReq (line 480) | func (p *EchoEchoArgs) GetReq() (v *Request) { method SetReq (line 486) | func (p *EchoEchoArgs) SetReq(val *Request) { method IsSetReq (line 494) | func (p *EchoEchoArgs) IsSetReq() bool { method Read (line 498) | func (p *EchoEchoArgs) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 554) | func (p *EchoEchoArgs) ReadField1(iprot thrift.TProtocol) error { method Write (line 563) | func (p *EchoEchoArgs) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 591) | func (p *EchoEchoArgs) writeField1(oprot thrift.TProtocol) (err error) { method String (line 608) | func (p *EchoEchoArgs) String() string { method DeepEqual (line 616) | func (p *EchoEchoArgs) DeepEqual(ano *EchoEchoArgs) bool { method Field1DeepEqual (line 628) | func (p *EchoEchoArgs) Field1DeepEqual(src *Request) bool { function NewEchoEchoArgs (line 471) | func NewEchoEchoArgs() *EchoEchoArgs { type EchoEchoResult (line 636) | type EchoEchoResult struct method InitDefault (line 644) | func (p *EchoEchoResult) InitDefault() { method GetSuccess (line 649) | func (p *EchoEchoResult) GetSuccess() (v *Response) { method SetSuccess (line 655) | func (p *EchoEchoResult) SetSuccess(x interface{}) { method IsSetSuccess (line 663) | func (p *EchoEchoResult) IsSetSuccess() bool { method Read (line 667) | func (p *EchoEchoResult) Read(iprot thrift.TProtocol) (err error) { method ReadField0 (line 723) | func (p *EchoEchoResult) ReadField0(iprot thrift.TProtocol) error { method Write (line 732) | func (p *EchoEchoResult) Write(oprot thrift.TProtocol) (err error) { method writeField0 (line 760) | func (p *EchoEchoResult) writeField0(oprot thrift.TProtocol) (err erro... method String (line 779) | func (p *EchoEchoResult) String() string { method DeepEqual (line 787) | func (p *EchoEchoResult) DeepEqual(ano *EchoEchoResult) bool { method Field0DeepEqual (line 799) | func (p *EchoEchoResult) Field0DeepEqual(src *Response) bool { function NewEchoEchoResult (line 640) | func NewEchoEchoResult() *EchoEchoResult { FILE: gomall/tutorial/ch13/demo/demo_thrift/kitex_gen/api/echo/client.go type Client (line 13) | type Client interface function NewClient (line 18) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 34) | func MustNewClient(destService string, opts ...client.Option) Client { type kEchoClient (line 42) | type kEchoClient struct method Echo (line 46) | func (p *kEchoClient) Echo(ctx context.Context, req *api.Request, call... FILE: gomall/tutorial/ch13/demo/demo_thrift/kitex_gen/api/echo/echo.go function serviceInfo (line 32) | func serviceInfo() *kitex.ServiceInfo { function serviceInfoForStreamClient (line 37) | func serviceInfoForStreamClient() *kitex.ServiceInfo { function serviceInfoForClient (line 42) | func serviceInfoForClient() *kitex.ServiceInfo { function NewServiceInfo (line 47) | func NewServiceInfo() *kitex.ServiceInfo { function NewServiceInfoForClient (line 52) | func NewServiceInfoForClient() *kitex.ServiceInfo { function NewServiceInfoForStreamClient (line 55) | func NewServiceInfoForStreamClient() *kitex.ServiceInfo { function newServiceInfo (line 59) | func newServiceInfo(hasStreaming bool, keepStreamingMethods bool, keepNo... function echoHandler (line 89) | func echoHandler(ctx context.Context, handler interface{}, arg, result i... function newEchoEchoArgs (line 99) | func newEchoEchoArgs() interface{} { function newEchoEchoResult (line 103) | func newEchoEchoResult() interface{} { type kClient (line 107) | type kClient struct method Echo (line 117) | func (p *kClient) Echo(ctx context.Context, req *api.Request) (r *api.... function newServiceClient (line 111) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch13/demo/demo_thrift/kitex_gen/api/echo/invoker.go function NewInvoker (line 11) | func NewInvoker(handler api.Echo, opts ...server.Option) server.Invoker { FILE: gomall/tutorial/ch13/demo/demo_thrift/kitex_gen/api/echo/server.go function NewServer (line 10) | func NewServer(handler api.Echo, opts ...server.Option) server.Server { function RegisterService (line 23) | func RegisterService(svr server.Server, handler api.Echo, opts ...server... FILE: gomall/tutorial/ch13/demo/demo_thrift/kitex_gen/api/k-echo.go method FastRead (line 26) | func (p *Request) FastRead(buf []byte) (int, error) { method FastReadField1 (line 97) | func (p *Request) FastReadField1(buf []byte) (int, error) { method FastWrite (line 112) | func (p *Request) FastWrite(buf []byte) int { method FastWriteNocopy (line 116) | func (p *Request) FastWriteNocopy(buf []byte, binaryWriter bthrift.Binar... method BLength (line 127) | func (p *Request) BLength() int { method fastWriteField1 (line 138) | func (p *Request) fastWriteField1(buf []byte, binaryWriter bthrift.Binar... method field1Length (line 147) | func (p *Request) field1Length() int { method FastRead (line 156) | func (p *Response) FastRead(buf []byte) (int, error) { method FastReadField1 (line 227) | func (p *Response) FastReadField1(buf []byte) (int, error) { method FastWrite (line 242) | func (p *Response) FastWrite(buf []byte) int { method FastWriteNocopy (line 246) | func (p *Response) FastWriteNocopy(buf []byte, binaryWriter bthrift.Bina... method BLength (line 257) | func (p *Response) BLength() int { method fastWriteField1 (line 268) | func (p *Response) fastWriteField1(buf []byte, binaryWriter bthrift.Bina... method field1Length (line 277) | func (p *Response) field1Length() int { method FastRead (line 286) | func (p *EchoEchoArgs) FastRead(buf []byte) (int, error) { method FastReadField1 (line 357) | func (p *EchoEchoArgs) FastReadField1(buf []byte) (int, error) { method FastWrite (line 371) | func (p *EchoEchoArgs) FastWrite(buf []byte) int { method FastWriteNocopy (line 375) | func (p *EchoEchoArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.... method BLength (line 386) | func (p *EchoEchoArgs) BLength() int { method fastWriteField1 (line 397) | func (p *EchoEchoArgs) fastWriteField1(buf []byte, binaryWriter bthrift.... method field1Length (line 405) | func (p *EchoEchoArgs) field1Length() int { method FastRead (line 413) | func (p *EchoEchoResult) FastRead(buf []byte) (int, error) { method FastReadField0 (line 484) | func (p *EchoEchoResult) FastReadField0(buf []byte) (int, error) { method FastWrite (line 498) | func (p *EchoEchoResult) FastWrite(buf []byte) int { method FastWriteNocopy (line 502) | func (p *EchoEchoResult) FastWriteNocopy(buf []byte, binaryWriter bthrif... method BLength (line 513) | func (p *EchoEchoResult) BLength() int { method fastWriteField0 (line 524) | func (p *EchoEchoResult) fastWriteField0(buf []byte, binaryWriter bthrif... method field0Length (line 534) | func (p *EchoEchoResult) field0Length() int { method GetFirstArgument (line 544) | func (p *EchoEchoArgs) GetFirstArgument() interface{} { method GetResult (line 548) | func (p *EchoEchoResult) GetResult() interface{} { FILE: gomall/tutorial/ch13/demo/demo_thrift/main.go function main (line 33) | func main() { function kitexInit (line 44) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch13/hello_world/main.go function main (line 25) | func main() { FILE: gomall/tutorial/ch13/rpc_gen/kitex_gen/cart/cart.pb.fast.go method FastRead (line 15) | func (x *CartItem) FastRead(buf []byte, _type int8, number int32) (offse... method fastReadField1 (line 40) | func (x *CartItem) fastReadField1(buf []byte, _type int8) (offset int, e... method fastReadField2 (line 45) | func (x *CartItem) fastReadField2(buf []byte, _type int8) (offset int, e... method FastRead (line 50) | func (x *AddItemReq) FastRead(buf []byte, _type int8, number int32) (off... method fastReadField1 (line 75) | func (x *AddItemReq) fastReadField1(buf []byte, _type int8) (offset int,... method fastReadField2 (line 80) | func (x *AddItemReq) fastReadField2(buf []byte, _type int8) (offset int,... method FastRead (line 90) | func (x *AddItemResp) FastRead(buf []byte, _type int8, number int32) (of... method FastRead (line 103) | func (x *GetCartReq) FastRead(buf []byte, _type int8, number int32) (off... method fastReadField1 (line 123) | func (x *GetCartReq) fastReadField1(buf []byte, _type int8) (offset int,... method FastRead (line 128) | func (x *GetCartResp) FastRead(buf []byte, _type int8, number int32) (of... method fastReadField1 (line 148) | func (x *GetCartResp) fastReadField1(buf []byte, _type int8) (offset int... method FastRead (line 158) | func (x *EmptyCartReq) FastRead(buf []byte, _type int8, number int32) (o... method fastReadField1 (line 178) | func (x *EmptyCartReq) fastReadField1(buf []byte, _type int8) (offset in... method FastRead (line 183) | func (x *EmptyCartResp) FastRead(buf []byte, _type int8, number int32) (... method FastWrite (line 196) | func (x *CartItem) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 205) | func (x *CartItem) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 213) | func (x *CartItem) fastWriteField2(buf []byte) (offset int) { method FastWrite (line 221) | func (x *AddItemReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 230) | func (x *AddItemReq) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 238) | func (x *AddItemReq) fastWriteField2(buf []byte) (offset int) { method FastWrite (line 246) | func (x *AddItemResp) FastWrite(buf []byte) (offset int) { method FastWrite (line 253) | func (x *GetCartReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 261) | func (x *GetCartReq) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 269) | func (x *GetCartResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 277) | func (x *GetCartResp) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 287) | func (x *EmptyCartReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 295) | func (x *EmptyCartReq) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 303) | func (x *EmptyCartResp) FastWrite(buf []byte) (offset int) { method Size (line 310) | func (x *CartItem) Size() (n int) { method sizeField1 (line 319) | func (x *CartItem) sizeField1() (n int) { method sizeField2 (line 327) | func (x *CartItem) sizeField2() (n int) { method Size (line 335) | func (x *AddItemReq) Size() (n int) { method sizeField1 (line 344) | func (x *AddItemReq) sizeField1() (n int) { method sizeField2 (line 352) | func (x *AddItemReq) sizeField2() (n int) { method Size (line 360) | func (x *AddItemResp) Size() (n int) { method Size (line 367) | func (x *GetCartReq) Size() (n int) { method sizeField1 (line 375) | func (x *GetCartReq) sizeField1() (n int) { method Size (line 383) | func (x *GetCartResp) Size() (n int) { method sizeField1 (line 391) | func (x *GetCartResp) sizeField1() (n int) { method Size (line 401) | func (x *EmptyCartReq) Size() (n int) { method sizeField1 (line 409) | func (x *EmptyCartReq) sizeField1() (n int) { method Size (line 417) | func (x *EmptyCartResp) Size() (n int) { FILE: gomall/tutorial/ch13/rpc_gen/kitex_gen/cart/cart.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type CartItem (line 24) | type CartItem struct method Reset (line 33) | func (x *CartItem) Reset() { method String (line 42) | func (x *CartItem) String() string { method ProtoMessage (line 46) | func (*CartItem) ProtoMessage() {} method ProtoReflect (line 48) | func (x *CartItem) ProtoReflect() protoreflect.Message { method Descriptor (line 61) | func (*CartItem) Descriptor() ([]byte, []int) { method GetProductId (line 65) | func (x *CartItem) GetProductId() uint32 { method GetQuantity (line 72) | func (x *CartItem) GetQuantity() uint32 { type AddItemReq (line 79) | type AddItemReq struct method Reset (line 88) | func (x *AddItemReq) Reset() { method String (line 97) | func (x *AddItemReq) String() string { method ProtoMessage (line 101) | func (*AddItemReq) ProtoMessage() {} method ProtoReflect (line 103) | func (x *AddItemReq) ProtoReflect() protoreflect.Message { method Descriptor (line 116) | func (*AddItemReq) Descriptor() ([]byte, []int) { method GetUserId (line 120) | func (x *AddItemReq) GetUserId() uint32 { method GetItem (line 127) | func (x *AddItemReq) GetItem() *CartItem { type AddItemResp (line 134) | type AddItemResp struct method Reset (line 140) | func (x *AddItemResp) Reset() { method String (line 149) | func (x *AddItemResp) String() string { method ProtoMessage (line 153) | func (*AddItemResp) ProtoMessage() {} method ProtoReflect (line 155) | func (x *AddItemResp) ProtoReflect() protoreflect.Message { method Descriptor (line 168) | func (*AddItemResp) Descriptor() ([]byte, []int) { type GetCartReq (line 172) | type GetCartReq struct method Reset (line 180) | func (x *GetCartReq) Reset() { method String (line 189) | func (x *GetCartReq) String() string { method ProtoMessage (line 193) | func (*GetCartReq) ProtoMessage() {} method ProtoReflect (line 195) | func (x *GetCartReq) ProtoReflect() protoreflect.Message { method Descriptor (line 208) | func (*GetCartReq) Descriptor() ([]byte, []int) { method GetUserId (line 212) | func (x *GetCartReq) GetUserId() uint32 { type GetCartResp (line 219) | type GetCartResp struct method Reset (line 227) | func (x *GetCartResp) Reset() { method String (line 236) | func (x *GetCartResp) String() string { method ProtoMessage (line 240) | func (*GetCartResp) ProtoMessage() {} method ProtoReflect (line 242) | func (x *GetCartResp) ProtoReflect() protoreflect.Message { method Descriptor (line 255) | func (*GetCartResp) Descriptor() ([]byte, []int) { method GetItems (line 259) | func (x *GetCartResp) GetItems() []*CartItem { type EmptyCartReq (line 266) | type EmptyCartReq struct method Reset (line 274) | func (x *EmptyCartReq) Reset() { method String (line 283) | func (x *EmptyCartReq) String() string { method ProtoMessage (line 287) | func (*EmptyCartReq) ProtoMessage() {} method ProtoReflect (line 289) | func (x *EmptyCartReq) ProtoReflect() protoreflect.Message { method Descriptor (line 302) | func (*EmptyCartReq) Descriptor() ([]byte, []int) { method GetUserId (line 306) | func (x *EmptyCartReq) GetUserId() uint32 { type EmptyCartResp (line 313) | type EmptyCartResp struct method Reset (line 319) | func (x *EmptyCartResp) Reset() { method String (line 328) | func (x *EmptyCartResp) String() string { method ProtoMessage (line 332) | func (*EmptyCartResp) ProtoMessage() {} method ProtoReflect (line 334) | func (x *EmptyCartResp) ProtoReflect() protoreflect.Message { method Descriptor (line 347) | func (*EmptyCartResp) Descriptor() ([]byte, []int) { function file_cart_proto_rawDescGZIP (line 397) | func file_cart_proto_rawDescGZIP() []byte { function init (line 430) | func init() { file_cart_proto_init() } function file_cart_proto_init (line 431) | func file_cart_proto_init() { type CartService (line 545) | type CartService interface FILE: gomall/tutorial/ch13/rpc_gen/kitex_gen/cart/cartservice/cartservice.go function serviceInfo (line 48) | func serviceInfo() *kitex.ServiceInfo { function serviceInfoForStreamClient (line 53) | func serviceInfoForStreamClient() *kitex.ServiceInfo { function serviceInfoForClient (line 58) | func serviceInfoForClient() *kitex.ServiceInfo { function NewServiceInfo (line 63) | func NewServiceInfo() *kitex.ServiceInfo { function NewServiceInfoForClient (line 68) | func NewServiceInfoForClient() *kitex.ServiceInfo { function NewServiceInfoForStreamClient (line 71) | func NewServiceInfoForStreamClient() *kitex.ServiceInfo { function newServiceInfo (line 75) | func newServiceInfo(hasStreaming bool, keepStreamingMethods bool, keepNo... function addItemHandler (line 105) | func addItemHandler(ctx context.Context, handler interface{}, arg, resul... function newAddItemArgs (line 130) | func newAddItemArgs() interface{} { function newAddItemResult (line 134) | func newAddItemResult() interface{} { type AddItemArgs (line 138) | type AddItemArgs struct method FastRead (line 142) | func (p *AddItemArgs) FastRead(buf []byte, _type int8, number int32) (... method FastWrite (line 149) | func (p *AddItemArgs) FastWrite(buf []byte) (n int) { method Size (line 156) | func (p *AddItemArgs) Size() (n int) { method Marshal (line 163) | func (p *AddItemArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 170) | func (p *AddItemArgs) Unmarshal(in []byte) error { method GetReq (line 181) | func (p *AddItemArgs) GetReq() *cart.AddItemReq { method IsSetReq (line 188) | func (p *AddItemArgs) IsSetReq() bool { method GetFirstArgument (line 192) | func (p *AddItemArgs) GetFirstArgument() interface{} { type AddItemResult (line 196) | type AddItemResult struct method FastRead (line 202) | func (p *AddItemResult) FastRead(buf []byte, _type int8, number int32)... method FastWrite (line 209) | func (p *AddItemResult) FastWrite(buf []byte) (n int) { method Size (line 216) | func (p *AddItemResult) Size() (n int) { method Marshal (line 223) | func (p *AddItemResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 230) | func (p *AddItemResult) Unmarshal(in []byte) error { method GetSuccess (line 239) | func (p *AddItemResult) GetSuccess() *cart.AddItemResp { method SetSuccess (line 246) | func (p *AddItemResult) SetSuccess(x interface{}) { method IsSetSuccess (line 250) | func (p *AddItemResult) IsSetSuccess() bool { method GetResult (line 254) | func (p *AddItemResult) GetResult() interface{} { function getCartHandler (line 258) | func getCartHandler(ctx context.Context, handler interface{}, arg, resul... function newGetCartArgs (line 283) | func newGetCartArgs() interface{} { function newGetCartResult (line 287) | func newGetCartResult() interface{} { type GetCartArgs (line 291) | type GetCartArgs struct method FastRead (line 295) | func (p *GetCartArgs) FastRead(buf []byte, _type int8, number int32) (... method FastWrite (line 302) | func (p *GetCartArgs) FastWrite(buf []byte) (n int) { method Size (line 309) | func (p *GetCartArgs) Size() (n int) { method Marshal (line 316) | func (p *GetCartArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 323) | func (p *GetCartArgs) Unmarshal(in []byte) error { method GetReq (line 334) | func (p *GetCartArgs) GetReq() *cart.GetCartReq { method IsSetReq (line 341) | func (p *GetCartArgs) IsSetReq() bool { method GetFirstArgument (line 345) | func (p *GetCartArgs) GetFirstArgument() interface{} { type GetCartResult (line 349) | type GetCartResult struct method FastRead (line 355) | func (p *GetCartResult) FastRead(buf []byte, _type int8, number int32)... method FastWrite (line 362) | func (p *GetCartResult) FastWrite(buf []byte) (n int) { method Size (line 369) | func (p *GetCartResult) Size() (n int) { method Marshal (line 376) | func (p *GetCartResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 383) | func (p *GetCartResult) Unmarshal(in []byte) error { method GetSuccess (line 392) | func (p *GetCartResult) GetSuccess() *cart.GetCartResp { method SetSuccess (line 399) | func (p *GetCartResult) SetSuccess(x interface{}) { method IsSetSuccess (line 403) | func (p *GetCartResult) IsSetSuccess() bool { method GetResult (line 407) | func (p *GetCartResult) GetResult() interface{} { function emptyCartHandler (line 411) | func emptyCartHandler(ctx context.Context, handler interface{}, arg, res... function newEmptyCartArgs (line 436) | func newEmptyCartArgs() interface{} { function newEmptyCartResult (line 440) | func newEmptyCartResult() interface{} { type EmptyCartArgs (line 444) | type EmptyCartArgs struct method FastRead (line 448) | func (p *EmptyCartArgs) FastRead(buf []byte, _type int8, number int32)... method FastWrite (line 455) | func (p *EmptyCartArgs) FastWrite(buf []byte) (n int) { method Size (line 462) | func (p *EmptyCartArgs) Size() (n int) { method Marshal (line 469) | func (p *EmptyCartArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 476) | func (p *EmptyCartArgs) Unmarshal(in []byte) error { method GetReq (line 487) | func (p *EmptyCartArgs) GetReq() *cart.EmptyCartReq { method IsSetReq (line 494) | func (p *EmptyCartArgs) IsSetReq() bool { method GetFirstArgument (line 498) | func (p *EmptyCartArgs) GetFirstArgument() interface{} { type EmptyCartResult (line 502) | type EmptyCartResult struct method FastRead (line 508) | func (p *EmptyCartResult) FastRead(buf []byte, _type int8, number int3... method FastWrite (line 515) | func (p *EmptyCartResult) FastWrite(buf []byte) (n int) { method Size (line 522) | func (p *EmptyCartResult) Size() (n int) { method Marshal (line 529) | func (p *EmptyCartResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 536) | func (p *EmptyCartResult) Unmarshal(in []byte) error { method GetSuccess (line 545) | func (p *EmptyCartResult) GetSuccess() *cart.EmptyCartResp { method SetSuccess (line 552) | func (p *EmptyCartResult) SetSuccess(x interface{}) { method IsSetSuccess (line 556) | func (p *EmptyCartResult) IsSetSuccess() bool { method GetResult (line 560) | func (p *EmptyCartResult) GetResult() interface{} { type kClient (line 564) | type kClient struct method AddItem (line 574) | func (p *kClient) AddItem(ctx context.Context, Req *cart.AddItemReq) (... method GetCart (line 584) | func (p *kClient) GetCart(ctx context.Context, Req *cart.GetCartReq) (... method EmptyCart (line 594) | func (p *kClient) EmptyCart(ctx context.Context, Req *cart.EmptyCartRe... function newServiceClient (line 568) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch13/rpc_gen/kitex_gen/cart/cartservice/client.go type Client (line 13) | type Client interface function NewClient (line 20) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 36) | func MustNewClient(destService string, opts ...client.Option) Client { type kCartServiceClient (line 44) | type kCartServiceClient struct method AddItem (line 48) | func (p *kCartServiceClient) AddItem(ctx context.Context, Req *cart.Ad... method GetCart (line 53) | func (p *kCartServiceClient) GetCart(ctx context.Context, Req *cart.Ge... method EmptyCart (line 58) | func (p *kCartServiceClient) EmptyCart(ctx context.Context, Req *cart.... FILE: gomall/tutorial/ch13/rpc_gen/kitex_gen/cart/cartservice/invoker.go function NewInvoker (line 11) | func NewInvoker(handler cart.CartService, opts ...server.Option) server.... FILE: gomall/tutorial/ch13/rpc_gen/kitex_gen/cart/cartservice/server.go function NewServer (line 10) | func NewServer(handler cart.CartService, opts ...server.Option) server.S... function RegisterService (line 22) | func RegisterService(svr server.Server, handler cart.CartService, opts .... FILE: gomall/tutorial/ch13/rpc_gen/kitex_gen/checkout/checkout.pb.fast.go method FastRead (line 16) | func (x *CheckoutReq) FastRead(buf []byte, _type int8, number int32) (of... method fastReadField1 (line 61) | func (x *CheckoutReq) fastReadField1(buf []byte, _type int8) (offset int... method fastReadField2 (line 66) | func (x *CheckoutReq) fastReadField2(buf []byte, _type int8) (offset int... method fastReadField3 (line 71) | func (x *CheckoutReq) fastReadField3(buf []byte, _type int8) (offset int... method fastReadField4 (line 76) | func (x *CheckoutReq) fastReadField4(buf []byte, _type int8) (offset int... method fastReadField5 (line 81) | func (x *CheckoutReq) fastReadField5(buf []byte, _type int8) (offset int... method fastReadField6 (line 91) | func (x *CheckoutReq) fastReadField6(buf []byte, _type int8) (offset int... method FastRead (line 101) | func (x *Address) FastRead(buf []byte, _type int8, number int32) (offset... method fastReadField1 (line 141) | func (x *Address) fastReadField1(buf []byte, _type int8) (offset int, er... method fastReadField2 (line 146) | func (x *Address) fastReadField2(buf []byte, _type int8) (offset int, er... method fastReadField3 (line 151) | func (x *Address) fastReadField3(buf []byte, _type int8) (offset int, er... method fastReadField4 (line 156) | func (x *Address) fastReadField4(buf []byte, _type int8) (offset int, er... method fastReadField5 (line 161) | func (x *Address) fastReadField5(buf []byte, _type int8) (offset int, er... method FastRead (line 166) | func (x *CheckoutResp) FastRead(buf []byte, _type int8, number int32) (o... method fastReadField1 (line 191) | func (x *CheckoutResp) fastReadField1(buf []byte, _type int8) (offset in... method fastReadField2 (line 196) | func (x *CheckoutResp) fastReadField2(buf []byte, _type int8) (offset in... method FastWrite (line 201) | func (x *CheckoutReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 214) | func (x *CheckoutReq) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 222) | func (x *CheckoutReq) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 230) | func (x *CheckoutReq) fastWriteField3(buf []byte) (offset int) { method fastWriteField4 (line 238) | func (x *CheckoutReq) fastWriteField4(buf []byte) (offset int) { method fastWriteField5 (line 246) | func (x *CheckoutReq) fastWriteField5(buf []byte) (offset int) { method fastWriteField6 (line 254) | func (x *CheckoutReq) fastWriteField6(buf []byte) (offset int) { method FastWrite (line 262) | func (x *Address) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 274) | func (x *Address) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 282) | func (x *Address) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 290) | func (x *Address) fastWriteField3(buf []byte) (offset int) { method fastWriteField4 (line 298) | func (x *Address) fastWriteField4(buf []byte) (offset int) { method fastWriteField5 (line 306) | func (x *Address) fastWriteField5(buf []byte) (offset int) { method FastWrite (line 314) | func (x *CheckoutResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 323) | func (x *CheckoutResp) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 331) | func (x *CheckoutResp) fastWriteField2(buf []byte) (offset int) { method Size (line 339) | func (x *CheckoutReq) Size() (n int) { method sizeField1 (line 352) | func (x *CheckoutReq) sizeField1() (n int) { method sizeField2 (line 360) | func (x *CheckoutReq) sizeField2() (n int) { method sizeField3 (line 368) | func (x *CheckoutReq) sizeField3() (n int) { method sizeField4 (line 376) | func (x *CheckoutReq) sizeField4() (n int) { method sizeField5 (line 384) | func (x *CheckoutReq) sizeField5() (n int) { method sizeField6 (line 392) | func (x *CheckoutReq) sizeField6() (n int) { method Size (line 400) | func (x *Address) Size() (n int) { method sizeField1 (line 412) | func (x *Address) sizeField1() (n int) { method sizeField2 (line 420) | func (x *Address) sizeField2() (n int) { method sizeField3 (line 428) | func (x *Address) sizeField3() (n int) { method sizeField4 (line 436) | func (x *Address) sizeField4() (n int) { method sizeField5 (line 444) | func (x *Address) sizeField5() (n int) { method Size (line 452) | func (x *CheckoutResp) Size() (n int) { method sizeField1 (line 461) | func (x *CheckoutResp) sizeField1() (n int) { method sizeField2 (line 469) | func (x *CheckoutResp) sizeField2() (n int) { FILE: gomall/tutorial/ch13/rpc_gen/kitex_gen/checkout/checkout.pb.go constant _ (line 20) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 22) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type CheckoutReq (line 25) | type CheckoutReq struct method Reset (line 38) | func (x *CheckoutReq) Reset() { method String (line 47) | func (x *CheckoutReq) String() string { method ProtoMessage (line 51) | func (*CheckoutReq) ProtoMessage() {} method ProtoReflect (line 53) | func (x *CheckoutReq) ProtoReflect() protoreflect.Message { method Descriptor (line 66) | func (*CheckoutReq) Descriptor() ([]byte, []int) { method GetUserId (line 70) | func (x *CheckoutReq) GetUserId() uint32 { method GetFirstname (line 77) | func (x *CheckoutReq) GetFirstname() string { method GetLastname (line 84) | func (x *CheckoutReq) GetLastname() string { method GetEmail (line 91) | func (x *CheckoutReq) GetEmail() string { method GetAddress (line 98) | func (x *CheckoutReq) GetAddress() *Address { method GetCreditCard (line 105) | func (x *CheckoutReq) GetCreditCard() *payment.CreditCardInfo { type Address (line 112) | type Address struct method Reset (line 124) | func (x *Address) Reset() { method String (line 133) | func (x *Address) String() string { method ProtoMessage (line 137) | func (*Address) ProtoMessage() {} method ProtoReflect (line 139) | func (x *Address) ProtoReflect() protoreflect.Message { method Descriptor (line 152) | func (*Address) Descriptor() ([]byte, []int) { method GetStreetAddress (line 156) | func (x *Address) GetStreetAddress() string { method GetCity (line 163) | func (x *Address) GetCity() string { method GetState (line 170) | func (x *Address) GetState() string { method GetCountry (line 177) | func (x *Address) GetCountry() string { method GetZipCode (line 184) | func (x *Address) GetZipCode() string { type CheckoutResp (line 191) | type CheckoutResp struct method Reset (line 200) | func (x *CheckoutResp) Reset() { method String (line 209) | func (x *CheckoutResp) String() string { method ProtoMessage (line 213) | func (*CheckoutResp) ProtoMessage() {} method ProtoReflect (line 215) | func (x *CheckoutResp) ProtoReflect() protoreflect.Message { method Descriptor (line 228) | func (*CheckoutResp) Descriptor() ([]byte, []int) { method GetOrderId (line 232) | func (x *CheckoutResp) GetOrderId() string { method GetTransactionId (line 239) | func (x *CheckoutResp) GetTransactionId() string { function file_checkout_proto_rawDescGZIP (line 297) | func file_checkout_proto_rawDescGZIP() []byte { function init (line 323) | func init() { file_checkout_proto_init() } function file_checkout_proto_init (line 324) | func file_checkout_proto_init() { type CheckoutService (line 390) | type CheckoutService interface FILE: gomall/tutorial/ch13/rpc_gen/kitex_gen/checkout/checkoutservice/checkoutservice.go function serviceInfo (line 34) | func serviceInfo() *kitex.ServiceInfo { function serviceInfoForStreamClient (line 39) | func serviceInfoForStreamClient() *kitex.ServiceInfo { function serviceInfoForClient (line 44) | func serviceInfoForClient() *kitex.ServiceInfo { function NewServiceInfo (line 49) | func NewServiceInfo() *kitex.ServiceInfo { function NewServiceInfoForClient (line 54) | func NewServiceInfoForClient() *kitex.ServiceInfo { function NewServiceInfoForStreamClient (line 57) | func NewServiceInfoForStreamClient() *kitex.ServiceInfo { function newServiceInfo (line 61) | func newServiceInfo(hasStreaming bool, keepStreamingMethods bool, keepNo... function checkoutHandler (line 91) | func checkoutHandler(ctx context.Context, handler interface{}, arg, resu... function newCheckoutArgs (line 116) | func newCheckoutArgs() interface{} { function newCheckoutResult (line 120) | func newCheckoutResult() interface{} { type CheckoutArgs (line 124) | type CheckoutArgs struct method FastRead (line 128) | func (p *CheckoutArgs) FastRead(buf []byte, _type int8, number int32) ... method FastWrite (line 135) | func (p *CheckoutArgs) FastWrite(buf []byte) (n int) { method Size (line 142) | func (p *CheckoutArgs) Size() (n int) { method Marshal (line 149) | func (p *CheckoutArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 156) | func (p *CheckoutArgs) Unmarshal(in []byte) error { method GetReq (line 167) | func (p *CheckoutArgs) GetReq() *checkout.CheckoutReq { method IsSetReq (line 174) | func (p *CheckoutArgs) IsSetReq() bool { method GetFirstArgument (line 178) | func (p *CheckoutArgs) GetFirstArgument() interface{} { type CheckoutResult (line 182) | type CheckoutResult struct method FastRead (line 188) | func (p *CheckoutResult) FastRead(buf []byte, _type int8, number int32... method FastWrite (line 195) | func (p *CheckoutResult) FastWrite(buf []byte) (n int) { method Size (line 202) | func (p *CheckoutResult) Size() (n int) { method Marshal (line 209) | func (p *CheckoutResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 216) | func (p *CheckoutResult) Unmarshal(in []byte) error { method GetSuccess (line 225) | func (p *CheckoutResult) GetSuccess() *checkout.CheckoutResp { method SetSuccess (line 232) | func (p *CheckoutResult) SetSuccess(x interface{}) { method IsSetSuccess (line 236) | func (p *CheckoutResult) IsSetSuccess() bool { method GetResult (line 240) | func (p *CheckoutResult) GetResult() interface{} { type kClient (line 244) | type kClient struct method Checkout (line 254) | func (p *kClient) Checkout(ctx context.Context, Req *checkout.Checkout... function newServiceClient (line 248) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch13/rpc_gen/kitex_gen/checkout/checkoutservice/client.go type Client (line 13) | type Client interface function NewClient (line 18) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 34) | func MustNewClient(destService string, opts ...client.Option) Client { type kCheckoutServiceClient (line 42) | type kCheckoutServiceClient struct method Checkout (line 46) | func (p *kCheckoutServiceClient) Checkout(ctx context.Context, Req *ch... FILE: gomall/tutorial/ch13/rpc_gen/kitex_gen/checkout/checkoutservice/invoker.go function NewInvoker (line 11) | func NewInvoker(handler checkout.CheckoutService, opts ...server.Option)... FILE: gomall/tutorial/ch13/rpc_gen/kitex_gen/checkout/checkoutservice/server.go function NewServer (line 10) | func NewServer(handler checkout.CheckoutService, opts ...server.Option) ... function RegisterService (line 22) | func RegisterService(svr server.Server, handler checkout.CheckoutService... FILE: gomall/tutorial/ch13/rpc_gen/kitex_gen/order/order.pb.fast.go method FastRead (line 16) | func (x *Address) FastRead(buf []byte, _type int8, number int32) (offset... method fastReadField1 (line 56) | func (x *Address) fastReadField1(buf []byte, _type int8) (offset int, er... method fastReadField2 (line 61) | func (x *Address) fastReadField2(buf []byte, _type int8) (offset int, er... method fastReadField3 (line 66) | func (x *Address) fastReadField3(buf []byte, _type int8) (offset int, er... method fastReadField4 (line 71) | func (x *Address) fastReadField4(buf []byte, _type int8) (offset int, er... method fastReadField5 (line 76) | func (x *Address) fastReadField5(buf []byte, _type int8) (offset int, er... method FastRead (line 81) | func (x *OrderItem) FastRead(buf []byte, _type int8, number int32) (offs... method fastReadField1 (line 106) | func (x *OrderItem) fastReadField1(buf []byte, _type int8) (offset int, ... method fastReadField2 (line 116) | func (x *OrderItem) fastReadField2(buf []byte, _type int8) (offset int, ... method FastRead (line 121) | func (x *PlaceOrderReq) FastRead(buf []byte, _type int8, number int32) (... method fastReadField1 (line 156) | func (x *PlaceOrderReq) fastReadField1(buf []byte, _type int8) (offset i... method fastReadField3 (line 161) | func (x *PlaceOrderReq) fastReadField3(buf []byte, _type int8) (offset i... method fastReadField4 (line 171) | func (x *PlaceOrderReq) fastReadField4(buf []byte, _type int8) (offset i... method fastReadField5 (line 176) | func (x *PlaceOrderReq) fastReadField5(buf []byte, _type int8) (offset i... method FastRead (line 186) | func (x *OrderResult) FastRead(buf []byte, _type int8, number int32) (of... method fastReadField1 (line 206) | func (x *OrderResult) fastReadField1(buf []byte, _type int8) (offset int... method FastRead (line 211) | func (x *PlaceOrderResp) FastRead(buf []byte, _type int8, number int32) ... method fastReadField1 (line 231) | func (x *PlaceOrderResp) fastReadField1(buf []byte, _type int8) (offset ... method FastRead (line 241) | func (x *ListOrderReq) FastRead(buf []byte, _type int8, number int32) (o... method fastReadField1 (line 261) | func (x *ListOrderReq) fastReadField1(buf []byte, _type int8) (offset in... method FastRead (line 266) | func (x *Order) FastRead(buf []byte, _type int8, number int32) (offset i... method fastReadField1 (line 311) | func (x *Order) fastReadField1(buf []byte, _type int8) (offset int, err ... method fastReadField2 (line 321) | func (x *Order) fastReadField2(buf []byte, _type int8) (offset int, err ... method fastReadField3 (line 326) | func (x *Order) fastReadField3(buf []byte, _type int8) (offset int, err ... method fastReadField4 (line 331) | func (x *Order) fastReadField4(buf []byte, _type int8) (offset int, err ... method fastReadField5 (line 341) | func (x *Order) fastReadField5(buf []byte, _type int8) (offset int, err ... method fastReadField6 (line 346) | func (x *Order) fastReadField6(buf []byte, _type int8) (offset int, err ... method FastRead (line 351) | func (x *ListOrderResp) FastRead(buf []byte, _type int8, number int32) (... method fastReadField1 (line 371) | func (x *ListOrderResp) fastReadField1(buf []byte, _type int8) (offset i... method FastWrite (line 381) | func (x *Address) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 393) | func (x *Address) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 401) | func (x *Address) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 409) | func (x *Address) fastWriteField3(buf []byte) (offset int) { method fastWriteField4 (line 417) | func (x *Address) fastWriteField4(buf []byte) (offset int) { method fastWriteField5 (line 425) | func (x *Address) fastWriteField5(buf []byte) (offset int) { method FastWrite (line 433) | func (x *OrderItem) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 442) | func (x *OrderItem) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 450) | func (x *OrderItem) fastWriteField2(buf []byte) (offset int) { method FastWrite (line 458) | func (x *PlaceOrderReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 469) | func (x *PlaceOrderReq) fastWriteField1(buf []byte) (offset int) { method fastWriteField3 (line 477) | func (x *PlaceOrderReq) fastWriteField3(buf []byte) (offset int) { method fastWriteField4 (line 485) | func (x *PlaceOrderReq) fastWriteField4(buf []byte) (offset int) { method fastWriteField5 (line 493) | func (x *PlaceOrderReq) fastWriteField5(buf []byte) (offset int) { method FastWrite (line 503) | func (x *OrderResult) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 511) | func (x *OrderResult) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 519) | func (x *PlaceOrderResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 527) | func (x *PlaceOrderResp) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 535) | func (x *ListOrderReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 543) | func (x *ListOrderReq) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 551) | func (x *Order) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 564) | func (x *Order) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 574) | func (x *Order) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 582) | func (x *Order) fastWriteField3(buf []byte) (offset int) { method fastWriteField4 (line 590) | func (x *Order) fastWriteField4(buf []byte) (offset int) { method fastWriteField5 (line 598) | func (x *Order) fastWriteField5(buf []byte) (offset int) { method fastWriteField6 (line 606) | func (x *Order) fastWriteField6(buf []byte) (offset int) { method FastWrite (line 614) | func (x *ListOrderResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 622) | func (x *ListOrderResp) fastWriteField1(buf []byte) (offset int) { method Size (line 632) | func (x *Address) Size() (n int) { method sizeField1 (line 644) | func (x *Address) sizeField1() (n int) { method sizeField2 (line 652) | func (x *Address) sizeField2() (n int) { method sizeField3 (line 660) | func (x *Address) sizeField3() (n int) { method sizeField4 (line 668) | func (x *Address) sizeField4() (n int) { method sizeField5 (line 676) | func (x *Address) sizeField5() (n int) { method Size (line 684) | func (x *OrderItem) Size() (n int) { method sizeField1 (line 693) | func (x *OrderItem) sizeField1() (n int) { method sizeField2 (line 701) | func (x *OrderItem) sizeField2() (n int) { method Size (line 709) | func (x *PlaceOrderReq) Size() (n int) { method sizeField1 (line 720) | func (x *PlaceOrderReq) sizeField1() (n int) { method sizeField3 (line 728) | func (x *PlaceOrderReq) sizeField3() (n int) { method sizeField4 (line 736) | func (x *PlaceOrderReq) sizeField4() (n int) { method sizeField5 (line 744) | func (x *PlaceOrderReq) sizeField5() (n int) { method Size (line 754) | func (x *OrderResult) Size() (n int) { method sizeField1 (line 762) | func (x *OrderResult) sizeField1() (n int) { method Size (line 770) | func (x *PlaceOrderResp) Size() (n int) { method sizeField1 (line 778) | func (x *PlaceOrderResp) sizeField1() (n int) { method Size (line 786) | func (x *ListOrderReq) Size() (n int) { method sizeField1 (line 794) | func (x *ListOrderReq) sizeField1() (n int) { method Size (line 802) | func (x *Order) Size() (n int) { method sizeField1 (line 815) | func (x *Order) sizeField1() (n int) { method sizeField2 (line 825) | func (x *Order) sizeField2() (n int) { method sizeField3 (line 833) | func (x *Order) sizeField3() (n int) { method sizeField4 (line 841) | func (x *Order) sizeField4() (n int) { method sizeField5 (line 849) | func (x *Order) sizeField5() (n int) { method sizeField6 (line 857) | func (x *Order) sizeField6() (n int) { method Size (line 865) | func (x *ListOrderResp) Size() (n int) { method sizeField1 (line 873) | func (x *ListOrderResp) sizeField1() (n int) { FILE: gomall/tutorial/ch13/rpc_gen/kitex_gen/order/order.pb.go constant _ (line 20) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 22) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Address (line 25) | type Address struct method Reset (line 37) | func (x *Address) Reset() { method String (line 46) | func (x *Address) String() string { method ProtoMessage (line 50) | func (*Address) ProtoMessage() {} method ProtoReflect (line 52) | func (x *Address) ProtoReflect() protoreflect.Message { method Descriptor (line 65) | func (*Address) Descriptor() ([]byte, []int) { method GetStreetAddress (line 69) | func (x *Address) GetStreetAddress() string { method GetCity (line 76) | func (x *Address) GetCity() string { method GetState (line 83) | func (x *Address) GetState() string { method GetCountry (line 90) | func (x *Address) GetCountry() string { method GetZipCode (line 97) | func (x *Address) GetZipCode() string { type OrderItem (line 104) | type OrderItem struct method Reset (line 113) | func (x *OrderItem) Reset() { method String (line 122) | func (x *OrderItem) String() string { method ProtoMessage (line 126) | func (*OrderItem) ProtoMessage() {} method ProtoReflect (line 128) | func (x *OrderItem) ProtoReflect() protoreflect.Message { method Descriptor (line 141) | func (*OrderItem) Descriptor() ([]byte, []int) { method GetItem (line 145) | func (x *OrderItem) GetItem() *cart.CartItem { method GetCost (line 152) | func (x *OrderItem) GetCost() float32 { type PlaceOrderReq (line 159) | type PlaceOrderReq struct method Reset (line 170) | func (x *PlaceOrderReq) Reset() { method String (line 179) | func (x *PlaceOrderReq) String() string { method ProtoMessage (line 183) | func (*PlaceOrderReq) ProtoMessage() {} method ProtoReflect (line 185) | func (x *PlaceOrderReq) ProtoReflect() protoreflect.Message { method Descriptor (line 198) | func (*PlaceOrderReq) Descriptor() ([]byte, []int) { method GetUserId (line 202) | func (x *PlaceOrderReq) GetUserId() uint32 { method GetAddress (line 209) | func (x *PlaceOrderReq) GetAddress() *Address { method GetEmail (line 216) | func (x *PlaceOrderReq) GetEmail() string { method GetItems (line 223) | func (x *PlaceOrderReq) GetItems() []*OrderItem { type OrderResult (line 230) | type OrderResult struct method Reset (line 238) | func (x *OrderResult) Reset() { method String (line 247) | func (x *OrderResult) String() string { method ProtoMessage (line 251) | func (*OrderResult) ProtoMessage() {} method ProtoReflect (line 253) | func (x *OrderResult) ProtoReflect() protoreflect.Message { method Descriptor (line 266) | func (*OrderResult) Descriptor() ([]byte, []int) { method GetOrderId (line 270) | func (x *OrderResult) GetOrderId() string { type PlaceOrderResp (line 277) | type PlaceOrderResp struct method Reset (line 285) | func (x *PlaceOrderResp) Reset() { method String (line 294) | func (x *PlaceOrderResp) String() string { method ProtoMessage (line 298) | func (*PlaceOrderResp) ProtoMessage() {} method ProtoReflect (line 300) | func (x *PlaceOrderResp) ProtoReflect() protoreflect.Message { method Descriptor (line 313) | func (*PlaceOrderResp) Descriptor() ([]byte, []int) { method GetOrder (line 317) | func (x *PlaceOrderResp) GetOrder() *OrderResult { type ListOrderReq (line 324) | type ListOrderReq struct method Reset (line 332) | func (x *ListOrderReq) Reset() { method String (line 341) | func (x *ListOrderReq) String() string { method ProtoMessage (line 345) | func (*ListOrderReq) ProtoMessage() {} method ProtoReflect (line 347) | func (x *ListOrderReq) ProtoReflect() protoreflect.Message { method Descriptor (line 360) | func (*ListOrderReq) Descriptor() ([]byte, []int) { method GetUserId (line 364) | func (x *ListOrderReq) GetUserId() uint32 { type Order (line 371) | type Order struct method Reset (line 384) | func (x *Order) Reset() { method String (line 393) | func (x *Order) String() string { method ProtoMessage (line 397) | func (*Order) ProtoMessage() {} method ProtoReflect (line 399) | func (x *Order) ProtoReflect() protoreflect.Message { method Descriptor (line 412) | func (*Order) Descriptor() ([]byte, []int) { method GetItems (line 416) | func (x *Order) GetItems() []*OrderItem { method GetOrderId (line 423) | func (x *Order) GetOrderId() string { method GetUserId (line 430) | func (x *Order) GetUserId() uint32 { method GetAddress (line 437) | func (x *Order) GetAddress() *Address { method GetEmail (line 444) | func (x *Order) GetEmail() string { method GetCreatedAt (line 451) | func (x *Order) GetCreatedAt() int32 { type ListOrderResp (line 458) | type ListOrderResp struct method Reset (line 466) | func (x *ListOrderResp) Reset() { method String (line 475) | func (x *ListOrderResp) String() string { method ProtoMessage (line 479) | func (*ListOrderResp) ProtoMessage() {} method ProtoReflect (line 481) | func (x *ListOrderResp) ProtoReflect() protoreflect.Message { method Descriptor (line 494) | func (*ListOrderResp) Descriptor() ([]byte, []int) { method GetOrders (line 498) | func (x *ListOrderResp) GetOrders() []*Order { function file_order_proto_rawDescGZIP (line 578) | func file_order_proto_rawDescGZIP() []byte { function init (line 616) | func init() { file_order_proto_init() } function file_order_proto_init (line 617) | func file_order_proto_init() { type OrderService (line 743) | type OrderService interface FILE: gomall/tutorial/ch13/rpc_gen/kitex_gen/order/orderservice/client.go type Client (line 13) | type Client interface function NewClient (line 19) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 35) | func MustNewClient(destService string, opts ...client.Option) Client { type kOrderServiceClient (line 43) | type kOrderServiceClient struct method PlaceOrder (line 47) | func (p *kOrderServiceClient) PlaceOrder(ctx context.Context, Req *ord... method ListOrder (line 52) | func (p *kOrderServiceClient) ListOrder(ctx context.Context, Req *orde... FILE: gomall/tutorial/ch13/rpc_gen/kitex_gen/order/orderservice/invoker.go function NewInvoker (line 11) | func NewInvoker(handler order.OrderService, opts ...server.Option) serve... FILE: gomall/tutorial/ch13/rpc_gen/kitex_gen/order/orderservice/orderservice.go function serviceInfo (line 41) | func serviceInfo() *kitex.ServiceInfo { function serviceInfoForStreamClient (line 46) | func serviceInfoForStreamClient() *kitex.ServiceInfo { function serviceInfoForClient (line 51) | func serviceInfoForClient() *kitex.ServiceInfo { function NewServiceInfo (line 56) | func NewServiceInfo() *kitex.ServiceInfo { function NewServiceInfoForClient (line 61) | func NewServiceInfoForClient() *kitex.ServiceInfo { function NewServiceInfoForStreamClient (line 64) | func NewServiceInfoForStreamClient() *kitex.ServiceInfo { function newServiceInfo (line 68) | func newServiceInfo(hasStreaming bool, keepStreamingMethods bool, keepNo... function placeOrderHandler (line 98) | func placeOrderHandler(ctx context.Context, handler interface{}, arg, re... function newPlaceOrderArgs (line 123) | func newPlaceOrderArgs() interface{} { function newPlaceOrderResult (line 127) | func newPlaceOrderResult() interface{} { type PlaceOrderArgs (line 131) | type PlaceOrderArgs struct method FastRead (line 135) | func (p *PlaceOrderArgs) FastRead(buf []byte, _type int8, number int32... method FastWrite (line 142) | func (p *PlaceOrderArgs) FastWrite(buf []byte) (n int) { method Size (line 149) | func (p *PlaceOrderArgs) Size() (n int) { method Marshal (line 156) | func (p *PlaceOrderArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 163) | func (p *PlaceOrderArgs) Unmarshal(in []byte) error { method GetReq (line 174) | func (p *PlaceOrderArgs) GetReq() *order.PlaceOrderReq { method IsSetReq (line 181) | func (p *PlaceOrderArgs) IsSetReq() bool { method GetFirstArgument (line 185) | func (p *PlaceOrderArgs) GetFirstArgument() interface{} { type PlaceOrderResult (line 189) | type PlaceOrderResult struct method FastRead (line 195) | func (p *PlaceOrderResult) FastRead(buf []byte, _type int8, number int... method FastWrite (line 202) | func (p *PlaceOrderResult) FastWrite(buf []byte) (n int) { method Size (line 209) | func (p *PlaceOrderResult) Size() (n int) { method Marshal (line 216) | func (p *PlaceOrderResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 223) | func (p *PlaceOrderResult) Unmarshal(in []byte) error { method GetSuccess (line 232) | func (p *PlaceOrderResult) GetSuccess() *order.PlaceOrderResp { method SetSuccess (line 239) | func (p *PlaceOrderResult) SetSuccess(x interface{}) { method IsSetSuccess (line 243) | func (p *PlaceOrderResult) IsSetSuccess() bool { method GetResult (line 247) | func (p *PlaceOrderResult) GetResult() interface{} { function listOrderHandler (line 251) | func listOrderHandler(ctx context.Context, handler interface{}, arg, res... function newListOrderArgs (line 276) | func newListOrderArgs() interface{} { function newListOrderResult (line 280) | func newListOrderResult() interface{} { type ListOrderArgs (line 284) | type ListOrderArgs struct method FastRead (line 288) | func (p *ListOrderArgs) FastRead(buf []byte, _type int8, number int32)... method FastWrite (line 295) | func (p *ListOrderArgs) FastWrite(buf []byte) (n int) { method Size (line 302) | func (p *ListOrderArgs) Size() (n int) { method Marshal (line 309) | func (p *ListOrderArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 316) | func (p *ListOrderArgs) Unmarshal(in []byte) error { method GetReq (line 327) | func (p *ListOrderArgs) GetReq() *order.ListOrderReq { method IsSetReq (line 334) | func (p *ListOrderArgs) IsSetReq() bool { method GetFirstArgument (line 338) | func (p *ListOrderArgs) GetFirstArgument() interface{} { type ListOrderResult (line 342) | type ListOrderResult struct method FastRead (line 348) | func (p *ListOrderResult) FastRead(buf []byte, _type int8, number int3... method FastWrite (line 355) | func (p *ListOrderResult) FastWrite(buf []byte) (n int) { method Size (line 362) | func (p *ListOrderResult) Size() (n int) { method Marshal (line 369) | func (p *ListOrderResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 376) | func (p *ListOrderResult) Unmarshal(in []byte) error { method GetSuccess (line 385) | func (p *ListOrderResult) GetSuccess() *order.ListOrderResp { method SetSuccess (line 392) | func (p *ListOrderResult) SetSuccess(x interface{}) { method IsSetSuccess (line 396) | func (p *ListOrderResult) IsSetSuccess() bool { method GetResult (line 400) | func (p *ListOrderResult) GetResult() interface{} { type kClient (line 404) | type kClient struct method PlaceOrder (line 414) | func (p *kClient) PlaceOrder(ctx context.Context, Req *order.PlaceOrde... method ListOrder (line 424) | func (p *kClient) ListOrder(ctx context.Context, Req *order.ListOrderR... function newServiceClient (line 408) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch13/rpc_gen/kitex_gen/order/orderservice/server.go function NewServer (line 10) | func NewServer(handler order.OrderService, opts ...server.Option) server... function RegisterService (line 22) | func RegisterService(svr server.Server, handler order.OrderService, opts... FILE: gomall/tutorial/ch13/rpc_gen/kitex_gen/payment/payment.pb.fast.go method FastRead (line 15) | func (x *CreditCardInfo) FastRead(buf []byte, _type int8, number int32) ... method fastReadField1 (line 50) | func (x *CreditCardInfo) fastReadField1(buf []byte, _type int8) (offset ... method fastReadField2 (line 55) | func (x *CreditCardInfo) fastReadField2(buf []byte, _type int8) (offset ... method fastReadField3 (line 60) | func (x *CreditCardInfo) fastReadField3(buf []byte, _type int8) (offset ... method fastReadField4 (line 65) | func (x *CreditCardInfo) fastReadField4(buf []byte, _type int8) (offset ... method FastRead (line 70) | func (x *ChargeReq) FastRead(buf []byte, _type int8, number int32) (offs... method fastReadField1 (line 105) | func (x *ChargeReq) fastReadField1(buf []byte, _type int8) (offset int, ... method fastReadField2 (line 110) | func (x *ChargeReq) fastReadField2(buf []byte, _type int8) (offset int, ... method fastReadField3 (line 120) | func (x *ChargeReq) fastReadField3(buf []byte, _type int8) (offset int, ... method fastReadField4 (line 125) | func (x *ChargeReq) fastReadField4(buf []byte, _type int8) (offset int, ... method FastRead (line 130) | func (x *ChargeResp) FastRead(buf []byte, _type int8, number int32) (off... method fastReadField1 (line 150) | func (x *ChargeResp) fastReadField1(buf []byte, _type int8) (offset int,... method FastWrite (line 155) | func (x *CreditCardInfo) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 166) | func (x *CreditCardInfo) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 174) | func (x *CreditCardInfo) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 182) | func (x *CreditCardInfo) fastWriteField3(buf []byte) (offset int) { method fastWriteField4 (line 190) | func (x *CreditCardInfo) fastWriteField4(buf []byte) (offset int) { method FastWrite (line 198) | func (x *ChargeReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 209) | func (x *ChargeReq) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 217) | func (x *ChargeReq) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 225) | func (x *ChargeReq) fastWriteField3(buf []byte) (offset int) { method fastWriteField4 (line 233) | func (x *ChargeReq) fastWriteField4(buf []byte) (offset int) { method FastWrite (line 241) | func (x *ChargeResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 249) | func (x *ChargeResp) fastWriteField1(buf []byte) (offset int) { method Size (line 257) | func (x *CreditCardInfo) Size() (n int) { method sizeField1 (line 268) | func (x *CreditCardInfo) sizeField1() (n int) { method sizeField2 (line 276) | func (x *CreditCardInfo) sizeField2() (n int) { method sizeField3 (line 284) | func (x *CreditCardInfo) sizeField3() (n int) { method sizeField4 (line 292) | func (x *CreditCardInfo) sizeField4() (n int) { method Size (line 300) | func (x *ChargeReq) Size() (n int) { method sizeField1 (line 311) | func (x *ChargeReq) sizeField1() (n int) { method sizeField2 (line 319) | func (x *ChargeReq) sizeField2() (n int) { method sizeField3 (line 327) | func (x *ChargeReq) sizeField3() (n int) { method sizeField4 (line 335) | func (x *ChargeReq) sizeField4() (n int) { method Size (line 343) | func (x *ChargeResp) Size() (n int) { method sizeField1 (line 351) | func (x *ChargeResp) sizeField1() (n int) { FILE: gomall/tutorial/ch13/rpc_gen/kitex_gen/payment/payment.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type CreditCardInfo (line 24) | type CreditCardInfo struct method Reset (line 35) | func (x *CreditCardInfo) Reset() { method String (line 44) | func (x *CreditCardInfo) String() string { method ProtoMessage (line 48) | func (*CreditCardInfo) ProtoMessage() {} method ProtoReflect (line 50) | func (x *CreditCardInfo) ProtoReflect() protoreflect.Message { method Descriptor (line 63) | func (*CreditCardInfo) Descriptor() ([]byte, []int) { method GetCreditCardNumber (line 67) | func (x *CreditCardInfo) GetCreditCardNumber() string { method GetCreditCardCvv (line 74) | func (x *CreditCardInfo) GetCreditCardCvv() int32 { method GetCreditCardExpirationYear (line 81) | func (x *CreditCardInfo) GetCreditCardExpirationYear() int32 { method GetCreditCardExpirationMonth (line 88) | func (x *CreditCardInfo) GetCreditCardExpirationMonth() int32 { type ChargeReq (line 95) | type ChargeReq struct method Reset (line 106) | func (x *ChargeReq) Reset() { method String (line 115) | func (x *ChargeReq) String() string { method ProtoMessage (line 119) | func (*ChargeReq) ProtoMessage() {} method ProtoReflect (line 121) | func (x *ChargeReq) ProtoReflect() protoreflect.Message { method Descriptor (line 134) | func (*ChargeReq) Descriptor() ([]byte, []int) { method GetAmount (line 138) | func (x *ChargeReq) GetAmount() float32 { method GetCreditCard (line 145) | func (x *ChargeReq) GetCreditCard() *CreditCardInfo { method GetOrderId (line 152) | func (x *ChargeReq) GetOrderId() string { method GetUserId (line 159) | func (x *ChargeReq) GetUserId() uint32 { type ChargeResp (line 166) | type ChargeResp struct method Reset (line 174) | func (x *ChargeResp) Reset() { method String (line 183) | func (x *ChargeResp) String() string { method ProtoMessage (line 187) | func (*ChargeResp) ProtoMessage() {} method ProtoReflect (line 189) | func (x *ChargeResp) ProtoReflect() protoreflect.Message { method Descriptor (line 202) | func (*ChargeResp) Descriptor() ([]byte, []int) { method GetTransactionId (line 206) | func (x *ChargeResp) GetTransactionId() string { function file_payment_proto_rawDescGZIP (line 261) | func file_payment_proto_rawDescGZIP() []byte { function init (line 285) | func init() { file_payment_proto_init() } function file_payment_proto_init (line 286) | func file_payment_proto_init() { type PaymentService (line 352) | type PaymentService interface FILE: gomall/tutorial/ch13/rpc_gen/kitex_gen/payment/paymentservice/client.go type Client (line 13) | type Client interface function NewClient (line 18) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 34) | func MustNewClient(destService string, opts ...client.Option) Client { type kPaymentServiceClient (line 42) | type kPaymentServiceClient struct method Charge (line 46) | func (p *kPaymentServiceClient) Charge(ctx context.Context, Req *payme... FILE: gomall/tutorial/ch13/rpc_gen/kitex_gen/payment/paymentservice/invoker.go function NewInvoker (line 11) | func NewInvoker(handler payment.PaymentService, opts ...server.Option) s... FILE: gomall/tutorial/ch13/rpc_gen/kitex_gen/payment/paymentservice/paymentservice.go function serviceInfo (line 34) | func serviceInfo() *kitex.ServiceInfo { function serviceInfoForStreamClient (line 39) | func serviceInfoForStreamClient() *kitex.ServiceInfo { function serviceInfoForClient (line 44) | func serviceInfoForClient() *kitex.ServiceInfo { function NewServiceInfo (line 49) | func NewServiceInfo() *kitex.ServiceInfo { function NewServiceInfoForClient (line 54) | func NewServiceInfoForClient() *kitex.ServiceInfo { function NewServiceInfoForStreamClient (line 57) | func NewServiceInfoForStreamClient() *kitex.ServiceInfo { function newServiceInfo (line 61) | func newServiceInfo(hasStreaming bool, keepStreamingMethods bool, keepNo... function chargeHandler (line 91) | func chargeHandler(ctx context.Context, handler interface{}, arg, result... function newChargeArgs (line 116) | func newChargeArgs() interface{} { function newChargeResult (line 120) | func newChargeResult() interface{} { type ChargeArgs (line 124) | type ChargeArgs struct method FastRead (line 128) | func (p *ChargeArgs) FastRead(buf []byte, _type int8, number int32) (n... method FastWrite (line 135) | func (p *ChargeArgs) FastWrite(buf []byte) (n int) { method Size (line 142) | func (p *ChargeArgs) Size() (n int) { method Marshal (line 149) | func (p *ChargeArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 156) | func (p *ChargeArgs) Unmarshal(in []byte) error { method GetReq (line 167) | func (p *ChargeArgs) GetReq() *payment.ChargeReq { method IsSetReq (line 174) | func (p *ChargeArgs) IsSetReq() bool { method GetFirstArgument (line 178) | func (p *ChargeArgs) GetFirstArgument() interface{} { type ChargeResult (line 182) | type ChargeResult struct method FastRead (line 188) | func (p *ChargeResult) FastRead(buf []byte, _type int8, number int32) ... method FastWrite (line 195) | func (p *ChargeResult) FastWrite(buf []byte) (n int) { method Size (line 202) | func (p *ChargeResult) Size() (n int) { method Marshal (line 209) | func (p *ChargeResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 216) | func (p *ChargeResult) Unmarshal(in []byte) error { method GetSuccess (line 225) | func (p *ChargeResult) GetSuccess() *payment.ChargeResp { method SetSuccess (line 232) | func (p *ChargeResult) SetSuccess(x interface{}) { method IsSetSuccess (line 236) | func (p *ChargeResult) IsSetSuccess() bool { method GetResult (line 240) | func (p *ChargeResult) GetResult() interface{} { type kClient (line 244) | type kClient struct method Charge (line 254) | func (p *kClient) Charge(ctx context.Context, Req *payment.ChargeReq) ... function newServiceClient (line 248) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch13/rpc_gen/kitex_gen/payment/paymentservice/server.go function NewServer (line 10) | func NewServer(handler payment.PaymentService, opts ...server.Option) se... function RegisterService (line 22) | func RegisterService(svr server.Server, handler payment.PaymentService, ... FILE: gomall/tutorial/ch13/rpc_gen/kitex_gen/product/product.pb.fast.go method FastRead (line 15) | func (x *ListProductsReq) FastRead(buf []byte, _type int8, number int32)... method fastReadField1 (line 45) | func (x *ListProductsReq) fastReadField1(buf []byte, _type int8) (offset... method fastReadField2 (line 50) | func (x *ListProductsReq) fastReadField2(buf []byte, _type int8) (offset... method fastReadField3 (line 55) | func (x *ListProductsReq) fastReadField3(buf []byte, _type int8) (offset... method FastRead (line 60) | func (x *Product) FastRead(buf []byte, _type int8, number int32) (offset... method fastReadField1 (line 105) | func (x *Product) fastReadField1(buf []byte, _type int8) (offset int, er... method fastReadField2 (line 110) | func (x *Product) fastReadField2(buf []byte, _type int8) (offset int, er... method fastReadField3 (line 115) | func (x *Product) fastReadField3(buf []byte, _type int8) (offset int, er... method fastReadField4 (line 120) | func (x *Product) fastReadField4(buf []byte, _type int8) (offset int, er... method fastReadField5 (line 125) | func (x *Product) fastReadField5(buf []byte, _type int8) (offset int, er... method fastReadField6 (line 130) | func (x *Product) fastReadField6(buf []byte, _type int8) (offset int, er... method FastRead (line 140) | func (x *ListProductsResp) FastRead(buf []byte, _type int8, number int32... method fastReadField1 (line 160) | func (x *ListProductsResp) fastReadField1(buf []byte, _type int8) (offse... method FastRead (line 170) | func (x *GetProductReq) FastRead(buf []byte, _type int8, number int32) (... method fastReadField1 (line 190) | func (x *GetProductReq) fastReadField1(buf []byte, _type int8) (offset i... method FastRead (line 195) | func (x *GetProductResp) FastRead(buf []byte, _type int8, number int32) ... method fastReadField1 (line 215) | func (x *GetProductResp) fastReadField1(buf []byte, _type int8) (offset ... method FastRead (line 225) | func (x *SearchProductsReq) FastRead(buf []byte, _type int8, number int3... method fastReadField1 (line 245) | func (x *SearchProductsReq) fastReadField1(buf []byte, _type int8) (offs... method FastRead (line 250) | func (x *SearchProductsResp) FastRead(buf []byte, _type int8, number int... method fastReadField1 (line 270) | func (x *SearchProductsResp) fastReadField1(buf []byte, _type int8) (off... method FastWrite (line 280) | func (x *ListProductsReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 290) | func (x *ListProductsReq) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 298) | func (x *ListProductsReq) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 306) | func (x *ListProductsReq) fastWriteField3(buf []byte) (offset int) { method FastWrite (line 314) | func (x *Product) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 327) | func (x *Product) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 335) | func (x *Product) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 343) | func (x *Product) fastWriteField3(buf []byte) (offset int) { method fastWriteField4 (line 351) | func (x *Product) fastWriteField4(buf []byte) (offset int) { method fastWriteField5 (line 359) | func (x *Product) fastWriteField5(buf []byte) (offset int) { method fastWriteField6 (line 367) | func (x *Product) fastWriteField6(buf []byte) (offset int) { method FastWrite (line 377) | func (x *ListProductsResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 385) | func (x *ListProductsResp) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 395) | func (x *GetProductReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 403) | func (x *GetProductReq) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 411) | func (x *GetProductResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 419) | func (x *GetProductResp) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 427) | func (x *SearchProductsReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 435) | func (x *SearchProductsReq) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 443) | func (x *SearchProductsResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 451) | func (x *SearchProductsResp) fastWriteField1(buf []byte) (offset int) { method Size (line 461) | func (x *ListProductsReq) Size() (n int) { method sizeField1 (line 471) | func (x *ListProductsReq) sizeField1() (n int) { method sizeField2 (line 479) | func (x *ListProductsReq) sizeField2() (n int) { method sizeField3 (line 487) | func (x *ListProductsReq) sizeField3() (n int) { method Size (line 495) | func (x *Product) Size() (n int) { method sizeField1 (line 508) | func (x *Product) sizeField1() (n int) { method sizeField2 (line 516) | func (x *Product) sizeField2() (n int) { method sizeField3 (line 524) | func (x *Product) sizeField3() (n int) { method sizeField4 (line 532) | func (x *Product) sizeField4() (n int) { method sizeField5 (line 540) | func (x *Product) sizeField5() (n int) { method sizeField6 (line 548) | func (x *Product) sizeField6() (n int) { method Size (line 558) | func (x *ListProductsResp) Size() (n int) { method sizeField1 (line 566) | func (x *ListProductsResp) sizeField1() (n int) { method Size (line 576) | func (x *GetProductReq) Size() (n int) { method sizeField1 (line 584) | func (x *GetProductReq) sizeField1() (n int) { method Size (line 592) | func (x *GetProductResp) Size() (n int) { method sizeField1 (line 600) | func (x *GetProductResp) sizeField1() (n int) { method Size (line 608) | func (x *SearchProductsReq) Size() (n int) { method sizeField1 (line 616) | func (x *SearchProductsReq) sizeField1() (n int) { method Size (line 624) | func (x *SearchProductsResp) Size() (n int) { method sizeField1 (line 632) | func (x *SearchProductsResp) sizeField1() (n int) { FILE: gomall/tutorial/ch13/rpc_gen/kitex_gen/product/product.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type ListProductsReq (line 24) | type ListProductsReq struct method Reset (line 34) | func (x *ListProductsReq) Reset() { method String (line 43) | func (x *ListProductsReq) String() string { method ProtoMessage (line 47) | func (*ListProductsReq) ProtoMessage() {} method ProtoReflect (line 49) | func (x *ListProductsReq) ProtoReflect() protoreflect.Message { method Descriptor (line 62) | func (*ListProductsReq) Descriptor() ([]byte, []int) { method GetPage (line 66) | func (x *ListProductsReq) GetPage() int32 { method GetPageSize (line 73) | func (x *ListProductsReq) GetPageSize() int32 { method GetCategoryName (line 80) | func (x *ListProductsReq) GetCategoryName() string { type Product (line 87) | type Product struct method Reset (line 100) | func (x *Product) Reset() { method String (line 109) | func (x *Product) String() string { method ProtoMessage (line 113) | func (*Product) ProtoMessage() {} method ProtoReflect (line 115) | func (x *Product) ProtoReflect() protoreflect.Message { method Descriptor (line 128) | func (*Product) Descriptor() ([]byte, []int) { method GetId (line 132) | func (x *Product) GetId() uint32 { method GetName (line 139) | func (x *Product) GetName() string { method GetDescription (line 146) | func (x *Product) GetDescription() string { method GetPicture (line 153) | func (x *Product) GetPicture() string { method GetPrice (line 160) | func (x *Product) GetPrice() float32 { method GetCategories (line 167) | func (x *Product) GetCategories() []string { type ListProductsResp (line 174) | type ListProductsResp struct method Reset (line 182) | func (x *ListProductsResp) Reset() { method String (line 191) | func (x *ListProductsResp) String() string { method ProtoMessage (line 195) | func (*ListProductsResp) ProtoMessage() {} method ProtoReflect (line 197) | func (x *ListProductsResp) ProtoReflect() protoreflect.Message { method Descriptor (line 210) | func (*ListProductsResp) Descriptor() ([]byte, []int) { method GetProducts (line 214) | func (x *ListProductsResp) GetProducts() []*Product { type GetProductReq (line 221) | type GetProductReq struct method Reset (line 229) | func (x *GetProductReq) Reset() { method String (line 238) | func (x *GetProductReq) String() string { method ProtoMessage (line 242) | func (*GetProductReq) ProtoMessage() {} method ProtoReflect (line 244) | func (x *GetProductReq) ProtoReflect() protoreflect.Message { method Descriptor (line 257) | func (*GetProductReq) Descriptor() ([]byte, []int) { method GetId (line 261) | func (x *GetProductReq) GetId() uint32 { type GetProductResp (line 268) | type GetProductResp struct method Reset (line 276) | func (x *GetProductResp) Reset() { method String (line 285) | func (x *GetProductResp) String() string { method ProtoMessage (line 289) | func (*GetProductResp) ProtoMessage() {} method ProtoReflect (line 291) | func (x *GetProductResp) ProtoReflect() protoreflect.Message { method Descriptor (line 304) | func (*GetProductResp) Descriptor() ([]byte, []int) { method GetProduct (line 308) | func (x *GetProductResp) GetProduct() *Product { type SearchProductsReq (line 315) | type SearchProductsReq struct method Reset (line 323) | func (x *SearchProductsReq) Reset() { method String (line 332) | func (x *SearchProductsReq) String() string { method ProtoMessage (line 336) | func (*SearchProductsReq) ProtoMessage() {} method ProtoReflect (line 338) | func (x *SearchProductsReq) ProtoReflect() protoreflect.Message { method Descriptor (line 351) | func (*SearchProductsReq) Descriptor() ([]byte, []int) { method GetQuery (line 355) | func (x *SearchProductsReq) GetQuery() string { type SearchProductsResp (line 362) | type SearchProductsResp struct method Reset (line 370) | func (x *SearchProductsResp) Reset() { method String (line 379) | func (x *SearchProductsResp) String() string { method ProtoMessage (line 383) | func (*SearchProductsResp) ProtoMessage() {} method ProtoReflect (line 385) | func (x *SearchProductsResp) ProtoReflect() protoreflect.Message { method Descriptor (line 398) | func (*SearchProductsResp) Descriptor() ([]byte, []int) { method GetResults (line 402) | func (x *SearchProductsResp) GetResults() []*Product { function file_product_proto_rawDescGZIP (line 474) | func file_product_proto_rawDescGZIP() []byte { function init (line 508) | func init() { file_product_proto_init() } function file_product_proto_init (line 509) | func file_product_proto_init() { type ProductCatalogService (line 623) | type ProductCatalogService interface FILE: gomall/tutorial/ch13/rpc_gen/kitex_gen/product/productcatalogservice/client.go type Client (line 13) | type Client interface function NewClient (line 20) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 36) | func MustNewClient(destService string, opts ...client.Option) Client { type kProductCatalogServiceClient (line 44) | type kProductCatalogServiceClient struct method ListProducts (line 48) | func (p *kProductCatalogServiceClient) ListProducts(ctx context.Contex... method GetProduct (line 53) | func (p *kProductCatalogServiceClient) GetProduct(ctx context.Context,... method SearchProducts (line 58) | func (p *kProductCatalogServiceClient) SearchProducts(ctx context.Cont... FILE: gomall/tutorial/ch13/rpc_gen/kitex_gen/product/productcatalogservice/invoker.go function NewInvoker (line 11) | func NewInvoker(handler product.ProductCatalogService, opts ...server.Op... FILE: gomall/tutorial/ch13/rpc_gen/kitex_gen/product/productcatalogservice/productcatalogservice.go function serviceInfo (line 48) | func serviceInfo() *kitex.ServiceInfo { function serviceInfoForStreamClient (line 53) | func serviceInfoForStreamClient() *kitex.ServiceInfo { function serviceInfoForClient (line 58) | func serviceInfoForClient() *kitex.ServiceInfo { function NewServiceInfo (line 63) | func NewServiceInfo() *kitex.ServiceInfo { function NewServiceInfoForClient (line 68) | func NewServiceInfoForClient() *kitex.ServiceInfo { function NewServiceInfoForStreamClient (line 71) | func NewServiceInfoForStreamClient() *kitex.ServiceInfo { function newServiceInfo (line 75) | func newServiceInfo(hasStreaming bool, keepStreamingMethods bool, keepNo... function listProductsHandler (line 105) | func listProductsHandler(ctx context.Context, handler interface{}, arg, ... function newListProductsArgs (line 130) | func newListProductsArgs() interface{} { function newListProductsResult (line 134) | func newListProductsResult() interface{} { type ListProductsArgs (line 138) | type ListProductsArgs struct method FastRead (line 142) | func (p *ListProductsArgs) FastRead(buf []byte, _type int8, number int... method FastWrite (line 149) | func (p *ListProductsArgs) FastWrite(buf []byte) (n int) { method Size (line 156) | func (p *ListProductsArgs) Size() (n int) { method Marshal (line 163) | func (p *ListProductsArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 170) | func (p *ListProductsArgs) Unmarshal(in []byte) error { method GetReq (line 181) | func (p *ListProductsArgs) GetReq() *product.ListProductsReq { method IsSetReq (line 188) | func (p *ListProductsArgs) IsSetReq() bool { method GetFirstArgument (line 192) | func (p *ListProductsArgs) GetFirstArgument() interface{} { type ListProductsResult (line 196) | type ListProductsResult struct method FastRead (line 202) | func (p *ListProductsResult) FastRead(buf []byte, _type int8, number i... method FastWrite (line 209) | func (p *ListProductsResult) FastWrite(buf []byte) (n int) { method Size (line 216) | func (p *ListProductsResult) Size() (n int) { method Marshal (line 223) | func (p *ListProductsResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 230) | func (p *ListProductsResult) Unmarshal(in []byte) error { method GetSuccess (line 239) | func (p *ListProductsResult) GetSuccess() *product.ListProductsResp { method SetSuccess (line 246) | func (p *ListProductsResult) SetSuccess(x interface{}) { method IsSetSuccess (line 250) | func (p *ListProductsResult) IsSetSuccess() bool { method GetResult (line 254) | func (p *ListProductsResult) GetResult() interface{} { function getProductHandler (line 258) | func getProductHandler(ctx context.Context, handler interface{}, arg, re... function newGetProductArgs (line 283) | func newGetProductArgs() interface{} { function newGetProductResult (line 287) | func newGetProductResult() interface{} { type GetProductArgs (line 291) | type GetProductArgs struct method FastRead (line 295) | func (p *GetProductArgs) FastRead(buf []byte, _type int8, number int32... method FastWrite (line 302) | func (p *GetProductArgs) FastWrite(buf []byte) (n int) { method Size (line 309) | func (p *GetProductArgs) Size() (n int) { method Marshal (line 316) | func (p *GetProductArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 323) | func (p *GetProductArgs) Unmarshal(in []byte) error { method GetReq (line 334) | func (p *GetProductArgs) GetReq() *product.GetProductReq { method IsSetReq (line 341) | func (p *GetProductArgs) IsSetReq() bool { method GetFirstArgument (line 345) | func (p *GetProductArgs) GetFirstArgument() interface{} { type GetProductResult (line 349) | type GetProductResult struct method FastRead (line 355) | func (p *GetProductResult) FastRead(buf []byte, _type int8, number int... method FastWrite (line 362) | func (p *GetProductResult) FastWrite(buf []byte) (n int) { method Size (line 369) | func (p *GetProductResult) Size() (n int) { method Marshal (line 376) | func (p *GetProductResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 383) | func (p *GetProductResult) Unmarshal(in []byte) error { method GetSuccess (line 392) | func (p *GetProductResult) GetSuccess() *product.GetProductResp { method SetSuccess (line 399) | func (p *GetProductResult) SetSuccess(x interface{}) { method IsSetSuccess (line 403) | func (p *GetProductResult) IsSetSuccess() bool { method GetResult (line 407) | func (p *GetProductResult) GetResult() interface{} { function searchProductsHandler (line 411) | func searchProductsHandler(ctx context.Context, handler interface{}, arg... function newSearchProductsArgs (line 436) | func newSearchProductsArgs() interface{} { function newSearchProductsResult (line 440) | func newSearchProductsResult() interface{} { type SearchProductsArgs (line 444) | type SearchProductsArgs struct method FastRead (line 448) | func (p *SearchProductsArgs) FastRead(buf []byte, _type int8, number i... method FastWrite (line 455) | func (p *SearchProductsArgs) FastWrite(buf []byte) (n int) { method Size (line 462) | func (p *SearchProductsArgs) Size() (n int) { method Marshal (line 469) | func (p *SearchProductsArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 476) | func (p *SearchProductsArgs) Unmarshal(in []byte) error { method GetReq (line 487) | func (p *SearchProductsArgs) GetReq() *product.SearchProductsReq { method IsSetReq (line 494) | func (p *SearchProductsArgs) IsSetReq() bool { method GetFirstArgument (line 498) | func (p *SearchProductsArgs) GetFirstArgument() interface{} { type SearchProductsResult (line 502) | type SearchProductsResult struct method FastRead (line 508) | func (p *SearchProductsResult) FastRead(buf []byte, _type int8, number... method FastWrite (line 515) | func (p *SearchProductsResult) FastWrite(buf []byte) (n int) { method Size (line 522) | func (p *SearchProductsResult) Size() (n int) { method Marshal (line 529) | func (p *SearchProductsResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 536) | func (p *SearchProductsResult) Unmarshal(in []byte) error { method GetSuccess (line 545) | func (p *SearchProductsResult) GetSuccess() *product.SearchProductsResp { method SetSuccess (line 552) | func (p *SearchProductsResult) SetSuccess(x interface{}) { method IsSetSuccess (line 556) | func (p *SearchProductsResult) IsSetSuccess() bool { method GetResult (line 560) | func (p *SearchProductsResult) GetResult() interface{} { type kClient (line 564) | type kClient struct method ListProducts (line 574) | func (p *kClient) ListProducts(ctx context.Context, Req *product.ListP... method GetProduct (line 584) | func (p *kClient) GetProduct(ctx context.Context, Req *product.GetProd... method SearchProducts (line 594) | func (p *kClient) SearchProducts(ctx context.Context, Req *product.Sea... function newServiceClient (line 568) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch13/rpc_gen/kitex_gen/product/productcatalogservice/server.go function NewServer (line 10) | func NewServer(handler product.ProductCatalogService, opts ...server.Opt... function RegisterService (line 22) | func RegisterService(svr server.Server, handler product.ProductCatalogSe... FILE: gomall/tutorial/ch13/rpc_gen/kitex_gen/user/user.pb.fast.go method FastRead (line 15) | func (x *RegisterReq) FastRead(buf []byte, _type int8, number int32) (of... method fastReadField1 (line 45) | func (x *RegisterReq) fastReadField1(buf []byte, _type int8) (offset int... method fastReadField2 (line 50) | func (x *RegisterReq) fastReadField2(buf []byte, _type int8) (offset int... method fastReadField3 (line 55) | func (x *RegisterReq) fastReadField3(buf []byte, _type int8) (offset int... method FastRead (line 60) | func (x *RegisterResp) FastRead(buf []byte, _type int8, number int32) (o... method fastReadField1 (line 80) | func (x *RegisterResp) fastReadField1(buf []byte, _type int8) (offset in... method FastRead (line 85) | func (x *LoginReq) FastRead(buf []byte, _type int8, number int32) (offse... method fastReadField1 (line 110) | func (x *LoginReq) fastReadField1(buf []byte, _type int8) (offset int, e... method fastReadField2 (line 115) | func (x *LoginReq) fastReadField2(buf []byte, _type int8) (offset int, e... method FastRead (line 120) | func (x *LoginResp) FastRead(buf []byte, _type int8, number int32) (offs... method fastReadField1 (line 140) | func (x *LoginResp) fastReadField1(buf []byte, _type int8) (offset int, ... method FastWrite (line 145) | func (x *RegisterReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 155) | func (x *RegisterReq) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 163) | func (x *RegisterReq) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 171) | func (x *RegisterReq) fastWriteField3(buf []byte) (offset int) { method FastWrite (line 179) | func (x *RegisterResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 187) | func (x *RegisterResp) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 195) | func (x *LoginReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 204) | func (x *LoginReq) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 212) | func (x *LoginReq) fastWriteField2(buf []byte) (offset int) { method FastWrite (line 220) | func (x *LoginResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 228) | func (x *LoginResp) fastWriteField1(buf []byte) (offset int) { method Size (line 236) | func (x *RegisterReq) Size() (n int) { method sizeField1 (line 246) | func (x *RegisterReq) sizeField1() (n int) { method sizeField2 (line 254) | func (x *RegisterReq) sizeField2() (n int) { method sizeField3 (line 262) | func (x *RegisterReq) sizeField3() (n int) { method Size (line 270) | func (x *RegisterResp) Size() (n int) { method sizeField1 (line 278) | func (x *RegisterResp) sizeField1() (n int) { method Size (line 286) | func (x *LoginReq) Size() (n int) { method sizeField1 (line 295) | func (x *LoginReq) sizeField1() (n int) { method sizeField2 (line 303) | func (x *LoginReq) sizeField2() (n int) { method Size (line 311) | func (x *LoginResp) Size() (n int) { method sizeField1 (line 319) | func (x *LoginResp) sizeField1() (n int) { FILE: gomall/tutorial/ch13/rpc_gen/kitex_gen/user/user.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type RegisterReq (line 24) | type RegisterReq struct method Reset (line 34) | func (x *RegisterReq) Reset() { method String (line 43) | func (x *RegisterReq) String() string { method ProtoMessage (line 47) | func (*RegisterReq) ProtoMessage() {} method ProtoReflect (line 49) | func (x *RegisterReq) ProtoReflect() protoreflect.Message { method Descriptor (line 62) | func (*RegisterReq) Descriptor() ([]byte, []int) { method GetEmail (line 66) | func (x *RegisterReq) GetEmail() string { method GetPassword (line 73) | func (x *RegisterReq) GetPassword() string { method GetPasswordConfirm (line 80) | func (x *RegisterReq) GetPasswordConfirm() string { type RegisterResp (line 87) | type RegisterResp struct method Reset (line 95) | func (x *RegisterResp) Reset() { method String (line 104) | func (x *RegisterResp) String() string { method ProtoMessage (line 108) | func (*RegisterResp) ProtoMessage() {} method ProtoReflect (line 110) | func (x *RegisterResp) ProtoReflect() protoreflect.Message { method Descriptor (line 123) | func (*RegisterResp) Descriptor() ([]byte, []int) { method GetUserId (line 127) | func (x *RegisterResp) GetUserId() int32 { type LoginReq (line 134) | type LoginReq struct method Reset (line 143) | func (x *LoginReq) Reset() { method String (line 152) | func (x *LoginReq) String() string { method ProtoMessage (line 156) | func (*LoginReq) ProtoMessage() {} method ProtoReflect (line 158) | func (x *LoginReq) ProtoReflect() protoreflect.Message { method Descriptor (line 171) | func (*LoginReq) Descriptor() ([]byte, []int) { method GetEmail (line 175) | func (x *LoginReq) GetEmail() string { method GetPassword (line 182) | func (x *LoginReq) GetPassword() string { type LoginResp (line 189) | type LoginResp struct method Reset (line 197) | func (x *LoginResp) Reset() { method String (line 206) | func (x *LoginResp) String() string { method ProtoMessage (line 210) | func (*LoginResp) ProtoMessage() {} method ProtoReflect (line 212) | func (x *LoginResp) ProtoReflect() protoreflect.Message { method Descriptor (line 225) | func (*LoginResp) Descriptor() ([]byte, []int) { method GetUserId (line 229) | func (x *LoginResp) GetUserId() int32 { function file_user_proto_rawDescGZIP (line 275) | func file_user_proto_rawDescGZIP() []byte { function init (line 301) | func init() { file_user_proto_init() } function file_user_proto_init (line 302) | func file_user_proto_init() { type UserService (line 380) | type UserService interface FILE: gomall/tutorial/ch13/rpc_gen/kitex_gen/user/userservice/client.go type Client (line 13) | type Client interface function NewClient (line 19) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 35) | func MustNewClient(destService string, opts ...client.Option) Client { type kUserServiceClient (line 43) | type kUserServiceClient struct method Register (line 47) | func (p *kUserServiceClient) Register(ctx context.Context, Req *user.R... method Login (line 52) | func (p *kUserServiceClient) Login(ctx context.Context, Req *user.Logi... FILE: gomall/tutorial/ch13/rpc_gen/kitex_gen/user/userservice/invoker.go function NewInvoker (line 11) | func NewInvoker(handler user.UserService, opts ...server.Option) server.... FILE: gomall/tutorial/ch13/rpc_gen/kitex_gen/user/userservice/server.go function NewServer (line 10) | func NewServer(handler user.UserService, opts ...server.Option) server.S... function RegisterService (line 22) | func RegisterService(svr server.Server, handler user.UserService, opts .... FILE: gomall/tutorial/ch13/rpc_gen/kitex_gen/user/userservice/userservice.go function serviceInfo (line 41) | func serviceInfo() *kitex.ServiceInfo { function serviceInfoForStreamClient (line 46) | func serviceInfoForStreamClient() *kitex.ServiceInfo { function serviceInfoForClient (line 51) | func serviceInfoForClient() *kitex.ServiceInfo { function NewServiceInfo (line 56) | func NewServiceInfo() *kitex.ServiceInfo { function NewServiceInfoForClient (line 61) | func NewServiceInfoForClient() *kitex.ServiceInfo { function NewServiceInfoForStreamClient (line 64) | func NewServiceInfoForStreamClient() *kitex.ServiceInfo { function newServiceInfo (line 68) | func newServiceInfo(hasStreaming bool, keepStreamingMethods bool, keepNo... function registerHandler (line 98) | func registerHandler(ctx context.Context, handler interface{}, arg, resu... function newRegisterArgs (line 123) | func newRegisterArgs() interface{} { function newRegisterResult (line 127) | func newRegisterResult() interface{} { type RegisterArgs (line 131) | type RegisterArgs struct method FastRead (line 135) | func (p *RegisterArgs) FastRead(buf []byte, _type int8, number int32) ... method FastWrite (line 142) | func (p *RegisterArgs) FastWrite(buf []byte) (n int) { method Size (line 149) | func (p *RegisterArgs) Size() (n int) { method Marshal (line 156) | func (p *RegisterArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 163) | func (p *RegisterArgs) Unmarshal(in []byte) error { method GetReq (line 174) | func (p *RegisterArgs) GetReq() *user.RegisterReq { method IsSetReq (line 181) | func (p *RegisterArgs) IsSetReq() bool { method GetFirstArgument (line 185) | func (p *RegisterArgs) GetFirstArgument() interface{} { type RegisterResult (line 189) | type RegisterResult struct method FastRead (line 195) | func (p *RegisterResult) FastRead(buf []byte, _type int8, number int32... method FastWrite (line 202) | func (p *RegisterResult) FastWrite(buf []byte) (n int) { method Size (line 209) | func (p *RegisterResult) Size() (n int) { method Marshal (line 216) | func (p *RegisterResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 223) | func (p *RegisterResult) Unmarshal(in []byte) error { method GetSuccess (line 232) | func (p *RegisterResult) GetSuccess() *user.RegisterResp { method SetSuccess (line 239) | func (p *RegisterResult) SetSuccess(x interface{}) { method IsSetSuccess (line 243) | func (p *RegisterResult) IsSetSuccess() bool { method GetResult (line 247) | func (p *RegisterResult) GetResult() interface{} { function loginHandler (line 251) | func loginHandler(ctx context.Context, handler interface{}, arg, result ... function newLoginArgs (line 276) | func newLoginArgs() interface{} { function newLoginResult (line 280) | func newLoginResult() interface{} { type LoginArgs (line 284) | type LoginArgs struct method FastRead (line 288) | func (p *LoginArgs) FastRead(buf []byte, _type int8, number int32) (n ... method FastWrite (line 295) | func (p *LoginArgs) FastWrite(buf []byte) (n int) { method Size (line 302) | func (p *LoginArgs) Size() (n int) { method Marshal (line 309) | func (p *LoginArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 316) | func (p *LoginArgs) Unmarshal(in []byte) error { method GetReq (line 327) | func (p *LoginArgs) GetReq() *user.LoginReq { method IsSetReq (line 334) | func (p *LoginArgs) IsSetReq() bool { method GetFirstArgument (line 338) | func (p *LoginArgs) GetFirstArgument() interface{} { type LoginResult (line 342) | type LoginResult struct method FastRead (line 348) | func (p *LoginResult) FastRead(buf []byte, _type int8, number int32) (... method FastWrite (line 355) | func (p *LoginResult) FastWrite(buf []byte) (n int) { method Size (line 362) | func (p *LoginResult) Size() (n int) { method Marshal (line 369) | func (p *LoginResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 376) | func (p *LoginResult) Unmarshal(in []byte) error { method GetSuccess (line 385) | func (p *LoginResult) GetSuccess() *user.LoginResp { method SetSuccess (line 392) | func (p *LoginResult) SetSuccess(x interface{}) { method IsSetSuccess (line 396) | func (p *LoginResult) IsSetSuccess() bool { method GetResult (line 400) | func (p *LoginResult) GetResult() interface{} { type kClient (line 404) | type kClient struct method Register (line 414) | func (p *kClient) Register(ctx context.Context, Req *user.RegisterReq)... method Login (line 424) | func (p *kClient) Login(ctx context.Context, Req *user.LoginReq) (r *u... function newServiceClient (line 408) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch13/rpc_gen/rpc/cart/cart_client.go type RPCClient (line 12) | type RPCClient interface function NewRPCClient (line 20) | func NewRPCClient(dstService string, opts ...client.Option) (RPCClient, ... type clientImpl (line 33) | type clientImpl struct method Service (line 38) | func (c *clientImpl) Service() string { method KitexClient (line 42) | func (c *clientImpl) KitexClient() cartservice.Client { method AddItem (line 46) | func (c *clientImpl) AddItem(ctx context.Context, Req *cart.AddItemReq... method GetCart (line 50) | func (c *clientImpl) GetCart(ctx context.Context, Req *cart.GetCartReq... method EmptyCart (line 54) | func (c *clientImpl) EmptyCart(ctx context.Context, Req *cart.EmptyCar... FILE: gomall/tutorial/ch13/rpc_gen/rpc/cart/cart_default.go function AddItem (line 10) | func AddItem(ctx context.Context, req *cart.AddItemReq, callOptions ...c... function GetCart (line 19) | func GetCart(ctx context.Context, req *cart.GetCartReq, callOptions ...c... function EmptyCart (line 28) | func EmptyCart(ctx context.Context, req *cart.EmptyCartReq, callOptions ... FILE: gomall/tutorial/ch13/rpc_gen/rpc/cart/cart_init.go function init (line 19) | func init() { function DefaultClient (line 23) | func DefaultClient() RPCClient { function newClient (line 30) | func newClient(dstService string, opts ...client.Option) RPCClient { function InitClient (line 38) | func InitClient(dstService string, opts ...client.Option) { FILE: gomall/tutorial/ch13/rpc_gen/rpc/checkout/checkout_client.go type RPCClient (line 12) | type RPCClient interface function NewRPCClient (line 18) | func NewRPCClient(dstService string, opts ...client.Option) (RPCClient, ... type clientImpl (line 31) | type clientImpl struct method Service (line 36) | func (c *clientImpl) Service() string { method KitexClient (line 40) | func (c *clientImpl) KitexClient() checkoutservice.Client { method Checkout (line 44) | func (c *clientImpl) Checkout(ctx context.Context, Req *checkout.Check... FILE: gomall/tutorial/ch13/rpc_gen/rpc/checkout/checkout_default.go function Checkout (line 10) | func Checkout(ctx context.Context, req *checkout.CheckoutReq, callOption... FILE: gomall/tutorial/ch13/rpc_gen/rpc/checkout/checkout_init.go function init (line 19) | func init() { function DefaultClient (line 23) | func DefaultClient() RPCClient { function newClient (line 30) | func newClient(dstService string, opts ...client.Option) RPCClient { function InitClient (line 38) | func InitClient(dstService string, opts ...client.Option) { FILE: gomall/tutorial/ch13/rpc_gen/rpc/order/order_client.go type RPCClient (line 12) | type RPCClient interface function NewRPCClient (line 19) | func NewRPCClient(dstService string, opts ...client.Option) (RPCClient, ... type clientImpl (line 32) | type clientImpl struct method Service (line 37) | func (c *clientImpl) Service() string { method KitexClient (line 41) | func (c *clientImpl) KitexClient() orderservice.Client { method PlaceOrder (line 45) | func (c *clientImpl) PlaceOrder(ctx context.Context, Req *order.PlaceO... method ListOrder (line 49) | func (c *clientImpl) ListOrder(ctx context.Context, Req *order.ListOrd... FILE: gomall/tutorial/ch13/rpc_gen/rpc/order/order_default.go function PlaceOrder (line 10) | func PlaceOrder(ctx context.Context, req *order.PlaceOrderReq, callOptio... function ListOrder (line 19) | func ListOrder(ctx context.Context, req *order.ListOrderReq, callOptions... FILE: gomall/tutorial/ch13/rpc_gen/rpc/order/order_init.go function init (line 19) | func init() { function DefaultClient (line 23) | func DefaultClient() RPCClient { function newClient (line 30) | func newClient(dstService string, opts ...client.Option) RPCClient { function InitClient (line 38) | func InitClient(dstService string, opts ...client.Option) { FILE: gomall/tutorial/ch13/rpc_gen/rpc/payment/payment_client.go type RPCClient (line 12) | type RPCClient interface function NewRPCClient (line 18) | func NewRPCClient(dstService string, opts ...client.Option) (RPCClient, ... type clientImpl (line 31) | type clientImpl struct method Service (line 36) | func (c *clientImpl) Service() string { method KitexClient (line 40) | func (c *clientImpl) KitexClient() paymentservice.Client { method Charge (line 44) | func (c *clientImpl) Charge(ctx context.Context, Req *payment.ChargeRe... FILE: gomall/tutorial/ch13/rpc_gen/rpc/payment/payment_default.go function Charge (line 10) | func Charge(ctx context.Context, req *payment.ChargeReq, callOptions ...... FILE: gomall/tutorial/ch13/rpc_gen/rpc/payment/payment_init.go function init (line 19) | func init() { function DefaultClient (line 23) | func DefaultClient() RPCClient { function newClient (line 30) | func newClient(dstService string, opts ...client.Option) RPCClient { function InitClient (line 38) | func InitClient(dstService string, opts ...client.Option) { FILE: gomall/tutorial/ch13/rpc_gen/rpc/product/product_client.go type RPCClient (line 12) | type RPCClient interface function NewRPCClient (line 20) | func NewRPCClient(dstService string, opts ...client.Option) (RPCClient, ... type clientImpl (line 33) | type clientImpl struct method Service (line 38) | func (c *clientImpl) Service() string { method KitexClient (line 42) | func (c *clientImpl) KitexClient() productcatalogservice.Client { method ListProducts (line 46) | func (c *clientImpl) ListProducts(ctx context.Context, Req *product.Li... method GetProduct (line 50) | func (c *clientImpl) GetProduct(ctx context.Context, Req *product.GetP... method SearchProducts (line 54) | func (c *clientImpl) SearchProducts(ctx context.Context, Req *product.... FILE: gomall/tutorial/ch13/rpc_gen/rpc/product/product_default.go function ListProducts (line 10) | func ListProducts(ctx context.Context, req *product.ListProductsReq, cal... function GetProduct (line 19) | func GetProduct(ctx context.Context, req *product.GetProductReq, callOpt... function SearchProducts (line 28) | func SearchProducts(ctx context.Context, req *product.SearchProductsReq,... FILE: gomall/tutorial/ch13/rpc_gen/rpc/product/product_init.go function init (line 19) | func init() { function DefaultClient (line 23) | func DefaultClient() RPCClient { function newClient (line 30) | func newClient(dstService string, opts ...client.Option) RPCClient { function InitClient (line 38) | func InitClient(dstService string, opts ...client.Option) { FILE: gomall/tutorial/ch13/rpc_gen/rpc/user/user_client.go type RPCClient (line 12) | type RPCClient interface function NewRPCClient (line 19) | func NewRPCClient(dstService string, opts ...client.Option) (RPCClient, ... type clientImpl (line 32) | type clientImpl struct method Service (line 37) | func (c *clientImpl) Service() string { method KitexClient (line 41) | func (c *clientImpl) KitexClient() userservice.Client { method Register (line 45) | func (c *clientImpl) Register(ctx context.Context, Req *user.RegisterR... method Login (line 49) | func (c *clientImpl) Login(ctx context.Context, Req *user.LoginReq, ca... FILE: gomall/tutorial/ch13/rpc_gen/rpc/user/user_default.go function Register (line 10) | func Register(ctx context.Context, req *user.RegisterReq, callOptions ..... function Login (line 19) | func Login(ctx context.Context, req *user.LoginReq, callOptions ...callo... FILE: gomall/tutorial/ch13/rpc_gen/rpc/user/user_init.go function init (line 19) | func init() { function DefaultClient (line 23) | func DefaultClient() RPCClient { function newClient (line 30) | func newClient(dstService string, opts ...client.Option) RPCClient { function InitClient (line 38) | func InitClient(dstService string, opts ...client.Option) { FILE: gomall/tutorial/ch14/app/cart/biz/dal/init.go function Init (line 21) | func Init() { FILE: gomall/tutorial/ch14/app/cart/biz/dal/mysql/init.go function Init (line 32) | func Init() { FILE: gomall/tutorial/ch14/app/cart/biz/dal/redis/init.go function Init (line 26) | func Init() { FILE: gomall/tutorial/ch14/app/cart/biz/model/base.go type Base (line 19) | type Base struct FILE: gomall/tutorial/ch14/app/cart/biz/model/cart.go type Cart (line 24) | type Cart struct method TableName (line 31) | func (c Cart) TableName() string { function GetCartByUserId (line 35) | func GetCartByUserId(db *gorm.DB, ctx context.Context, userId uint32) (c... function AddCart (line 40) | func AddCart(db *gorm.DB, ctx context.Context, c *Cart) error { function EmptyCart (line 54) | func EmptyCart(db *gorm.DB, ctx context.Context, userId uint32) error { FILE: gomall/tutorial/ch14/app/cart/biz/service/add_item.go type AddItemService (line 29) | type AddItemService struct method Run (line 37) | func (s *AddItemService) Run(req *cart.AddItemReq) (resp *cart.AddItem... function NewAddItemService (line 32) | func NewAddItemService(ctx context.Context) *AddItemService { FILE: gomall/tutorial/ch14/app/cart/biz/service/add_item_test.go function TestAddItem_Run (line 21) | func TestAddItem_Run(t *testing.T) { FILE: gomall/tutorial/ch14/app/cart/biz/service/empty_cart.go type EmptyCartService (line 26) | type EmptyCartService struct method Run (line 34) | func (s *EmptyCartService) Run(req *cart.EmptyCartReq) (resp *cart.Emp... function NewEmptyCartService (line 29) | func NewEmptyCartService(ctx context.Context) *EmptyCartService { FILE: gomall/tutorial/ch14/app/cart/biz/service/empty_cart_test.go function TestEmptyCart_Run (line 21) | func TestEmptyCart_Run(t *testing.T) { FILE: gomall/tutorial/ch14/app/cart/biz/service/get_cart.go type GetCartService (line 26) | type GetCartService struct method Run (line 34) | func (s *GetCartService) Run(req *cart.GetCartReq) (resp *cart.GetCart... function NewGetCartService (line 29) | func NewGetCartService(ctx context.Context) *GetCartService { FILE: gomall/tutorial/ch14/app/cart/biz/service/get_cart_test.go function TestGetCart_Run (line 21) | func TestGetCart_Run(t *testing.T) { FILE: gomall/tutorial/ch14/app/cart/conf/conf.go type Config (line 33) | type Config struct type MySQL (line 41) | type MySQL struct type Redis (line 45) | type Redis struct type Kitex (line 52) | type Kitex struct type Registry (line 66) | type Registry struct function GetConf (line 73) | func GetConf() *Config { function initConf (line 78) | func initConf() { function GetEnv (line 99) | func GetEnv() string { function LogLevel (line 107) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch14/app/cart/handler.go type CartServiceImpl (line 25) | type CartServiceImpl struct method AddItem (line 28) | func (s *CartServiceImpl) AddItem(ctx context.Context, req *cart.AddIt... method GetCart (line 35) | func (s *CartServiceImpl) GetCart(ctx context.Context, req *cart.GetCa... method EmptyCart (line 42) | func (s *CartServiceImpl) EmptyCart(ctx context.Context, req *cart.Emp... FILE: gomall/tutorial/ch14/app/cart/infra/rpc/client.go function InitClient (line 35) | func InitClient() { function initProductClient (line 41) | func initProductClient() { FILE: gomall/tutorial/ch14/app/cart/main.go function main (line 32) | func main() { function kitexInit (line 46) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch14/app/cart/script/cart.sql type cart (line 1) | create table cart FILE: gomall/tutorial/ch14/app/cart/utils/errors.go function MustHandleError (line 20) | func MustHandleError(err error) { function ShouldHandleError (line 27) | func ShouldHandleError(err error) { FILE: gomall/tutorial/ch14/app/checkout/biz/dal/init.go function Init (line 22) | func Init() { FILE: gomall/tutorial/ch14/app/checkout/biz/dal/mysql/init.go function Init (line 29) | func Init() { FILE: gomall/tutorial/ch14/app/checkout/biz/dal/redis/init.go function Init (line 26) | func Init() { FILE: gomall/tutorial/ch14/app/checkout/biz/service/checkout.go type CheckoutService (line 36) | type CheckoutService struct method Run (line 54) | func (s *CheckoutService) Run(req *checkout.CheckoutReq) (resp *checko... function NewCheckoutService (line 39) | func NewCheckoutService(ctx context.Context) *CheckoutService { FILE: gomall/tutorial/ch14/app/checkout/biz/service/checkout_test.go function TestCheckout_Run (line 21) | func TestCheckout_Run(t *testing.T) { FILE: gomall/tutorial/ch14/app/checkout/conf/conf.go type Config (line 33) | type Config struct type MySQL (line 41) | type MySQL struct type Redis (line 45) | type Redis struct type Kitex (line 52) | type Kitex struct type Registry (line 66) | type Registry struct function GetConf (line 73) | func GetConf() *Config { function initConf (line 78) | func initConf() { function GetEnv (line 99) | func GetEnv() string { function LogLevel (line 107) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch14/app/checkout/handler.go type CheckoutServiceImpl (line 25) | type CheckoutServiceImpl struct method PlaceOrder (line 28) | func (s *CheckoutServiceImpl) PlaceOrder(ctx context.Context, req *che... method Checkout (line 35) | func (s *CheckoutServiceImpl) Checkout(ctx context.Context, req *check... FILE: gomall/tutorial/ch14/app/checkout/infra/mq/nats.go function Init (line 26) | func Init() { FILE: gomall/tutorial/ch14/app/checkout/infra/rpc/client.go function InitClient (line 46) | func InitClient() { function initProductClient (line 55) | func initProductClient() { function initCartClient (line 70) | func initCartClient() { function initPaymentClient (line 89) | func initPaymentClient() { function initOrderClient (line 104) | func initOrderClient() { FILE: gomall/tutorial/ch14/app/checkout/main.go function main (line 33) | func main() { function kitexInit (line 48) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch14/app/checkout/utils/errors.go function MustHandleError (line 20) | func MustHandleError(err error) { function ShouldHandleError (line 27) | func ShouldHandleError(err error) { FILE: gomall/tutorial/ch14/app/email/biz/consumer/consumer.go function Init (line 19) | func Init() { FILE: gomall/tutorial/ch14/app/email/biz/consumer/email/email.go function ConsumerInit (line 28) | func ConsumerInit() { FILE: gomall/tutorial/ch14/app/email/biz/consumer/email/email_test.go function TestEmailConsumer (line 26) | func TestEmailConsumer(t *testing.T) { FILE: gomall/tutorial/ch14/app/email/biz/dal/init.go function Init (line 22) | func Init() { FILE: gomall/tutorial/ch14/app/email/biz/dal/mysql/init.go function Init (line 29) | func Init() { FILE: gomall/tutorial/ch14/app/email/biz/dal/redis/init.go function Init (line 26) | func Init() { FILE: gomall/tutorial/ch14/app/email/biz/service/send.go type SendService (line 23) | type SendService struct method Run (line 31) | func (s *SendService) Run(req *email.EmailReq) (resp *email.EmailResp,... function NewSendService (line 26) | func NewSendService(ctx context.Context) *SendService { FILE: gomall/tutorial/ch14/app/email/biz/service/send_test.go function TestSend_Run (line 24) | func TestSend_Run(t *testing.T) { FILE: gomall/tutorial/ch14/app/email/conf/conf.go type Config (line 33) | type Config struct type MySQL (line 41) | type MySQL struct type Redis (line 45) | type Redis struct type Kitex (line 52) | type Kitex struct type Registry (line 65) | type Registry struct function GetConf (line 72) | func GetConf() *Config { function initConf (line 77) | func initConf() { function GetEnv (line 98) | func GetEnv() string { function LogLevel (line 106) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch14/app/email/handler.go type EmailServiceImpl (line 25) | type EmailServiceImpl struct method Send (line 28) | func (s *EmailServiceImpl) Send(ctx context.Context, req *email.EmailR... FILE: gomall/tutorial/ch14/app/email/infra/mq/nats.go function Init (line 26) | func Init() { FILE: gomall/tutorial/ch14/app/email/infra/notify/email.go type NoopEmail (line 22) | type NoopEmail struct method Send (line 24) | func (e *NoopEmail) Send(req *email.EmailReq) error { function NewNoopEmail (line 29) | func NewNoopEmail() NoopEmail { FILE: gomall/tutorial/ch14/app/email/main.go function main (line 29) | func main() { function kitexInit (line 42) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch14/app/frontend/biz/dal/init.go function Init (line 22) | func Init() { FILE: gomall/tutorial/ch14/app/frontend/biz/dal/mysql/init.go function Init (line 28) | func Init() { FILE: gomall/tutorial/ch14/app/frontend/biz/dal/redis/init.go function Init (line 26) | func Init() { FILE: gomall/tutorial/ch14/app/frontend/biz/handler/auth/auth_service.go function Register (line 31) | func Register(ctx context.Context, c *app.RequestContext) { function Login (line 50) | func Login(ctx context.Context, c *app.RequestContext) { function Logout (line 70) | func Logout(ctx context.Context, c *app.RequestContext) { FILE: gomall/tutorial/ch14/app/frontend/biz/handler/auth/auth_service_test.go function TestRegister (line 26) | func TestRegister(t *testing.T) { function TestLogin (line 41) | func TestLogin(t *testing.T) { function TestLogout (line 56) | func TestLogout(t *testing.T) { FILE: gomall/tutorial/ch14/app/frontend/biz/handler/cart/cart_service.go function AddCartItem (line 31) | func AddCartItem(ctx context.Context, c *app.RequestContext) { function GetCart (line 51) | func GetCart(ctx context.Context, c *app.RequestContext) { FILE: gomall/tutorial/ch14/app/frontend/biz/handler/cart/cart_service_test.go function TestAddCartItem (line 26) | func TestAddCartItem(t *testing.T) { function TestGetCart (line 41) | func TestGetCart(t *testing.T) { FILE: gomall/tutorial/ch14/app/frontend/biz/handler/category/category_service.go function Category (line 29) | func Category(ctx context.Context, c *app.RequestContext) { FILE: gomall/tutorial/ch14/app/frontend/biz/handler/category/category_service_test.go function TestCategory (line 26) | func TestCategory(t *testing.T) { FILE: gomall/tutorial/ch14/app/frontend/biz/handler/checkout/checkout_service.go function Checkout (line 31) | func Checkout(ctx context.Context, c *app.RequestContext) { function CheckoutWaiting (line 51) | func CheckoutWaiting(ctx context.Context, c *app.RequestContext) { function CheckoutResult (line 71) | func CheckoutResult(ctx context.Context, c *app.RequestContext) { FILE: gomall/tutorial/ch14/app/frontend/biz/handler/checkout/checkout_service_test.go function TestCheckout (line 26) | func TestCheckout(t *testing.T) { function TestCheckoutWaiting (line 41) | func TestCheckoutWaiting(t *testing.T) { function TestCheckoutResult (line 56) | func TestCheckoutResult(t *testing.T) { FILE: gomall/tutorial/ch14/app/frontend/biz/handler/home/home_service.go function Home (line 29) | func Home(ctx context.Context, c *app.RequestContext) { FILE: gomall/tutorial/ch14/app/frontend/biz/handler/home/home_service_test.go function TestHome (line 26) | func TestHome(t *testing.T) { FILE: gomall/tutorial/ch14/app/frontend/biz/handler/order/order_service.go function OrderList (line 30) | func OrderList(ctx context.Context, c *app.RequestContext) { FILE: gomall/tutorial/ch14/app/frontend/biz/handler/order/order_service_test.go function TestOrderList (line 26) | func TestOrderList(t *testing.T) { FILE: gomall/tutorial/ch14/app/frontend/biz/handler/product/product_service.go function GetProduct (line 29) | func GetProduct(ctx context.Context, c *app.RequestContext) { FILE: gomall/tutorial/ch14/app/frontend/biz/handler/product/product_service_test.go function TestGetProduct (line 26) | func TestGetProduct(t *testing.T) { FILE: gomall/tutorial/ch14/app/frontend/biz/router/auth/auth_page.go function Register (line 31) | func Register(r *server.Hertz) { FILE: gomall/tutorial/ch14/app/frontend/biz/router/auth/middleware.go function rootMw (line 23) | func rootMw() []app.HandlerFunc { function _authMw (line 28) | func _authMw() []app.HandlerFunc { function _loginMw (line 33) | func _loginMw() []app.HandlerFunc { function _logoutMw (line 38) | func _logoutMw() []app.HandlerFunc { function _registerMw (line 43) | func _registerMw() []app.HandlerFunc { FILE: gomall/tutorial/ch14/app/frontend/biz/router/cart/cart_page.go function Register (line 31) | func Register(r *server.Hertz) { FILE: gomall/tutorial/ch14/app/frontend/biz/router/cart/middleware.go function rootMw (line 24) | func rootMw() []app.HandlerFunc { function _addcartitemMw (line 30) | func _addcartitemMw() []app.HandlerFunc { function _getcartMw (line 35) | func _getcartMw() []app.HandlerFunc { FILE: gomall/tutorial/ch14/app/frontend/biz/router/category/category_page.go function Register (line 31) | func Register(r *server.Hertz) { FILE: gomall/tutorial/ch14/app/frontend/biz/router/category/middleware.go function rootMw (line 23) | func rootMw() []app.HandlerFunc { function _categoryMw (line 28) | func _categoryMw() []app.HandlerFunc { function _category0Mw (line 33) | func _category0Mw() []app.HandlerFunc { FILE: gomall/tutorial/ch14/app/frontend/biz/router/checkout/checkout_page.go function Register (line 31) | func Register(r *server.Hertz) { FILE: gomall/tutorial/ch14/app/frontend/biz/router/checkout/middleware.go function rootMw (line 23) | func rootMw() []app.HandlerFunc { function _checkoutMw (line 28) | func _checkoutMw() []app.HandlerFunc { function _checkout0Mw (line 33) | func _checkout0Mw() []app.HandlerFunc { function _checkoutresultMw (line 38) | func _checkoutresultMw() []app.HandlerFunc { function _checkoutwaitingMw (line 43) | func _checkoutwaitingMw() []app.HandlerFunc { FILE: gomall/tutorial/ch14/app/frontend/biz/router/home/home.go function Register (line 31) | func Register(r *server.Hertz) { FILE: gomall/tutorial/ch14/app/frontend/biz/router/home/middleware.go function rootMw (line 23) | func rootMw() []app.HandlerFunc { function _homeMw (line 28) | func _homeMw() []app.HandlerFunc { FILE: gomall/tutorial/ch14/app/frontend/biz/router/order/middleware.go function rootMw (line 23) | func rootMw() []app.HandlerFunc { function _orderlistMw (line 28) | func _orderlistMw() []app.HandlerFunc { FILE: gomall/tutorial/ch14/app/frontend/biz/router/order/order_page.go function Register (line 31) | func Register(r *server.Hertz) { FILE: gomall/tutorial/ch14/app/frontend/biz/router/product/middleware.go function rootMw (line 23) | func rootMw() []app.HandlerFunc { function _getproductMw (line 28) | func _getproductMw() []app.HandlerFunc { FILE: gomall/tutorial/ch14/app/frontend/biz/router/product/product_page.go function Register (line 31) | func Register(r *server.Hertz) { FILE: gomall/tutorial/ch14/app/frontend/biz/router/register.go function GeneratedRegister (line 31) | func GeneratedRegister(r *server.Hertz) { FILE: gomall/tutorial/ch14/app/frontend/biz/service/add_cart_item.go type AddCartItemService (line 28) | type AddCartItemService struct method Run (line 37) | func (h *AddCartItemService) Run(req *cart.AddCartReq) (resp *common.E... function NewAddCartItemService (line 33) | func NewAddCartItemService(Context context.Context, RequestContext *app.... FILE: gomall/tutorial/ch14/app/frontend/biz/service/category.go type CategoryService (line 27) | type CategoryService struct method Run (line 36) | func (h *CategoryService) Run(req *category.CategoryReq) (resp map[str... function NewCategoryService (line 32) | func NewCategoryService(Context context.Context, RequestContext *app.Req... FILE: gomall/tutorial/ch14/app/frontend/biz/service/checkout.go type CheckoutService (line 30) | type CheckoutService struct method Run (line 39) | func (h *CheckoutService) Run(req *checkout.CheckoutReq) (resp map[str... function NewCheckoutService (line 35) | func NewCheckoutService(Context context.Context, RequestContext *app.Req... FILE: gomall/tutorial/ch14/app/frontend/biz/service/checkout_result.go type CheckoutResultService (line 26) | type CheckoutResultService struct method Run (line 35) | func (h *CheckoutResultService) Run(req *common.Empty) (resp map[strin... function NewCheckoutResultService (line 31) | func NewCheckoutResultService(Context context.Context, RequestContext *a... FILE: gomall/tutorial/ch14/app/frontend/biz/service/checkout_waiting.go type CheckoutWaitingService (line 29) | type CheckoutWaitingService struct method Run (line 38) | func (h *CheckoutWaitingService) Run(req *checkout.CheckoutReq) (resp ... function NewCheckoutWaitingService (line 34) | func NewCheckoutWaitingService(Context context.Context, RequestContext *... FILE: gomall/tutorial/ch14/app/frontend/biz/service/get_cart.go type GetCartService (line 30) | type GetCartService struct method Run (line 39) | func (h *GetCartService) Run(req *common.Empty) (resp map[string]any, ... function NewGetCartService (line 35) | func NewGetCartService(Context context.Context, RequestContext *app.Requ... FILE: gomall/tutorial/ch14/app/frontend/biz/service/get_product.go type GetProductService (line 27) | type GetProductService struct method Run (line 36) | func (h *GetProductService) Run(req *product.ProductReq) (resp map[str... function NewGetProductService (line 32) | func NewGetProductService(Context context.Context, RequestContext *app.R... FILE: gomall/tutorial/ch14/app/frontend/biz/service/home.go type HomeService (line 28) | type HomeService struct method Run (line 37) | func (h *HomeService) Run(req *common.Empty) (res map[string]any, err ... function NewHomeService (line 33) | func NewHomeService(Context context.Context, RequestContext *app.Request... FILE: gomall/tutorial/ch14/app/frontend/biz/service/login.go type LoginService (line 28) | type LoginService struct method Run (line 37) | func (h *LoginService) Run(req *auth.LoginReq) (resp string, err error) { function NewLoginService (line 33) | func NewLoginService(Context context.Context, RequestContext *app.Reques... FILE: gomall/tutorial/ch14/app/frontend/biz/service/logout.go type LogoutService (line 25) | type LogoutService struct method Run (line 34) | func (h *LogoutService) Run(req *common.Empty) (resp *common.Empty, er... function NewLogoutService (line 30) | func NewLogoutService(Context context.Context, RequestContext *app.Reque... FILE: gomall/tutorial/ch14/app/frontend/biz/service/order_list.go type OrderListService (line 31) | type OrderListService struct method Run (line 40) | func (h *OrderListService) Run(req *common.Empty) (resp map[string]any... function NewOrderListService (line 36) | func NewOrderListService(Context context.Context, RequestContext *app.Re... FILE: gomall/tutorial/ch14/app/frontend/biz/service/register.go type RegisterService (line 28) | type RegisterService struct method Run (line 37) | func (h *RegisterService) Run(req *auth.RegisterReq) (resp *common.Emp... function NewRegisterService (line 33) | func NewRegisterService(Context context.Context, RequestContext *app.Req... FILE: gomall/tutorial/ch14/app/frontend/biz/utils/resp.go function SendErrResponse (line 27) | func SendErrResponse(ctx context.Context, c *app.RequestContext, code in... function SendSuccessResponse (line 33) | func SendSuccessResponse(ctx context.Context, c *app.RequestContext, cod... function WarpResponse (line 38) | func WarpResponse(ctx context.Context, c *app.RequestContext, content ma... FILE: gomall/tutorial/ch14/app/frontend/conf/conf.go type Config (line 33) | type Config struct type MySQL (line 41) | type MySQL struct type Redis (line 45) | type Redis struct type Hertz (line 52) | type Hertz struct function GetConf (line 67) | func GetConf() *Config { function initConf (line 72) | func initConf() { function GetEnv (line 96) | func GetEnv() string { function LogLevel (line 104) | func LogLevel() hlog.Level { FILE: gomall/tutorial/ch14/app/frontend/hertz_gen/api/api.pb.go constant _ (line 18) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 20) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) function init (line 671) | func init() { file_api_proto_init() } function file_api_proto_init (line 672) | func file_api_proto_init() { FILE: gomall/tutorial/ch14/app/frontend/hertz_gen/frontend/auth/auth_page.pb.go constant _ (line 20) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 22) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type RegisterReq (line 25) | type RegisterReq struct method Reset (line 35) | func (x *RegisterReq) Reset() { method String (line 44) | func (x *RegisterReq) String() string { method ProtoMessage (line 48) | func (*RegisterReq) ProtoMessage() {} method ProtoReflect (line 50) | func (x *RegisterReq) ProtoReflect() protoreflect.Message { method Descriptor (line 63) | func (*RegisterReq) Descriptor() ([]byte, []int) { method GetEmail (line 67) | func (x *RegisterReq) GetEmail() string { method GetPassword (line 74) | func (x *RegisterReq) GetPassword() string { method GetConfirmPassword (line 81) | func (x *RegisterReq) GetConfirmPassword() string { type LoginReq (line 88) | type LoginReq struct method Reset (line 98) | func (x *LoginReq) Reset() { method String (line 107) | func (x *LoginReq) String() string { method ProtoMessage (line 111) | func (*LoginReq) ProtoMessage() {} method ProtoReflect (line 113) | func (x *LoginReq) ProtoReflect() protoreflect.Message { method Descriptor (line 126) | func (*LoginReq) Descriptor() ([]byte, []int) { method GetEmail (line 130) | func (x *LoginReq) GetEmail() string { method GetPassword (line 137) | func (x *LoginReq) GetPassword() string { method GetNext (line 144) | func (x *LoginReq) GetNext() string { function file_auth_page_proto_rawDescGZIP (line 204) | func file_auth_page_proto_rawDescGZIP() []byte { function init (line 231) | func init() { file_auth_page_proto_init() } function file_auth_page_proto_init (line 232) | func file_auth_page_proto_init() { FILE: gomall/tutorial/ch14/app/frontend/hertz_gen/frontend/cart/cart_page.pb.go constant _ (line 20) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 22) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type AddCartReq (line 25) | type AddCartReq struct method Reset (line 34) | func (x *AddCartReq) Reset() { method String (line 43) | func (x *AddCartReq) String() string { method ProtoMessage (line 47) | func (*AddCartReq) ProtoMessage() {} method ProtoReflect (line 49) | func (x *AddCartReq) ProtoReflect() protoreflect.Message { method Descriptor (line 62) | func (*AddCartReq) Descriptor() ([]byte, []int) { method GetProductId (line 66) | func (x *AddCartReq) GetProductId() uint32 { method GetProductNum (line 73) | func (x *AddCartReq) GetProductNum() int32 { function file_cart_page_proto_rawDescGZIP (line 117) | func file_cart_page_proto_rawDescGZIP() []byte { function init (line 141) | func init() { file_cart_page_proto_init() } function file_cart_page_proto_init (line 142) | func file_cart_page_proto_init() { FILE: gomall/tutorial/ch14/app/frontend/hertz_gen/frontend/category/category_page.pb.go constant _ (line 20) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 22) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type CategoryReq (line 25) | type CategoryReq struct method Reset (line 33) | func (x *CategoryReq) Reset() { method String (line 42) | func (x *CategoryReq) String() string { method ProtoMessage (line 46) | func (*CategoryReq) ProtoMessage() {} method ProtoReflect (line 48) | func (x *CategoryReq) ProtoReflect() protoreflect.Message { method Descriptor (line 61) | func (*CategoryReq) Descriptor() ([]byte, []int) { method GetCategory (line 65) | func (x *CategoryReq) GetCategory() string { function file_category_page_proto_rawDescGZIP (line 103) | func file_category_page_proto_rawDescGZIP() []byte { function init (line 125) | func init() { file_category_page_proto_init() } function file_category_page_proto_init (line 126) | func file_category_page_proto_init() { FILE: gomall/tutorial/ch14/app/frontend/hertz_gen/frontend/checkout/checkout_page.pb.go constant _ (line 20) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 22) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type CheckoutReq (line 25) | type CheckoutReq struct method Reset (line 45) | func (x *CheckoutReq) Reset() { method String (line 54) | func (x *CheckoutReq) String() string { method ProtoMessage (line 58) | func (*CheckoutReq) ProtoMessage() {} method ProtoReflect (line 60) | func (x *CheckoutReq) ProtoReflect() protoreflect.Message { method Descriptor (line 73) | func (*CheckoutReq) Descriptor() ([]byte, []int) { method GetEmail (line 77) | func (x *CheckoutReq) GetEmail() string { method GetFirstname (line 84) | func (x *CheckoutReq) GetFirstname() string { method GetLastname (line 91) | func (x *CheckoutReq) GetLastname() string { method GetStreet (line 98) | func (x *CheckoutReq) GetStreet() string { method GetZipcode (line 105) | func (x *CheckoutReq) GetZipcode() string { method GetProvince (line 112) | func (x *CheckoutReq) GetProvince() string { method GetCountry (line 119) | func (x *CheckoutReq) GetCountry() string { method GetCity (line 126) | func (x *CheckoutReq) GetCity() string { method GetCardNum (line 133) | func (x *CheckoutReq) GetCardNum() string { method GetExpirationMonth (line 140) | func (x *CheckoutReq) GetExpirationMonth() int32 { method GetExpirationYear (line 147) | func (x *CheckoutReq) GetExpirationYear() int32 { method GetCvv (line 154) | func (x *CheckoutReq) GetCvv() int32 { method GetPayment (line 161) | func (x *CheckoutReq) GetPayment() string { function file_checkout_page_proto_rawDescGZIP (line 241) | func file_checkout_page_proto_rawDescGZIP() []byte { function init (line 267) | func init() { file_checkout_page_proto_init() } function file_checkout_page_proto_init (line 268) | func file_checkout_page_proto_init() { FILE: gomall/tutorial/ch14/app/frontend/hertz_gen/frontend/common/common.pb.go constant _ (line 18) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 20) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Empty (line 23) | type Empty struct method Reset (line 29) | func (x *Empty) Reset() { method String (line 38) | func (x *Empty) String() string { method ProtoMessage (line 42) | func (*Empty) ProtoMessage() {} method ProtoReflect (line 44) | func (x *Empty) ProtoReflect() protoreflect.Message { method Descriptor (line 57) | func (*Empty) Descriptor() ([]byte, []int) { function file_frontend_common_proto_rawDescGZIP (line 80) | func file_frontend_common_proto_rawDescGZIP() []byte { function init (line 99) | func init() { file_frontend_common_proto_init() } function file_frontend_common_proto_init (line 100) | func file_frontend_common_proto_init() { FILE: gomall/tutorial/ch14/app/frontend/hertz_gen/frontend/home/home.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) function init (line 57) | func init() { file_home_proto_init() } function file_home_proto_init (line 58) | func file_home_proto_init() { FILE: gomall/tutorial/ch14/app/frontend/hertz_gen/frontend/order/order_page.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) function init (line 58) | func init() { file_order_page_proto_init() } function file_order_page_proto_init (line 59) | func file_order_page_proto_init() { FILE: gomall/tutorial/ch14/app/frontend/hertz_gen/frontend/product/product_page.pb.go constant _ (line 20) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 22) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type ProductReq (line 25) | type ProductReq struct method Reset (line 33) | func (x *ProductReq) Reset() { method String (line 42) | func (x *ProductReq) String() string { method ProtoMessage (line 46) | func (*ProductReq) ProtoMessage() {} method ProtoReflect (line 48) | func (x *ProductReq) ProtoReflect() protoreflect.Message { method Descriptor (line 61) | func (*ProductReq) Descriptor() ([]byte, []int) { method GetId (line 65) | func (x *ProductReq) GetId() uint32 { function file_product_page_proto_rawDescGZIP (line 101) | func file_product_page_proto_rawDescGZIP() []byte { function init (line 123) | func init() { file_product_page_proto_init() } function file_product_page_proto_init (line 124) | func file_product_page_proto_init() { FILE: gomall/tutorial/ch14/app/frontend/infra/rpc/client.go function InitClient (line 49) | func InitClient() { function initUserClient (line 59) | func initUserClient() { function initProductClient (line 69) | func initProductClient() { function initCartClient (line 105) | func initCartClient() { function initCheckoutClient (line 121) | func initCheckoutClient() { function initOrderClient (line 134) | func initOrderClient() { FILE: gomall/tutorial/ch14/app/frontend/main.go function main (line 42) | func main() { function registerMiddleware (line 77) | func registerMiddleware(h *server.Hertz) { FILE: gomall/tutorial/ch14/app/frontend/middleware/auth.go function GlobalAuth (line 26) | func GlobalAuth() app.HandlerFunc { function Auth (line 39) | func Auth() app.HandlerFunc { FILE: gomall/tutorial/ch14/app/frontend/middleware/middleware.go function RegisterMiddleware (line 19) | func RegisterMiddleware(h *server.Hertz) { FILE: gomall/tutorial/ch14/app/frontend/types/order.go type Consignee (line 17) | type Consignee struct type Order (line 27) | type Order struct type OrderItem (line 36) | type OrderItem struct FILE: gomall/tutorial/ch14/app/frontend/utils/constant.go constant ServiceName (line 17) | ServiceName = "frontend" type SessionUserIdKey (line 19) | type SessionUserIdKey constant UserIdKey (line 21) | UserIdKey = SessionUserIdKey("user_id") FILE: gomall/tutorial/ch14/app/frontend/utils/errors.go function MustHandleError (line 19) | func MustHandleError(err error) { FILE: gomall/tutorial/ch14/app/frontend/utils/function.go function GetUserIdFromCtx (line 19) | func GetUserIdFromCtx(ctx context.Context) uint32 { FILE: gomall/tutorial/ch14/app/frontend/utils/safe.go function ValidateNext (line 23) | func ValidateNext(next string) bool { FILE: gomall/tutorial/ch14/app/frontend/utils/strings.go function InArray (line 17) | func InArray[T int | int32 | int64 | float32 | float64 | string](needle ... FILE: gomall/tutorial/ch14/app/order/biz/dal/init.go function Init (line 22) | func Init() { FILE: gomall/tutorial/ch14/app/order/biz/dal/mysql/init.go function Init (line 33) | func Init() { FILE: gomall/tutorial/ch14/app/order/biz/dal/redis/init.go function Init (line 26) | func Init() { FILE: gomall/tutorial/ch14/app/order/biz/model/base.go type Base (line 19) | type Base struct FILE: gomall/tutorial/ch14/app/order/biz/model/order.go type Consignee (line 23) | type Consignee struct type Order (line 33) | type Order struct method TableName (line 42) | func (o Order) TableName() string { function ListOrder (line 46) | func ListOrder(db *gorm.DB, ctx context.Context, userId uint32) (orders ... FILE: gomall/tutorial/ch14/app/order/biz/model/order_item.go type OrderItem (line 17) | type OrderItem struct method TableName (line 25) | func (oi OrderItem) TableName() string { FILE: gomall/tutorial/ch14/app/order/biz/service/list_order.go type ListOrderService (line 27) | type ListOrderService struct method Run (line 35) | func (s *ListOrderService) Run(req *order.ListOrderReq) (resp *order.L... function NewListOrderService (line 30) | func NewListOrderService(ctx context.Context) *ListOrderService { FILE: gomall/tutorial/ch14/app/order/biz/service/list_order_test.go function TestListOrder_Run (line 21) | func TestListOrder_Run(t *testing.T) { FILE: gomall/tutorial/ch14/app/order/biz/service/place_order.go type PlaceOrderService (line 28) | type PlaceOrderService struct method Run (line 36) | func (s *PlaceOrderService) Run(req *order.PlaceOrderReq) (resp *order... function NewPlaceOrderService (line 31) | func NewPlaceOrderService(ctx context.Context) *PlaceOrderService { FILE: gomall/tutorial/ch14/app/order/biz/service/place_order_test.go function TestPlaceOrder_Run (line 21) | func TestPlaceOrder_Run(t *testing.T) { FILE: gomall/tutorial/ch14/app/order/conf/conf.go type Config (line 33) | type Config struct type MySQL (line 41) | type MySQL struct type Redis (line 45) | type Redis struct type Kitex (line 52) | type Kitex struct type Registry (line 66) | type Registry struct function GetConf (line 73) | func GetConf() *Config { function initConf (line 78) | func initConf() { function GetEnv (line 99) | func GetEnv() string { function LogLevel (line 107) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch14/app/order/handler.go type OrderServiceImpl (line 25) | type OrderServiceImpl struct method PlaceOrder (line 28) | func (s *OrderServiceImpl) PlaceOrder(ctx context.Context, req *order.... method ListOrder (line 35) | func (s *OrderServiceImpl) ListOrder(ctx context.Context, req *order.L... FILE: gomall/tutorial/ch14/app/order/main.go function main (line 31) | func main() { function kitexInit (line 44) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch14/app/payment/biz/dal/init.go function Init (line 21) | func Init() { FILE: gomall/tutorial/ch14/app/payment/biz/dal/mysql/init.go function Init (line 32) | func Init() { FILE: gomall/tutorial/ch14/app/payment/biz/dal/redis/init.go function Init (line 26) | func Init() { FILE: gomall/tutorial/ch14/app/payment/biz/model/base.go type Base (line 19) | type Base struct FILE: gomall/tutorial/ch14/app/payment/biz/model/payment.go type PaymentLog (line 24) | type PaymentLog struct method TableName (line 33) | func (p PaymentLog) TableName() string { function CreatePaymentLog (line 37) | func CreatePaymentLog(db *gorm.DB, ctx context.Context, payment *Payment... FILE: gomall/tutorial/ch14/app/payment/biz/service/charge.go type ChargeService (line 30) | type ChargeService struct method Run (line 38) | func (s *ChargeService) Run(req *payment.ChargeReq) (resp *payment.Cha... function NewChargeService (line 33) | func NewChargeService(ctx context.Context) *ChargeService { FILE: gomall/tutorial/ch14/app/payment/biz/service/charge_test.go function TestCharge_Run (line 21) | func TestCharge_Run(t *testing.T) { FILE: gomall/tutorial/ch14/app/payment/conf/conf.go type Config (line 33) | type Config struct type MySQL (line 41) | type MySQL struct type Redis (line 45) | type Redis struct type Kitex (line 52) | type Kitex struct type Registry (line 66) | type Registry struct function GetConf (line 73) | func GetConf() *Config { function initConf (line 78) | func initConf() { function GetEnv (line 99) | func GetEnv() string { function LogLevel (line 107) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch14/app/payment/handler.go type PaymentServiceImpl (line 25) | type PaymentServiceImpl struct method Charge (line 28) | func (s *PaymentServiceImpl) Charge(ctx context.Context, req *payment.... FILE: gomall/tutorial/ch14/app/payment/main.go function main (line 32) | func main() { function kitexInit (line 45) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch14/app/payment/middleware/mw.go function ServerMiddleware (line 25) | func ServerMiddleware(next endpoint.Endpoint) endpoint.Endpoint { FILE: gomall/tutorial/ch14/app/payment/payment.sql type payment (line 1) | create table payment FILE: gomall/tutorial/ch14/app/product/biz/dal/init.go function Init (line 22) | func Init() { FILE: gomall/tutorial/ch14/app/product/biz/dal/mysql/init.go function Init (line 32) | func Init() { FILE: gomall/tutorial/ch14/app/product/biz/dal/redis/init.go function Init (line 27) | func Init() { FILE: gomall/tutorial/ch14/app/product/biz/model/base.go type Base (line 19) | type Base struct FILE: gomall/tutorial/ch14/app/product/biz/model/category.go type Category (line 23) | type Category struct method TableName (line 30) | func (c Category) TableName() string { function GetProductsByCategoryName (line 34) | func GetProductsByCategoryName(db *gorm.DB, ctx context.Context, name st... FILE: gomall/tutorial/ch14/app/product/biz/model/product.go type Product (line 27) | type Product struct method TableName (line 36) | func (p Product) TableName() string { type ProductQuery (line 40) | type ProductQuery struct method GetById (line 45) | func (p ProductQuery) GetById(productId int) (product Product, err err... function NewProductQuery (line 50) | func NewProductQuery(ctx context.Context, db *gorm.DB) ProductQuery { type CachedProductQuery (line 54) | type CachedProductQuery struct method GetById (line 60) | func (c CachedProductQuery) GetById(productId int) (product Product, e... function NewCachedProductQuery (line 94) | func NewCachedProductQuery(pq ProductQuery, cacheClient *redis.Client) C... function GetProductById (line 98) | func GetProductById(db *gorm.DB, ctx context.Context, productId int) (pr... function SearchProduct (line 103) | func SearchProduct(db *gorm.DB, ctx context.Context, q string) (product ... FILE: gomall/tutorial/ch14/app/product/biz/service/get_product.go type GetProductService (line 27) | type GetProductService struct method Run (line 35) | func (s *GetProductService) Run(req *product.GetProductReq) (resp *pro... function NewGetProductService (line 30) | func NewGetProductService(ctx context.Context) *GetProductService { FILE: gomall/tutorial/ch14/app/product/biz/service/get_product_test.go function TestGetProduct_Run (line 21) | func TestGetProduct_Run(t *testing.T) { FILE: gomall/tutorial/ch14/app/product/biz/service/list_products.go type ListProductsService (line 25) | type ListProductsService struct method Run (line 33) | func (s *ListProductsService) Run(req *product.ListProductsReq) (resp ... function NewListProductsService (line 28) | func NewListProductsService(ctx context.Context) *ListProductsService { FILE: gomall/tutorial/ch14/app/product/biz/service/list_products_test.go function TestListProducts_Run (line 21) | func TestListProducts_Run(t *testing.T) { FILE: gomall/tutorial/ch14/app/product/biz/service/search_products.go type SearchProductsService (line 25) | type SearchProductsService struct method Run (line 33) | func (s *SearchProductsService) Run(req *product.SearchProductsReq) (r... function NewSearchProductsService (line 28) | func NewSearchProductsService(ctx context.Context) *SearchProductsService { FILE: gomall/tutorial/ch14/app/product/biz/service/search_products_test.go function TestSearchProducts_Run (line 21) | func TestSearchProducts_Run(t *testing.T) { FILE: gomall/tutorial/ch14/app/product/conf/conf.go type Config (line 33) | type Config struct type MySQL (line 43) | type MySQL struct type Redis (line 47) | type Redis struct type Kitex (line 54) | type Kitex struct type Registry (line 68) | type Registry struct type ConfigServer (line 74) | type ConfigServer struct function GetConf (line 77) | func GetConf() *Config { function initConf (line 82) | func initConf() { function GetEnv (line 103) | func GetEnv() string { function LogLevel (line 111) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch14/app/product/handler.go type ProductCatalogServiceImpl (line 25) | type ProductCatalogServiceImpl struct method ListProducts (line 28) | func (s *ProductCatalogServiceImpl) ListProducts(ctx context.Context, ... method GetProduct (line 35) | func (s *ProductCatalogServiceImpl) GetProduct(ctx context.Context, re... method SearchProducts (line 42) | func (s *ProductCatalogServiceImpl) SearchProducts(ctx context.Context... FILE: gomall/tutorial/ch14/app/product/main.go function main (line 34) | func main() { function kitexInit (line 46) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch14/app/product/script/product.sql type `category` (line 1) | CREATE TABLE `category` type `product` (line 13) | CREATE TABLE `product` type `product_category` (line 46) | CREATE TABLE `product_category` FILE: gomall/tutorial/ch14/app/product/utils/constant.go constant ServiceName (line 17) | ServiceName = "shop-product" FILE: gomall/tutorial/ch14/app/user/biz/dal/init.go function Init (line 21) | func Init() { FILE: gomall/tutorial/ch14/app/user/biz/dal/mysql/init.go function Init (line 32) | func Init() { FILE: gomall/tutorial/ch14/app/user/biz/dal/redis/init.go function Init (line 26) | func Init() { FILE: gomall/tutorial/ch14/app/user/biz/model/base.go type Base (line 21) | type Base struct FILE: gomall/tutorial/ch14/app/user/biz/model/user.go type User (line 23) | type User struct method TableName (line 29) | func (u User) TableName() string { function GetByEmail (line 33) | func GetByEmail(db *gorm.DB, ctx context.Context, email string) (user *U... function Create (line 38) | func Create(db *gorm.DB, ctx context.Context, user *User) error { FILE: gomall/tutorial/ch14/app/user/biz/service/login.go type LoginService (line 27) | type LoginService struct method Run (line 35) | func (s *LoginService) Run(req *user.LoginReq) (resp *user.LoginResp, ... function NewLoginService (line 30) | func NewLoginService(ctx context.Context) *LoginService { FILE: gomall/tutorial/ch14/app/user/biz/service/login_test.go function TestLogin_Run (line 21) | func TestLogin_Run(t *testing.T) { FILE: gomall/tutorial/ch14/app/user/biz/service/register.go type RegisterService (line 27) | type RegisterService struct method Run (line 35) | func (s *RegisterService) Run(req *user.RegisterReq) (resp *user.Regis... function NewRegisterService (line 30) | func NewRegisterService(ctx context.Context) *RegisterService { FILE: gomall/tutorial/ch14/app/user/biz/service/register_test.go function TestRegister_Run (line 21) | func TestRegister_Run(t *testing.T) { FILE: gomall/tutorial/ch14/app/user/conf/conf.go type Config (line 33) | type Config struct type MySQL (line 41) | type MySQL struct type Redis (line 45) | type Redis struct type Kitex (line 52) | type Kitex struct type Registry (line 66) | type Registry struct function GetConf (line 73) | func GetConf() *Config { function initConf (line 78) | func initConf() { function GetEnv (line 99) | func GetEnv() string { function LogLevel (line 107) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch14/app/user/handler.go type UserServiceImpl (line 25) | type UserServiceImpl struct method Register (line 28) | func (s *UserServiceImpl) Register(ctx context.Context, req *user.Regi... method Login (line 35) | func (s *UserServiceImpl) Login(ctx context.Context, req *user.LoginRe... FILE: gomall/tutorial/ch14/app/user/main.go function main (line 32) | func main() { function kitexInit (line 45) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch14/demo/demo_proto/biz/dal/init.go function Init (line 21) | func Init() { FILE: gomall/tutorial/ch14/demo/demo_proto/biz/dal/mysql/init.go function Init (line 33) | func Init() { FILE: gomall/tutorial/ch14/demo/demo_proto/biz/dal/redis/init.go function Init (line 28) | func Init() { FILE: gomall/tutorial/ch14/demo/demo_proto/biz/model/user.go type User (line 19) | type User struct method TableName (line 25) | func (u User) TableName() string { FILE: gomall/tutorial/ch14/demo/demo_proto/biz/service/echo.go type EchoService (line 23) | type EchoService struct method Run (line 31) | func (s *EchoService) Run(req *pbapi.Request) (resp *pbapi.Response, e... function NewEchoService (line 26) | func NewEchoService(ctx context.Context) *EchoService { FILE: gomall/tutorial/ch14/demo/demo_proto/biz/service/echo_test.go function TestEcho_Run (line 23) | func TestEcho_Run(t *testing.T) { FILE: gomall/tutorial/ch14/demo/demo_proto/cmd/client/client.go function main (line 32) | func main() { FILE: gomall/tutorial/ch14/demo/demo_proto/cmd/dbop/db.go function main (line 26) | func main() { FILE: gomall/tutorial/ch14/demo/demo_proto/conf/conf.go type Config (line 33) | type Config struct type MySQL (line 41) | type MySQL struct type Redis (line 45) | type Redis struct type Kitex (line 52) | type Kitex struct type Registry (line 65) | type Registry struct function GetConf (line 72) | func GetConf() *Config { function initConf (line 77) | func initConf() { function GetEnv (line 98) | func GetEnv() string { function LogLevel (line 106) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch14/demo/demo_proto/handler.go type EchoImpl (line 25) | type EchoImpl struct method Echo (line 28) | func (s *EchoImpl) Echo(ctx context.Context, req *pbapi.Request) (resp... FILE: gomall/tutorial/ch14/demo/demo_proto/kitex_gen/pbapi/echo.pb.fast.go method FastRead (line 15) | func (x *Request) FastRead(buf []byte, _type int8, number int32) (offset... method fastReadField1 (line 35) | func (x *Request) fastReadField1(buf []byte, _type int8) (offset int, er... method FastRead (line 40) | func (x *Response) FastRead(buf []byte, _type int8, number int32) (offse... method fastReadField1 (line 60) | func (x *Response) fastReadField1(buf []byte, _type int8) (offset int, e... method FastWrite (line 65) | func (x *Request) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 73) | func (x *Request) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 81) | func (x *Response) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 89) | func (x *Response) fastWriteField1(buf []byte) (offset int) { method Size (line 97) | func (x *Request) Size() (n int) { method sizeField1 (line 105) | func (x *Request) sizeField1() (n int) { method Size (line 113) | func (x *Response) Size() (n int) { method sizeField1 (line 121) | func (x *Response) sizeField1() (n int) { FILE: gomall/tutorial/ch14/demo/demo_proto/kitex_gen/pbapi/echo.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Request (line 24) | type Request struct method Reset (line 32) | func (x *Request) Reset() { method String (line 41) | func (x *Request) String() string { method ProtoMessage (line 45) | func (*Request) ProtoMessage() {} method ProtoReflect (line 47) | func (x *Request) ProtoReflect() protoreflect.Message { method Descriptor (line 60) | func (*Request) Descriptor() ([]byte, []int) { method GetMessage (line 64) | func (x *Request) GetMessage() string { type Response (line 71) | type Response struct method Reset (line 79) | func (x *Response) Reset() { method String (line 88) | func (x *Response) String() string { method ProtoMessage (line 92) | func (*Response) ProtoMessage() {} method ProtoReflect (line 94) | func (x *Response) ProtoReflect() protoreflect.Message { method Descriptor (line 107) | func (*Response) Descriptor() ([]byte, []int) { method GetMessage (line 111) | func (x *Response) GetMessage() string { function file_echo_proto_rawDescGZIP (line 143) | func file_echo_proto_rawDescGZIP() []byte { function init (line 165) | func init() { file_echo_proto_init() } function file_echo_proto_init (line 166) | func file_echo_proto_init() { type Echo (line 220) | type Echo interface FILE: gomall/tutorial/ch14/demo/demo_proto/kitex_gen/pbapi/echo/client.go type Client (line 13) | type Client interface function NewClient (line 18) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 34) | func MustNewClient(destService string, opts ...client.Option) Client { type kEchoClient (line 42) | type kEchoClient struct method Echo (line 46) | func (p *kEchoClient) Echo(ctx context.Context, Req *pbapi.Request, ca... FILE: gomall/tutorial/ch14/demo/demo_proto/kitex_gen/pbapi/echo/echo.go function serviceInfo (line 14) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 20) | func NewServiceInfo() *kitex.ServiceInfo { function echoHandler (line 41) | func echoHandler(ctx context.Context, handler interface{}, arg, result i... function newEchoArgs (line 66) | func newEchoArgs() interface{} { function newEchoResult (line 70) | func newEchoResult() interface{} { type EchoArgs (line 74) | type EchoArgs struct method FastRead (line 78) | func (p *EchoArgs) FastRead(buf []byte, _type int8, number int32) (n i... method FastWrite (line 85) | func (p *EchoArgs) FastWrite(buf []byte) (n int) { method Size (line 92) | func (p *EchoArgs) Size() (n int) { method Marshal (line 99) | func (p *EchoArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 106) | func (p *EchoArgs) Unmarshal(in []byte) error { method GetReq (line 117) | func (p *EchoArgs) GetReq() *pbapi.Request { method IsSetReq (line 124) | func (p *EchoArgs) IsSetReq() bool { method GetFirstArgument (line 128) | func (p *EchoArgs) GetFirstArgument() interface{} { type EchoResult (line 132) | type EchoResult struct method FastRead (line 138) | func (p *EchoResult) FastRead(buf []byte, _type int8, number int32) (n... method FastWrite (line 145) | func (p *EchoResult) FastWrite(buf []byte) (n int) { method Size (line 152) | func (p *EchoResult) Size() (n int) { method Marshal (line 159) | func (p *EchoResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 166) | func (p *EchoResult) Unmarshal(in []byte) error { method GetSuccess (line 175) | func (p *EchoResult) GetSuccess() *pbapi.Response { method SetSuccess (line 182) | func (p *EchoResult) SetSuccess(x interface{}) { method IsSetSuccess (line 186) | func (p *EchoResult) IsSetSuccess() bool { method GetResult (line 190) | func (p *EchoResult) GetResult() interface{} { type kClient (line 194) | type kClient struct method Echo (line 204) | func (p *kClient) Echo(ctx context.Context, Req *pbapi.Request) (r *pb... function newServiceClient (line 198) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch14/demo/demo_proto/kitex_gen/pbapi/echo/invoker.go function NewInvoker (line 11) | func NewInvoker(handler pbapi.Echo, opts ...server.Option) server.Invoker { FILE: gomall/tutorial/ch14/demo/demo_proto/kitex_gen/pbapi/echo/server.go function NewServer (line 10) | func NewServer(handler pbapi.Echo, opts ...server.Option) server.Server { FILE: gomall/tutorial/ch14/demo/demo_proto/main.go function main (line 35) | func main() { function kitexInit (line 53) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch14/demo/demo_thrift/biz/dal/init.go function Init (line 22) | func Init() { FILE: gomall/tutorial/ch14/demo/demo_thrift/biz/dal/mysql/init.go function Init (line 29) | func Init() { FILE: gomall/tutorial/ch14/demo/demo_thrift/biz/dal/redis/init.go function Init (line 28) | func Init() { FILE: gomall/tutorial/ch14/demo/demo_thrift/biz/service/echo.go type EchoService (line 23) | type EchoService struct method Run (line 31) | func (s *EchoService) Run(req *api.Request) (resp *api.Response, err e... function NewEchoService (line 26) | func NewEchoService(ctx context.Context) *EchoService { FILE: gomall/tutorial/ch14/demo/demo_thrift/biz/service/echo_test.go function TestEcho_Run (line 23) | func TestEcho_Run(t *testing.T) { FILE: gomall/tutorial/ch14/demo/demo_thrift/cmd/client/client.go function main (line 32) | func main() { FILE: gomall/tutorial/ch14/demo/demo_thrift/conf/conf.go type Config (line 34) | type Config struct type MySQL (line 42) | type MySQL struct type Redis (line 46) | type Redis struct type Kitex (line 53) | type Kitex struct type Registry (line 66) | type Registry struct function GetConf (line 73) | func GetConf() *Config { function initConf (line 78) | func initConf() { function GetEnv (line 99) | func GetEnv() string { function LogLevel (line 107) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch14/demo/demo_thrift/handler.go type EchoImpl (line 25) | type EchoImpl struct method Echo (line 28) | func (s *EchoImpl) Echo(ctx context.Context, req *api.Request) (resp *... FILE: gomall/tutorial/ch14/demo/demo_thrift/kitex_gen/api/echo.go type Request (line 12) | type Request struct method InitDefault (line 20) | func (p *Request) InitDefault() { method GetMessage (line 24) | func (p *Request) GetMessage() (v string) { method SetMessage (line 27) | func (p *Request) SetMessage(val string) { method Read (line 35) | func (p *Request) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 94) | func (p *Request) ReadField1(iprot thrift.TProtocol) error { method Write (line 103) | func (p *Request) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 132) | func (p *Request) writeField1(oprot thrift.TProtocol) (err error) { method String (line 149) | func (p *Request) String() string { method DeepEqual (line 156) | func (p *Request) DeepEqual(ano *Request) bool { method Field1DeepEqual (line 168) | func (p *Request) Field1DeepEqual(src string) bool { function NewRequest (line 16) | func NewRequest() *Request { type Response (line 176) | type Response struct method InitDefault (line 184) | func (p *Response) InitDefault() { method GetMessage (line 188) | func (p *Response) GetMessage() (v string) { method SetMessage (line 191) | func (p *Response) SetMessage(val string) { method Read (line 199) | func (p *Response) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 258) | func (p *Response) ReadField1(iprot thrift.TProtocol) error { method Write (line 267) | func (p *Response) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 296) | func (p *Response) writeField1(oprot thrift.TProtocol) (err error) { method String (line 313) | func (p *Response) String() string { method DeepEqual (line 320) | func (p *Response) DeepEqual(ano *Response) bool { method Field1DeepEqual (line 332) | func (p *Response) Field1DeepEqual(src string) bool { function NewResponse (line 180) | func NewResponse() *Response { type Echo (line 340) | type Echo interface type EchoClient (line 344) | type EchoClient struct method Client_ (line 366) | func (p *EchoClient) Client_() thrift.TClient { method Echo (line 370) | func (p *EchoClient) Echo(ctx context.Context, req *Request) (r *Respo... function NewEchoClientFactory (line 348) | func NewEchoClientFactory(t thrift.TTransport, f thrift.TProtocolFactory... function NewEchoClientProtocol (line 354) | func NewEchoClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, ... function NewEchoClient (line 360) | func NewEchoClient(c thrift.TClient) *EchoClient { type EchoProcessor (line 380) | type EchoProcessor struct method AddToProcessorMap (line 385) | func (p *EchoProcessor) AddToProcessorMap(key string, processor thrift... method GetProcessorFunction (line 389) | func (p *EchoProcessor) GetProcessorFunction(key string) (processor th... method ProcessorMap (line 394) | func (p *EchoProcessor) ProcessorMap() map[string]thrift.TProcessorFun... method Process (line 403) | func (p *EchoProcessor) Process(ctx context.Context, iprot, oprot thri... function NewEchoProcessor (line 398) | func NewEchoProcessor(handler Echo) *EchoProcessor { type echoProcessorEcho (line 421) | type echoProcessorEcho struct method Process (line 425) | func (p *echoProcessorEcho) Process(ctx context.Context, seqId int32, ... type EchoEchoArgs (line 469) | type EchoEchoArgs struct method InitDefault (line 477) | func (p *EchoEchoArgs) InitDefault() { method GetReq (line 483) | func (p *EchoEchoArgs) GetReq() (v *Request) { method SetReq (line 489) | func (p *EchoEchoArgs) SetReq(val *Request) { method IsSetReq (line 497) | func (p *EchoEchoArgs) IsSetReq() bool { method Read (line 501) | func (p *EchoEchoArgs) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 560) | func (p *EchoEchoArgs) ReadField1(iprot thrift.TProtocol) error { method Write (line 568) | func (p *EchoEchoArgs) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 597) | func (p *EchoEchoArgs) writeField1(oprot thrift.TProtocol) (err error) { method String (line 614) | func (p *EchoEchoArgs) String() string { method DeepEqual (line 621) | func (p *EchoEchoArgs) DeepEqual(ano *EchoEchoArgs) bool { method Field1DeepEqual (line 633) | func (p *EchoEchoArgs) Field1DeepEqual(src *Request) bool { function NewEchoEchoArgs (line 473) | func NewEchoEchoArgs() *EchoEchoArgs { type EchoEchoResult (line 641) | type EchoEchoResult struct method InitDefault (line 649) | func (p *EchoEchoResult) InitDefault() { method GetSuccess (line 655) | func (p *EchoEchoResult) GetSuccess() (v *Response) { method SetSuccess (line 661) | func (p *EchoEchoResult) SetSuccess(x interface{}) { method IsSetSuccess (line 669) | func (p *EchoEchoResult) IsSetSuccess() bool { method Read (line 673) | func (p *EchoEchoResult) Read(iprot thrift.TProtocol) (err error) { method ReadField0 (line 732) | func (p *EchoEchoResult) ReadField0(iprot thrift.TProtocol) error { method Write (line 740) | func (p *EchoEchoResult) Write(oprot thrift.TProtocol) (err error) { method writeField0 (line 769) | func (p *EchoEchoResult) writeField0(oprot thrift.TProtocol) (err erro... method String (line 788) | func (p *EchoEchoResult) String() string { method DeepEqual (line 795) | func (p *EchoEchoResult) DeepEqual(ano *EchoEchoResult) bool { method Field0DeepEqual (line 807) | func (p *EchoEchoResult) Field0DeepEqual(src *Response) bool { function NewEchoEchoResult (line 645) | func NewEchoEchoResult() *EchoEchoResult { FILE: gomall/tutorial/ch14/demo/demo_thrift/kitex_gen/api/echo/client.go type Client (line 13) | type Client interface function NewClient (line 18) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 34) | func MustNewClient(destService string, opts ...client.Option) Client { type kEchoClient (line 42) | type kEchoClient struct method Echo (line 46) | func (p *kEchoClient) Echo(ctx context.Context, req *api.Request, call... FILE: gomall/tutorial/ch14/demo/demo_thrift/kitex_gen/api/echo/echo.go function serviceInfo (line 12) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 18) | func NewServiceInfo() *kitex.ServiceInfo { function echoHandler (line 39) | func echoHandler(ctx context.Context, handler interface{}, arg, result i... function newEchoEchoArgs (line 49) | func newEchoEchoArgs() interface{} { function newEchoEchoResult (line 53) | func newEchoEchoResult() interface{} { type kClient (line 57) | type kClient struct method Echo (line 67) | func (p *kClient) Echo(ctx context.Context, req *api.Request) (r *api.... function newServiceClient (line 61) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch14/demo/demo_thrift/kitex_gen/api/echo/invoker.go function NewInvoker (line 11) | func NewInvoker(handler api.Echo, opts ...server.Option) server.Invoker { FILE: gomall/tutorial/ch14/demo/demo_thrift/kitex_gen/api/echo/server.go function NewServer (line 10) | func NewServer(handler api.Echo, opts ...server.Option) server.Server { FILE: gomall/tutorial/ch14/demo/demo_thrift/kitex_gen/api/k-echo.go method FastRead (line 26) | func (p *Request) FastRead(buf []byte) (int, error) { method FastReadField1 (line 97) | func (p *Request) FastReadField1(buf []byte) (int, error) { method FastWrite (line 112) | func (p *Request) FastWrite(buf []byte) int { method FastWriteNocopy (line 116) | func (p *Request) FastWriteNocopy(buf []byte, binaryWriter bthrift.Binar... method BLength (line 127) | func (p *Request) BLength() int { method fastWriteField1 (line 138) | func (p *Request) fastWriteField1(buf []byte, binaryWriter bthrift.Binar... method field1Length (line 147) | func (p *Request) field1Length() int { method FastRead (line 156) | func (p *Response) FastRead(buf []byte) (int, error) { method FastReadField1 (line 227) | func (p *Response) FastReadField1(buf []byte) (int, error) { method FastWrite (line 242) | func (p *Response) FastWrite(buf []byte) int { method FastWriteNocopy (line 246) | func (p *Response) FastWriteNocopy(buf []byte, binaryWriter bthrift.Bina... method BLength (line 257) | func (p *Response) BLength() int { method fastWriteField1 (line 268) | func (p *Response) fastWriteField1(buf []byte, binaryWriter bthrift.Bina... method field1Length (line 277) | func (p *Response) field1Length() int { method FastRead (line 286) | func (p *EchoEchoArgs) FastRead(buf []byte) (int, error) { method FastReadField1 (line 357) | func (p *EchoEchoArgs) FastReadField1(buf []byte) (int, error) { method FastWrite (line 371) | func (p *EchoEchoArgs) FastWrite(buf []byte) int { method FastWriteNocopy (line 375) | func (p *EchoEchoArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.... method BLength (line 386) | func (p *EchoEchoArgs) BLength() int { method fastWriteField1 (line 397) | func (p *EchoEchoArgs) fastWriteField1(buf []byte, binaryWriter bthrift.... method field1Length (line 405) | func (p *EchoEchoArgs) field1Length() int { method FastRead (line 413) | func (p *EchoEchoResult) FastRead(buf []byte) (int, error) { method FastReadField0 (line 484) | func (p *EchoEchoResult) FastReadField0(buf []byte) (int, error) { method FastWrite (line 498) | func (p *EchoEchoResult) FastWrite(buf []byte) int { method FastWriteNocopy (line 502) | func (p *EchoEchoResult) FastWriteNocopy(buf []byte, binaryWriter bthrif... method BLength (line 513) | func (p *EchoEchoResult) BLength() int { method fastWriteField0 (line 524) | func (p *EchoEchoResult) fastWriteField0(buf []byte, binaryWriter bthrif... method field0Length (line 534) | func (p *EchoEchoResult) field0Length() int { method GetFirstArgument (line 544) | func (p *EchoEchoArgs) GetFirstArgument() interface{} { method GetResult (line 548) | func (p *EchoEchoResult) GetResult() interface{} { FILE: gomall/tutorial/ch14/demo/demo_thrift/main.go function main (line 33) | func main() { function kitexInit (line 44) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch14/hello_world/main.go function main (line 25) | func main() { FILE: gomall/tutorial/ch14/rpc_gen/kitex_gen/cart/cart.pb.fast.go method FastRead (line 15) | func (x *CartItem) FastRead(buf []byte, _type int8, number int32) (offse... method fastReadField1 (line 40) | func (x *CartItem) fastReadField1(buf []byte, _type int8) (offset int, e... method fastReadField2 (line 45) | func (x *CartItem) fastReadField2(buf []byte, _type int8) (offset int, e... method FastRead (line 50) | func (x *AddItemReq) FastRead(buf []byte, _type int8, number int32) (off... method fastReadField1 (line 75) | func (x *AddItemReq) fastReadField1(buf []byte, _type int8) (offset int,... method fastReadField2 (line 80) | func (x *AddItemReq) fastReadField2(buf []byte, _type int8) (offset int,... method FastRead (line 90) | func (x *AddItemResp) FastRead(buf []byte, _type int8, number int32) (of... method FastRead (line 103) | func (x *EmptyCartReq) FastRead(buf []byte, _type int8, number int32) (o... method fastReadField1 (line 123) | func (x *EmptyCartReq) fastReadField1(buf []byte, _type int8) (offset in... method FastRead (line 128) | func (x *GetCartReq) FastRead(buf []byte, _type int8, number int32) (off... method fastReadField1 (line 148) | func (x *GetCartReq) fastReadField1(buf []byte, _type int8) (offset int,... method FastRead (line 153) | func (x *GetCartResp) FastRead(buf []byte, _type int8, number int32) (of... method fastReadField1 (line 173) | func (x *GetCartResp) fastReadField1(buf []byte, _type int8) (offset int... method FastRead (line 183) | func (x *Cart) FastRead(buf []byte, _type int8, number int32) (offset in... method fastReadField1 (line 208) | func (x *Cart) fastReadField1(buf []byte, _type int8) (offset int, err e... method fastReadField2 (line 213) | func (x *Cart) fastReadField2(buf []byte, _type int8) (offset int, err e... method FastRead (line 223) | func (x *EmptyCartResp) FastRead(buf []byte, _type int8, number int32) (... method FastWrite (line 236) | func (x *CartItem) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 245) | func (x *CartItem) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 253) | func (x *CartItem) fastWriteField2(buf []byte) (offset int) { method FastWrite (line 261) | func (x *AddItemReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 270) | func (x *AddItemReq) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 278) | func (x *AddItemReq) fastWriteField2(buf []byte) (offset int) { method FastWrite (line 286) | func (x *AddItemResp) FastWrite(buf []byte) (offset int) { method FastWrite (line 293) | func (x *EmptyCartReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 301) | func (x *EmptyCartReq) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 309) | func (x *GetCartReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 317) | func (x *GetCartReq) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 325) | func (x *GetCartResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 333) | func (x *GetCartResp) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 341) | func (x *Cart) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 350) | func (x *Cart) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 358) | func (x *Cart) fastWriteField2(buf []byte) (offset int) { method FastWrite (line 368) | func (x *EmptyCartResp) FastWrite(buf []byte) (offset int) { method Size (line 375) | func (x *CartItem) Size() (n int) { method sizeField1 (line 384) | func (x *CartItem) sizeField1() (n int) { method sizeField2 (line 392) | func (x *CartItem) sizeField2() (n int) { method Size (line 400) | func (x *AddItemReq) Size() (n int) { method sizeField1 (line 409) | func (x *AddItemReq) sizeField1() (n int) { method sizeField2 (line 417) | func (x *AddItemReq) sizeField2() (n int) { method Size (line 425) | func (x *AddItemResp) Size() (n int) { method Size (line 432) | func (x *EmptyCartReq) Size() (n int) { method sizeField1 (line 440) | func (x *EmptyCartReq) sizeField1() (n int) { method Size (line 448) | func (x *GetCartReq) Size() (n int) { method sizeField1 (line 456) | func (x *GetCartReq) sizeField1() (n int) { method Size (line 464) | func (x *GetCartResp) Size() (n int) { method sizeField1 (line 472) | func (x *GetCartResp) sizeField1() (n int) { method Size (line 480) | func (x *Cart) Size() (n int) { method sizeField1 (line 489) | func (x *Cart) sizeField1() (n int) { method sizeField2 (line 497) | func (x *Cart) sizeField2() (n int) { method Size (line 507) | func (x *EmptyCartResp) Size() (n int) { FILE: gomall/tutorial/ch14/rpc_gen/kitex_gen/cart/cart.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type CartItem (line 24) | type CartItem struct method Reset (line 33) | func (x *CartItem) Reset() { method String (line 42) | func (x *CartItem) String() string { method ProtoMessage (line 46) | func (*CartItem) ProtoMessage() {} method ProtoReflect (line 48) | func (x *CartItem) ProtoReflect() protoreflect.Message { method Descriptor (line 61) | func (*CartItem) Descriptor() ([]byte, []int) { method GetProductId (line 65) | func (x *CartItem) GetProductId() uint32 { method GetQuantity (line 72) | func (x *CartItem) GetQuantity() int32 { type AddItemReq (line 79) | type AddItemReq struct method Reset (line 88) | func (x *AddItemReq) Reset() { method String (line 97) | func (x *AddItemReq) String() string { method ProtoMessage (line 101) | func (*AddItemReq) ProtoMessage() {} method ProtoReflect (line 103) | func (x *AddItemReq) ProtoReflect() protoreflect.Message { method Descriptor (line 116) | func (*AddItemReq) Descriptor() ([]byte, []int) { method GetUserId (line 120) | func (x *AddItemReq) GetUserId() uint32 { method GetItem (line 127) | func (x *AddItemReq) GetItem() *CartItem { type AddItemResp (line 134) | type AddItemResp struct method Reset (line 140) | func (x *AddItemResp) Reset() { method String (line 149) | func (x *AddItemResp) String() string { method ProtoMessage (line 153) | func (*AddItemResp) ProtoMessage() {} method ProtoReflect (line 155) | func (x *AddItemResp) ProtoReflect() protoreflect.Message { method Descriptor (line 168) | func (*AddItemResp) Descriptor() ([]byte, []int) { type EmptyCartReq (line 172) | type EmptyCartReq struct method Reset (line 180) | func (x *EmptyCartReq) Reset() { method String (line 189) | func (x *EmptyCartReq) String() string { method ProtoMessage (line 193) | func (*EmptyCartReq) ProtoMessage() {} method ProtoReflect (line 195) | func (x *EmptyCartReq) ProtoReflect() protoreflect.Message { method Descriptor (line 208) | func (*EmptyCartReq) Descriptor() ([]byte, []int) { method GetUserId (line 212) | func (x *EmptyCartReq) GetUserId() uint32 { type GetCartReq (line 219) | type GetCartReq struct method Reset (line 227) | func (x *GetCartReq) Reset() { method String (line 236) | func (x *GetCartReq) String() string { method ProtoMessage (line 240) | func (*GetCartReq) ProtoMessage() {} method ProtoReflect (line 242) | func (x *GetCartReq) ProtoReflect() protoreflect.Message { method Descriptor (line 255) | func (*GetCartReq) Descriptor() ([]byte, []int) { method GetUserId (line 259) | func (x *GetCartReq) GetUserId() uint32 { type GetCartResp (line 266) | type GetCartResp struct method Reset (line 274) | func (x *GetCartResp) Reset() { method String (line 283) | func (x *GetCartResp) String() string { method ProtoMessage (line 287) | func (*GetCartResp) ProtoMessage() {} method ProtoReflect (line 289) | func (x *GetCartResp) ProtoReflect() protoreflect.Message { method Descriptor (line 302) | func (*GetCartResp) Descriptor() ([]byte, []int) { method GetCart (line 306) | func (x *GetCartResp) GetCart() *Cart { type Cart (line 313) | type Cart struct method Reset (line 322) | func (x *Cart) Reset() { method String (line 331) | func (x *Cart) String() string { method ProtoMessage (line 335) | func (*Cart) ProtoMessage() {} method ProtoReflect (line 337) | func (x *Cart) ProtoReflect() protoreflect.Message { method Descriptor (line 350) | func (*Cart) Descriptor() ([]byte, []int) { method GetUserId (line 354) | func (x *Cart) GetUserId() uint32 { method GetItems (line 361) | func (x *Cart) GetItems() []*CartItem { type EmptyCartResp (line 368) | type EmptyCartResp struct method Reset (line 374) | func (x *EmptyCartResp) Reset() { method String (line 383) | func (x *EmptyCartResp) String() string { method ProtoMessage (line 387) | func (*EmptyCartResp) ProtoMessage() {} method ProtoReflect (line 389) | func (x *EmptyCartResp) ProtoReflect() protoreflect.Message { method Descriptor (line 402) | func (*EmptyCartResp) Descriptor() ([]byte, []int) { function file_cart_proto_rawDescGZIP (line 456) | func file_cart_proto_rawDescGZIP() []byte { function init (line 491) | func init() { file_cart_proto_init() } function file_cart_proto_init (line 492) | func file_cart_proto_init() { type CartService (line 618) | type CartService interface FILE: gomall/tutorial/ch14/rpc_gen/kitex_gen/cart/cartservice/cartservice.go function serviceInfo (line 14) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 20) | func NewServiceInfo() *kitex.ServiceInfo { function addItemHandler (line 43) | func addItemHandler(ctx context.Context, handler interface{}, arg, resul... function newAddItemArgs (line 68) | func newAddItemArgs() interface{} { function newAddItemResult (line 72) | func newAddItemResult() interface{} { type AddItemArgs (line 76) | type AddItemArgs struct method FastRead (line 80) | func (p *AddItemArgs) FastRead(buf []byte, _type int8, number int32) (... method FastWrite (line 87) | func (p *AddItemArgs) FastWrite(buf []byte) (n int) { method Size (line 94) | func (p *AddItemArgs) Size() (n int) { method Marshal (line 101) | func (p *AddItemArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 108) | func (p *AddItemArgs) Unmarshal(in []byte) error { method GetReq (line 119) | func (p *AddItemArgs) GetReq() *cart.AddItemReq { method IsSetReq (line 126) | func (p *AddItemArgs) IsSetReq() bool { method GetFirstArgument (line 130) | func (p *AddItemArgs) GetFirstArgument() interface{} { type AddItemResult (line 134) | type AddItemResult struct method FastRead (line 140) | func (p *AddItemResult) FastRead(buf []byte, _type int8, number int32)... method FastWrite (line 147) | func (p *AddItemResult) FastWrite(buf []byte) (n int) { method Size (line 154) | func (p *AddItemResult) Size() (n int) { method Marshal (line 161) | func (p *AddItemResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 168) | func (p *AddItemResult) Unmarshal(in []byte) error { method GetSuccess (line 177) | func (p *AddItemResult) GetSuccess() *cart.AddItemResp { method SetSuccess (line 184) | func (p *AddItemResult) SetSuccess(x interface{}) { method IsSetSuccess (line 188) | func (p *AddItemResult) IsSetSuccess() bool { method GetResult (line 192) | func (p *AddItemResult) GetResult() interface{} { function getCartHandler (line 196) | func getCartHandler(ctx context.Context, handler interface{}, arg, resul... function newGetCartArgs (line 221) | func newGetCartArgs() interface{} { function newGetCartResult (line 225) | func newGetCartResult() interface{} { type GetCartArgs (line 229) | type GetCartArgs struct method FastRead (line 233) | func (p *GetCartArgs) FastRead(buf []byte, _type int8, number int32) (... method FastWrite (line 240) | func (p *GetCartArgs) FastWrite(buf []byte) (n int) { method Size (line 247) | func (p *GetCartArgs) Size() (n int) { method Marshal (line 254) | func (p *GetCartArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 261) | func (p *GetCartArgs) Unmarshal(in []byte) error { method GetReq (line 272) | func (p *GetCartArgs) GetReq() *cart.GetCartReq { method IsSetReq (line 279) | func (p *GetCartArgs) IsSetReq() bool { method GetFirstArgument (line 283) | func (p *GetCartArgs) GetFirstArgument() interface{} { type GetCartResult (line 287) | type GetCartResult struct method FastRead (line 293) | func (p *GetCartResult) FastRead(buf []byte, _type int8, number int32)... method FastWrite (line 300) | func (p *GetCartResult) FastWrite(buf []byte) (n int) { method Size (line 307) | func (p *GetCartResult) Size() (n int) { method Marshal (line 314) | func (p *GetCartResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 321) | func (p *GetCartResult) Unmarshal(in []byte) error { method GetSuccess (line 330) | func (p *GetCartResult) GetSuccess() *cart.GetCartResp { method SetSuccess (line 337) | func (p *GetCartResult) SetSuccess(x interface{}) { method IsSetSuccess (line 341) | func (p *GetCartResult) IsSetSuccess() bool { method GetResult (line 345) | func (p *GetCartResult) GetResult() interface{} { function emptyCartHandler (line 349) | func emptyCartHandler(ctx context.Context, handler interface{}, arg, res... function newEmptyCartArgs (line 374) | func newEmptyCartArgs() interface{} { function newEmptyCartResult (line 378) | func newEmptyCartResult() interface{} { type EmptyCartArgs (line 382) | type EmptyCartArgs struct method FastRead (line 386) | func (p *EmptyCartArgs) FastRead(buf []byte, _type int8, number int32)... method FastWrite (line 393) | func (p *EmptyCartArgs) FastWrite(buf []byte) (n int) { method Size (line 400) | func (p *EmptyCartArgs) Size() (n int) { method Marshal (line 407) | func (p *EmptyCartArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 414) | func (p *EmptyCartArgs) Unmarshal(in []byte) error { method GetReq (line 425) | func (p *EmptyCartArgs) GetReq() *cart.EmptyCartReq { method IsSetReq (line 432) | func (p *EmptyCartArgs) IsSetReq() bool { method GetFirstArgument (line 436) | func (p *EmptyCartArgs) GetFirstArgument() interface{} { type EmptyCartResult (line 440) | type EmptyCartResult struct method FastRead (line 446) | func (p *EmptyCartResult) FastRead(buf []byte, _type int8, number int3... method FastWrite (line 453) | func (p *EmptyCartResult) FastWrite(buf []byte) (n int) { method Size (line 460) | func (p *EmptyCartResult) Size() (n int) { method Marshal (line 467) | func (p *EmptyCartResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 474) | func (p *EmptyCartResult) Unmarshal(in []byte) error { method GetSuccess (line 483) | func (p *EmptyCartResult) GetSuccess() *cart.EmptyCartResp { method SetSuccess (line 490) | func (p *EmptyCartResult) SetSuccess(x interface{}) { method IsSetSuccess (line 494) | func (p *EmptyCartResult) IsSetSuccess() bool { method GetResult (line 498) | func (p *EmptyCartResult) GetResult() interface{} { type kClient (line 502) | type kClient struct method AddItem (line 512) | func (p *kClient) AddItem(ctx context.Context, Req *cart.AddItemReq) (... method GetCart (line 522) | func (p *kClient) GetCart(ctx context.Context, Req *cart.GetCartReq) (... method EmptyCart (line 532) | func (p *kClient) EmptyCart(ctx context.Context, Req *cart.EmptyCartRe... function newServiceClient (line 506) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch14/rpc_gen/kitex_gen/cart/cartservice/client.go type Client (line 13) | type Client interface function NewClient (line 20) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 36) | func MustNewClient(destService string, opts ...client.Option) Client { type kCartServiceClient (line 44) | type kCartServiceClient struct method AddItem (line 48) | func (p *kCartServiceClient) AddItem(ctx context.Context, Req *cart.Ad... method GetCart (line 53) | func (p *kCartServiceClient) GetCart(ctx context.Context, Req *cart.Ge... method EmptyCart (line 58) | func (p *kCartServiceClient) EmptyCart(ctx context.Context, Req *cart.... FILE: gomall/tutorial/ch14/rpc_gen/kitex_gen/cart/cartservice/invoker.go function NewInvoker (line 11) | func NewInvoker(handler cart.CartService, opts ...server.Option) server.... FILE: gomall/tutorial/ch14/rpc_gen/kitex_gen/cart/cartservice/server.go function NewServer (line 10) | func NewServer(handler cart.CartService, opts ...server.Option) server.S... FILE: gomall/tutorial/ch14/rpc_gen/kitex_gen/checkout/checkout.pb.fast.go method FastRead (line 16) | func (x *Address) FastRead(buf []byte, _type int8, number int32) (offset... method fastReadField1 (line 56) | func (x *Address) fastReadField1(buf []byte, _type int8) (offset int, er... method fastReadField2 (line 61) | func (x *Address) fastReadField2(buf []byte, _type int8) (offset int, er... method fastReadField3 (line 66) | func (x *Address) fastReadField3(buf []byte, _type int8) (offset int, er... method fastReadField4 (line 71) | func (x *Address) fastReadField4(buf []byte, _type int8) (offset int, er... method fastReadField5 (line 76) | func (x *Address) fastReadField5(buf []byte, _type int8) (offset int, er... method FastRead (line 81) | func (x *CheckoutReq) FastRead(buf []byte, _type int8, number int32) (of... method fastReadField1 (line 126) | func (x *CheckoutReq) fastReadField1(buf []byte, _type int8) (offset int... method fastReadField2 (line 131) | func (x *CheckoutReq) fastReadField2(buf []byte, _type int8) (offset int... method fastReadField3 (line 136) | func (x *CheckoutReq) fastReadField3(buf []byte, _type int8) (offset int... method fastReadField4 (line 141) | func (x *CheckoutReq) fastReadField4(buf []byte, _type int8) (offset int... method fastReadField5 (line 146) | func (x *CheckoutReq) fastReadField5(buf []byte, _type int8) (offset int... method fastReadField6 (line 156) | func (x *CheckoutReq) fastReadField6(buf []byte, _type int8) (offset int... method FastRead (line 166) | func (x *CheckoutResp) FastRead(buf []byte, _type int8, number int32) (o... method fastReadField1 (line 191) | func (x *CheckoutResp) fastReadField1(buf []byte, _type int8) (offset in... method fastReadField2 (line 196) | func (x *CheckoutResp) fastReadField2(buf []byte, _type int8) (offset in... method FastWrite (line 201) | func (x *Address) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 213) | func (x *Address) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 221) | func (x *Address) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 229) | func (x *Address) fastWriteField3(buf []byte) (offset int) { method fastWriteField4 (line 237) | func (x *Address) fastWriteField4(buf []byte) (offset int) { method fastWriteField5 (line 245) | func (x *Address) fastWriteField5(buf []byte) (offset int) { method FastWrite (line 253) | func (x *CheckoutReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 266) | func (x *CheckoutReq) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 274) | func (x *CheckoutReq) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 282) | func (x *CheckoutReq) fastWriteField3(buf []byte) (offset int) { method fastWriteField4 (line 290) | func (x *CheckoutReq) fastWriteField4(buf []byte) (offset int) { method fastWriteField5 (line 298) | func (x *CheckoutReq) fastWriteField5(buf []byte) (offset int) { method fastWriteField6 (line 306) | func (x *CheckoutReq) fastWriteField6(buf []byte) (offset int) { method FastWrite (line 314) | func (x *CheckoutResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 323) | func (x *CheckoutResp) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 331) | func (x *CheckoutResp) fastWriteField2(buf []byte) (offset int) { method Size (line 339) | func (x *Address) Size() (n int) { method sizeField1 (line 351) | func (x *Address) sizeField1() (n int) { method sizeField2 (line 359) | func (x *Address) sizeField2() (n int) { method sizeField3 (line 367) | func (x *Address) sizeField3() (n int) { method sizeField4 (line 375) | func (x *Address) sizeField4() (n int) { method sizeField5 (line 383) | func (x *Address) sizeField5() (n int) { method Size (line 391) | func (x *CheckoutReq) Size() (n int) { method sizeField1 (line 404) | func (x *CheckoutReq) sizeField1() (n int) { method sizeField2 (line 412) | func (x *CheckoutReq) sizeField2() (n int) { method sizeField3 (line 420) | func (x *CheckoutReq) sizeField3() (n int) { method sizeField4 (line 428) | func (x *CheckoutReq) sizeField4() (n int) { method sizeField5 (line 436) | func (x *CheckoutReq) sizeField5() (n int) { method sizeField6 (line 444) | func (x *CheckoutReq) sizeField6() (n int) { method Size (line 452) | func (x *CheckoutResp) Size() (n int) { method sizeField1 (line 461) | func (x *CheckoutResp) sizeField1() (n int) { method sizeField2 (line 469) | func (x *CheckoutResp) sizeField2() (n int) { FILE: gomall/tutorial/ch14/rpc_gen/kitex_gen/checkout/checkout.pb.go constant _ (line 20) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 22) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Address (line 25) | type Address struct method Reset (line 37) | func (x *Address) Reset() { method String (line 46) | func (x *Address) String() string { method ProtoMessage (line 50) | func (*Address) ProtoMessage() {} method ProtoReflect (line 52) | func (x *Address) ProtoReflect() protoreflect.Message { method Descriptor (line 65) | func (*Address) Descriptor() ([]byte, []int) { method GetStreetAddress (line 69) | func (x *Address) GetStreetAddress() string { method GetCity (line 76) | func (x *Address) GetCity() string { method GetState (line 83) | func (x *Address) GetState() string { method GetCountry (line 90) | func (x *Address) GetCountry() string { method GetZipCode (line 97) | func (x *Address) GetZipCode() string { type CheckoutReq (line 104) | type CheckoutReq struct method Reset (line 117) | func (x *CheckoutReq) Reset() { method String (line 126) | func (x *CheckoutReq) String() string { method ProtoMessage (line 130) | func (*CheckoutReq) ProtoMessage() {} method ProtoReflect (line 132) | func (x *CheckoutReq) ProtoReflect() protoreflect.Message { method Descriptor (line 145) | func (*CheckoutReq) Descriptor() ([]byte, []int) { method GetUserId (line 149) | func (x *CheckoutReq) GetUserId() uint32 { method GetFirstname (line 156) | func (x *CheckoutReq) GetFirstname() string { method GetLastname (line 163) | func (x *CheckoutReq) GetLastname() string { method GetEmail (line 170) | func (x *CheckoutReq) GetEmail() string { method GetAddress (line 177) | func (x *CheckoutReq) GetAddress() *Address { method GetCreditCard (line 184) | func (x *CheckoutReq) GetCreditCard() *payment.CreditCardInfo { type CheckoutResp (line 191) | type CheckoutResp struct method Reset (line 200) | func (x *CheckoutResp) Reset() { method String (line 209) | func (x *CheckoutResp) String() string { method ProtoMessage (line 213) | func (*CheckoutResp) ProtoMessage() {} method ProtoReflect (line 215) | func (x *CheckoutResp) ProtoReflect() protoreflect.Message { method Descriptor (line 228) | func (*CheckoutResp) Descriptor() ([]byte, []int) { method GetOrderId (line 232) | func (x *CheckoutResp) GetOrderId() string { method GetTransactionId (line 239) | func (x *CheckoutResp) GetTransactionId() string { function file_checkout_proto_rawDescGZIP (line 297) | func file_checkout_proto_rawDescGZIP() []byte { function init (line 323) | func init() { file_checkout_proto_init() } function file_checkout_proto_init (line 324) | func file_checkout_proto_init() { type CheckoutService (line 390) | type CheckoutService interface FILE: gomall/tutorial/ch14/rpc_gen/kitex_gen/checkout/checkoutservice/checkoutservice.go function serviceInfo (line 14) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 20) | func NewServiceInfo() *kitex.ServiceInfo { function checkoutHandler (line 41) | func checkoutHandler(ctx context.Context, handler interface{}, arg, resu... function newCheckoutArgs (line 66) | func newCheckoutArgs() interface{} { function newCheckoutResult (line 70) | func newCheckoutResult() interface{} { type CheckoutArgs (line 74) | type CheckoutArgs struct method FastRead (line 78) | func (p *CheckoutArgs) FastRead(buf []byte, _type int8, number int32) ... method FastWrite (line 85) | func (p *CheckoutArgs) FastWrite(buf []byte) (n int) { method Size (line 92) | func (p *CheckoutArgs) Size() (n int) { method Marshal (line 99) | func (p *CheckoutArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 106) | func (p *CheckoutArgs) Unmarshal(in []byte) error { method GetReq (line 117) | func (p *CheckoutArgs) GetReq() *checkout.CheckoutReq { method IsSetReq (line 124) | func (p *CheckoutArgs) IsSetReq() bool { method GetFirstArgument (line 128) | func (p *CheckoutArgs) GetFirstArgument() interface{} { type CheckoutResult (line 132) | type CheckoutResult struct method FastRead (line 138) | func (p *CheckoutResult) FastRead(buf []byte, _type int8, number int32... method FastWrite (line 145) | func (p *CheckoutResult) FastWrite(buf []byte) (n int) { method Size (line 152) | func (p *CheckoutResult) Size() (n int) { method Marshal (line 159) | func (p *CheckoutResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 166) | func (p *CheckoutResult) Unmarshal(in []byte) error { method GetSuccess (line 175) | func (p *CheckoutResult) GetSuccess() *checkout.CheckoutResp { method SetSuccess (line 182) | func (p *CheckoutResult) SetSuccess(x interface{}) { method IsSetSuccess (line 186) | func (p *CheckoutResult) IsSetSuccess() bool { method GetResult (line 190) | func (p *CheckoutResult) GetResult() interface{} { type kClient (line 194) | type kClient struct method Checkout (line 204) | func (p *kClient) Checkout(ctx context.Context, Req *checkout.Checkout... function newServiceClient (line 198) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch14/rpc_gen/kitex_gen/checkout/checkoutservice/client.go type Client (line 13) | type Client interface function NewClient (line 18) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 34) | func MustNewClient(destService string, opts ...client.Option) Client { type kCheckoutServiceClient (line 42) | type kCheckoutServiceClient struct method Checkout (line 46) | func (p *kCheckoutServiceClient) Checkout(ctx context.Context, Req *ch... FILE: gomall/tutorial/ch14/rpc_gen/kitex_gen/checkout/checkoutservice/invoker.go function NewInvoker (line 11) | func NewInvoker(handler checkout.CheckoutService, opts ...server.Option)... FILE: gomall/tutorial/ch14/rpc_gen/kitex_gen/checkout/checkoutservice/server.go function NewServer (line 10) | func NewServer(handler checkout.CheckoutService, opts ...server.Option) ... FILE: gomall/tutorial/ch14/rpc_gen/kitex_gen/email/email.pb.fast.go method FastRead (line 15) | func (x *EmailReq) FastRead(buf []byte, _type int8, number int32) (offse... method fastReadField1 (line 55) | func (x *EmailReq) fastReadField1(buf []byte, _type int8) (offset int, e... method fastReadField2 (line 60) | func (x *EmailReq) fastReadField2(buf []byte, _type int8) (offset int, e... method fastReadField3 (line 65) | func (x *EmailReq) fastReadField3(buf []byte, _type int8) (offset int, e... method fastReadField4 (line 70) | func (x *EmailReq) fastReadField4(buf []byte, _type int8) (offset int, e... method fastReadField5 (line 75) | func (x *EmailReq) fastReadField5(buf []byte, _type int8) (offset int, e... method FastRead (line 80) | func (x *EmailResp) FastRead(buf []byte, _type int8, number int32) (offs... method FastWrite (line 93) | func (x *EmailReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 105) | func (x *EmailReq) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 113) | func (x *EmailReq) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 121) | func (x *EmailReq) fastWriteField3(buf []byte) (offset int) { method fastWriteField4 (line 129) | func (x *EmailReq) fastWriteField4(buf []byte) (offset int) { method fastWriteField5 (line 137) | func (x *EmailReq) fastWriteField5(buf []byte) (offset int) { method FastWrite (line 145) | func (x *EmailResp) FastWrite(buf []byte) (offset int) { method Size (line 152) | func (x *EmailReq) Size() (n int) { method sizeField1 (line 164) | func (x *EmailReq) sizeField1() (n int) { method sizeField2 (line 172) | func (x *EmailReq) sizeField2() (n int) { method sizeField3 (line 180) | func (x *EmailReq) sizeField3() (n int) { method sizeField4 (line 188) | func (x *EmailReq) sizeField4() (n int) { method sizeField5 (line 196) | func (x *EmailReq) sizeField5() (n int) { method Size (line 204) | func (x *EmailResp) Size() (n int) { FILE: gomall/tutorial/ch14/rpc_gen/kitex_gen/email/email.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type EmailReq (line 24) | type EmailReq struct method Reset (line 36) | func (x *EmailReq) Reset() { method String (line 45) | func (x *EmailReq) String() string { method ProtoMessage (line 49) | func (*EmailReq) ProtoMessage() {} method ProtoReflect (line 51) | func (x *EmailReq) ProtoReflect() protoreflect.Message { method Descriptor (line 64) | func (*EmailReq) Descriptor() ([]byte, []int) { method GetFrom (line 68) | func (x *EmailReq) GetFrom() string { method GetTo (line 75) | func (x *EmailReq) GetTo() string { method GetContentType (line 82) | func (x *EmailReq) GetContentType() string { method GetSubject (line 89) | func (x *EmailReq) GetSubject() string { method GetContent (line 96) | func (x *EmailReq) GetContent() string { type EmailResp (line 103) | type EmailResp struct method Reset (line 109) | func (x *EmailResp) Reset() { method String (line 118) | func (x *EmailResp) String() string { method ProtoMessage (line 122) | func (*EmailResp) ProtoMessage() {} method ProtoReflect (line 124) | func (x *EmailResp) ProtoReflect() protoreflect.Message { method Descriptor (line 137) | func (*EmailResp) Descriptor() ([]byte, []int) { function file_email_proto_rawDescGZIP (line 170) | func file_email_proto_rawDescGZIP() []byte { function init (line 192) | func init() { file_email_proto_init() } function file_email_proto_init (line 193) | func file_email_proto_init() { type EmailService (line 247) | type EmailService interface FILE: gomall/tutorial/ch14/rpc_gen/kitex_gen/email/emailservice/client.go type Client (line 13) | type Client interface function NewClient (line 18) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 34) | func MustNewClient(destService string, opts ...client.Option) Client { type kEmailServiceClient (line 42) | type kEmailServiceClient struct method Send (line 46) | func (p *kEmailServiceClient) Send(ctx context.Context, Req *email.Ema... FILE: gomall/tutorial/ch14/rpc_gen/kitex_gen/email/emailservice/emailservice.go function serviceInfo (line 14) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 20) | func NewServiceInfo() *kitex.ServiceInfo { function sendHandler (line 41) | func sendHandler(ctx context.Context, handler interface{}, arg, result i... function newSendArgs (line 66) | func newSendArgs() interface{} { function newSendResult (line 70) | func newSendResult() interface{} { type SendArgs (line 74) | type SendArgs struct method FastRead (line 78) | func (p *SendArgs) FastRead(buf []byte, _type int8, number int32) (n i... method FastWrite (line 85) | func (p *SendArgs) FastWrite(buf []byte) (n int) { method Size (line 92) | func (p *SendArgs) Size() (n int) { method Marshal (line 99) | func (p *SendArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 106) | func (p *SendArgs) Unmarshal(in []byte) error { method GetReq (line 117) | func (p *SendArgs) GetReq() *email.EmailReq { method IsSetReq (line 124) | func (p *SendArgs) IsSetReq() bool { method GetFirstArgument (line 128) | func (p *SendArgs) GetFirstArgument() interface{} { type SendResult (line 132) | type SendResult struct method FastRead (line 138) | func (p *SendResult) FastRead(buf []byte, _type int8, number int32) (n... method FastWrite (line 145) | func (p *SendResult) FastWrite(buf []byte) (n int) { method Size (line 152) | func (p *SendResult) Size() (n int) { method Marshal (line 159) | func (p *SendResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 166) | func (p *SendResult) Unmarshal(in []byte) error { method GetSuccess (line 175) | func (p *SendResult) GetSuccess() *email.EmailResp { method SetSuccess (line 182) | func (p *SendResult) SetSuccess(x interface{}) { method IsSetSuccess (line 186) | func (p *SendResult) IsSetSuccess() bool { method GetResult (line 190) | func (p *SendResult) GetResult() interface{} { type kClient (line 194) | type kClient struct method Send (line 204) | func (p *kClient) Send(ctx context.Context, Req *email.EmailReq) (r *e... function newServiceClient (line 198) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch14/rpc_gen/kitex_gen/email/emailservice/invoker.go function NewInvoker (line 11) | func NewInvoker(handler email.EmailService, opts ...server.Option) serve... FILE: gomall/tutorial/ch14/rpc_gen/kitex_gen/email/emailservice/server.go function NewServer (line 10) | func NewServer(handler email.EmailService, opts ...server.Option) server... FILE: gomall/tutorial/ch14/rpc_gen/kitex_gen/order/order.pb.fast.go method FastRead (line 16) | func (x *Address) FastRead(buf []byte, _type int8, number int32) (offset... method fastReadField1 (line 56) | func (x *Address) fastReadField1(buf []byte, _type int8) (offset int, er... method fastReadField2 (line 61) | func (x *Address) fastReadField2(buf []byte, _type int8) (offset int, er... method fastReadField3 (line 66) | func (x *Address) fastReadField3(buf []byte, _type int8) (offset int, er... method fastReadField4 (line 71) | func (x *Address) fastReadField4(buf []byte, _type int8) (offset int, er... method fastReadField5 (line 76) | func (x *Address) fastReadField5(buf []byte, _type int8) (offset int, er... method FastRead (line 81) | func (x *PlaceOrderReq) FastRead(buf []byte, _type int8, number int32) (... method fastReadField1 (line 121) | func (x *PlaceOrderReq) fastReadField1(buf []byte, _type int8) (offset i... method fastReadField2 (line 126) | func (x *PlaceOrderReq) fastReadField2(buf []byte, _type int8) (offset i... method fastReadField3 (line 131) | func (x *PlaceOrderReq) fastReadField3(buf []byte, _type int8) (offset i... method fastReadField4 (line 141) | func (x *PlaceOrderReq) fastReadField4(buf []byte, _type int8) (offset i... method fastReadField5 (line 146) | func (x *PlaceOrderReq) fastReadField5(buf []byte, _type int8) (offset i... method FastRead (line 156) | func (x *OrderItem) FastRead(buf []byte, _type int8, number int32) (offs... method fastReadField1 (line 181) | func (x *OrderItem) fastReadField1(buf []byte, _type int8) (offset int, ... method fastReadField2 (line 191) | func (x *OrderItem) fastReadField2(buf []byte, _type int8) (offset int, ... method FastRead (line 196) | func (x *OrderResult) FastRead(buf []byte, _type int8, number int32) (of... method fastReadField1 (line 216) | func (x *OrderResult) fastReadField1(buf []byte, _type int8) (offset int... method FastRead (line 221) | func (x *PlaceOrderResp) FastRead(buf []byte, _type int8, number int32) ... method fastReadField1 (line 241) | func (x *PlaceOrderResp) fastReadField1(buf []byte, _type int8) (offset ... method FastRead (line 251) | func (x *ListOrderReq) FastRead(buf []byte, _type int8, number int32) (o... method fastReadField1 (line 271) | func (x *ListOrderReq) fastReadField1(buf []byte, _type int8) (offset in... method FastRead (line 276) | func (x *Order) FastRead(buf []byte, _type int8, number int32) (offset i... method fastReadField1 (line 326) | func (x *Order) fastReadField1(buf []byte, _type int8) (offset int, err ... method fastReadField2 (line 336) | func (x *Order) fastReadField2(buf []byte, _type int8) (offset int, err ... method fastReadField3 (line 341) | func (x *Order) fastReadField3(buf []byte, _type int8) (offset int, err ... method fastReadField4 (line 346) | func (x *Order) fastReadField4(buf []byte, _type int8) (offset int, err ... method fastReadField5 (line 351) | func (x *Order) fastReadField5(buf []byte, _type int8) (offset int, err ... method fastReadField6 (line 361) | func (x *Order) fastReadField6(buf []byte, _type int8) (offset int, err ... method fastReadField7 (line 366) | func (x *Order) fastReadField7(buf []byte, _type int8) (offset int, err ... method FastRead (line 371) | func (x *ListOrderResp) FastRead(buf []byte, _type int8, number int32) (... method fastReadField1 (line 391) | func (x *ListOrderResp) fastReadField1(buf []byte, _type int8) (offset i... method FastWrite (line 401) | func (x *Address) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 413) | func (x *Address) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 421) | func (x *Address) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 429) | func (x *Address) fastWriteField3(buf []byte) (offset int) { method fastWriteField4 (line 437) | func (x *Address) fastWriteField4(buf []byte) (offset int) { method fastWriteField5 (line 445) | func (x *Address) fastWriteField5(buf []byte) (offset int) { method FastWrite (line 453) | func (x *PlaceOrderReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 465) | func (x *PlaceOrderReq) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 473) | func (x *PlaceOrderReq) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 481) | func (x *PlaceOrderReq) fastWriteField3(buf []byte) (offset int) { method fastWriteField4 (line 489) | func (x *PlaceOrderReq) fastWriteField4(buf []byte) (offset int) { method fastWriteField5 (line 497) | func (x *PlaceOrderReq) fastWriteField5(buf []byte) (offset int) { method FastWrite (line 507) | func (x *OrderItem) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 516) | func (x *OrderItem) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 524) | func (x *OrderItem) fastWriteField2(buf []byte) (offset int) { method FastWrite (line 532) | func (x *OrderResult) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 540) | func (x *OrderResult) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 548) | func (x *PlaceOrderResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 556) | func (x *PlaceOrderResp) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 564) | func (x *ListOrderReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 572) | func (x *ListOrderReq) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 580) | func (x *Order) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 594) | func (x *Order) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 604) | func (x *Order) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 612) | func (x *Order) fastWriteField3(buf []byte) (offset int) { method fastWriteField4 (line 620) | func (x *Order) fastWriteField4(buf []byte) (offset int) { method fastWriteField5 (line 628) | func (x *Order) fastWriteField5(buf []byte) (offset int) { method fastWriteField6 (line 636) | func (x *Order) fastWriteField6(buf []byte) (offset int) { method fastWriteField7 (line 644) | func (x *Order) fastWriteField7(buf []byte) (offset int) { method FastWrite (line 652) | func (x *ListOrderResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 660) | func (x *ListOrderResp) fastWriteField1(buf []byte) (offset int) { method Size (line 670) | func (x *Address) Size() (n int) { method sizeField1 (line 682) | func (x *Address) sizeField1() (n int) { method sizeField2 (line 690) | func (x *Address) sizeField2() (n int) { method sizeField3 (line 698) | func (x *Address) sizeField3() (n int) { method sizeField4 (line 706) | func (x *Address) sizeField4() (n int) { method sizeField5 (line 714) | func (x *Address) sizeField5() (n int) { method Size (line 722) | func (x *PlaceOrderReq) Size() (n int) { method sizeField1 (line 734) | func (x *PlaceOrderReq) sizeField1() (n int) { method sizeField2 (line 742) | func (x *PlaceOrderReq) sizeField2() (n int) { method sizeField3 (line 750) | func (x *PlaceOrderReq) sizeField3() (n int) { method sizeField4 (line 758) | func (x *PlaceOrderReq) sizeField4() (n int) { method sizeField5 (line 766) | func (x *PlaceOrderReq) sizeField5() (n int) { method Size (line 776) | func (x *OrderItem) Size() (n int) { method sizeField1 (line 785) | func (x *OrderItem) sizeField1() (n int) { method sizeField2 (line 793) | func (x *OrderItem) sizeField2() (n int) { method Size (line 801) | func (x *OrderResult) Size() (n int) { method sizeField1 (line 809) | func (x *OrderResult) sizeField1() (n int) { method Size (line 817) | func (x *PlaceOrderResp) Size() (n int) { method sizeField1 (line 825) | func (x *PlaceOrderResp) sizeField1() (n int) { method Size (line 833) | func (x *ListOrderReq) Size() (n int) { method sizeField1 (line 841) | func (x *ListOrderReq) sizeField1() (n int) { method Size (line 849) | func (x *Order) Size() (n int) { method sizeField1 (line 863) | func (x *Order) sizeField1() (n int) { method sizeField2 (line 873) | func (x *Order) sizeField2() (n int) { method sizeField3 (line 881) | func (x *Order) sizeField3() (n int) { method sizeField4 (line 889) | func (x *Order) sizeField4() (n int) { method sizeField5 (line 897) | func (x *Order) sizeField5() (n int) { method sizeField6 (line 905) | func (x *Order) sizeField6() (n int) { method sizeField7 (line 913) | func (x *Order) sizeField7() (n int) { method Size (line 921) | func (x *ListOrderResp) Size() (n int) { method sizeField1 (line 929) | func (x *ListOrderResp) sizeField1() (n int) { FILE: gomall/tutorial/ch14/rpc_gen/kitex_gen/order/order.pb.go constant _ (line 20) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 22) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Address (line 25) | type Address struct method Reset (line 37) | func (x *Address) Reset() { method String (line 46) | func (x *Address) String() string { method ProtoMessage (line 50) | func (*Address) ProtoMessage() {} method ProtoReflect (line 52) | func (x *Address) ProtoReflect() protoreflect.Message { method Descriptor (line 65) | func (*Address) Descriptor() ([]byte, []int) { method GetStreetAddress (line 69) | func (x *Address) GetStreetAddress() string { method GetCity (line 76) | func (x *Address) GetCity() string { method GetState (line 83) | func (x *Address) GetState() string { method GetCountry (line 90) | func (x *Address) GetCountry() string { method GetZipCode (line 97) | func (x *Address) GetZipCode() int32 { type PlaceOrderReq (line 104) | type PlaceOrderReq struct method Reset (line 116) | func (x *PlaceOrderReq) Reset() { method String (line 125) | func (x *PlaceOrderReq) String() string { method ProtoMessage (line 129) | func (*PlaceOrderReq) ProtoMessage() {} method ProtoReflect (line 131) | func (x *PlaceOrderReq) ProtoReflect() protoreflect.Message { method Descriptor (line 144) | func (*PlaceOrderReq) Descriptor() ([]byte, []int) { method GetUserId (line 148) | func (x *PlaceOrderReq) GetUserId() uint32 { method GetUserCurrency (line 155) | func (x *PlaceOrderReq) GetUserCurrency() string { method GetAddress (line 162) | func (x *PlaceOrderReq) GetAddress() *Address { method GetEmail (line 169) | func (x *PlaceOrderReq) GetEmail() string { method GetOrderItems (line 176) | func (x *PlaceOrderReq) GetOrderItems() []*OrderItem { type OrderItem (line 183) | type OrderItem struct method Reset (line 192) | func (x *OrderItem) Reset() { method String (line 201) | func (x *OrderItem) String() string { method ProtoMessage (line 205) | func (*OrderItem) ProtoMessage() {} method ProtoReflect (line 207) | func (x *OrderItem) ProtoReflect() protoreflect.Message { method Descriptor (line 220) | func (*OrderItem) Descriptor() ([]byte, []int) { method GetItem (line 224) | func (x *OrderItem) GetItem() *cart.CartItem { method GetCost (line 231) | func (x *OrderItem) GetCost() float32 { type OrderResult (line 238) | type OrderResult struct method Reset (line 246) | func (x *OrderResult) Reset() { method String (line 255) | func (x *OrderResult) String() string { method ProtoMessage (line 259) | func (*OrderResult) ProtoMessage() {} method ProtoReflect (line 261) | func (x *OrderResult) ProtoReflect() protoreflect.Message { method Descriptor (line 274) | func (*OrderResult) Descriptor() ([]byte, []int) { method GetOrderId (line 278) | func (x *OrderResult) GetOrderId() string { type PlaceOrderResp (line 285) | type PlaceOrderResp struct method Reset (line 293) | func (x *PlaceOrderResp) Reset() { method String (line 302) | func (x *PlaceOrderResp) String() string { method ProtoMessage (line 306) | func (*PlaceOrderResp) ProtoMessage() {} method ProtoReflect (line 308) | func (x *PlaceOrderResp) ProtoReflect() protoreflect.Message { method Descriptor (line 321) | func (*PlaceOrderResp) Descriptor() ([]byte, []int) { method GetOrder (line 325) | func (x *PlaceOrderResp) GetOrder() *OrderResult { type ListOrderReq (line 332) | type ListOrderReq struct method Reset (line 340) | func (x *ListOrderReq) Reset() { method String (line 349) | func (x *ListOrderReq) String() string { method ProtoMessage (line 353) | func (*ListOrderReq) ProtoMessage() {} method ProtoReflect (line 355) | func (x *ListOrderReq) ProtoReflect() protoreflect.Message { method Descriptor (line 368) | func (*ListOrderReq) Descriptor() ([]byte, []int) { method GetUserId (line 372) | func (x *ListOrderReq) GetUserId() uint32 { type Order (line 379) | type Order struct method Reset (line 393) | func (x *Order) Reset() { method String (line 402) | func (x *Order) String() string { method ProtoMessage (line 406) | func (*Order) ProtoMessage() {} method ProtoReflect (line 408) | func (x *Order) ProtoReflect() protoreflect.Message { method Descriptor (line 421) | func (*Order) Descriptor() ([]byte, []int) { method GetOrderItems (line 425) | func (x *Order) GetOrderItems() []*OrderItem { method GetOrderId (line 432) | func (x *Order) GetOrderId() string { method GetUserId (line 439) | func (x *Order) GetUserId() uint32 { method GetUserCurrency (line 446) | func (x *Order) GetUserCurrency() string { method GetAddress (line 453) | func (x *Order) GetAddress() *Address { method GetEmail (line 460) | func (x *Order) GetEmail() string { method GetCreatedAt (line 467) | func (x *Order) GetCreatedAt() int32 { type ListOrderResp (line 474) | type ListOrderResp struct method Reset (line 482) | func (x *ListOrderResp) Reset() { method String (line 491) | func (x *ListOrderResp) String() string { method ProtoMessage (line 495) | func (*ListOrderResp) ProtoMessage() {} method ProtoReflect (line 497) | func (x *ListOrderResp) ProtoReflect() protoreflect.Message { method Descriptor (line 510) | func (*ListOrderResp) Descriptor() ([]byte, []int) { method GetOrders (line 514) | func (x *ListOrderResp) GetOrders() []*Order { function file_order_proto_rawDescGZIP (line 600) | func file_order_proto_rawDescGZIP() []byte { function init (line 638) | func init() { file_order_proto_init() } function file_order_proto_init (line 639) | func file_order_proto_init() { type OrderService (line 765) | type OrderService interface FILE: gomall/tutorial/ch14/rpc_gen/kitex_gen/order/orderservice/client.go type Client (line 13) | type Client interface function NewClient (line 19) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 35) | func MustNewClient(destService string, opts ...client.Option) Client { type kOrderServiceClient (line 43) | type kOrderServiceClient struct method PlaceOrder (line 47) | func (p *kOrderServiceClient) PlaceOrder(ctx context.Context, Req *ord... method ListOrder (line 52) | func (p *kOrderServiceClient) ListOrder(ctx context.Context, Req *orde... FILE: gomall/tutorial/ch14/rpc_gen/kitex_gen/order/orderservice/invoker.go function NewInvoker (line 11) | func NewInvoker(handler order.OrderService, opts ...server.Option) serve... FILE: gomall/tutorial/ch14/rpc_gen/kitex_gen/order/orderservice/orderservice.go function serviceInfo (line 14) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 20) | func NewServiceInfo() *kitex.ServiceInfo { function placeOrderHandler (line 42) | func placeOrderHandler(ctx context.Context, handler interface{}, arg, re... function newPlaceOrderArgs (line 67) | func newPlaceOrderArgs() interface{} { function newPlaceOrderResult (line 71) | func newPlaceOrderResult() interface{} { type PlaceOrderArgs (line 75) | type PlaceOrderArgs struct method FastRead (line 79) | func (p *PlaceOrderArgs) FastRead(buf []byte, _type int8, number int32... method FastWrite (line 86) | func (p *PlaceOrderArgs) FastWrite(buf []byte) (n int) { method Size (line 93) | func (p *PlaceOrderArgs) Size() (n int) { method Marshal (line 100) | func (p *PlaceOrderArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 107) | func (p *PlaceOrderArgs) Unmarshal(in []byte) error { method GetReq (line 118) | func (p *PlaceOrderArgs) GetReq() *order.PlaceOrderReq { method IsSetReq (line 125) | func (p *PlaceOrderArgs) IsSetReq() bool { method GetFirstArgument (line 129) | func (p *PlaceOrderArgs) GetFirstArgument() interface{} { type PlaceOrderResult (line 133) | type PlaceOrderResult struct method FastRead (line 139) | func (p *PlaceOrderResult) FastRead(buf []byte, _type int8, number int... method FastWrite (line 146) | func (p *PlaceOrderResult) FastWrite(buf []byte) (n int) { method Size (line 153) | func (p *PlaceOrderResult) Size() (n int) { method Marshal (line 160) | func (p *PlaceOrderResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 167) | func (p *PlaceOrderResult) Unmarshal(in []byte) error { method GetSuccess (line 176) | func (p *PlaceOrderResult) GetSuccess() *order.PlaceOrderResp { method SetSuccess (line 183) | func (p *PlaceOrderResult) SetSuccess(x interface{}) { method IsSetSuccess (line 187) | func (p *PlaceOrderResult) IsSetSuccess() bool { method GetResult (line 191) | func (p *PlaceOrderResult) GetResult() interface{} { function listOrderHandler (line 195) | func listOrderHandler(ctx context.Context, handler interface{}, arg, res... function newListOrderArgs (line 220) | func newListOrderArgs() interface{} { function newListOrderResult (line 224) | func newListOrderResult() interface{} { type ListOrderArgs (line 228) | type ListOrderArgs struct method FastRead (line 232) | func (p *ListOrderArgs) FastRead(buf []byte, _type int8, number int32)... method FastWrite (line 239) | func (p *ListOrderArgs) FastWrite(buf []byte) (n int) { method Size (line 246) | func (p *ListOrderArgs) Size() (n int) { method Marshal (line 253) | func (p *ListOrderArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 260) | func (p *ListOrderArgs) Unmarshal(in []byte) error { method GetReq (line 271) | func (p *ListOrderArgs) GetReq() *order.ListOrderReq { method IsSetReq (line 278) | func (p *ListOrderArgs) IsSetReq() bool { method GetFirstArgument (line 282) | func (p *ListOrderArgs) GetFirstArgument() interface{} { type ListOrderResult (line 286) | type ListOrderResult struct method FastRead (line 292) | func (p *ListOrderResult) FastRead(buf []byte, _type int8, number int3... method FastWrite (line 299) | func (p *ListOrderResult) FastWrite(buf []byte) (n int) { method Size (line 306) | func (p *ListOrderResult) Size() (n int) { method Marshal (line 313) | func (p *ListOrderResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 320) | func (p *ListOrderResult) Unmarshal(in []byte) error { method GetSuccess (line 329) | func (p *ListOrderResult) GetSuccess() *order.ListOrderResp { method SetSuccess (line 336) | func (p *ListOrderResult) SetSuccess(x interface{}) { method IsSetSuccess (line 340) | func (p *ListOrderResult) IsSetSuccess() bool { method GetResult (line 344) | func (p *ListOrderResult) GetResult() interface{} { type kClient (line 348) | type kClient struct method PlaceOrder (line 358) | func (p *kClient) PlaceOrder(ctx context.Context, Req *order.PlaceOrde... method ListOrder (line 368) | func (p *kClient) ListOrder(ctx context.Context, Req *order.ListOrderR... function newServiceClient (line 352) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch14/rpc_gen/kitex_gen/order/orderservice/server.go function NewServer (line 10) | func NewServer(handler order.OrderService, opts ...server.Option) server... FILE: gomall/tutorial/ch14/rpc_gen/kitex_gen/payment/payment.pb.fast.go method FastRead (line 15) | func (x *CreditCardInfo) FastRead(buf []byte, _type int8, number int32) ... method fastReadField1 (line 50) | func (x *CreditCardInfo) fastReadField1(buf []byte, _type int8) (offset ... method fastReadField2 (line 55) | func (x *CreditCardInfo) fastReadField2(buf []byte, _type int8) (offset ... method fastReadField3 (line 60) | func (x *CreditCardInfo) fastReadField3(buf []byte, _type int8) (offset ... method fastReadField4 (line 65) | func (x *CreditCardInfo) fastReadField4(buf []byte, _type int8) (offset ... method FastRead (line 70) | func (x *ChargeReq) FastRead(buf []byte, _type int8, number int32) (offs... method fastReadField1 (line 105) | func (x *ChargeReq) fastReadField1(buf []byte, _type int8) (offset int, ... method fastReadField2 (line 110) | func (x *ChargeReq) fastReadField2(buf []byte, _type int8) (offset int, ... method fastReadField3 (line 120) | func (x *ChargeReq) fastReadField3(buf []byte, _type int8) (offset int, ... method fastReadField4 (line 125) | func (x *ChargeReq) fastReadField4(buf []byte, _type int8) (offset int, ... method FastRead (line 130) | func (x *ChargeResp) FastRead(buf []byte, _type int8, number int32) (off... method fastReadField1 (line 150) | func (x *ChargeResp) fastReadField1(buf []byte, _type int8) (offset int,... method FastWrite (line 155) | func (x *CreditCardInfo) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 166) | func (x *CreditCardInfo) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 174) | func (x *CreditCardInfo) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 182) | func (x *CreditCardInfo) fastWriteField3(buf []byte) (offset int) { method fastWriteField4 (line 190) | func (x *CreditCardInfo) fastWriteField4(buf []byte) (offset int) { method FastWrite (line 198) | func (x *ChargeReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 209) | func (x *ChargeReq) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 217) | func (x *ChargeReq) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 225) | func (x *ChargeReq) fastWriteField3(buf []byte) (offset int) { method fastWriteField4 (line 233) | func (x *ChargeReq) fastWriteField4(buf []byte) (offset int) { method FastWrite (line 241) | func (x *ChargeResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 249) | func (x *ChargeResp) fastWriteField1(buf []byte) (offset int) { method Size (line 257) | func (x *CreditCardInfo) Size() (n int) { method sizeField1 (line 268) | func (x *CreditCardInfo) sizeField1() (n int) { method sizeField2 (line 276) | func (x *CreditCardInfo) sizeField2() (n int) { method sizeField3 (line 284) | func (x *CreditCardInfo) sizeField3() (n int) { method sizeField4 (line 292) | func (x *CreditCardInfo) sizeField4() (n int) { method Size (line 300) | func (x *ChargeReq) Size() (n int) { method sizeField1 (line 311) | func (x *ChargeReq) sizeField1() (n int) { method sizeField2 (line 319) | func (x *ChargeReq) sizeField2() (n int) { method sizeField3 (line 327) | func (x *ChargeReq) sizeField3() (n int) { method sizeField4 (line 335) | func (x *ChargeReq) sizeField4() (n int) { method Size (line 343) | func (x *ChargeResp) Size() (n int) { method sizeField1 (line 351) | func (x *ChargeResp) sizeField1() (n int) { FILE: gomall/tutorial/ch14/rpc_gen/kitex_gen/payment/payment.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type CreditCardInfo (line 24) | type CreditCardInfo struct method Reset (line 35) | func (x *CreditCardInfo) Reset() { method String (line 44) | func (x *CreditCardInfo) String() string { method ProtoMessage (line 48) | func (*CreditCardInfo) ProtoMessage() {} method ProtoReflect (line 50) | func (x *CreditCardInfo) ProtoReflect() protoreflect.Message { method Descriptor (line 63) | func (*CreditCardInfo) Descriptor() ([]byte, []int) { method GetCreditCardNumber (line 67) | func (x *CreditCardInfo) GetCreditCardNumber() string { method GetCreditCardCvv (line 74) | func (x *CreditCardInfo) GetCreditCardCvv() int32 { method GetCreditCardExpirationYear (line 81) | func (x *CreditCardInfo) GetCreditCardExpirationYear() int32 { method GetCreditCardExpirationMonth (line 88) | func (x *CreditCardInfo) GetCreditCardExpirationMonth() int32 { type ChargeReq (line 95) | type ChargeReq struct method Reset (line 106) | func (x *ChargeReq) Reset() { method String (line 115) | func (x *ChargeReq) String() string { method ProtoMessage (line 119) | func (*ChargeReq) ProtoMessage() {} method ProtoReflect (line 121) | func (x *ChargeReq) ProtoReflect() protoreflect.Message { method Descriptor (line 134) | func (*ChargeReq) Descriptor() ([]byte, []int) { method GetAmount (line 138) | func (x *ChargeReq) GetAmount() float32 { method GetCreditCard (line 145) | func (x *ChargeReq) GetCreditCard() *CreditCardInfo { method GetOrderId (line 152) | func (x *ChargeReq) GetOrderId() string { method GetUserId (line 159) | func (x *ChargeReq) GetUserId() uint32 { type ChargeResp (line 166) | type ChargeResp struct method Reset (line 174) | func (x *ChargeResp) Reset() { method String (line 183) | func (x *ChargeResp) String() string { method ProtoMessage (line 187) | func (*ChargeResp) ProtoMessage() {} method ProtoReflect (line 189) | func (x *ChargeResp) ProtoReflect() protoreflect.Message { method Descriptor (line 202) | func (*ChargeResp) Descriptor() ([]byte, []int) { method GetTransactionId (line 206) | func (x *ChargeResp) GetTransactionId() string { function file_payment_proto_rawDescGZIP (line 261) | func file_payment_proto_rawDescGZIP() []byte { function init (line 285) | func init() { file_payment_proto_init() } function file_payment_proto_init (line 286) | func file_payment_proto_init() { type PaymentService (line 352) | type PaymentService interface FILE: gomall/tutorial/ch14/rpc_gen/kitex_gen/payment/paymentservice/client.go type Client (line 13) | type Client interface function NewClient (line 18) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 34) | func MustNewClient(destService string, opts ...client.Option) Client { type kPaymentServiceClient (line 42) | type kPaymentServiceClient struct method Charge (line 46) | func (p *kPaymentServiceClient) Charge(ctx context.Context, Req *payme... FILE: gomall/tutorial/ch14/rpc_gen/kitex_gen/payment/paymentservice/invoker.go function NewInvoker (line 11) | func NewInvoker(handler payment.PaymentService, opts ...server.Option) s... FILE: gomall/tutorial/ch14/rpc_gen/kitex_gen/payment/paymentservice/paymentservice.go function serviceInfo (line 14) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 20) | func NewServiceInfo() *kitex.ServiceInfo { function chargeHandler (line 41) | func chargeHandler(ctx context.Context, handler interface{}, arg, result... function newChargeArgs (line 66) | func newChargeArgs() interface{} { function newChargeResult (line 70) | func newChargeResult() interface{} { type ChargeArgs (line 74) | type ChargeArgs struct method FastRead (line 78) | func (p *ChargeArgs) FastRead(buf []byte, _type int8, number int32) (n... method FastWrite (line 85) | func (p *ChargeArgs) FastWrite(buf []byte) (n int) { method Size (line 92) | func (p *ChargeArgs) Size() (n int) { method Marshal (line 99) | func (p *ChargeArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 106) | func (p *ChargeArgs) Unmarshal(in []byte) error { method GetReq (line 117) | func (p *ChargeArgs) GetReq() *payment.ChargeReq { method IsSetReq (line 124) | func (p *ChargeArgs) IsSetReq() bool { method GetFirstArgument (line 128) | func (p *ChargeArgs) GetFirstArgument() interface{} { type ChargeResult (line 132) | type ChargeResult struct method FastRead (line 138) | func (p *ChargeResult) FastRead(buf []byte, _type int8, number int32) ... method FastWrite (line 145) | func (p *ChargeResult) FastWrite(buf []byte) (n int) { method Size (line 152) | func (p *ChargeResult) Size() (n int) { method Marshal (line 159) | func (p *ChargeResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 166) | func (p *ChargeResult) Unmarshal(in []byte) error { method GetSuccess (line 175) | func (p *ChargeResult) GetSuccess() *payment.ChargeResp { method SetSuccess (line 182) | func (p *ChargeResult) SetSuccess(x interface{}) { method IsSetSuccess (line 186) | func (p *ChargeResult) IsSetSuccess() bool { method GetResult (line 190) | func (p *ChargeResult) GetResult() interface{} { type kClient (line 194) | type kClient struct method Charge (line 204) | func (p *kClient) Charge(ctx context.Context, Req *payment.ChargeReq) ... function newServiceClient (line 198) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch14/rpc_gen/kitex_gen/payment/paymentservice/server.go function NewServer (line 10) | func NewServer(handler payment.PaymentService, opts ...server.Option) se... FILE: gomall/tutorial/ch14/rpc_gen/kitex_gen/product/product.pb.fast.go method FastRead (line 15) | func (x *ListProductsReq) FastRead(buf []byte, _type int8, number int32)... method fastReadField1 (line 45) | func (x *ListProductsReq) fastReadField1(buf []byte, _type int8) (offset... method fastReadField2 (line 50) | func (x *ListProductsReq) fastReadField2(buf []byte, _type int8) (offset... method fastReadField3 (line 55) | func (x *ListProductsReq) fastReadField3(buf []byte, _type int8) (offset... method FastRead (line 60) | func (x *Product) FastRead(buf []byte, _type int8, number int32) (offset... method fastReadField1 (line 105) | func (x *Product) fastReadField1(buf []byte, _type int8) (offset int, er... method fastReadField2 (line 110) | func (x *Product) fastReadField2(buf []byte, _type int8) (offset int, er... method fastReadField3 (line 115) | func (x *Product) fastReadField3(buf []byte, _type int8) (offset int, er... method fastReadField4 (line 120) | func (x *Product) fastReadField4(buf []byte, _type int8) (offset int, er... method fastReadField5 (line 125) | func (x *Product) fastReadField5(buf []byte, _type int8) (offset int, er... method fastReadField6 (line 130) | func (x *Product) fastReadField6(buf []byte, _type int8) (offset int, er... method FastRead (line 140) | func (x *ListProductsResp) FastRead(buf []byte, _type int8, number int32... method fastReadField1 (line 160) | func (x *ListProductsResp) fastReadField1(buf []byte, _type int8) (offse... method FastRead (line 170) | func (x *GetProductReq) FastRead(buf []byte, _type int8, number int32) (... method fastReadField1 (line 190) | func (x *GetProductReq) fastReadField1(buf []byte, _type int8) (offset i... method FastRead (line 195) | func (x *GetProductResp) FastRead(buf []byte, _type int8, number int32) ... method fastReadField1 (line 215) | func (x *GetProductResp) fastReadField1(buf []byte, _type int8) (offset ... method FastRead (line 225) | func (x *SearchProductsReq) FastRead(buf []byte, _type int8, number int3... method fastReadField1 (line 245) | func (x *SearchProductsReq) fastReadField1(buf []byte, _type int8) (offs... method FastRead (line 250) | func (x *SearchProductsResp) FastRead(buf []byte, _type int8, number int... method fastReadField1 (line 270) | func (x *SearchProductsResp) fastReadField1(buf []byte, _type int8) (off... method FastWrite (line 280) | func (x *ListProductsReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 290) | func (x *ListProductsReq) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 298) | func (x *ListProductsReq) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 306) | func (x *ListProductsReq) fastWriteField3(buf []byte) (offset int) { method FastWrite (line 314) | func (x *Product) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 327) | func (x *Product) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 335) | func (x *Product) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 343) | func (x *Product) fastWriteField3(buf []byte) (offset int) { method fastWriteField4 (line 351) | func (x *Product) fastWriteField4(buf []byte) (offset int) { method fastWriteField5 (line 359) | func (x *Product) fastWriteField5(buf []byte) (offset int) { method fastWriteField6 (line 367) | func (x *Product) fastWriteField6(buf []byte) (offset int) { method FastWrite (line 377) | func (x *ListProductsResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 385) | func (x *ListProductsResp) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 395) | func (x *GetProductReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 403) | func (x *GetProductReq) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 411) | func (x *GetProductResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 419) | func (x *GetProductResp) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 427) | func (x *SearchProductsReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 435) | func (x *SearchProductsReq) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 443) | func (x *SearchProductsResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 451) | func (x *SearchProductsResp) fastWriteField1(buf []byte) (offset int) { method Size (line 461) | func (x *ListProductsReq) Size() (n int) { method sizeField1 (line 471) | func (x *ListProductsReq) sizeField1() (n int) { method sizeField2 (line 479) | func (x *ListProductsReq) sizeField2() (n int) { method sizeField3 (line 487) | func (x *ListProductsReq) sizeField3() (n int) { method Size (line 495) | func (x *Product) Size() (n int) { method sizeField1 (line 508) | func (x *Product) sizeField1() (n int) { method sizeField2 (line 516) | func (x *Product) sizeField2() (n int) { method sizeField3 (line 524) | func (x *Product) sizeField3() (n int) { method sizeField4 (line 532) | func (x *Product) sizeField4() (n int) { method sizeField5 (line 540) | func (x *Product) sizeField5() (n int) { method sizeField6 (line 548) | func (x *Product) sizeField6() (n int) { method Size (line 558) | func (x *ListProductsResp) Size() (n int) { method sizeField1 (line 566) | func (x *ListProductsResp) sizeField1() (n int) { method Size (line 576) | func (x *GetProductReq) Size() (n int) { method sizeField1 (line 584) | func (x *GetProductReq) sizeField1() (n int) { method Size (line 592) | func (x *GetProductResp) Size() (n int) { method sizeField1 (line 600) | func (x *GetProductResp) sizeField1() (n int) { method Size (line 608) | func (x *SearchProductsReq) Size() (n int) { method sizeField1 (line 616) | func (x *SearchProductsReq) sizeField1() (n int) { method Size (line 624) | func (x *SearchProductsResp) Size() (n int) { method sizeField1 (line 632) | func (x *SearchProductsResp) sizeField1() (n int) { FILE: gomall/tutorial/ch14/rpc_gen/kitex_gen/product/product.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type ListProductsReq (line 24) | type ListProductsReq struct method Reset (line 34) | func (x *ListProductsReq) Reset() { method String (line 43) | func (x *ListProductsReq) String() string { method ProtoMessage (line 47) | func (*ListProductsReq) ProtoMessage() {} method ProtoReflect (line 49) | func (x *ListProductsReq) ProtoReflect() protoreflect.Message { method Descriptor (line 62) | func (*ListProductsReq) Descriptor() ([]byte, []int) { method GetPage (line 66) | func (x *ListProductsReq) GetPage() int32 { method GetPageSize (line 73) | func (x *ListProductsReq) GetPageSize() int64 { method GetCategoryName (line 80) | func (x *ListProductsReq) GetCategoryName() string { type Product (line 87) | type Product struct method Reset (line 100) | func (x *Product) Reset() { method String (line 109) | func (x *Product) String() string { method ProtoMessage (line 113) | func (*Product) ProtoMessage() {} method ProtoReflect (line 115) | func (x *Product) ProtoReflect() protoreflect.Message { method Descriptor (line 128) | func (*Product) Descriptor() ([]byte, []int) { method GetId (line 132) | func (x *Product) GetId() uint32 { method GetName (line 139) | func (x *Product) GetName() string { method GetDescription (line 146) | func (x *Product) GetDescription() string { method GetPicture (line 153) | func (x *Product) GetPicture() string { method GetPrice (line 160) | func (x *Product) GetPrice() float32 { method GetCategories (line 167) | func (x *Product) GetCategories() []string { type ListProductsResp (line 174) | type ListProductsResp struct method Reset (line 182) | func (x *ListProductsResp) Reset() { method String (line 191) | func (x *ListProductsResp) String() string { method ProtoMessage (line 195) | func (*ListProductsResp) ProtoMessage() {} method ProtoReflect (line 197) | func (x *ListProductsResp) ProtoReflect() protoreflect.Message { method Descriptor (line 210) | func (*ListProductsResp) Descriptor() ([]byte, []int) { method GetProducts (line 214) | func (x *ListProductsResp) GetProducts() []*Product { type GetProductReq (line 221) | type GetProductReq struct method Reset (line 229) | func (x *GetProductReq) Reset() { method String (line 238) | func (x *GetProductReq) String() string { method ProtoMessage (line 242) | func (*GetProductReq) ProtoMessage() {} method ProtoReflect (line 244) | func (x *GetProductReq) ProtoReflect() protoreflect.Message { method Descriptor (line 257) | func (*GetProductReq) Descriptor() ([]byte, []int) { method GetId (line 261) | func (x *GetProductReq) GetId() uint32 { type GetProductResp (line 268) | type GetProductResp struct method Reset (line 276) | func (x *GetProductResp) Reset() { method String (line 285) | func (x *GetProductResp) String() string { method ProtoMessage (line 289) | func (*GetProductResp) ProtoMessage() {} method ProtoReflect (line 291) | func (x *GetProductResp) ProtoReflect() protoreflect.Message { method Descriptor (line 304) | func (*GetProductResp) Descriptor() ([]byte, []int) { method GetProduct (line 308) | func (x *GetProductResp) GetProduct() *Product { type SearchProductsReq (line 315) | type SearchProductsReq struct method Reset (line 323) | func (x *SearchProductsReq) Reset() { method String (line 332) | func (x *SearchProductsReq) String() string { method ProtoMessage (line 336) | func (*SearchProductsReq) ProtoMessage() {} method ProtoReflect (line 338) | func (x *SearchProductsReq) ProtoReflect() protoreflect.Message { method Descriptor (line 351) | func (*SearchProductsReq) Descriptor() ([]byte, []int) { method GetQuery (line 355) | func (x *SearchProductsReq) GetQuery() string { type SearchProductsResp (line 362) | type SearchProductsResp struct method Reset (line 370) | func (x *SearchProductsResp) Reset() { method String (line 379) | func (x *SearchProductsResp) String() string { method ProtoMessage (line 383) | func (*SearchProductsResp) ProtoMessage() {} method ProtoReflect (line 385) | func (x *SearchProductsResp) ProtoReflect() protoreflect.Message { method Descriptor (line 398) | func (*SearchProductsResp) Descriptor() ([]byte, []int) { method GetResults (line 402) | func (x *SearchProductsResp) GetResults() []*Product { function file_product_proto_rawDescGZIP (line 474) | func file_product_proto_rawDescGZIP() []byte { function init (line 508) | func init() { file_product_proto_init() } function file_product_proto_init (line 509) | func file_product_proto_init() { type ProductCatalogService (line 623) | type ProductCatalogService interface FILE: gomall/tutorial/ch14/rpc_gen/kitex_gen/product/productcatalogservice/client.go type Client (line 13) | type Client interface function NewClient (line 20) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 36) | func MustNewClient(destService string, opts ...client.Option) Client { type kProductCatalogServiceClient (line 44) | type kProductCatalogServiceClient struct method ListProducts (line 48) | func (p *kProductCatalogServiceClient) ListProducts(ctx context.Contex... method GetProduct (line 53) | func (p *kProductCatalogServiceClient) GetProduct(ctx context.Context,... method SearchProducts (line 58) | func (p *kProductCatalogServiceClient) SearchProducts(ctx context.Cont... FILE: gomall/tutorial/ch14/rpc_gen/kitex_gen/product/productcatalogservice/invoker.go function NewInvoker (line 11) | func NewInvoker(handler product.ProductCatalogService, opts ...server.Op... FILE: gomall/tutorial/ch14/rpc_gen/kitex_gen/product/productcatalogservice/productcatalogservice.go function serviceInfo (line 14) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 20) | func NewServiceInfo() *kitex.ServiceInfo { function listProductsHandler (line 43) | func listProductsHandler(ctx context.Context, handler interface{}, arg, ... function newListProductsArgs (line 68) | func newListProductsArgs() interface{} { function newListProductsResult (line 72) | func newListProductsResult() interface{} { type ListProductsArgs (line 76) | type ListProductsArgs struct method FastRead (line 80) | func (p *ListProductsArgs) FastRead(buf []byte, _type int8, number int... method FastWrite (line 87) | func (p *ListProductsArgs) FastWrite(buf []byte) (n int) { method Size (line 94) | func (p *ListProductsArgs) Size() (n int) { method Marshal (line 101) | func (p *ListProductsArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 108) | func (p *ListProductsArgs) Unmarshal(in []byte) error { method GetReq (line 119) | func (p *ListProductsArgs) GetReq() *product.ListProductsReq { method IsSetReq (line 126) | func (p *ListProductsArgs) IsSetReq() bool { method GetFirstArgument (line 130) | func (p *ListProductsArgs) GetFirstArgument() interface{} { type ListProductsResult (line 134) | type ListProductsResult struct method FastRead (line 140) | func (p *ListProductsResult) FastRead(buf []byte, _type int8, number i... method FastWrite (line 147) | func (p *ListProductsResult) FastWrite(buf []byte) (n int) { method Size (line 154) | func (p *ListProductsResult) Size() (n int) { method Marshal (line 161) | func (p *ListProductsResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 168) | func (p *ListProductsResult) Unmarshal(in []byte) error { method GetSuccess (line 177) | func (p *ListProductsResult) GetSuccess() *product.ListProductsResp { method SetSuccess (line 184) | func (p *ListProductsResult) SetSuccess(x interface{}) { method IsSetSuccess (line 188) | func (p *ListProductsResult) IsSetSuccess() bool { method GetResult (line 192) | func (p *ListProductsResult) GetResult() interface{} { function getProductHandler (line 196) | func getProductHandler(ctx context.Context, handler interface{}, arg, re... function newGetProductArgs (line 221) | func newGetProductArgs() interface{} { function newGetProductResult (line 225) | func newGetProductResult() interface{} { type GetProductArgs (line 229) | type GetProductArgs struct method FastRead (line 233) | func (p *GetProductArgs) FastRead(buf []byte, _type int8, number int32... method FastWrite (line 240) | func (p *GetProductArgs) FastWrite(buf []byte) (n int) { method Size (line 247) | func (p *GetProductArgs) Size() (n int) { method Marshal (line 254) | func (p *GetProductArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 261) | func (p *GetProductArgs) Unmarshal(in []byte) error { method GetReq (line 272) | func (p *GetProductArgs) GetReq() *product.GetProductReq { method IsSetReq (line 279) | func (p *GetProductArgs) IsSetReq() bool { method GetFirstArgument (line 283) | func (p *GetProductArgs) GetFirstArgument() interface{} { type GetProductResult (line 287) | type GetProductResult struct method FastRead (line 293) | func (p *GetProductResult) FastRead(buf []byte, _type int8, number int... method FastWrite (line 300) | func (p *GetProductResult) FastWrite(buf []byte) (n int) { method Size (line 307) | func (p *GetProductResult) Size() (n int) { method Marshal (line 314) | func (p *GetProductResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 321) | func (p *GetProductResult) Unmarshal(in []byte) error { method GetSuccess (line 330) | func (p *GetProductResult) GetSuccess() *product.GetProductResp { method SetSuccess (line 337) | func (p *GetProductResult) SetSuccess(x interface{}) { method IsSetSuccess (line 341) | func (p *GetProductResult) IsSetSuccess() bool { method GetResult (line 345) | func (p *GetProductResult) GetResult() interface{} { function searchProductsHandler (line 349) | func searchProductsHandler(ctx context.Context, handler interface{}, arg... function newSearchProductsArgs (line 374) | func newSearchProductsArgs() interface{} { function newSearchProductsResult (line 378) | func newSearchProductsResult() interface{} { type SearchProductsArgs (line 382) | type SearchProductsArgs struct method FastRead (line 386) | func (p *SearchProductsArgs) FastRead(buf []byte, _type int8, number i... method FastWrite (line 393) | func (p *SearchProductsArgs) FastWrite(buf []byte) (n int) { method Size (line 400) | func (p *SearchProductsArgs) Size() (n int) { method Marshal (line 407) | func (p *SearchProductsArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 414) | func (p *SearchProductsArgs) Unmarshal(in []byte) error { method GetReq (line 425) | func (p *SearchProductsArgs) GetReq() *product.SearchProductsReq { method IsSetReq (line 432) | func (p *SearchProductsArgs) IsSetReq() bool { method GetFirstArgument (line 436) | func (p *SearchProductsArgs) GetFirstArgument() interface{} { type SearchProductsResult (line 440) | type SearchProductsResult struct method FastRead (line 446) | func (p *SearchProductsResult) FastRead(buf []byte, _type int8, number... method FastWrite (line 453) | func (p *SearchProductsResult) FastWrite(buf []byte) (n int) { method Size (line 460) | func (p *SearchProductsResult) Size() (n int) { method Marshal (line 467) | func (p *SearchProductsResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 474) | func (p *SearchProductsResult) Unmarshal(in []byte) error { method GetSuccess (line 483) | func (p *SearchProductsResult) GetSuccess() *product.SearchProductsResp { method SetSuccess (line 490) | func (p *SearchProductsResult) SetSuccess(x interface{}) { method IsSetSuccess (line 494) | func (p *SearchProductsResult) IsSetSuccess() bool { method GetResult (line 498) | func (p *SearchProductsResult) GetResult() interface{} { type kClient (line 502) | type kClient struct method ListProducts (line 512) | func (p *kClient) ListProducts(ctx context.Context, Req *product.ListP... method GetProduct (line 522) | func (p *kClient) GetProduct(ctx context.Context, Req *product.GetProd... method SearchProducts (line 532) | func (p *kClient) SearchProducts(ctx context.Context, Req *product.Sea... function newServiceClient (line 506) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch14/rpc_gen/kitex_gen/product/productcatalogservice/server.go function NewServer (line 10) | func NewServer(handler product.ProductCatalogService, opts ...server.Opt... FILE: gomall/tutorial/ch14/rpc_gen/kitex_gen/user/user.pb.fast.go method FastRead (line 15) | func (x *RegisterReq) FastRead(buf []byte, _type int8, number int32) (of... method fastReadField1 (line 45) | func (x *RegisterReq) fastReadField1(buf []byte, _type int8) (offset int... method fastReadField2 (line 50) | func (x *RegisterReq) fastReadField2(buf []byte, _type int8) (offset int... method fastReadField3 (line 55) | func (x *RegisterReq) fastReadField3(buf []byte, _type int8) (offset int... method FastRead (line 60) | func (x *RegisterResp) FastRead(buf []byte, _type int8, number int32) (o... method fastReadField1 (line 80) | func (x *RegisterResp) fastReadField1(buf []byte, _type int8) (offset in... method FastRead (line 85) | func (x *LoginReq) FastRead(buf []byte, _type int8, number int32) (offse... method fastReadField1 (line 110) | func (x *LoginReq) fastReadField1(buf []byte, _type int8) (offset int, e... method fastReadField2 (line 115) | func (x *LoginReq) fastReadField2(buf []byte, _type int8) (offset int, e... method FastRead (line 120) | func (x *LoginResp) FastRead(buf []byte, _type int8, number int32) (offs... method fastReadField1 (line 140) | func (x *LoginResp) fastReadField1(buf []byte, _type int8) (offset int, ... method FastWrite (line 145) | func (x *RegisterReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 155) | func (x *RegisterReq) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 163) | func (x *RegisterReq) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 171) | func (x *RegisterReq) fastWriteField3(buf []byte) (offset int) { method FastWrite (line 179) | func (x *RegisterResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 187) | func (x *RegisterResp) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 195) | func (x *LoginReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 204) | func (x *LoginReq) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 212) | func (x *LoginReq) fastWriteField2(buf []byte) (offset int) { method FastWrite (line 220) | func (x *LoginResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 228) | func (x *LoginResp) fastWriteField1(buf []byte) (offset int) { method Size (line 236) | func (x *RegisterReq) Size() (n int) { method sizeField1 (line 246) | func (x *RegisterReq) sizeField1() (n int) { method sizeField2 (line 254) | func (x *RegisterReq) sizeField2() (n int) { method sizeField3 (line 262) | func (x *RegisterReq) sizeField3() (n int) { method Size (line 270) | func (x *RegisterResp) Size() (n int) { method sizeField1 (line 278) | func (x *RegisterResp) sizeField1() (n int) { method Size (line 286) | func (x *LoginReq) Size() (n int) { method sizeField1 (line 295) | func (x *LoginReq) sizeField1() (n int) { method sizeField2 (line 303) | func (x *LoginReq) sizeField2() (n int) { method Size (line 311) | func (x *LoginResp) Size() (n int) { method sizeField1 (line 319) | func (x *LoginResp) sizeField1() (n int) { FILE: gomall/tutorial/ch14/rpc_gen/kitex_gen/user/user.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type RegisterReq (line 24) | type RegisterReq struct method Reset (line 34) | func (x *RegisterReq) Reset() { method String (line 43) | func (x *RegisterReq) String() string { method ProtoMessage (line 47) | func (*RegisterReq) ProtoMessage() {} method ProtoReflect (line 49) | func (x *RegisterReq) ProtoReflect() protoreflect.Message { method Descriptor (line 62) | func (*RegisterReq) Descriptor() ([]byte, []int) { method GetEmail (line 66) | func (x *RegisterReq) GetEmail() string { method GetPassword (line 73) | func (x *RegisterReq) GetPassword() string { method GetConfirmPassword (line 80) | func (x *RegisterReq) GetConfirmPassword() string { type RegisterResp (line 87) | type RegisterResp struct method Reset (line 95) | func (x *RegisterResp) Reset() { method String (line 104) | func (x *RegisterResp) String() string { method ProtoMessage (line 108) | func (*RegisterResp) ProtoMessage() {} method ProtoReflect (line 110) | func (x *RegisterResp) ProtoReflect() protoreflect.Message { method Descriptor (line 123) | func (*RegisterResp) Descriptor() ([]byte, []int) { method GetUserId (line 127) | func (x *RegisterResp) GetUserId() int32 { type LoginReq (line 134) | type LoginReq struct method Reset (line 143) | func (x *LoginReq) Reset() { method String (line 152) | func (x *LoginReq) String() string { method ProtoMessage (line 156) | func (*LoginReq) ProtoMessage() {} method ProtoReflect (line 158) | func (x *LoginReq) ProtoReflect() protoreflect.Message { method Descriptor (line 171) | func (*LoginReq) Descriptor() ([]byte, []int) { method GetEmail (line 175) | func (x *LoginReq) GetEmail() string { method GetPassword (line 182) | func (x *LoginReq) GetPassword() string { type LoginResp (line 189) | type LoginResp struct method Reset (line 197) | func (x *LoginResp) Reset() { method String (line 206) | func (x *LoginResp) String() string { method ProtoMessage (line 210) | func (*LoginResp) ProtoMessage() {} method ProtoReflect (line 212) | func (x *LoginResp) ProtoReflect() protoreflect.Message { method Descriptor (line 225) | func (*LoginResp) Descriptor() ([]byte, []int) { method GetUserId (line 229) | func (x *LoginResp) GetUserId() int32 { function file_user_proto_rawDescGZIP (line 275) | func file_user_proto_rawDescGZIP() []byte { function init (line 301) | func init() { file_user_proto_init() } function file_user_proto_init (line 302) | func file_user_proto_init() { type UserService (line 380) | type UserService interface FILE: gomall/tutorial/ch14/rpc_gen/kitex_gen/user/userservice/client.go type Client (line 13) | type Client interface function NewClient (line 19) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 35) | func MustNewClient(destService string, opts ...client.Option) Client { type kUserServiceClient (line 43) | type kUserServiceClient struct method Register (line 47) | func (p *kUserServiceClient) Register(ctx context.Context, Req *user.R... method Login (line 52) | func (p *kUserServiceClient) Login(ctx context.Context, Req *user.Logi... FILE: gomall/tutorial/ch14/rpc_gen/kitex_gen/user/userservice/invoker.go function NewInvoker (line 11) | func NewInvoker(handler user.UserService, opts ...server.Option) server.... FILE: gomall/tutorial/ch14/rpc_gen/kitex_gen/user/userservice/server.go function NewServer (line 10) | func NewServer(handler user.UserService, opts ...server.Option) server.S... FILE: gomall/tutorial/ch14/rpc_gen/kitex_gen/user/userservice/userservice.go function serviceInfo (line 14) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 20) | func NewServiceInfo() *kitex.ServiceInfo { function registerHandler (line 42) | func registerHandler(ctx context.Context, handler interface{}, arg, resu... function newRegisterArgs (line 67) | func newRegisterArgs() interface{} { function newRegisterResult (line 71) | func newRegisterResult() interface{} { type RegisterArgs (line 75) | type RegisterArgs struct method FastRead (line 79) | func (p *RegisterArgs) FastRead(buf []byte, _type int8, number int32) ... method FastWrite (line 86) | func (p *RegisterArgs) FastWrite(buf []byte) (n int) { method Size (line 93) | func (p *RegisterArgs) Size() (n int) { method Marshal (line 100) | func (p *RegisterArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 107) | func (p *RegisterArgs) Unmarshal(in []byte) error { method GetReq (line 118) | func (p *RegisterArgs) GetReq() *user.RegisterReq { method IsSetReq (line 125) | func (p *RegisterArgs) IsSetReq() bool { method GetFirstArgument (line 129) | func (p *RegisterArgs) GetFirstArgument() interface{} { type RegisterResult (line 133) | type RegisterResult struct method FastRead (line 139) | func (p *RegisterResult) FastRead(buf []byte, _type int8, number int32... method FastWrite (line 146) | func (p *RegisterResult) FastWrite(buf []byte) (n int) { method Size (line 153) | func (p *RegisterResult) Size() (n int) { method Marshal (line 160) | func (p *RegisterResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 167) | func (p *RegisterResult) Unmarshal(in []byte) error { method GetSuccess (line 176) | func (p *RegisterResult) GetSuccess() *user.RegisterResp { method SetSuccess (line 183) | func (p *RegisterResult) SetSuccess(x interface{}) { method IsSetSuccess (line 187) | func (p *RegisterResult) IsSetSuccess() bool { method GetResult (line 191) | func (p *RegisterResult) GetResult() interface{} { function loginHandler (line 195) | func loginHandler(ctx context.Context, handler interface{}, arg, result ... function newLoginArgs (line 220) | func newLoginArgs() interface{} { function newLoginResult (line 224) | func newLoginResult() interface{} { type LoginArgs (line 228) | type LoginArgs struct method FastRead (line 232) | func (p *LoginArgs) FastRead(buf []byte, _type int8, number int32) (n ... method FastWrite (line 239) | func (p *LoginArgs) FastWrite(buf []byte) (n int) { method Size (line 246) | func (p *LoginArgs) Size() (n int) { method Marshal (line 253) | func (p *LoginArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 260) | func (p *LoginArgs) Unmarshal(in []byte) error { method GetReq (line 271) | func (p *LoginArgs) GetReq() *user.LoginReq { method IsSetReq (line 278) | func (p *LoginArgs) IsSetReq() bool { method GetFirstArgument (line 282) | func (p *LoginArgs) GetFirstArgument() interface{} { type LoginResult (line 286) | type LoginResult struct method FastRead (line 292) | func (p *LoginResult) FastRead(buf []byte, _type int8, number int32) (... method FastWrite (line 299) | func (p *LoginResult) FastWrite(buf []byte) (n int) { method Size (line 306) | func (p *LoginResult) Size() (n int) { method Marshal (line 313) | func (p *LoginResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 320) | func (p *LoginResult) Unmarshal(in []byte) error { method GetSuccess (line 329) | func (p *LoginResult) GetSuccess() *user.LoginResp { method SetSuccess (line 336) | func (p *LoginResult) SetSuccess(x interface{}) { method IsSetSuccess (line 340) | func (p *LoginResult) IsSetSuccess() bool { method GetResult (line 344) | func (p *LoginResult) GetResult() interface{} { type kClient (line 348) | type kClient struct method Register (line 358) | func (p *kClient) Register(ctx context.Context, Req *user.RegisterReq)... method Login (line 368) | func (p *kClient) Login(ctx context.Context, Req *user.LoginReq) (r *u... function newServiceClient (line 352) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch14/rpc_gen/rpc/cart/cart_client.go type RPCClient (line 12) | type RPCClient interface function NewRPCClient (line 20) | func NewRPCClient(dstService string, opts ...client.Option) (RPCClient, ... type clientImpl (line 33) | type clientImpl struct method Service (line 38) | func (c *clientImpl) Service() string { method KitexClient (line 42) | func (c *clientImpl) KitexClient() cartservice.Client { method AddItem (line 46) | func (c *clientImpl) AddItem(ctx context.Context, Req *cart.AddItemReq... method GetCart (line 50) | func (c *clientImpl) GetCart(ctx context.Context, Req *cart.GetCartReq... method EmptyCart (line 54) | func (c *clientImpl) EmptyCart(ctx context.Context, Req *cart.EmptyCar... FILE: gomall/tutorial/ch14/rpc_gen/rpc/cart/cart_default.go function AddItem (line 10) | func AddItem(ctx context.Context, req *cart.AddItemReq, callOptions ...c... function GetCart (line 19) | func GetCart(ctx context.Context, req *cart.GetCartReq, callOptions ...c... function EmptyCart (line 28) | func EmptyCart(ctx context.Context, req *cart.EmptyCartReq, callOptions ... FILE: gomall/tutorial/ch14/rpc_gen/rpc/cart/cart_init.go function init (line 19) | func init() { function DefaultClient (line 23) | func DefaultClient() RPCClient { function newClient (line 30) | func newClient(dstService string, opts ...client.Option) RPCClient { function InitClient (line 38) | func InitClient(dstService string, opts ...client.Option) { FILE: gomall/tutorial/ch14/rpc_gen/rpc/checkout/checkout_client.go type RPCClient (line 12) | type RPCClient interface function NewRPCClient (line 18) | func NewRPCClient(dstService string, opts ...client.Option) (RPCClient, ... type clientImpl (line 31) | type clientImpl struct method Service (line 36) | func (c *clientImpl) Service() string { method KitexClient (line 40) | func (c *clientImpl) KitexClient() checkoutservice.Client { method Checkout (line 44) | func (c *clientImpl) Checkout(ctx context.Context, Req *checkout.Check... FILE: gomall/tutorial/ch14/rpc_gen/rpc/checkout/checkout_default.go function Checkout (line 10) | func Checkout(ctx context.Context, req *checkout.CheckoutReq, callOption... FILE: gomall/tutorial/ch14/rpc_gen/rpc/checkout/checkout_init.go function init (line 19) | func init() { function DefaultClient (line 23) | func DefaultClient() RPCClient { function newClient (line 30) | func newClient(dstService string, opts ...client.Option) RPCClient { function InitClient (line 38) | func InitClient(dstService string, opts ...client.Option) { FILE: gomall/tutorial/ch14/rpc_gen/rpc/email/email_client.go type RPCClient (line 12) | type RPCClient interface function NewRPCClient (line 18) | func NewRPCClient(dstService string, opts ...client.Option) (RPCClient, ... type clientImpl (line 31) | type clientImpl struct method Service (line 36) | func (c *clientImpl) Service() string { method KitexClient (line 40) | func (c *clientImpl) KitexClient() emailservice.Client { method Send (line 44) | func (c *clientImpl) Send(ctx context.Context, Req *email.EmailReq, ca... FILE: gomall/tutorial/ch14/rpc_gen/rpc/email/email_default.go function Send (line 10) | func Send(ctx context.Context, req *email.EmailReq, callOptions ...callo... FILE: gomall/tutorial/ch14/rpc_gen/rpc/email/email_init.go function init (line 19) | func init() { function DefaultClient (line 23) | func DefaultClient() RPCClient { function newClient (line 30) | func newClient(dstService string, opts ...client.Option) RPCClient { function InitClient (line 38) | func InitClient(dstService string, opts ...client.Option) { FILE: gomall/tutorial/ch14/rpc_gen/rpc/order/order_client.go type RPCClient (line 12) | type RPCClient interface function NewRPCClient (line 19) | func NewRPCClient(dstService string, opts ...client.Option) (RPCClient, ... type clientImpl (line 32) | type clientImpl struct method Service (line 37) | func (c *clientImpl) Service() string { method KitexClient (line 41) | func (c *clientImpl) KitexClient() orderservice.Client { method PlaceOrder (line 45) | func (c *clientImpl) PlaceOrder(ctx context.Context, Req *order.PlaceO... method ListOrder (line 49) | func (c *clientImpl) ListOrder(ctx context.Context, Req *order.ListOrd... FILE: gomall/tutorial/ch14/rpc_gen/rpc/order/order_default.go function PlaceOrder (line 10) | func PlaceOrder(ctx context.Context, req *order.PlaceOrderReq, callOptio... function ListOrder (line 19) | func ListOrder(ctx context.Context, req *order.ListOrderReq, callOptions... FILE: gomall/tutorial/ch14/rpc_gen/rpc/order/order_init.go function init (line 19) | func init() { function DefaultClient (line 23) | func DefaultClient() RPCClient { function newClient (line 30) | func newClient(dstService string, opts ...client.Option) RPCClient { function InitClient (line 38) | func InitClient(dstService string, opts ...client.Option) { FILE: gomall/tutorial/ch14/rpc_gen/rpc/payment/payment_client.go type RPCClient (line 12) | type RPCClient interface function NewRPCClient (line 18) | func NewRPCClient(dstService string, opts ...client.Option) (RPCClient, ... type clientImpl (line 31) | type clientImpl struct method Service (line 36) | func (c *clientImpl) Service() string { method KitexClient (line 40) | func (c *clientImpl) KitexClient() paymentservice.Client { method Charge (line 44) | func (c *clientImpl) Charge(ctx context.Context, Req *payment.ChargeRe... FILE: gomall/tutorial/ch14/rpc_gen/rpc/payment/payment_default.go function Charge (line 10) | func Charge(ctx context.Context, req *payment.ChargeReq, callOptions ...... FILE: gomall/tutorial/ch14/rpc_gen/rpc/payment/payment_init.go function init (line 19) | func init() { function DefaultClient (line 23) | func DefaultClient() RPCClient { function newClient (line 30) | func newClient(dstService string, opts ...client.Option) RPCClient { function InitClient (line 38) | func InitClient(dstService string, opts ...client.Option) { FILE: gomall/tutorial/ch14/rpc_gen/rpc/product/product_client.go type RPCClient (line 12) | type RPCClient interface function NewRPCClient (line 20) | func NewRPCClient(dstService string, opts ...client.Option) (RPCClient, ... type clientImpl (line 33) | type clientImpl struct method Service (line 38) | func (c *clientImpl) Service() string { method KitexClient (line 42) | func (c *clientImpl) KitexClient() productcatalogservice.Client { method ListProducts (line 46) | func (c *clientImpl) ListProducts(ctx context.Context, Req *product.Li... method GetProduct (line 50) | func (c *clientImpl) GetProduct(ctx context.Context, Req *product.GetP... method SearchProducts (line 54) | func (c *clientImpl) SearchProducts(ctx context.Context, Req *product.... FILE: gomall/tutorial/ch14/rpc_gen/rpc/product/product_default.go function ListProducts (line 10) | func ListProducts(ctx context.Context, req *product.ListProductsReq, cal... function GetProduct (line 19) | func GetProduct(ctx context.Context, req *product.GetProductReq, callOpt... function SearchProducts (line 28) | func SearchProducts(ctx context.Context, req *product.SearchProductsReq,... FILE: gomall/tutorial/ch14/rpc_gen/rpc/product/product_init.go function init (line 19) | func init() { function DefaultClient (line 23) | func DefaultClient() RPCClient { function newClient (line 30) | func newClient(dstService string, opts ...client.Option) RPCClient { function InitClient (line 38) | func InitClient(dstService string, opts ...client.Option) { FILE: gomall/tutorial/ch14/rpc_gen/rpc/user/user_client.go type RPCClient (line 12) | type RPCClient interface function NewRPCClient (line 19) | func NewRPCClient(dstService string, opts ...client.Option) (RPCClient, ... type clientImpl (line 32) | type clientImpl struct method Service (line 37) | func (c *clientImpl) Service() string { method KitexClient (line 41) | func (c *clientImpl) KitexClient() userservice.Client { method Register (line 45) | func (c *clientImpl) Register(ctx context.Context, Req *user.RegisterR... method Login (line 49) | func (c *clientImpl) Login(ctx context.Context, Req *user.LoginReq, ca... FILE: gomall/tutorial/ch14/rpc_gen/rpc/user/user_default.go function Register (line 10) | func Register(ctx context.Context, req *user.RegisterReq, callOptions ..... function Login (line 19) | func Login(ctx context.Context, req *user.LoginReq, callOptions ...callo... FILE: gomall/tutorial/ch14/rpc_gen/rpc/user/user_init.go function init (line 19) | func init() { function DefaultClient (line 23) | func DefaultClient() RPCClient { function newClient (line 30) | func newClient(dstService string, opts ...client.Option) RPCClient { function InitClient (line 38) | func InitClient(dstService string, opts ...client.Option) { FILE: gomall/tutorial/ch15/app/cart/biz/dal/init.go function Init (line 21) | func Init() { FILE: gomall/tutorial/ch15/app/cart/biz/dal/mysql/init.go function Init (line 32) | func Init() { FILE: gomall/tutorial/ch15/app/cart/biz/dal/redis/init.go function Init (line 26) | func Init() { FILE: gomall/tutorial/ch15/app/cart/biz/model/base.go type Base (line 19) | type Base struct FILE: gomall/tutorial/ch15/app/cart/biz/model/cart.go type Cart (line 24) | type Cart struct method TableName (line 31) | func (c Cart) TableName() string { function GetCartByUserId (line 35) | func GetCartByUserId(db *gorm.DB, ctx context.Context, userId uint32) (c... function AddCart (line 40) | func AddCart(db *gorm.DB, ctx context.Context, c *Cart) error { function EmptyCart (line 54) | func EmptyCart(db *gorm.DB, ctx context.Context, userId uint32) error { FILE: gomall/tutorial/ch15/app/cart/biz/service/add_item.go type AddItemService (line 29) | type AddItemService struct method Run (line 37) | func (s *AddItemService) Run(req *cart.AddItemReq) (resp *cart.AddItem... function NewAddItemService (line 32) | func NewAddItemService(ctx context.Context) *AddItemService { FILE: gomall/tutorial/ch15/app/cart/biz/service/add_item_test.go function TestAddItem_Run (line 21) | func TestAddItem_Run(t *testing.T) { FILE: gomall/tutorial/ch15/app/cart/biz/service/empty_cart.go type EmptyCartService (line 26) | type EmptyCartService struct method Run (line 34) | func (s *EmptyCartService) Run(req *cart.EmptyCartReq) (resp *cart.Emp... function NewEmptyCartService (line 29) | func NewEmptyCartService(ctx context.Context) *EmptyCartService { FILE: gomall/tutorial/ch15/app/cart/biz/service/empty_cart_test.go function TestEmptyCart_Run (line 21) | func TestEmptyCart_Run(t *testing.T) { FILE: gomall/tutorial/ch15/app/cart/biz/service/get_cart.go type GetCartService (line 26) | type GetCartService struct method Run (line 34) | func (s *GetCartService) Run(req *cart.GetCartReq) (resp *cart.GetCart... function NewGetCartService (line 29) | func NewGetCartService(ctx context.Context) *GetCartService { FILE: gomall/tutorial/ch15/app/cart/biz/service/get_cart_test.go function TestGetCart_Run (line 21) | func TestGetCart_Run(t *testing.T) { FILE: gomall/tutorial/ch15/app/cart/conf/conf.go type Config (line 33) | type Config struct type MySQL (line 41) | type MySQL struct type Redis (line 45) | type Redis struct type Kitex (line 52) | type Kitex struct type Registry (line 66) | type Registry struct function GetConf (line 73) | func GetConf() *Config { function initConf (line 78) | func initConf() { function GetEnv (line 99) | func GetEnv() string { function LogLevel (line 107) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch15/app/cart/handler.go type CartServiceImpl (line 25) | type CartServiceImpl struct method AddItem (line 28) | func (s *CartServiceImpl) AddItem(ctx context.Context, req *cart.AddIt... method GetCart (line 35) | func (s *CartServiceImpl) GetCart(ctx context.Context, req *cart.GetCa... method EmptyCart (line 42) | func (s *CartServiceImpl) EmptyCart(ctx context.Context, req *cart.Emp... FILE: gomall/tutorial/ch15/app/cart/infra/rpc/client.go function InitClient (line 37) | func InitClient() { function initProductClient (line 43) | func initProductClient() { FILE: gomall/tutorial/ch15/app/cart/main.go function main (line 36) | func main() { function kitexInit (line 53) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch15/app/cart/script/cart.sql type cart (line 1) | create table cart FILE: gomall/tutorial/ch15/app/cart/utils/errors.go function MustHandleError (line 20) | func MustHandleError(err error) { function ShouldHandleError (line 27) | func ShouldHandleError(err error) { FILE: gomall/tutorial/ch15/app/checkout/biz/dal/init.go function Init (line 22) | func Init() { FILE: gomall/tutorial/ch15/app/checkout/biz/dal/mysql/init.go function Init (line 29) | func Init() { FILE: gomall/tutorial/ch15/app/checkout/biz/dal/redis/init.go function Init (line 26) | func Init() { FILE: gomall/tutorial/ch15/app/checkout/biz/service/checkout.go type CheckoutService (line 36) | type CheckoutService struct method Run (line 54) | func (s *CheckoutService) Run(req *checkout.CheckoutReq) (resp *checko... function NewCheckoutService (line 39) | func NewCheckoutService(ctx context.Context) *CheckoutService { FILE: gomall/tutorial/ch15/app/checkout/biz/service/checkout_test.go function TestCheckout_Run (line 21) | func TestCheckout_Run(t *testing.T) { FILE: gomall/tutorial/ch15/app/checkout/conf/conf.go type Config (line 33) | type Config struct type MySQL (line 41) | type MySQL struct type Redis (line 45) | type Redis struct type Kitex (line 52) | type Kitex struct type Registry (line 66) | type Registry struct function GetConf (line 73) | func GetConf() *Config { function initConf (line 78) | func initConf() { function GetEnv (line 99) | func GetEnv() string { function LogLevel (line 107) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch15/app/checkout/handler.go type CheckoutServiceImpl (line 25) | type CheckoutServiceImpl struct method PlaceOrder (line 28) | func (s *CheckoutServiceImpl) PlaceOrder(ctx context.Context, req *che... method Checkout (line 35) | func (s *CheckoutServiceImpl) Checkout(ctx context.Context, req *check... FILE: gomall/tutorial/ch15/app/checkout/infra/mq/nats.go function Init (line 26) | func Init() { FILE: gomall/tutorial/ch15/app/checkout/infra/rpc/client.go function InitClient (line 49) | func InitClient() { function initProductClient (line 58) | func initProductClient() { function initCartClient (line 77) | func initCartClient() { function initPaymentClient (line 95) | func initPaymentClient() { function initOrderClient (line 109) | func initOrderClient() { FILE: gomall/tutorial/ch15/app/checkout/main.go function main (line 37) | func main() { function kitexInit (line 55) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch15/app/checkout/utils/errors.go function MustHandleError (line 20) | func MustHandleError(err error) { function ShouldHandleError (line 27) | func ShouldHandleError(err error) { FILE: gomall/tutorial/ch15/app/email/biz/consumer/consumer.go function Init (line 19) | func Init() { FILE: gomall/tutorial/ch15/app/email/biz/consumer/email/email.go function ConsumerInit (line 28) | func ConsumerInit() { FILE: gomall/tutorial/ch15/app/email/biz/consumer/email/email_test.go function TestEmailConsumer (line 26) | func TestEmailConsumer(t *testing.T) { FILE: gomall/tutorial/ch15/app/email/biz/dal/init.go function Init (line 22) | func Init() { FILE: gomall/tutorial/ch15/app/email/biz/dal/mysql/init.go function Init (line 29) | func Init() { FILE: gomall/tutorial/ch15/app/email/biz/dal/redis/init.go function Init (line 26) | func Init() { FILE: gomall/tutorial/ch15/app/email/biz/service/send.go type SendService (line 23) | type SendService struct method Run (line 31) | func (s *SendService) Run(req *email.EmailReq) (resp *email.EmailResp,... function NewSendService (line 26) | func NewSendService(ctx context.Context) *SendService { FILE: gomall/tutorial/ch15/app/email/biz/service/send_test.go function TestSend_Run (line 24) | func TestSend_Run(t *testing.T) { FILE: gomall/tutorial/ch15/app/email/conf/conf.go type Config (line 33) | type Config struct type MySQL (line 41) | type MySQL struct type Redis (line 45) | type Redis struct type Kitex (line 52) | type Kitex struct type Registry (line 65) | type Registry struct function GetConf (line 72) | func GetConf() *Config { function initConf (line 77) | func initConf() { function GetEnv (line 98) | func GetEnv() string { function LogLevel (line 106) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch15/app/email/handler.go type EmailServiceImpl (line 25) | type EmailServiceImpl struct method Send (line 28) | func (s *EmailServiceImpl) Send(ctx context.Context, req *email.EmailR... FILE: gomall/tutorial/ch15/app/email/infra/mq/nats.go function Init (line 26) | func Init() { FILE: gomall/tutorial/ch15/app/email/infra/notify/email.go type NoopEmail (line 22) | type NoopEmail struct method Send (line 24) | func (e *NoopEmail) Send(req *email.EmailReq) error { function NewNoopEmail (line 29) | func NewNoopEmail() NoopEmail { FILE: gomall/tutorial/ch15/app/email/main.go function main (line 29) | func main() { function kitexInit (line 42) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch15/app/frontend/biz/dal/init.go function Init (line 22) | func Init() { FILE: gomall/tutorial/ch15/app/frontend/biz/dal/mysql/init.go function Init (line 28) | func Init() { FILE: gomall/tutorial/ch15/app/frontend/biz/dal/redis/init.go function Init (line 26) | func Init() { FILE: gomall/tutorial/ch15/app/frontend/biz/handler/auth/auth_service.go function Register (line 31) | func Register(ctx context.Context, c *app.RequestContext) { function Login (line 50) | func Login(ctx context.Context, c *app.RequestContext) { function Logout (line 70) | func Logout(ctx context.Context, c *app.RequestContext) { FILE: gomall/tutorial/ch15/app/frontend/biz/handler/auth/auth_service_test.go function TestRegister (line 26) | func TestRegister(t *testing.T) { function TestLogin (line 41) | func TestLogin(t *testing.T) { function TestLogout (line 56) | func TestLogout(t *testing.T) { FILE: gomall/tutorial/ch15/app/frontend/biz/handler/cart/cart_service.go function AddCartItem (line 31) | func AddCartItem(ctx context.Context, c *app.RequestContext) { function GetCart (line 51) | func GetCart(ctx context.Context, c *app.RequestContext) { FILE: gomall/tutorial/ch15/app/frontend/biz/handler/cart/cart_service_test.go function TestAddCartItem (line 26) | func TestAddCartItem(t *testing.T) { function TestGetCart (line 41) | func TestGetCart(t *testing.T) { FILE: gomall/tutorial/ch15/app/frontend/biz/handler/category/category_service.go function Category (line 29) | func Category(ctx context.Context, c *app.RequestContext) { FILE: gomall/tutorial/ch15/app/frontend/biz/handler/category/category_service_test.go function TestCategory (line 26) | func TestCategory(t *testing.T) { FILE: gomall/tutorial/ch15/app/frontend/biz/handler/checkout/checkout_service.go function Checkout (line 31) | func Checkout(ctx context.Context, c *app.RequestContext) { function CheckoutWaiting (line 51) | func CheckoutWaiting(ctx context.Context, c *app.RequestContext) { function CheckoutResult (line 71) | func CheckoutResult(ctx context.Context, c *app.RequestContext) { FILE: gomall/tutorial/ch15/app/frontend/biz/handler/checkout/checkout_service_test.go function TestCheckout (line 26) | func TestCheckout(t *testing.T) { function TestCheckoutWaiting (line 41) | func TestCheckoutWaiting(t *testing.T) { function TestCheckoutResult (line 56) | func TestCheckoutResult(t *testing.T) { FILE: gomall/tutorial/ch15/app/frontend/biz/handler/home/home_service.go function Home (line 29) | func Home(ctx context.Context, c *app.RequestContext) { FILE: gomall/tutorial/ch15/app/frontend/biz/handler/home/home_service_test.go function TestHome (line 26) | func TestHome(t *testing.T) { FILE: gomall/tutorial/ch15/app/frontend/biz/handler/order/order_service.go function OrderList (line 30) | func OrderList(ctx context.Context, c *app.RequestContext) { FILE: gomall/tutorial/ch15/app/frontend/biz/handler/order/order_service_test.go function TestOrderList (line 26) | func TestOrderList(t *testing.T) { FILE: gomall/tutorial/ch15/app/frontend/biz/handler/product/product_service.go function GetProduct (line 29) | func GetProduct(ctx context.Context, c *app.RequestContext) { FILE: gomall/tutorial/ch15/app/frontend/biz/handler/product/product_service_test.go function TestGetProduct (line 26) | func TestGetProduct(t *testing.T) { FILE: gomall/tutorial/ch15/app/frontend/biz/router/auth/auth_page.go function Register (line 31) | func Register(r *server.Hertz) { FILE: gomall/tutorial/ch15/app/frontend/biz/router/auth/middleware.go function rootMw (line 23) | func rootMw() []app.HandlerFunc { function _authMw (line 28) | func _authMw() []app.HandlerFunc { function _loginMw (line 33) | func _loginMw() []app.HandlerFunc { function _logoutMw (line 38) | func _logoutMw() []app.HandlerFunc { function _registerMw (line 43) | func _registerMw() []app.HandlerFunc { FILE: gomall/tutorial/ch15/app/frontend/biz/router/cart/cart_page.go function Register (line 31) | func Register(r *server.Hertz) { FILE: gomall/tutorial/ch15/app/frontend/biz/router/cart/middleware.go function rootMw (line 24) | func rootMw() []app.HandlerFunc { function _addcartitemMw (line 30) | func _addcartitemMw() []app.HandlerFunc { function _getcartMw (line 35) | func _getcartMw() []app.HandlerFunc { FILE: gomall/tutorial/ch15/app/frontend/biz/router/category/category_page.go function Register (line 31) | func Register(r *server.Hertz) { FILE: gomall/tutorial/ch15/app/frontend/biz/router/category/middleware.go function rootMw (line 23) | func rootMw() []app.HandlerFunc { function _categoryMw (line 28) | func _categoryMw() []app.HandlerFunc { function _category0Mw (line 33) | func _category0Mw() []app.HandlerFunc { FILE: gomall/tutorial/ch15/app/frontend/biz/router/checkout/checkout_page.go function Register (line 31) | func Register(r *server.Hertz) { FILE: gomall/tutorial/ch15/app/frontend/biz/router/checkout/middleware.go function rootMw (line 23) | func rootMw() []app.HandlerFunc { function _checkoutMw (line 28) | func _checkoutMw() []app.HandlerFunc { function _checkout0Mw (line 33) | func _checkout0Mw() []app.HandlerFunc { function _checkoutresultMw (line 38) | func _checkoutresultMw() []app.HandlerFunc { function _checkoutwaitingMw (line 43) | func _checkoutwaitingMw() []app.HandlerFunc { FILE: gomall/tutorial/ch15/app/frontend/biz/router/home/home.go function Register (line 31) | func Register(r *server.Hertz) { FILE: gomall/tutorial/ch15/app/frontend/biz/router/home/middleware.go function rootMw (line 23) | func rootMw() []app.HandlerFunc { function _homeMw (line 28) | func _homeMw() []app.HandlerFunc { FILE: gomall/tutorial/ch15/app/frontend/biz/router/order/middleware.go function rootMw (line 23) | func rootMw() []app.HandlerFunc { function _orderlistMw (line 28) | func _orderlistMw() []app.HandlerFunc { FILE: gomall/tutorial/ch15/app/frontend/biz/router/order/order_page.go function Register (line 31) | func Register(r *server.Hertz) { FILE: gomall/tutorial/ch15/app/frontend/biz/router/product/middleware.go function rootMw (line 23) | func rootMw() []app.HandlerFunc { function _getproductMw (line 28) | func _getproductMw() []app.HandlerFunc { FILE: gomall/tutorial/ch15/app/frontend/biz/router/product/product_page.go function Register (line 31) | func Register(r *server.Hertz) { FILE: gomall/tutorial/ch15/app/frontend/biz/router/register.go function GeneratedRegister (line 31) | func GeneratedRegister(r *server.Hertz) { FILE: gomall/tutorial/ch15/app/frontend/biz/service/add_cart_item.go type AddCartItemService (line 28) | type AddCartItemService struct method Run (line 37) | func (h *AddCartItemService) Run(req *cart.AddCartReq) (resp *common.E... function NewAddCartItemService (line 33) | func NewAddCartItemService(Context context.Context, RequestContext *app.... FILE: gomall/tutorial/ch15/app/frontend/biz/service/category.go type CategoryService (line 27) | type CategoryService struct method Run (line 36) | func (h *CategoryService) Run(req *category.CategoryReq) (resp map[str... function NewCategoryService (line 32) | func NewCategoryService(Context context.Context, RequestContext *app.Req... FILE: gomall/tutorial/ch15/app/frontend/biz/service/checkout.go type CheckoutService (line 30) | type CheckoutService struct method Run (line 39) | func (h *CheckoutService) Run(req *checkout.CheckoutReq) (resp map[str... function NewCheckoutService (line 35) | func NewCheckoutService(Context context.Context, RequestContext *app.Req... FILE: gomall/tutorial/ch15/app/frontend/biz/service/checkout_result.go type CheckoutResultService (line 26) | type CheckoutResultService struct method Run (line 35) | func (h *CheckoutResultService) Run(req *common.Empty) (resp map[strin... function NewCheckoutResultService (line 31) | func NewCheckoutResultService(Context context.Context, RequestContext *a... FILE: gomall/tutorial/ch15/app/frontend/biz/service/checkout_waiting.go type CheckoutWaitingService (line 29) | type CheckoutWaitingService struct method Run (line 38) | func (h *CheckoutWaitingService) Run(req *checkout.CheckoutReq) (resp ... function NewCheckoutWaitingService (line 34) | func NewCheckoutWaitingService(Context context.Context, RequestContext *... FILE: gomall/tutorial/ch15/app/frontend/biz/service/get_cart.go type GetCartService (line 30) | type GetCartService struct method Run (line 39) | func (h *GetCartService) Run(req *common.Empty) (resp map[string]any, ... function NewGetCartService (line 35) | func NewGetCartService(Context context.Context, RequestContext *app.Requ... FILE: gomall/tutorial/ch15/app/frontend/biz/service/get_product.go type GetProductService (line 27) | type GetProductService struct method Run (line 36) | func (h *GetProductService) Run(req *product.ProductReq) (resp map[str... function NewGetProductService (line 32) | func NewGetProductService(Context context.Context, RequestContext *app.R... FILE: gomall/tutorial/ch15/app/frontend/biz/service/home.go type HomeService (line 28) | type HomeService struct method Run (line 37) | func (h *HomeService) Run(req *common.Empty) (res map[string]any, err ... function NewHomeService (line 33) | func NewHomeService(Context context.Context, RequestContext *app.Request... FILE: gomall/tutorial/ch15/app/frontend/biz/service/login.go type LoginService (line 28) | type LoginService struct method Run (line 37) | func (h *LoginService) Run(req *auth.LoginReq) (resp string, err error) { function NewLoginService (line 33) | func NewLoginService(Context context.Context, RequestContext *app.Reques... FILE: gomall/tutorial/ch15/app/frontend/biz/service/logout.go type LogoutService (line 25) | type LogoutService struct method Run (line 34) | func (h *LogoutService) Run(req *common.Empty) (resp *common.Empty, er... function NewLogoutService (line 30) | func NewLogoutService(Context context.Context, RequestContext *app.Reque... FILE: gomall/tutorial/ch15/app/frontend/biz/service/order_list.go type OrderListService (line 31) | type OrderListService struct method Run (line 40) | func (h *OrderListService) Run(req *common.Empty) (resp map[string]any... function NewOrderListService (line 36) | func NewOrderListService(Context context.Context, RequestContext *app.Re... FILE: gomall/tutorial/ch15/app/frontend/biz/service/register.go type RegisterService (line 28) | type RegisterService struct method Run (line 37) | func (h *RegisterService) Run(req *auth.RegisterReq) (resp *common.Emp... function NewRegisterService (line 33) | func NewRegisterService(Context context.Context, RequestContext *app.Req... FILE: gomall/tutorial/ch15/app/frontend/biz/utils/resp.go function SendErrResponse (line 27) | func SendErrResponse(ctx context.Context, c *app.RequestContext, code in... function SendSuccessResponse (line 33) | func SendSuccessResponse(ctx context.Context, c *app.RequestContext, cod... function WarpResponse (line 38) | func WarpResponse(ctx context.Context, c *app.RequestContext, content ma... FILE: gomall/tutorial/ch15/app/frontend/conf/conf.go type Config (line 33) | type Config struct type MySQL (line 41) | type MySQL struct type Redis (line 45) | type Redis struct type Hertz (line 52) | type Hertz struct function GetConf (line 67) | func GetConf() *Config { function initConf (line 72) | func initConf() { function GetEnv (line 96) | func GetEnv() string { function LogLevel (line 104) | func LogLevel() hlog.Level { FILE: gomall/tutorial/ch15/app/frontend/hertz_gen/api/api.pb.go constant _ (line 18) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 20) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) function init (line 671) | func init() { file_api_proto_init() } function file_api_proto_init (line 672) | func file_api_proto_init() { FILE: gomall/tutorial/ch15/app/frontend/hertz_gen/frontend/auth/auth_page.pb.go constant _ (line 20) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 22) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type RegisterReq (line 25) | type RegisterReq struct method Reset (line 35) | func (x *RegisterReq) Reset() { method String (line 44) | func (x *RegisterReq) String() string { method ProtoMessage (line 48) | func (*RegisterReq) ProtoMessage() {} method ProtoReflect (line 50) | func (x *RegisterReq) ProtoReflect() protoreflect.Message { method Descriptor (line 63) | func (*RegisterReq) Descriptor() ([]byte, []int) { method GetEmail (line 67) | func (x *RegisterReq) GetEmail() string { method GetPassword (line 74) | func (x *RegisterReq) GetPassword() string { method GetConfirmPassword (line 81) | func (x *RegisterReq) GetConfirmPassword() string { type LoginReq (line 88) | type LoginReq struct method Reset (line 98) | func (x *LoginReq) Reset() { method String (line 107) | func (x *LoginReq) String() string { method ProtoMessage (line 111) | func (*LoginReq) ProtoMessage() {} method ProtoReflect (line 113) | func (x *LoginReq) ProtoReflect() protoreflect.Message { method Descriptor (line 126) | func (*LoginReq) Descriptor() ([]byte, []int) { method GetEmail (line 130) | func (x *LoginReq) GetEmail() string { method GetPassword (line 137) | func (x *LoginReq) GetPassword() string { method GetNext (line 144) | func (x *LoginReq) GetNext() string { function file_auth_page_proto_rawDescGZIP (line 204) | func file_auth_page_proto_rawDescGZIP() []byte { function init (line 231) | func init() { file_auth_page_proto_init() } function file_auth_page_proto_init (line 232) | func file_auth_page_proto_init() { FILE: gomall/tutorial/ch15/app/frontend/hertz_gen/frontend/cart/cart_page.pb.go constant _ (line 20) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 22) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type AddCartReq (line 25) | type AddCartReq struct method Reset (line 34) | func (x *AddCartReq) Reset() { method String (line 43) | func (x *AddCartReq) String() string { method ProtoMessage (line 47) | func (*AddCartReq) ProtoMessage() {} method ProtoReflect (line 49) | func (x *AddCartReq) ProtoReflect() protoreflect.Message { method Descriptor (line 62) | func (*AddCartReq) Descriptor() ([]byte, []int) { method GetProductId (line 66) | func (x *AddCartReq) GetProductId() uint32 { method GetProductNum (line 73) | func (x *AddCartReq) GetProductNum() int32 { function file_cart_page_proto_rawDescGZIP (line 117) | func file_cart_page_proto_rawDescGZIP() []byte { function init (line 141) | func init() { file_cart_page_proto_init() } function file_cart_page_proto_init (line 142) | func file_cart_page_proto_init() { FILE: gomall/tutorial/ch15/app/frontend/hertz_gen/frontend/category/category_page.pb.go constant _ (line 20) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 22) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type CategoryReq (line 25) | type CategoryReq struct method Reset (line 33) | func (x *CategoryReq) Reset() { method String (line 42) | func (x *CategoryReq) String() string { method ProtoMessage (line 46) | func (*CategoryReq) ProtoMessage() {} method ProtoReflect (line 48) | func (x *CategoryReq) ProtoReflect() protoreflect.Message { method Descriptor (line 61) | func (*CategoryReq) Descriptor() ([]byte, []int) { method GetCategory (line 65) | func (x *CategoryReq) GetCategory() string { function file_category_page_proto_rawDescGZIP (line 103) | func file_category_page_proto_rawDescGZIP() []byte { function init (line 125) | func init() { file_category_page_proto_init() } function file_category_page_proto_init (line 126) | func file_category_page_proto_init() { FILE: gomall/tutorial/ch15/app/frontend/hertz_gen/frontend/checkout/checkout_page.pb.go constant _ (line 20) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 22) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type CheckoutReq (line 25) | type CheckoutReq struct method Reset (line 45) | func (x *CheckoutReq) Reset() { method String (line 54) | func (x *CheckoutReq) String() string { method ProtoMessage (line 58) | func (*CheckoutReq) ProtoMessage() {} method ProtoReflect (line 60) | func (x *CheckoutReq) ProtoReflect() protoreflect.Message { method Descriptor (line 73) | func (*CheckoutReq) Descriptor() ([]byte, []int) { method GetEmail (line 77) | func (x *CheckoutReq) GetEmail() string { method GetFirstname (line 84) | func (x *CheckoutReq) GetFirstname() string { method GetLastname (line 91) | func (x *CheckoutReq) GetLastname() string { method GetStreet (line 98) | func (x *CheckoutReq) GetStreet() string { method GetZipcode (line 105) | func (x *CheckoutReq) GetZipcode() string { method GetProvince (line 112) | func (x *CheckoutReq) GetProvince() string { method GetCountry (line 119) | func (x *CheckoutReq) GetCountry() string { method GetCity (line 126) | func (x *CheckoutReq) GetCity() string { method GetCardNum (line 133) | func (x *CheckoutReq) GetCardNum() string { method GetExpirationMonth (line 140) | func (x *CheckoutReq) GetExpirationMonth() int32 { method GetExpirationYear (line 147) | func (x *CheckoutReq) GetExpirationYear() int32 { method GetCvv (line 154) | func (x *CheckoutReq) GetCvv() int32 { method GetPayment (line 161) | func (x *CheckoutReq) GetPayment() string { function file_checkout_page_proto_rawDescGZIP (line 241) | func file_checkout_page_proto_rawDescGZIP() []byte { function init (line 267) | func init() { file_checkout_page_proto_init() } function file_checkout_page_proto_init (line 268) | func file_checkout_page_proto_init() { FILE: gomall/tutorial/ch15/app/frontend/hertz_gen/frontend/common/common.pb.go constant _ (line 18) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 20) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Empty (line 23) | type Empty struct method Reset (line 29) | func (x *Empty) Reset() { method String (line 38) | func (x *Empty) String() string { method ProtoMessage (line 42) | func (*Empty) ProtoMessage() {} method ProtoReflect (line 44) | func (x *Empty) ProtoReflect() protoreflect.Message { method Descriptor (line 57) | func (*Empty) Descriptor() ([]byte, []int) { function file_frontend_common_proto_rawDescGZIP (line 80) | func file_frontend_common_proto_rawDescGZIP() []byte { function init (line 99) | func init() { file_frontend_common_proto_init() } function file_frontend_common_proto_init (line 100) | func file_frontend_common_proto_init() { FILE: gomall/tutorial/ch15/app/frontend/hertz_gen/frontend/home/home.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) function init (line 57) | func init() { file_home_proto_init() } function file_home_proto_init (line 58) | func file_home_proto_init() { FILE: gomall/tutorial/ch15/app/frontend/hertz_gen/frontend/order/order_page.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) function init (line 58) | func init() { file_order_page_proto_init() } function file_order_page_proto_init (line 59) | func file_order_page_proto_init() { FILE: gomall/tutorial/ch15/app/frontend/hertz_gen/frontend/product/product_page.pb.go constant _ (line 20) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 22) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type ProductReq (line 25) | type ProductReq struct method Reset (line 33) | func (x *ProductReq) Reset() { method String (line 42) | func (x *ProductReq) String() string { method ProtoMessage (line 46) | func (*ProductReq) ProtoMessage() {} method ProtoReflect (line 48) | func (x *ProductReq) ProtoReflect() protoreflect.Message { method Descriptor (line 61) | func (*ProductReq) Descriptor() ([]byte, []int) { method GetId (line 65) | func (x *ProductReq) GetId() uint32 { function file_product_page_proto_rawDescGZIP (line 101) | func file_product_page_proto_rawDescGZIP() []byte { function init (line 123) | func init() { file_product_page_proto_init() } function file_product_page_proto_init (line 124) | func file_product_page_proto_init() { FILE: gomall/tutorial/ch15/app/frontend/infra/mtl/log.go function initLog (line 28) | func initLog() { FILE: gomall/tutorial/ch15/app/frontend/infra/mtl/metric.go function initMetric (line 38) | func initMetric() route.CtxCallback { FILE: gomall/tutorial/ch15/app/frontend/infra/mtl/mtl.go function InitMtl (line 27) | func InitMtl() { FILE: gomall/tutorial/ch15/app/frontend/infra/mtl/tracing.go function InitTracing (line 31) | func InitTracing() route.CtxCallback { FILE: gomall/tutorial/ch15/app/frontend/infra/rpc/client.go function InitClient (line 51) | func InitClient() { function initUserClient (line 61) | func initUserClient() { function initProductClient (line 74) | func initProductClient() { function initCartClient (line 113) | func initCartClient() { function initCheckoutClient (line 132) | func initCheckoutClient() { function initOrderClient (line 148) | func initOrderClient() { FILE: gomall/tutorial/ch15/app/frontend/main.go function main (line 46) | func main() { function registerMiddleware (line 93) | func registerMiddleware(h *server.Hertz) { FILE: gomall/tutorial/ch15/app/frontend/middleware/auth.go function GlobalAuth (line 26) | func GlobalAuth() app.HandlerFunc { function Auth (line 39) | func Auth() app.HandlerFunc { FILE: gomall/tutorial/ch15/app/frontend/middleware/middleware.go function RegisterMiddleware (line 19) | func RegisterMiddleware(h *server.Hertz) { FILE: gomall/tutorial/ch15/app/frontend/types/order.go type Consignee (line 17) | type Consignee struct type Order (line 27) | type Order struct type OrderItem (line 36) | type OrderItem struct FILE: gomall/tutorial/ch15/app/frontend/utils/constant.go constant ServiceName (line 17) | ServiceName = "frontend" type SessionUserIdKey (line 19) | type SessionUserIdKey constant UserIdKey (line 21) | UserIdKey = SessionUserIdKey("user_id") FILE: gomall/tutorial/ch15/app/frontend/utils/errors.go function MustHandleError (line 19) | func MustHandleError(err error) { FILE: gomall/tutorial/ch15/app/frontend/utils/function.go function GetUserIdFromCtx (line 19) | func GetUserIdFromCtx(ctx context.Context) uint32 { FILE: gomall/tutorial/ch15/app/frontend/utils/safe.go function ValidateNext (line 23) | func ValidateNext(next string) bool { FILE: gomall/tutorial/ch15/app/frontend/utils/strings.go function InArray (line 17) | func InArray[T int | int32 | int64 | float32 | float64 | string](needle ... FILE: gomall/tutorial/ch15/app/order/biz/dal/init.go function Init (line 22) | func Init() { FILE: gomall/tutorial/ch15/app/order/biz/dal/mysql/init.go function Init (line 33) | func Init() { FILE: gomall/tutorial/ch15/app/order/biz/dal/redis/init.go function Init (line 26) | func Init() { FILE: gomall/tutorial/ch15/app/order/biz/model/base.go type Base (line 19) | type Base struct FILE: gomall/tutorial/ch15/app/order/biz/model/order.go type Consignee (line 23) | type Consignee struct type Order (line 33) | type Order struct method TableName (line 42) | func (o Order) TableName() string { function ListOrder (line 46) | func ListOrder(db *gorm.DB, ctx context.Context, userId uint32) (orders ... FILE: gomall/tutorial/ch15/app/order/biz/model/order_item.go type OrderItem (line 17) | type OrderItem struct method TableName (line 25) | func (oi OrderItem) TableName() string { FILE: gomall/tutorial/ch15/app/order/biz/service/list_order.go type ListOrderService (line 27) | type ListOrderService struct method Run (line 35) | func (s *ListOrderService) Run(req *order.ListOrderReq) (resp *order.L... function NewListOrderService (line 30) | func NewListOrderService(ctx context.Context) *ListOrderService { FILE: gomall/tutorial/ch15/app/order/biz/service/list_order_test.go function TestListOrder_Run (line 21) | func TestListOrder_Run(t *testing.T) { FILE: gomall/tutorial/ch15/app/order/biz/service/place_order.go type PlaceOrderService (line 28) | type PlaceOrderService struct method Run (line 36) | func (s *PlaceOrderService) Run(req *order.PlaceOrderReq) (resp *order... function NewPlaceOrderService (line 31) | func NewPlaceOrderService(ctx context.Context) *PlaceOrderService { FILE: gomall/tutorial/ch15/app/order/biz/service/place_order_test.go function TestPlaceOrder_Run (line 21) | func TestPlaceOrder_Run(t *testing.T) { FILE: gomall/tutorial/ch15/app/order/conf/conf.go type Config (line 33) | type Config struct type MySQL (line 41) | type MySQL struct type Redis (line 45) | type Redis struct type Kitex (line 52) | type Kitex struct type Registry (line 66) | type Registry struct function GetConf (line 73) | func GetConf() *Config { function initConf (line 78) | func initConf() { function GetEnv (line 99) | func GetEnv() string { function LogLevel (line 107) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch15/app/order/handler.go type OrderServiceImpl (line 25) | type OrderServiceImpl struct method PlaceOrder (line 28) | func (s *OrderServiceImpl) PlaceOrder(ctx context.Context, req *order.... method ListOrder (line 35) | func (s *OrderServiceImpl) ListOrder(ctx context.Context, req *order.L... FILE: gomall/tutorial/ch15/app/order/main.go function main (line 35) | func main() { function kitexInit (line 51) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch15/app/payment/biz/dal/init.go function Init (line 21) | func Init() { FILE: gomall/tutorial/ch15/app/payment/biz/dal/mysql/init.go function Init (line 32) | func Init() { FILE: gomall/tutorial/ch15/app/payment/biz/dal/redis/init.go function Init (line 26) | func Init() { FILE: gomall/tutorial/ch15/app/payment/biz/model/base.go type Base (line 19) | type Base struct FILE: gomall/tutorial/ch15/app/payment/biz/model/payment.go type PaymentLog (line 24) | type PaymentLog struct method TableName (line 33) | func (p PaymentLog) TableName() string { function CreatePaymentLog (line 37) | func CreatePaymentLog(db *gorm.DB, ctx context.Context, payment *Payment... FILE: gomall/tutorial/ch15/app/payment/biz/service/charge.go type ChargeService (line 30) | type ChargeService struct method Run (line 38) | func (s *ChargeService) Run(req *payment.ChargeReq) (resp *payment.Cha... function NewChargeService (line 33) | func NewChargeService(ctx context.Context) *ChargeService { FILE: gomall/tutorial/ch15/app/payment/biz/service/charge_test.go function TestCharge_Run (line 21) | func TestCharge_Run(t *testing.T) { FILE: gomall/tutorial/ch15/app/payment/conf/conf.go type Config (line 33) | type Config struct type MySQL (line 41) | type MySQL struct type Redis (line 45) | type Redis struct type Kitex (line 52) | type Kitex struct type Registry (line 66) | type Registry struct function GetConf (line 73) | func GetConf() *Config { function initConf (line 78) | func initConf() { function GetEnv (line 99) | func GetEnv() string { function LogLevel (line 107) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch15/app/payment/handler.go type PaymentServiceImpl (line 25) | type PaymentServiceImpl struct method Charge (line 28) | func (s *PaymentServiceImpl) Charge(ctx context.Context, req *payment.... FILE: gomall/tutorial/ch15/app/payment/main.go function main (line 36) | func main() { function kitexInit (line 52) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch15/app/payment/middleware/mw.go function ServerMiddleware (line 25) | func ServerMiddleware(next endpoint.Endpoint) endpoint.Endpoint { FILE: gomall/tutorial/ch15/app/payment/payment.sql type payment (line 1) | create table payment FILE: gomall/tutorial/ch15/app/product/biz/dal/init.go function Init (line 22) | func Init() { FILE: gomall/tutorial/ch15/app/product/biz/dal/mysql/init.go function Init (line 32) | func Init() { FILE: gomall/tutorial/ch15/app/product/biz/dal/redis/init.go function Init (line 27) | func Init() { FILE: gomall/tutorial/ch15/app/product/biz/model/base.go type Base (line 19) | type Base struct FILE: gomall/tutorial/ch15/app/product/biz/model/category.go type Category (line 23) | type Category struct method TableName (line 30) | func (c Category) TableName() string { function GetProductsByCategoryName (line 34) | func GetProductsByCategoryName(db *gorm.DB, ctx context.Context, name st... FILE: gomall/tutorial/ch15/app/product/biz/model/product.go type Product (line 27) | type Product struct method TableName (line 36) | func (p Product) TableName() string { type ProductQuery (line 40) | type ProductQuery struct method GetById (line 45) | func (p ProductQuery) GetById(productId int) (product Product, err err... function NewProductQuery (line 50) | func NewProductQuery(ctx context.Context, db *gorm.DB) ProductQuery { type CachedProductQuery (line 54) | type CachedProductQuery struct method GetById (line 60) | func (c CachedProductQuery) GetById(productId int) (product Product, e... function NewCachedProductQuery (line 94) | func NewCachedProductQuery(pq ProductQuery, cacheClient *redis.Client) C... function GetProductById (line 98) | func GetProductById(db *gorm.DB, ctx context.Context, productId int) (pr... function SearchProduct (line 103) | func SearchProduct(db *gorm.DB, ctx context.Context, q string) (product ... FILE: gomall/tutorial/ch15/app/product/biz/service/get_product.go type GetProductService (line 27) | type GetProductService struct method Run (line 35) | func (s *GetProductService) Run(req *product.GetProductReq) (resp *pro... function NewGetProductService (line 30) | func NewGetProductService(ctx context.Context) *GetProductService { FILE: gomall/tutorial/ch15/app/product/biz/service/get_product_test.go function TestGetProduct_Run (line 21) | func TestGetProduct_Run(t *testing.T) { FILE: gomall/tutorial/ch15/app/product/biz/service/list_products.go type ListProductsService (line 25) | type ListProductsService struct method Run (line 33) | func (s *ListProductsService) Run(req *product.ListProductsReq) (resp ... function NewListProductsService (line 28) | func NewListProductsService(ctx context.Context) *ListProductsService { FILE: gomall/tutorial/ch15/app/product/biz/service/list_products_test.go function TestListProducts_Run (line 21) | func TestListProducts_Run(t *testing.T) { FILE: gomall/tutorial/ch15/app/product/biz/service/search_products.go type SearchProductsService (line 25) | type SearchProductsService struct method Run (line 33) | func (s *SearchProductsService) Run(req *product.SearchProductsReq) (r... function NewSearchProductsService (line 28) | func NewSearchProductsService(ctx context.Context) *SearchProductsService { FILE: gomall/tutorial/ch15/app/product/biz/service/search_products_test.go function TestSearchProducts_Run (line 21) | func TestSearchProducts_Run(t *testing.T) { FILE: gomall/tutorial/ch15/app/product/conf/conf.go type Config (line 33) | type Config struct type MySQL (line 43) | type MySQL struct type Redis (line 47) | type Redis struct type Kitex (line 54) | type Kitex struct type Registry (line 68) | type Registry struct type ConfigServer (line 74) | type ConfigServer struct function GetConf (line 77) | func GetConf() *Config { function initConf (line 82) | func initConf() { function GetEnv (line 103) | func GetEnv() string { function LogLevel (line 111) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch15/app/product/handler.go type ProductCatalogServiceImpl (line 25) | type ProductCatalogServiceImpl struct method ListProducts (line 28) | func (s *ProductCatalogServiceImpl) ListProducts(ctx context.Context, ... method GetProduct (line 35) | func (s *ProductCatalogServiceImpl) GetProduct(ctx context.Context, re... method SearchProducts (line 42) | func (s *ProductCatalogServiceImpl) SearchProducts(ctx context.Context... FILE: gomall/tutorial/ch15/app/product/main.go function main (line 36) | func main() { function kitexInit (line 52) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch15/app/product/script/product.sql type `category` (line 1) | CREATE TABLE `category` type `product` (line 13) | CREATE TABLE `product` type `product_category` (line 46) | CREATE TABLE `product_category` FILE: gomall/tutorial/ch15/app/product/utils/constant.go constant ServiceName (line 17) | ServiceName = "shop-product" FILE: gomall/tutorial/ch15/app/user/biz/dal/init.go function Init (line 21) | func Init() { FILE: gomall/tutorial/ch15/app/user/biz/dal/mysql/init.go function Init (line 32) | func Init() { FILE: gomall/tutorial/ch15/app/user/biz/dal/redis/init.go function Init (line 26) | func Init() { FILE: gomall/tutorial/ch15/app/user/biz/model/base.go type Base (line 21) | type Base struct FILE: gomall/tutorial/ch15/app/user/biz/model/user.go type User (line 23) | type User struct method TableName (line 29) | func (u User) TableName() string { function GetByEmail (line 33) | func GetByEmail(db *gorm.DB, ctx context.Context, email string) (user *U... function Create (line 38) | func Create(db *gorm.DB, ctx context.Context, user *User) error { FILE: gomall/tutorial/ch15/app/user/biz/service/login.go type LoginService (line 27) | type LoginService struct method Run (line 35) | func (s *LoginService) Run(req *user.LoginReq) (resp *user.LoginResp, ... function NewLoginService (line 30) | func NewLoginService(ctx context.Context) *LoginService { FILE: gomall/tutorial/ch15/app/user/biz/service/login_test.go function TestLogin_Run (line 21) | func TestLogin_Run(t *testing.T) { FILE: gomall/tutorial/ch15/app/user/biz/service/register.go type RegisterService (line 27) | type RegisterService struct method Run (line 35) | func (s *RegisterService) Run(req *user.RegisterReq) (resp *user.Regis... function NewRegisterService (line 30) | func NewRegisterService(ctx context.Context) *RegisterService { FILE: gomall/tutorial/ch15/app/user/biz/service/register_test.go function TestRegister_Run (line 21) | func TestRegister_Run(t *testing.T) { FILE: gomall/tutorial/ch15/app/user/conf/conf.go type Config (line 33) | type Config struct type MySQL (line 41) | type MySQL struct type Redis (line 45) | type Redis struct type Kitex (line 52) | type Kitex struct type Registry (line 66) | type Registry struct function GetConf (line 73) | func GetConf() *Config { function initConf (line 78) | func initConf() { function GetEnv (line 99) | func GetEnv() string { function LogLevel (line 107) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch15/app/user/handler.go type UserServiceImpl (line 25) | type UserServiceImpl struct method Register (line 28) | func (s *UserServiceImpl) Register(ctx context.Context, req *user.Regi... method Login (line 35) | func (s *UserServiceImpl) Login(ctx context.Context, req *user.LoginRe... FILE: gomall/tutorial/ch15/app/user/main.go function main (line 36) | func main() { function kitexInit (line 52) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch15/common/clientsuite/client.go type CommonGrpcClientSuite (line 27) | type CommonGrpcClientSuite struct method Options (line 34) | func (s CommonGrpcClientSuite) Options() []client.Option { FILE: gomall/tutorial/ch15/common/mtl/log.go function InitLog (line 28) | func InitLog() { FILE: gomall/tutorial/ch15/common/mtl/metrics.go function InitMetric (line 31) | func InitMetric(serviceName string, metricsPort string, registryAddr str... FILE: gomall/tutorial/ch15/common/mtl/tracing.go function InitTracing (line 30) | func InitTracing(serviceName string) { FILE: gomall/tutorial/ch15/common/serversuite/server.go type CommonServerSuite (line 27) | type CommonServerSuite struct method Options (line 31) | func (s CommonServerSuite) Options() []server.Option { FILE: gomall/tutorial/ch15/common/utils/kitex.go function MustHandleError (line 20) | func MustHandleError(err error) { function ShouldHandleError (line 27) | func ShouldHandleError(err error) { FILE: gomall/tutorial/ch15/demo/demo_proto/biz/dal/init.go function Init (line 21) | func Init() { FILE: gomall/tutorial/ch15/demo/demo_proto/biz/dal/mysql/init.go function Init (line 33) | func Init() { FILE: gomall/tutorial/ch15/demo/demo_proto/biz/dal/redis/init.go function Init (line 28) | func Init() { FILE: gomall/tutorial/ch15/demo/demo_proto/biz/model/user.go type User (line 19) | type User struct method TableName (line 25) | func (u User) TableName() string { FILE: gomall/tutorial/ch15/demo/demo_proto/biz/service/echo.go type EchoService (line 23) | type EchoService struct method Run (line 31) | func (s *EchoService) Run(req *pbapi.Request) (resp *pbapi.Response, e... function NewEchoService (line 26) | func NewEchoService(ctx context.Context) *EchoService { FILE: gomall/tutorial/ch15/demo/demo_proto/biz/service/echo_test.go function TestEcho_Run (line 23) | func TestEcho_Run(t *testing.T) { FILE: gomall/tutorial/ch15/demo/demo_proto/cmd/client/client.go function main (line 32) | func main() { FILE: gomall/tutorial/ch15/demo/demo_proto/cmd/dbop/db.go function main (line 26) | func main() { FILE: gomall/tutorial/ch15/demo/demo_proto/conf/conf.go type Config (line 33) | type Config struct type MySQL (line 41) | type MySQL struct type Redis (line 45) | type Redis struct type Kitex (line 52) | type Kitex struct type Registry (line 65) | type Registry struct function GetConf (line 72) | func GetConf() *Config { function initConf (line 77) | func initConf() { function GetEnv (line 98) | func GetEnv() string { function LogLevel (line 106) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch15/demo/demo_proto/handler.go type EchoImpl (line 25) | type EchoImpl struct method Echo (line 28) | func (s *EchoImpl) Echo(ctx context.Context, req *pbapi.Request) (resp... FILE: gomall/tutorial/ch15/demo/demo_proto/kitex_gen/pbapi/echo.pb.fast.go method FastRead (line 15) | func (x *Request) FastRead(buf []byte, _type int8, number int32) (offset... method fastReadField1 (line 35) | func (x *Request) fastReadField1(buf []byte, _type int8) (offset int, er... method FastRead (line 40) | func (x *Response) FastRead(buf []byte, _type int8, number int32) (offse... method fastReadField1 (line 60) | func (x *Response) fastReadField1(buf []byte, _type int8) (offset int, e... method FastWrite (line 65) | func (x *Request) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 73) | func (x *Request) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 81) | func (x *Response) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 89) | func (x *Response) fastWriteField1(buf []byte) (offset int) { method Size (line 97) | func (x *Request) Size() (n int) { method sizeField1 (line 105) | func (x *Request) sizeField1() (n int) { method Size (line 113) | func (x *Response) Size() (n int) { method sizeField1 (line 121) | func (x *Response) sizeField1() (n int) { FILE: gomall/tutorial/ch15/demo/demo_proto/kitex_gen/pbapi/echo.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Request (line 24) | type Request struct method Reset (line 32) | func (x *Request) Reset() { method String (line 41) | func (x *Request) String() string { method ProtoMessage (line 45) | func (*Request) ProtoMessage() {} method ProtoReflect (line 47) | func (x *Request) ProtoReflect() protoreflect.Message { method Descriptor (line 60) | func (*Request) Descriptor() ([]byte, []int) { method GetMessage (line 64) | func (x *Request) GetMessage() string { type Response (line 71) | type Response struct method Reset (line 79) | func (x *Response) Reset() { method String (line 88) | func (x *Response) String() string { method ProtoMessage (line 92) | func (*Response) ProtoMessage() {} method ProtoReflect (line 94) | func (x *Response) ProtoReflect() protoreflect.Message { method Descriptor (line 107) | func (*Response) Descriptor() ([]byte, []int) { method GetMessage (line 111) | func (x *Response) GetMessage() string { function file_echo_proto_rawDescGZIP (line 143) | func file_echo_proto_rawDescGZIP() []byte { function init (line 165) | func init() { file_echo_proto_init() } function file_echo_proto_init (line 166) | func file_echo_proto_init() { type Echo (line 220) | type Echo interface FILE: gomall/tutorial/ch15/demo/demo_proto/kitex_gen/pbapi/echo/client.go type Client (line 13) | type Client interface function NewClient (line 18) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 34) | func MustNewClient(destService string, opts ...client.Option) Client { type kEchoClient (line 42) | type kEchoClient struct method Echo (line 46) | func (p *kEchoClient) Echo(ctx context.Context, Req *pbapi.Request, ca... FILE: gomall/tutorial/ch15/demo/demo_proto/kitex_gen/pbapi/echo/echo.go function serviceInfo (line 14) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 20) | func NewServiceInfo() *kitex.ServiceInfo { function echoHandler (line 41) | func echoHandler(ctx context.Context, handler interface{}, arg, result i... function newEchoArgs (line 66) | func newEchoArgs() interface{} { function newEchoResult (line 70) | func newEchoResult() interface{} { type EchoArgs (line 74) | type EchoArgs struct method FastRead (line 78) | func (p *EchoArgs) FastRead(buf []byte, _type int8, number int32) (n i... method FastWrite (line 85) | func (p *EchoArgs) FastWrite(buf []byte) (n int) { method Size (line 92) | func (p *EchoArgs) Size() (n int) { method Marshal (line 99) | func (p *EchoArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 106) | func (p *EchoArgs) Unmarshal(in []byte) error { method GetReq (line 117) | func (p *EchoArgs) GetReq() *pbapi.Request { method IsSetReq (line 124) | func (p *EchoArgs) IsSetReq() bool { method GetFirstArgument (line 128) | func (p *EchoArgs) GetFirstArgument() interface{} { type EchoResult (line 132) | type EchoResult struct method FastRead (line 138) | func (p *EchoResult) FastRead(buf []byte, _type int8, number int32) (n... method FastWrite (line 145) | func (p *EchoResult) FastWrite(buf []byte) (n int) { method Size (line 152) | func (p *EchoResult) Size() (n int) { method Marshal (line 159) | func (p *EchoResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 166) | func (p *EchoResult) Unmarshal(in []byte) error { method GetSuccess (line 175) | func (p *EchoResult) GetSuccess() *pbapi.Response { method SetSuccess (line 182) | func (p *EchoResult) SetSuccess(x interface{}) { method IsSetSuccess (line 186) | func (p *EchoResult) IsSetSuccess() bool { method GetResult (line 190) | func (p *EchoResult) GetResult() interface{} { type kClient (line 194) | type kClient struct method Echo (line 204) | func (p *kClient) Echo(ctx context.Context, Req *pbapi.Request) (r *pb... function newServiceClient (line 198) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch15/demo/demo_proto/kitex_gen/pbapi/echo/invoker.go function NewInvoker (line 11) | func NewInvoker(handler pbapi.Echo, opts ...server.Option) server.Invoker { FILE: gomall/tutorial/ch15/demo/demo_proto/kitex_gen/pbapi/echo/server.go function NewServer (line 10) | func NewServer(handler pbapi.Echo, opts ...server.Option) server.Server { FILE: gomall/tutorial/ch15/demo/demo_proto/main.go function main (line 35) | func main() { function kitexInit (line 53) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch15/demo/demo_thrift/biz/dal/init.go function Init (line 22) | func Init() { FILE: gomall/tutorial/ch15/demo/demo_thrift/biz/dal/mysql/init.go function Init (line 29) | func Init() { FILE: gomall/tutorial/ch15/demo/demo_thrift/biz/dal/redis/init.go function Init (line 28) | func Init() { FILE: gomall/tutorial/ch15/demo/demo_thrift/biz/service/echo.go type EchoService (line 23) | type EchoService struct method Run (line 31) | func (s *EchoService) Run(req *api.Request) (resp *api.Response, err e... function NewEchoService (line 26) | func NewEchoService(ctx context.Context) *EchoService { FILE: gomall/tutorial/ch15/demo/demo_thrift/biz/service/echo_test.go function TestEcho_Run (line 23) | func TestEcho_Run(t *testing.T) { FILE: gomall/tutorial/ch15/demo/demo_thrift/cmd/client/client.go function main (line 32) | func main() { FILE: gomall/tutorial/ch15/demo/demo_thrift/conf/conf.go type Config (line 34) | type Config struct type MySQL (line 42) | type MySQL struct type Redis (line 46) | type Redis struct type Kitex (line 53) | type Kitex struct type Registry (line 66) | type Registry struct function GetConf (line 73) | func GetConf() *Config { function initConf (line 78) | func initConf() { function GetEnv (line 99) | func GetEnv() string { function LogLevel (line 107) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch15/demo/demo_thrift/handler.go type EchoImpl (line 25) | type EchoImpl struct method Echo (line 28) | func (s *EchoImpl) Echo(ctx context.Context, req *api.Request) (resp *... FILE: gomall/tutorial/ch15/demo/demo_thrift/kitex_gen/api/echo.go type Request (line 12) | type Request struct method InitDefault (line 20) | func (p *Request) InitDefault() { method GetMessage (line 24) | func (p *Request) GetMessage() (v string) { method SetMessage (line 27) | func (p *Request) SetMessage(val string) { method Read (line 35) | func (p *Request) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 94) | func (p *Request) ReadField1(iprot thrift.TProtocol) error { method Write (line 103) | func (p *Request) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 132) | func (p *Request) writeField1(oprot thrift.TProtocol) (err error) { method String (line 149) | func (p *Request) String() string { method DeepEqual (line 156) | func (p *Request) DeepEqual(ano *Request) bool { method Field1DeepEqual (line 168) | func (p *Request) Field1DeepEqual(src string) bool { function NewRequest (line 16) | func NewRequest() *Request { type Response (line 176) | type Response struct method InitDefault (line 184) | func (p *Response) InitDefault() { method GetMessage (line 188) | func (p *Response) GetMessage() (v string) { method SetMessage (line 191) | func (p *Response) SetMessage(val string) { method Read (line 199) | func (p *Response) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 258) | func (p *Response) ReadField1(iprot thrift.TProtocol) error { method Write (line 267) | func (p *Response) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 296) | func (p *Response) writeField1(oprot thrift.TProtocol) (err error) { method String (line 313) | func (p *Response) String() string { method DeepEqual (line 320) | func (p *Response) DeepEqual(ano *Response) bool { method Field1DeepEqual (line 332) | func (p *Response) Field1DeepEqual(src string) bool { function NewResponse (line 180) | func NewResponse() *Response { type Echo (line 340) | type Echo interface type EchoClient (line 344) | type EchoClient struct method Client_ (line 366) | func (p *EchoClient) Client_() thrift.TClient { method Echo (line 370) | func (p *EchoClient) Echo(ctx context.Context, req *Request) (r *Respo... function NewEchoClientFactory (line 348) | func NewEchoClientFactory(t thrift.TTransport, f thrift.TProtocolFactory... function NewEchoClientProtocol (line 354) | func NewEchoClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, ... function NewEchoClient (line 360) | func NewEchoClient(c thrift.TClient) *EchoClient { type EchoProcessor (line 380) | type EchoProcessor struct method AddToProcessorMap (line 385) | func (p *EchoProcessor) AddToProcessorMap(key string, processor thrift... method GetProcessorFunction (line 389) | func (p *EchoProcessor) GetProcessorFunction(key string) (processor th... method ProcessorMap (line 394) | func (p *EchoProcessor) ProcessorMap() map[string]thrift.TProcessorFun... method Process (line 403) | func (p *EchoProcessor) Process(ctx context.Context, iprot, oprot thri... function NewEchoProcessor (line 398) | func NewEchoProcessor(handler Echo) *EchoProcessor { type echoProcessorEcho (line 421) | type echoProcessorEcho struct method Process (line 425) | func (p *echoProcessorEcho) Process(ctx context.Context, seqId int32, ... type EchoEchoArgs (line 469) | type EchoEchoArgs struct method InitDefault (line 477) | func (p *EchoEchoArgs) InitDefault() { method GetReq (line 483) | func (p *EchoEchoArgs) GetReq() (v *Request) { method SetReq (line 489) | func (p *EchoEchoArgs) SetReq(val *Request) { method IsSetReq (line 497) | func (p *EchoEchoArgs) IsSetReq() bool { method Read (line 501) | func (p *EchoEchoArgs) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 560) | func (p *EchoEchoArgs) ReadField1(iprot thrift.TProtocol) error { method Write (line 568) | func (p *EchoEchoArgs) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 597) | func (p *EchoEchoArgs) writeField1(oprot thrift.TProtocol) (err error) { method String (line 614) | func (p *EchoEchoArgs) String() string { method DeepEqual (line 621) | func (p *EchoEchoArgs) DeepEqual(ano *EchoEchoArgs) bool { method Field1DeepEqual (line 633) | func (p *EchoEchoArgs) Field1DeepEqual(src *Request) bool { function NewEchoEchoArgs (line 473) | func NewEchoEchoArgs() *EchoEchoArgs { type EchoEchoResult (line 641) | type EchoEchoResult struct method InitDefault (line 649) | func (p *EchoEchoResult) InitDefault() { method GetSuccess (line 655) | func (p *EchoEchoResult) GetSuccess() (v *Response) { method SetSuccess (line 661) | func (p *EchoEchoResult) SetSuccess(x interface{}) { method IsSetSuccess (line 669) | func (p *EchoEchoResult) IsSetSuccess() bool { method Read (line 673) | func (p *EchoEchoResult) Read(iprot thrift.TProtocol) (err error) { method ReadField0 (line 732) | func (p *EchoEchoResult) ReadField0(iprot thrift.TProtocol) error { method Write (line 740) | func (p *EchoEchoResult) Write(oprot thrift.TProtocol) (err error) { method writeField0 (line 769) | func (p *EchoEchoResult) writeField0(oprot thrift.TProtocol) (err erro... method String (line 788) | func (p *EchoEchoResult) String() string { method DeepEqual (line 795) | func (p *EchoEchoResult) DeepEqual(ano *EchoEchoResult) bool { method Field0DeepEqual (line 807) | func (p *EchoEchoResult) Field0DeepEqual(src *Response) bool { function NewEchoEchoResult (line 645) | func NewEchoEchoResult() *EchoEchoResult { FILE: gomall/tutorial/ch15/demo/demo_thrift/kitex_gen/api/echo/client.go type Client (line 13) | type Client interface function NewClient (line 18) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 34) | func MustNewClient(destService string, opts ...client.Option) Client { type kEchoClient (line 42) | type kEchoClient struct method Echo (line 46) | func (p *kEchoClient) Echo(ctx context.Context, req *api.Request, call... FILE: gomall/tutorial/ch15/demo/demo_thrift/kitex_gen/api/echo/echo.go function serviceInfo (line 12) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 18) | func NewServiceInfo() *kitex.ServiceInfo { function echoHandler (line 39) | func echoHandler(ctx context.Context, handler interface{}, arg, result i... function newEchoEchoArgs (line 49) | func newEchoEchoArgs() interface{} { function newEchoEchoResult (line 53) | func newEchoEchoResult() interface{} { type kClient (line 57) | type kClient struct method Echo (line 67) | func (p *kClient) Echo(ctx context.Context, req *api.Request) (r *api.... function newServiceClient (line 61) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch15/demo/demo_thrift/kitex_gen/api/echo/invoker.go function NewInvoker (line 11) | func NewInvoker(handler api.Echo, opts ...server.Option) server.Invoker { FILE: gomall/tutorial/ch15/demo/demo_thrift/kitex_gen/api/echo/server.go function NewServer (line 10) | func NewServer(handler api.Echo, opts ...server.Option) server.Server { FILE: gomall/tutorial/ch15/demo/demo_thrift/kitex_gen/api/k-echo.go method FastRead (line 26) | func (p *Request) FastRead(buf []byte) (int, error) { method FastReadField1 (line 97) | func (p *Request) FastReadField1(buf []byte) (int, error) { method FastWrite (line 112) | func (p *Request) FastWrite(buf []byte) int { method FastWriteNocopy (line 116) | func (p *Request) FastWriteNocopy(buf []byte, binaryWriter bthrift.Binar... method BLength (line 127) | func (p *Request) BLength() int { method fastWriteField1 (line 138) | func (p *Request) fastWriteField1(buf []byte, binaryWriter bthrift.Binar... method field1Length (line 147) | func (p *Request) field1Length() int { method FastRead (line 156) | func (p *Response) FastRead(buf []byte) (int, error) { method FastReadField1 (line 227) | func (p *Response) FastReadField1(buf []byte) (int, error) { method FastWrite (line 242) | func (p *Response) FastWrite(buf []byte) int { method FastWriteNocopy (line 246) | func (p *Response) FastWriteNocopy(buf []byte, binaryWriter bthrift.Bina... method BLength (line 257) | func (p *Response) BLength() int { method fastWriteField1 (line 268) | func (p *Response) fastWriteField1(buf []byte, binaryWriter bthrift.Bina... method field1Length (line 277) | func (p *Response) field1Length() int { method FastRead (line 286) | func (p *EchoEchoArgs) FastRead(buf []byte) (int, error) { method FastReadField1 (line 357) | func (p *EchoEchoArgs) FastReadField1(buf []byte) (int, error) { method FastWrite (line 371) | func (p *EchoEchoArgs) FastWrite(buf []byte) int { method FastWriteNocopy (line 375) | func (p *EchoEchoArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.... method BLength (line 386) | func (p *EchoEchoArgs) BLength() int { method fastWriteField1 (line 397) | func (p *EchoEchoArgs) fastWriteField1(buf []byte, binaryWriter bthrift.... method field1Length (line 405) | func (p *EchoEchoArgs) field1Length() int { method FastRead (line 413) | func (p *EchoEchoResult) FastRead(buf []byte) (int, error) { method FastReadField0 (line 484) | func (p *EchoEchoResult) FastReadField0(buf []byte) (int, error) { method FastWrite (line 498) | func (p *EchoEchoResult) FastWrite(buf []byte) int { method FastWriteNocopy (line 502) | func (p *EchoEchoResult) FastWriteNocopy(buf []byte, binaryWriter bthrif... method BLength (line 513) | func (p *EchoEchoResult) BLength() int { method fastWriteField0 (line 524) | func (p *EchoEchoResult) fastWriteField0(buf []byte, binaryWriter bthrif... method field0Length (line 534) | func (p *EchoEchoResult) field0Length() int { method GetFirstArgument (line 544) | func (p *EchoEchoArgs) GetFirstArgument() interface{} { method GetResult (line 548) | func (p *EchoEchoResult) GetResult() interface{} { FILE: gomall/tutorial/ch15/demo/demo_thrift/main.go function main (line 33) | func main() { function kitexInit (line 44) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch15/hello_world/main.go function main (line 25) | func main() { FILE: gomall/tutorial/ch15/rpc_gen/kitex_gen/cart/cart.pb.fast.go method FastRead (line 15) | func (x *CartItem) FastRead(buf []byte, _type int8, number int32) (offse... method fastReadField1 (line 40) | func (x *CartItem) fastReadField1(buf []byte, _type int8) (offset int, e... method fastReadField2 (line 45) | func (x *CartItem) fastReadField2(buf []byte, _type int8) (offset int, e... method FastRead (line 50) | func (x *AddItemReq) FastRead(buf []byte, _type int8, number int32) (off... method fastReadField1 (line 75) | func (x *AddItemReq) fastReadField1(buf []byte, _type int8) (offset int,... method fastReadField2 (line 80) | func (x *AddItemReq) fastReadField2(buf []byte, _type int8) (offset int,... method FastRead (line 90) | func (x *AddItemResp) FastRead(buf []byte, _type int8, number int32) (of... method FastRead (line 103) | func (x *EmptyCartReq) FastRead(buf []byte, _type int8, number int32) (o... method fastReadField1 (line 123) | func (x *EmptyCartReq) fastReadField1(buf []byte, _type int8) (offset in... method FastRead (line 128) | func (x *GetCartReq) FastRead(buf []byte, _type int8, number int32) (off... method fastReadField1 (line 148) | func (x *GetCartReq) fastReadField1(buf []byte, _type int8) (offset int,... method FastRead (line 153) | func (x *GetCartResp) FastRead(buf []byte, _type int8, number int32) (of... method fastReadField1 (line 173) | func (x *GetCartResp) fastReadField1(buf []byte, _type int8) (offset int... method FastRead (line 183) | func (x *Cart) FastRead(buf []byte, _type int8, number int32) (offset in... method fastReadField1 (line 208) | func (x *Cart) fastReadField1(buf []byte, _type int8) (offset int, err e... method fastReadField2 (line 213) | func (x *Cart) fastReadField2(buf []byte, _type int8) (offset int, err e... method FastRead (line 223) | func (x *EmptyCartResp) FastRead(buf []byte, _type int8, number int32) (... method FastWrite (line 236) | func (x *CartItem) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 245) | func (x *CartItem) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 253) | func (x *CartItem) fastWriteField2(buf []byte) (offset int) { method FastWrite (line 261) | func (x *AddItemReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 270) | func (x *AddItemReq) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 278) | func (x *AddItemReq) fastWriteField2(buf []byte) (offset int) { method FastWrite (line 286) | func (x *AddItemResp) FastWrite(buf []byte) (offset int) { method FastWrite (line 293) | func (x *EmptyCartReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 301) | func (x *EmptyCartReq) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 309) | func (x *GetCartReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 317) | func (x *GetCartReq) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 325) | func (x *GetCartResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 333) | func (x *GetCartResp) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 341) | func (x *Cart) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 350) | func (x *Cart) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 358) | func (x *Cart) fastWriteField2(buf []byte) (offset int) { method FastWrite (line 368) | func (x *EmptyCartResp) FastWrite(buf []byte) (offset int) { method Size (line 375) | func (x *CartItem) Size() (n int) { method sizeField1 (line 384) | func (x *CartItem) sizeField1() (n int) { method sizeField2 (line 392) | func (x *CartItem) sizeField2() (n int) { method Size (line 400) | func (x *AddItemReq) Size() (n int) { method sizeField1 (line 409) | func (x *AddItemReq) sizeField1() (n int) { method sizeField2 (line 417) | func (x *AddItemReq) sizeField2() (n int) { method Size (line 425) | func (x *AddItemResp) Size() (n int) { method Size (line 432) | func (x *EmptyCartReq) Size() (n int) { method sizeField1 (line 440) | func (x *EmptyCartReq) sizeField1() (n int) { method Size (line 448) | func (x *GetCartReq) Size() (n int) { method sizeField1 (line 456) | func (x *GetCartReq) sizeField1() (n int) { method Size (line 464) | func (x *GetCartResp) Size() (n int) { method sizeField1 (line 472) | func (x *GetCartResp) sizeField1() (n int) { method Size (line 480) | func (x *Cart) Size() (n int) { method sizeField1 (line 489) | func (x *Cart) sizeField1() (n int) { method sizeField2 (line 497) | func (x *Cart) sizeField2() (n int) { method Size (line 507) | func (x *EmptyCartResp) Size() (n int) { FILE: gomall/tutorial/ch15/rpc_gen/kitex_gen/cart/cart.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type CartItem (line 24) | type CartItem struct method Reset (line 33) | func (x *CartItem) Reset() { method String (line 42) | func (x *CartItem) String() string { method ProtoMessage (line 46) | func (*CartItem) ProtoMessage() {} method ProtoReflect (line 48) | func (x *CartItem) ProtoReflect() protoreflect.Message { method Descriptor (line 61) | func (*CartItem) Descriptor() ([]byte, []int) { method GetProductId (line 65) | func (x *CartItem) GetProductId() uint32 { method GetQuantity (line 72) | func (x *CartItem) GetQuantity() int32 { type AddItemReq (line 79) | type AddItemReq struct method Reset (line 88) | func (x *AddItemReq) Reset() { method String (line 97) | func (x *AddItemReq) String() string { method ProtoMessage (line 101) | func (*AddItemReq) ProtoMessage() {} method ProtoReflect (line 103) | func (x *AddItemReq) ProtoReflect() protoreflect.Message { method Descriptor (line 116) | func (*AddItemReq) Descriptor() ([]byte, []int) { method GetUserId (line 120) | func (x *AddItemReq) GetUserId() uint32 { method GetItem (line 127) | func (x *AddItemReq) GetItem() *CartItem { type AddItemResp (line 134) | type AddItemResp struct method Reset (line 140) | func (x *AddItemResp) Reset() { method String (line 149) | func (x *AddItemResp) String() string { method ProtoMessage (line 153) | func (*AddItemResp) ProtoMessage() {} method ProtoReflect (line 155) | func (x *AddItemResp) ProtoReflect() protoreflect.Message { method Descriptor (line 168) | func (*AddItemResp) Descriptor() ([]byte, []int) { type EmptyCartReq (line 172) | type EmptyCartReq struct method Reset (line 180) | func (x *EmptyCartReq) Reset() { method String (line 189) | func (x *EmptyCartReq) String() string { method ProtoMessage (line 193) | func (*EmptyCartReq) ProtoMessage() {} method ProtoReflect (line 195) | func (x *EmptyCartReq) ProtoReflect() protoreflect.Message { method Descriptor (line 208) | func (*EmptyCartReq) Descriptor() ([]byte, []int) { method GetUserId (line 212) | func (x *EmptyCartReq) GetUserId() uint32 { type GetCartReq (line 219) | type GetCartReq struct method Reset (line 227) | func (x *GetCartReq) Reset() { method String (line 236) | func (x *GetCartReq) String() string { method ProtoMessage (line 240) | func (*GetCartReq) ProtoMessage() {} method ProtoReflect (line 242) | func (x *GetCartReq) ProtoReflect() protoreflect.Message { method Descriptor (line 255) | func (*GetCartReq) Descriptor() ([]byte, []int) { method GetUserId (line 259) | func (x *GetCartReq) GetUserId() uint32 { type GetCartResp (line 266) | type GetCartResp struct method Reset (line 274) | func (x *GetCartResp) Reset() { method String (line 283) | func (x *GetCartResp) String() string { method ProtoMessage (line 287) | func (*GetCartResp) ProtoMessage() {} method ProtoReflect (line 289) | func (x *GetCartResp) ProtoReflect() protoreflect.Message { method Descriptor (line 302) | func (*GetCartResp) Descriptor() ([]byte, []int) { method GetCart (line 306) | func (x *GetCartResp) GetCart() *Cart { type Cart (line 313) | type Cart struct method Reset (line 322) | func (x *Cart) Reset() { method String (line 331) | func (x *Cart) String() string { method ProtoMessage (line 335) | func (*Cart) ProtoMessage() {} method ProtoReflect (line 337) | func (x *Cart) ProtoReflect() protoreflect.Message { method Descriptor (line 350) | func (*Cart) Descriptor() ([]byte, []int) { method GetUserId (line 354) | func (x *Cart) GetUserId() uint32 { method GetItems (line 361) | func (x *Cart) GetItems() []*CartItem { type EmptyCartResp (line 368) | type EmptyCartResp struct method Reset (line 374) | func (x *EmptyCartResp) Reset() { method String (line 383) | func (x *EmptyCartResp) String() string { method ProtoMessage (line 387) | func (*EmptyCartResp) ProtoMessage() {} method ProtoReflect (line 389) | func (x *EmptyCartResp) ProtoReflect() protoreflect.Message { method Descriptor (line 402) | func (*EmptyCartResp) Descriptor() ([]byte, []int) { function file_cart_proto_rawDescGZIP (line 456) | func file_cart_proto_rawDescGZIP() []byte { function init (line 491) | func init() { file_cart_proto_init() } function file_cart_proto_init (line 492) | func file_cart_proto_init() { type CartService (line 618) | type CartService interface FILE: gomall/tutorial/ch15/rpc_gen/kitex_gen/cart/cartservice/cartservice.go function serviceInfo (line 14) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 20) | func NewServiceInfo() *kitex.ServiceInfo { function addItemHandler (line 43) | func addItemHandler(ctx context.Context, handler interface{}, arg, resul... function newAddItemArgs (line 68) | func newAddItemArgs() interface{} { function newAddItemResult (line 72) | func newAddItemResult() interface{} { type AddItemArgs (line 76) | type AddItemArgs struct method FastRead (line 80) | func (p *AddItemArgs) FastRead(buf []byte, _type int8, number int32) (... method FastWrite (line 87) | func (p *AddItemArgs) FastWrite(buf []byte) (n int) { method Size (line 94) | func (p *AddItemArgs) Size() (n int) { method Marshal (line 101) | func (p *AddItemArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 108) | func (p *AddItemArgs) Unmarshal(in []byte) error { method GetReq (line 119) | func (p *AddItemArgs) GetReq() *cart.AddItemReq { method IsSetReq (line 126) | func (p *AddItemArgs) IsSetReq() bool { method GetFirstArgument (line 130) | func (p *AddItemArgs) GetFirstArgument() interface{} { type AddItemResult (line 134) | type AddItemResult struct method FastRead (line 140) | func (p *AddItemResult) FastRead(buf []byte, _type int8, number int32)... method FastWrite (line 147) | func (p *AddItemResult) FastWrite(buf []byte) (n int) { method Size (line 154) | func (p *AddItemResult) Size() (n int) { method Marshal (line 161) | func (p *AddItemResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 168) | func (p *AddItemResult) Unmarshal(in []byte) error { method GetSuccess (line 177) | func (p *AddItemResult) GetSuccess() *cart.AddItemResp { method SetSuccess (line 184) | func (p *AddItemResult) SetSuccess(x interface{}) { method IsSetSuccess (line 188) | func (p *AddItemResult) IsSetSuccess() bool { method GetResult (line 192) | func (p *AddItemResult) GetResult() interface{} { function getCartHandler (line 196) | func getCartHandler(ctx context.Context, handler interface{}, arg, resul... function newGetCartArgs (line 221) | func newGetCartArgs() interface{} { function newGetCartResult (line 225) | func newGetCartResult() interface{} { type GetCartArgs (line 229) | type GetCartArgs struct method FastRead (line 233) | func (p *GetCartArgs) FastRead(buf []byte, _type int8, number int32) (... method FastWrite (line 240) | func (p *GetCartArgs) FastWrite(buf []byte) (n int) { method Size (line 247) | func (p *GetCartArgs) Size() (n int) { method Marshal (line 254) | func (p *GetCartArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 261) | func (p *GetCartArgs) Unmarshal(in []byte) error { method GetReq (line 272) | func (p *GetCartArgs) GetReq() *cart.GetCartReq { method IsSetReq (line 279) | func (p *GetCartArgs) IsSetReq() bool { method GetFirstArgument (line 283) | func (p *GetCartArgs) GetFirstArgument() interface{} { type GetCartResult (line 287) | type GetCartResult struct method FastRead (line 293) | func (p *GetCartResult) FastRead(buf []byte, _type int8, number int32)... method FastWrite (line 300) | func (p *GetCartResult) FastWrite(buf []byte) (n int) { method Size (line 307) | func (p *GetCartResult) Size() (n int) { method Marshal (line 314) | func (p *GetCartResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 321) | func (p *GetCartResult) Unmarshal(in []byte) error { method GetSuccess (line 330) | func (p *GetCartResult) GetSuccess() *cart.GetCartResp { method SetSuccess (line 337) | func (p *GetCartResult) SetSuccess(x interface{}) { method IsSetSuccess (line 341) | func (p *GetCartResult) IsSetSuccess() bool { method GetResult (line 345) | func (p *GetCartResult) GetResult() interface{} { function emptyCartHandler (line 349) | func emptyCartHandler(ctx context.Context, handler interface{}, arg, res... function newEmptyCartArgs (line 374) | func newEmptyCartArgs() interface{} { function newEmptyCartResult (line 378) | func newEmptyCartResult() interface{} { type EmptyCartArgs (line 382) | type EmptyCartArgs struct method FastRead (line 386) | func (p *EmptyCartArgs) FastRead(buf []byte, _type int8, number int32)... method FastWrite (line 393) | func (p *EmptyCartArgs) FastWrite(buf []byte) (n int) { method Size (line 400) | func (p *EmptyCartArgs) Size() (n int) { method Marshal (line 407) | func (p *EmptyCartArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 414) | func (p *EmptyCartArgs) Unmarshal(in []byte) error { method GetReq (line 425) | func (p *EmptyCartArgs) GetReq() *cart.EmptyCartReq { method IsSetReq (line 432) | func (p *EmptyCartArgs) IsSetReq() bool { method GetFirstArgument (line 436) | func (p *EmptyCartArgs) GetFirstArgument() interface{} { type EmptyCartResult (line 440) | type EmptyCartResult struct method FastRead (line 446) | func (p *EmptyCartResult) FastRead(buf []byte, _type int8, number int3... method FastWrite (line 453) | func (p *EmptyCartResult) FastWrite(buf []byte) (n int) { method Size (line 460) | func (p *EmptyCartResult) Size() (n int) { method Marshal (line 467) | func (p *EmptyCartResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 474) | func (p *EmptyCartResult) Unmarshal(in []byte) error { method GetSuccess (line 483) | func (p *EmptyCartResult) GetSuccess() *cart.EmptyCartResp { method SetSuccess (line 490) | func (p *EmptyCartResult) SetSuccess(x interface{}) { method IsSetSuccess (line 494) | func (p *EmptyCartResult) IsSetSuccess() bool { method GetResult (line 498) | func (p *EmptyCartResult) GetResult() interface{} { type kClient (line 502) | type kClient struct method AddItem (line 512) | func (p *kClient) AddItem(ctx context.Context, Req *cart.AddItemReq) (... method GetCart (line 522) | func (p *kClient) GetCart(ctx context.Context, Req *cart.GetCartReq) (... method EmptyCart (line 532) | func (p *kClient) EmptyCart(ctx context.Context, Req *cart.EmptyCartRe... function newServiceClient (line 506) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch15/rpc_gen/kitex_gen/cart/cartservice/client.go type Client (line 13) | type Client interface function NewClient (line 20) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 36) | func MustNewClient(destService string, opts ...client.Option) Client { type kCartServiceClient (line 44) | type kCartServiceClient struct method AddItem (line 48) | func (p *kCartServiceClient) AddItem(ctx context.Context, Req *cart.Ad... method GetCart (line 53) | func (p *kCartServiceClient) GetCart(ctx context.Context, Req *cart.Ge... method EmptyCart (line 58) | func (p *kCartServiceClient) EmptyCart(ctx context.Context, Req *cart.... FILE: gomall/tutorial/ch15/rpc_gen/kitex_gen/cart/cartservice/invoker.go function NewInvoker (line 11) | func NewInvoker(handler cart.CartService, opts ...server.Option) server.... FILE: gomall/tutorial/ch15/rpc_gen/kitex_gen/cart/cartservice/server.go function NewServer (line 10) | func NewServer(handler cart.CartService, opts ...server.Option) server.S... FILE: gomall/tutorial/ch15/rpc_gen/kitex_gen/checkout/checkout.pb.fast.go method FastRead (line 16) | func (x *Address) FastRead(buf []byte, _type int8, number int32) (offset... method fastReadField1 (line 56) | func (x *Address) fastReadField1(buf []byte, _type int8) (offset int, er... method fastReadField2 (line 61) | func (x *Address) fastReadField2(buf []byte, _type int8) (offset int, er... method fastReadField3 (line 66) | func (x *Address) fastReadField3(buf []byte, _type int8) (offset int, er... method fastReadField4 (line 71) | func (x *Address) fastReadField4(buf []byte, _type int8) (offset int, er... method fastReadField5 (line 76) | func (x *Address) fastReadField5(buf []byte, _type int8) (offset int, er... method FastRead (line 81) | func (x *CheckoutReq) FastRead(buf []byte, _type int8, number int32) (of... method fastReadField1 (line 126) | func (x *CheckoutReq) fastReadField1(buf []byte, _type int8) (offset int... method fastReadField2 (line 131) | func (x *CheckoutReq) fastReadField2(buf []byte, _type int8) (offset int... method fastReadField3 (line 136) | func (x *CheckoutReq) fastReadField3(buf []byte, _type int8) (offset int... method fastReadField4 (line 141) | func (x *CheckoutReq) fastReadField4(buf []byte, _type int8) (offset int... method fastReadField5 (line 146) | func (x *CheckoutReq) fastReadField5(buf []byte, _type int8) (offset int... method fastReadField6 (line 156) | func (x *CheckoutReq) fastReadField6(buf []byte, _type int8) (offset int... method FastRead (line 166) | func (x *CheckoutResp) FastRead(buf []byte, _type int8, number int32) (o... method fastReadField1 (line 191) | func (x *CheckoutResp) fastReadField1(buf []byte, _type int8) (offset in... method fastReadField2 (line 196) | func (x *CheckoutResp) fastReadField2(buf []byte, _type int8) (offset in... method FastWrite (line 201) | func (x *Address) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 213) | func (x *Address) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 221) | func (x *Address) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 229) | func (x *Address) fastWriteField3(buf []byte) (offset int) { method fastWriteField4 (line 237) | func (x *Address) fastWriteField4(buf []byte) (offset int) { method fastWriteField5 (line 245) | func (x *Address) fastWriteField5(buf []byte) (offset int) { method FastWrite (line 253) | func (x *CheckoutReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 266) | func (x *CheckoutReq) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 274) | func (x *CheckoutReq) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 282) | func (x *CheckoutReq) fastWriteField3(buf []byte) (offset int) { method fastWriteField4 (line 290) | func (x *CheckoutReq) fastWriteField4(buf []byte) (offset int) { method fastWriteField5 (line 298) | func (x *CheckoutReq) fastWriteField5(buf []byte) (offset int) { method fastWriteField6 (line 306) | func (x *CheckoutReq) fastWriteField6(buf []byte) (offset int) { method FastWrite (line 314) | func (x *CheckoutResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 323) | func (x *CheckoutResp) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 331) | func (x *CheckoutResp) fastWriteField2(buf []byte) (offset int) { method Size (line 339) | func (x *Address) Size() (n int) { method sizeField1 (line 351) | func (x *Address) sizeField1() (n int) { method sizeField2 (line 359) | func (x *Address) sizeField2() (n int) { method sizeField3 (line 367) | func (x *Address) sizeField3() (n int) { method sizeField4 (line 375) | func (x *Address) sizeField4() (n int) { method sizeField5 (line 383) | func (x *Address) sizeField5() (n int) { method Size (line 391) | func (x *CheckoutReq) Size() (n int) { method sizeField1 (line 404) | func (x *CheckoutReq) sizeField1() (n int) { method sizeField2 (line 412) | func (x *CheckoutReq) sizeField2() (n int) { method sizeField3 (line 420) | func (x *CheckoutReq) sizeField3() (n int) { method sizeField4 (line 428) | func (x *CheckoutReq) sizeField4() (n int) { method sizeField5 (line 436) | func (x *CheckoutReq) sizeField5() (n int) { method sizeField6 (line 444) | func (x *CheckoutReq) sizeField6() (n int) { method Size (line 452) | func (x *CheckoutResp) Size() (n int) { method sizeField1 (line 461) | func (x *CheckoutResp) sizeField1() (n int) { method sizeField2 (line 469) | func (x *CheckoutResp) sizeField2() (n int) { FILE: gomall/tutorial/ch15/rpc_gen/kitex_gen/checkout/checkout.pb.go constant _ (line 20) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 22) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Address (line 25) | type Address struct method Reset (line 37) | func (x *Address) Reset() { method String (line 46) | func (x *Address) String() string { method ProtoMessage (line 50) | func (*Address) ProtoMessage() {} method ProtoReflect (line 52) | func (x *Address) ProtoReflect() protoreflect.Message { method Descriptor (line 65) | func (*Address) Descriptor() ([]byte, []int) { method GetStreetAddress (line 69) | func (x *Address) GetStreetAddress() string { method GetCity (line 76) | func (x *Address) GetCity() string { method GetState (line 83) | func (x *Address) GetState() string { method GetCountry (line 90) | func (x *Address) GetCountry() string { method GetZipCode (line 97) | func (x *Address) GetZipCode() string { type CheckoutReq (line 104) | type CheckoutReq struct method Reset (line 117) | func (x *CheckoutReq) Reset() { method String (line 126) | func (x *CheckoutReq) String() string { method ProtoMessage (line 130) | func (*CheckoutReq) ProtoMessage() {} method ProtoReflect (line 132) | func (x *CheckoutReq) ProtoReflect() protoreflect.Message { method Descriptor (line 145) | func (*CheckoutReq) Descriptor() ([]byte, []int) { method GetUserId (line 149) | func (x *CheckoutReq) GetUserId() uint32 { method GetFirstname (line 156) | func (x *CheckoutReq) GetFirstname() string { method GetLastname (line 163) | func (x *CheckoutReq) GetLastname() string { method GetEmail (line 170) | func (x *CheckoutReq) GetEmail() string { method GetAddress (line 177) | func (x *CheckoutReq) GetAddress() *Address { method GetCreditCard (line 184) | func (x *CheckoutReq) GetCreditCard() *payment.CreditCardInfo { type CheckoutResp (line 191) | type CheckoutResp struct method Reset (line 200) | func (x *CheckoutResp) Reset() { method String (line 209) | func (x *CheckoutResp) String() string { method ProtoMessage (line 213) | func (*CheckoutResp) ProtoMessage() {} method ProtoReflect (line 215) | func (x *CheckoutResp) ProtoReflect() protoreflect.Message { method Descriptor (line 228) | func (*CheckoutResp) Descriptor() ([]byte, []int) { method GetOrderId (line 232) | func (x *CheckoutResp) GetOrderId() string { method GetTransactionId (line 239) | func (x *CheckoutResp) GetTransactionId() string { function file_checkout_proto_rawDescGZIP (line 297) | func file_checkout_proto_rawDescGZIP() []byte { function init (line 323) | func init() { file_checkout_proto_init() } function file_checkout_proto_init (line 324) | func file_checkout_proto_init() { type CheckoutService (line 390) | type CheckoutService interface FILE: gomall/tutorial/ch15/rpc_gen/kitex_gen/checkout/checkoutservice/checkoutservice.go function serviceInfo (line 14) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 20) | func NewServiceInfo() *kitex.ServiceInfo { function checkoutHandler (line 41) | func checkoutHandler(ctx context.Context, handler interface{}, arg, resu... function newCheckoutArgs (line 66) | func newCheckoutArgs() interface{} { function newCheckoutResult (line 70) | func newCheckoutResult() interface{} { type CheckoutArgs (line 74) | type CheckoutArgs struct method FastRead (line 78) | func (p *CheckoutArgs) FastRead(buf []byte, _type int8, number int32) ... method FastWrite (line 85) | func (p *CheckoutArgs) FastWrite(buf []byte) (n int) { method Size (line 92) | func (p *CheckoutArgs) Size() (n int) { method Marshal (line 99) | func (p *CheckoutArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 106) | func (p *CheckoutArgs) Unmarshal(in []byte) error { method GetReq (line 117) | func (p *CheckoutArgs) GetReq() *checkout.CheckoutReq { method IsSetReq (line 124) | func (p *CheckoutArgs) IsSetReq() bool { method GetFirstArgument (line 128) | func (p *CheckoutArgs) GetFirstArgument() interface{} { type CheckoutResult (line 132) | type CheckoutResult struct method FastRead (line 138) | func (p *CheckoutResult) FastRead(buf []byte, _type int8, number int32... method FastWrite (line 145) | func (p *CheckoutResult) FastWrite(buf []byte) (n int) { method Size (line 152) | func (p *CheckoutResult) Size() (n int) { method Marshal (line 159) | func (p *CheckoutResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 166) | func (p *CheckoutResult) Unmarshal(in []byte) error { method GetSuccess (line 175) | func (p *CheckoutResult) GetSuccess() *checkout.CheckoutResp { method SetSuccess (line 182) | func (p *CheckoutResult) SetSuccess(x interface{}) { method IsSetSuccess (line 186) | func (p *CheckoutResult) IsSetSuccess() bool { method GetResult (line 190) | func (p *CheckoutResult) GetResult() interface{} { type kClient (line 194) | type kClient struct method Checkout (line 204) | func (p *kClient) Checkout(ctx context.Context, Req *checkout.Checkout... function newServiceClient (line 198) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch15/rpc_gen/kitex_gen/checkout/checkoutservice/client.go type Client (line 13) | type Client interface function NewClient (line 18) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 34) | func MustNewClient(destService string, opts ...client.Option) Client { type kCheckoutServiceClient (line 42) | type kCheckoutServiceClient struct method Checkout (line 46) | func (p *kCheckoutServiceClient) Checkout(ctx context.Context, Req *ch... FILE: gomall/tutorial/ch15/rpc_gen/kitex_gen/checkout/checkoutservice/invoker.go function NewInvoker (line 11) | func NewInvoker(handler checkout.CheckoutService, opts ...server.Option)... FILE: gomall/tutorial/ch15/rpc_gen/kitex_gen/checkout/checkoutservice/server.go function NewServer (line 10) | func NewServer(handler checkout.CheckoutService, opts ...server.Option) ... FILE: gomall/tutorial/ch15/rpc_gen/kitex_gen/email/email.pb.fast.go method FastRead (line 15) | func (x *EmailReq) FastRead(buf []byte, _type int8, number int32) (offse... method fastReadField1 (line 55) | func (x *EmailReq) fastReadField1(buf []byte, _type int8) (offset int, e... method fastReadField2 (line 60) | func (x *EmailReq) fastReadField2(buf []byte, _type int8) (offset int, e... method fastReadField3 (line 65) | func (x *EmailReq) fastReadField3(buf []byte, _type int8) (offset int, e... method fastReadField4 (line 70) | func (x *EmailReq) fastReadField4(buf []byte, _type int8) (offset int, e... method fastReadField5 (line 75) | func (x *EmailReq) fastReadField5(buf []byte, _type int8) (offset int, e... method FastRead (line 80) | func (x *EmailResp) FastRead(buf []byte, _type int8, number int32) (offs... method FastWrite (line 93) | func (x *EmailReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 105) | func (x *EmailReq) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 113) | func (x *EmailReq) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 121) | func (x *EmailReq) fastWriteField3(buf []byte) (offset int) { method fastWriteField4 (line 129) | func (x *EmailReq) fastWriteField4(buf []byte) (offset int) { method fastWriteField5 (line 137) | func (x *EmailReq) fastWriteField5(buf []byte) (offset int) { method FastWrite (line 145) | func (x *EmailResp) FastWrite(buf []byte) (offset int) { method Size (line 152) | func (x *EmailReq) Size() (n int) { method sizeField1 (line 164) | func (x *EmailReq) sizeField1() (n int) { method sizeField2 (line 172) | func (x *EmailReq) sizeField2() (n int) { method sizeField3 (line 180) | func (x *EmailReq) sizeField3() (n int) { method sizeField4 (line 188) | func (x *EmailReq) sizeField4() (n int) { method sizeField5 (line 196) | func (x *EmailReq) sizeField5() (n int) { method Size (line 204) | func (x *EmailResp) Size() (n int) { FILE: gomall/tutorial/ch15/rpc_gen/kitex_gen/email/email.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type EmailReq (line 24) | type EmailReq struct method Reset (line 36) | func (x *EmailReq) Reset() { method String (line 45) | func (x *EmailReq) String() string { method ProtoMessage (line 49) | func (*EmailReq) ProtoMessage() {} method ProtoReflect (line 51) | func (x *EmailReq) ProtoReflect() protoreflect.Message { method Descriptor (line 64) | func (*EmailReq) Descriptor() ([]byte, []int) { method GetFrom (line 68) | func (x *EmailReq) GetFrom() string { method GetTo (line 75) | func (x *EmailReq) GetTo() string { method GetContentType (line 82) | func (x *EmailReq) GetContentType() string { method GetSubject (line 89) | func (x *EmailReq) GetSubject() string { method GetContent (line 96) | func (x *EmailReq) GetContent() string { type EmailResp (line 103) | type EmailResp struct method Reset (line 109) | func (x *EmailResp) Reset() { method String (line 118) | func (x *EmailResp) String() string { method ProtoMessage (line 122) | func (*EmailResp) ProtoMessage() {} method ProtoReflect (line 124) | func (x *EmailResp) ProtoReflect() protoreflect.Message { method Descriptor (line 137) | func (*EmailResp) Descriptor() ([]byte, []int) { function file_email_proto_rawDescGZIP (line 170) | func file_email_proto_rawDescGZIP() []byte { function init (line 192) | func init() { file_email_proto_init() } function file_email_proto_init (line 193) | func file_email_proto_init() { type EmailService (line 247) | type EmailService interface FILE: gomall/tutorial/ch15/rpc_gen/kitex_gen/email/emailservice/client.go type Client (line 13) | type Client interface function NewClient (line 18) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 34) | func MustNewClient(destService string, opts ...client.Option) Client { type kEmailServiceClient (line 42) | type kEmailServiceClient struct method Send (line 46) | func (p *kEmailServiceClient) Send(ctx context.Context, Req *email.Ema... FILE: gomall/tutorial/ch15/rpc_gen/kitex_gen/email/emailservice/emailservice.go function serviceInfo (line 14) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 20) | func NewServiceInfo() *kitex.ServiceInfo { function sendHandler (line 41) | func sendHandler(ctx context.Context, handler interface{}, arg, result i... function newSendArgs (line 66) | func newSendArgs() interface{} { function newSendResult (line 70) | func newSendResult() interface{} { type SendArgs (line 74) | type SendArgs struct method FastRead (line 78) | func (p *SendArgs) FastRead(buf []byte, _type int8, number int32) (n i... method FastWrite (line 85) | func (p *SendArgs) FastWrite(buf []byte) (n int) { method Size (line 92) | func (p *SendArgs) Size() (n int) { method Marshal (line 99) | func (p *SendArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 106) | func (p *SendArgs) Unmarshal(in []byte) error { method GetReq (line 117) | func (p *SendArgs) GetReq() *email.EmailReq { method IsSetReq (line 124) | func (p *SendArgs) IsSetReq() bool { method GetFirstArgument (line 128) | func (p *SendArgs) GetFirstArgument() interface{} { type SendResult (line 132) | type SendResult struct method FastRead (line 138) | func (p *SendResult) FastRead(buf []byte, _type int8, number int32) (n... method FastWrite (line 145) | func (p *SendResult) FastWrite(buf []byte) (n int) { method Size (line 152) | func (p *SendResult) Size() (n int) { method Marshal (line 159) | func (p *SendResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 166) | func (p *SendResult) Unmarshal(in []byte) error { method GetSuccess (line 175) | func (p *SendResult) GetSuccess() *email.EmailResp { method SetSuccess (line 182) | func (p *SendResult) SetSuccess(x interface{}) { method IsSetSuccess (line 186) | func (p *SendResult) IsSetSuccess() bool { method GetResult (line 190) | func (p *SendResult) GetResult() interface{} { type kClient (line 194) | type kClient struct method Send (line 204) | func (p *kClient) Send(ctx context.Context, Req *email.EmailReq) (r *e... function newServiceClient (line 198) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch15/rpc_gen/kitex_gen/email/emailservice/invoker.go function NewInvoker (line 11) | func NewInvoker(handler email.EmailService, opts ...server.Option) serve... FILE: gomall/tutorial/ch15/rpc_gen/kitex_gen/email/emailservice/server.go function NewServer (line 10) | func NewServer(handler email.EmailService, opts ...server.Option) server... FILE: gomall/tutorial/ch15/rpc_gen/kitex_gen/order/order.pb.fast.go method FastRead (line 16) | func (x *Address) FastRead(buf []byte, _type int8, number int32) (offset... method fastReadField1 (line 56) | func (x *Address) fastReadField1(buf []byte, _type int8) (offset int, er... method fastReadField2 (line 61) | func (x *Address) fastReadField2(buf []byte, _type int8) (offset int, er... method fastReadField3 (line 66) | func (x *Address) fastReadField3(buf []byte, _type int8) (offset int, er... method fastReadField4 (line 71) | func (x *Address) fastReadField4(buf []byte, _type int8) (offset int, er... method fastReadField5 (line 76) | func (x *Address) fastReadField5(buf []byte, _type int8) (offset int, er... method FastRead (line 81) | func (x *PlaceOrderReq) FastRead(buf []byte, _type int8, number int32) (... method fastReadField1 (line 121) | func (x *PlaceOrderReq) fastReadField1(buf []byte, _type int8) (offset i... method fastReadField2 (line 126) | func (x *PlaceOrderReq) fastReadField2(buf []byte, _type int8) (offset i... method fastReadField3 (line 131) | func (x *PlaceOrderReq) fastReadField3(buf []byte, _type int8) (offset i... method fastReadField4 (line 141) | func (x *PlaceOrderReq) fastReadField4(buf []byte, _type int8) (offset i... method fastReadField5 (line 146) | func (x *PlaceOrderReq) fastReadField5(buf []byte, _type int8) (offset i... method FastRead (line 156) | func (x *OrderItem) FastRead(buf []byte, _type int8, number int32) (offs... method fastReadField1 (line 181) | func (x *OrderItem) fastReadField1(buf []byte, _type int8) (offset int, ... method fastReadField2 (line 191) | func (x *OrderItem) fastReadField2(buf []byte, _type int8) (offset int, ... method FastRead (line 196) | func (x *OrderResult) FastRead(buf []byte, _type int8, number int32) (of... method fastReadField1 (line 216) | func (x *OrderResult) fastReadField1(buf []byte, _type int8) (offset int... method FastRead (line 221) | func (x *PlaceOrderResp) FastRead(buf []byte, _type int8, number int32) ... method fastReadField1 (line 241) | func (x *PlaceOrderResp) fastReadField1(buf []byte, _type int8) (offset ... method FastRead (line 251) | func (x *ListOrderReq) FastRead(buf []byte, _type int8, number int32) (o... method fastReadField1 (line 271) | func (x *ListOrderReq) fastReadField1(buf []byte, _type int8) (offset in... method FastRead (line 276) | func (x *Order) FastRead(buf []byte, _type int8, number int32) (offset i... method fastReadField1 (line 326) | func (x *Order) fastReadField1(buf []byte, _type int8) (offset int, err ... method fastReadField2 (line 336) | func (x *Order) fastReadField2(buf []byte, _type int8) (offset int, err ... method fastReadField3 (line 341) | func (x *Order) fastReadField3(buf []byte, _type int8) (offset int, err ... method fastReadField4 (line 346) | func (x *Order) fastReadField4(buf []byte, _type int8) (offset int, err ... method fastReadField5 (line 351) | func (x *Order) fastReadField5(buf []byte, _type int8) (offset int, err ... method fastReadField6 (line 361) | func (x *Order) fastReadField6(buf []byte, _type int8) (offset int, err ... method fastReadField7 (line 366) | func (x *Order) fastReadField7(buf []byte, _type int8) (offset int, err ... method FastRead (line 371) | func (x *ListOrderResp) FastRead(buf []byte, _type int8, number int32) (... method fastReadField1 (line 391) | func (x *ListOrderResp) fastReadField1(buf []byte, _type int8) (offset i... method FastWrite (line 401) | func (x *Address) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 413) | func (x *Address) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 421) | func (x *Address) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 429) | func (x *Address) fastWriteField3(buf []byte) (offset int) { method fastWriteField4 (line 437) | func (x *Address) fastWriteField4(buf []byte) (offset int) { method fastWriteField5 (line 445) | func (x *Address) fastWriteField5(buf []byte) (offset int) { method FastWrite (line 453) | func (x *PlaceOrderReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 465) | func (x *PlaceOrderReq) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 473) | func (x *PlaceOrderReq) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 481) | func (x *PlaceOrderReq) fastWriteField3(buf []byte) (offset int) { method fastWriteField4 (line 489) | func (x *PlaceOrderReq) fastWriteField4(buf []byte) (offset int) { method fastWriteField5 (line 497) | func (x *PlaceOrderReq) fastWriteField5(buf []byte) (offset int) { method FastWrite (line 507) | func (x *OrderItem) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 516) | func (x *OrderItem) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 524) | func (x *OrderItem) fastWriteField2(buf []byte) (offset int) { method FastWrite (line 532) | func (x *OrderResult) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 540) | func (x *OrderResult) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 548) | func (x *PlaceOrderResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 556) | func (x *PlaceOrderResp) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 564) | func (x *ListOrderReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 572) | func (x *ListOrderReq) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 580) | func (x *Order) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 594) | func (x *Order) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 604) | func (x *Order) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 612) | func (x *Order) fastWriteField3(buf []byte) (offset int) { method fastWriteField4 (line 620) | func (x *Order) fastWriteField4(buf []byte) (offset int) { method fastWriteField5 (line 628) | func (x *Order) fastWriteField5(buf []byte) (offset int) { method fastWriteField6 (line 636) | func (x *Order) fastWriteField6(buf []byte) (offset int) { method fastWriteField7 (line 644) | func (x *Order) fastWriteField7(buf []byte) (offset int) { method FastWrite (line 652) | func (x *ListOrderResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 660) | func (x *ListOrderResp) fastWriteField1(buf []byte) (offset int) { method Size (line 670) | func (x *Address) Size() (n int) { method sizeField1 (line 682) | func (x *Address) sizeField1() (n int) { method sizeField2 (line 690) | func (x *Address) sizeField2() (n int) { method sizeField3 (line 698) | func (x *Address) sizeField3() (n int) { method sizeField4 (line 706) | func (x *Address) sizeField4() (n int) { method sizeField5 (line 714) | func (x *Address) sizeField5() (n int) { method Size (line 722) | func (x *PlaceOrderReq) Size() (n int) { method sizeField1 (line 734) | func (x *PlaceOrderReq) sizeField1() (n int) { method sizeField2 (line 742) | func (x *PlaceOrderReq) sizeField2() (n int) { method sizeField3 (line 750) | func (x *PlaceOrderReq) sizeField3() (n int) { method sizeField4 (line 758) | func (x *PlaceOrderReq) sizeField4() (n int) { method sizeField5 (line 766) | func (x *PlaceOrderReq) sizeField5() (n int) { method Size (line 776) | func (x *OrderItem) Size() (n int) { method sizeField1 (line 785) | func (x *OrderItem) sizeField1() (n int) { method sizeField2 (line 793) | func (x *OrderItem) sizeField2() (n int) { method Size (line 801) | func (x *OrderResult) Size() (n int) { method sizeField1 (line 809) | func (x *OrderResult) sizeField1() (n int) { method Size (line 817) | func (x *PlaceOrderResp) Size() (n int) { method sizeField1 (line 825) | func (x *PlaceOrderResp) sizeField1() (n int) { method Size (line 833) | func (x *ListOrderReq) Size() (n int) { method sizeField1 (line 841) | func (x *ListOrderReq) sizeField1() (n int) { method Size (line 849) | func (x *Order) Size() (n int) { method sizeField1 (line 863) | func (x *Order) sizeField1() (n int) { method sizeField2 (line 873) | func (x *Order) sizeField2() (n int) { method sizeField3 (line 881) | func (x *Order) sizeField3() (n int) { method sizeField4 (line 889) | func (x *Order) sizeField4() (n int) { method sizeField5 (line 897) | func (x *Order) sizeField5() (n int) { method sizeField6 (line 905) | func (x *Order) sizeField6() (n int) { method sizeField7 (line 913) | func (x *Order) sizeField7() (n int) { method Size (line 921) | func (x *ListOrderResp) Size() (n int) { method sizeField1 (line 929) | func (x *ListOrderResp) sizeField1() (n int) { FILE: gomall/tutorial/ch15/rpc_gen/kitex_gen/order/order.pb.go constant _ (line 20) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 22) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Address (line 25) | type Address struct method Reset (line 37) | func (x *Address) Reset() { method String (line 46) | func (x *Address) String() string { method ProtoMessage (line 50) | func (*Address) ProtoMessage() {} method ProtoReflect (line 52) | func (x *Address) ProtoReflect() protoreflect.Message { method Descriptor (line 65) | func (*Address) Descriptor() ([]byte, []int) { method GetStreetAddress (line 69) | func (x *Address) GetStreetAddress() string { method GetCity (line 76) | func (x *Address) GetCity() string { method GetState (line 83) | func (x *Address) GetState() string { method GetCountry (line 90) | func (x *Address) GetCountry() string { method GetZipCode (line 97) | func (x *Address) GetZipCode() int32 { type PlaceOrderReq (line 104) | type PlaceOrderReq struct method Reset (line 116) | func (x *PlaceOrderReq) Reset() { method String (line 125) | func (x *PlaceOrderReq) String() string { method ProtoMessage (line 129) | func (*PlaceOrderReq) ProtoMessage() {} method ProtoReflect (line 131) | func (x *PlaceOrderReq) ProtoReflect() protoreflect.Message { method Descriptor (line 144) | func (*PlaceOrderReq) Descriptor() ([]byte, []int) { method GetUserId (line 148) | func (x *PlaceOrderReq) GetUserId() uint32 { method GetUserCurrency (line 155) | func (x *PlaceOrderReq) GetUserCurrency() string { method GetAddress (line 162) | func (x *PlaceOrderReq) GetAddress() *Address { method GetEmail (line 169) | func (x *PlaceOrderReq) GetEmail() string { method GetOrderItems (line 176) | func (x *PlaceOrderReq) GetOrderItems() []*OrderItem { type OrderItem (line 183) | type OrderItem struct method Reset (line 192) | func (x *OrderItem) Reset() { method String (line 201) | func (x *OrderItem) String() string { method ProtoMessage (line 205) | func (*OrderItem) ProtoMessage() {} method ProtoReflect (line 207) | func (x *OrderItem) ProtoReflect() protoreflect.Message { method Descriptor (line 220) | func (*OrderItem) Descriptor() ([]byte, []int) { method GetItem (line 224) | func (x *OrderItem) GetItem() *cart.CartItem { method GetCost (line 231) | func (x *OrderItem) GetCost() float32 { type OrderResult (line 238) | type OrderResult struct method Reset (line 246) | func (x *OrderResult) Reset() { method String (line 255) | func (x *OrderResult) String() string { method ProtoMessage (line 259) | func (*OrderResult) ProtoMessage() {} method ProtoReflect (line 261) | func (x *OrderResult) ProtoReflect() protoreflect.Message { method Descriptor (line 274) | func (*OrderResult) Descriptor() ([]byte, []int) { method GetOrderId (line 278) | func (x *OrderResult) GetOrderId() string { type PlaceOrderResp (line 285) | type PlaceOrderResp struct method Reset (line 293) | func (x *PlaceOrderResp) Reset() { method String (line 302) | func (x *PlaceOrderResp) String() string { method ProtoMessage (line 306) | func (*PlaceOrderResp) ProtoMessage() {} method ProtoReflect (line 308) | func (x *PlaceOrderResp) ProtoReflect() protoreflect.Message { method Descriptor (line 321) | func (*PlaceOrderResp) Descriptor() ([]byte, []int) { method GetOrder (line 325) | func (x *PlaceOrderResp) GetOrder() *OrderResult { type ListOrderReq (line 332) | type ListOrderReq struct method Reset (line 340) | func (x *ListOrderReq) Reset() { method String (line 349) | func (x *ListOrderReq) String() string { method ProtoMessage (line 353) | func (*ListOrderReq) ProtoMessage() {} method ProtoReflect (line 355) | func (x *ListOrderReq) ProtoReflect() protoreflect.Message { method Descriptor (line 368) | func (*ListOrderReq) Descriptor() ([]byte, []int) { method GetUserId (line 372) | func (x *ListOrderReq) GetUserId() uint32 { type Order (line 379) | type Order struct method Reset (line 393) | func (x *Order) Reset() { method String (line 402) | func (x *Order) String() string { method ProtoMessage (line 406) | func (*Order) ProtoMessage() {} method ProtoReflect (line 408) | func (x *Order) ProtoReflect() protoreflect.Message { method Descriptor (line 421) | func (*Order) Descriptor() ([]byte, []int) { method GetOrderItems (line 425) | func (x *Order) GetOrderItems() []*OrderItem { method GetOrderId (line 432) | func (x *Order) GetOrderId() string { method GetUserId (line 439) | func (x *Order) GetUserId() uint32 { method GetUserCurrency (line 446) | func (x *Order) GetUserCurrency() string { method GetAddress (line 453) | func (x *Order) GetAddress() *Address { method GetEmail (line 460) | func (x *Order) GetEmail() string { method GetCreatedAt (line 467) | func (x *Order) GetCreatedAt() int32 { type ListOrderResp (line 474) | type ListOrderResp struct method Reset (line 482) | func (x *ListOrderResp) Reset() { method String (line 491) | func (x *ListOrderResp) String() string { method ProtoMessage (line 495) | func (*ListOrderResp) ProtoMessage() {} method ProtoReflect (line 497) | func (x *ListOrderResp) ProtoReflect() protoreflect.Message { method Descriptor (line 510) | func (*ListOrderResp) Descriptor() ([]byte, []int) { method GetOrders (line 514) | func (x *ListOrderResp) GetOrders() []*Order { function file_order_proto_rawDescGZIP (line 600) | func file_order_proto_rawDescGZIP() []byte { function init (line 638) | func init() { file_order_proto_init() } function file_order_proto_init (line 639) | func file_order_proto_init() { type OrderService (line 765) | type OrderService interface FILE: gomall/tutorial/ch15/rpc_gen/kitex_gen/order/orderservice/client.go type Client (line 13) | type Client interface function NewClient (line 19) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 35) | func MustNewClient(destService string, opts ...client.Option) Client { type kOrderServiceClient (line 43) | type kOrderServiceClient struct method PlaceOrder (line 47) | func (p *kOrderServiceClient) PlaceOrder(ctx context.Context, Req *ord... method ListOrder (line 52) | func (p *kOrderServiceClient) ListOrder(ctx context.Context, Req *orde... FILE: gomall/tutorial/ch15/rpc_gen/kitex_gen/order/orderservice/invoker.go function NewInvoker (line 11) | func NewInvoker(handler order.OrderService, opts ...server.Option) serve... FILE: gomall/tutorial/ch15/rpc_gen/kitex_gen/order/orderservice/orderservice.go function serviceInfo (line 14) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 20) | func NewServiceInfo() *kitex.ServiceInfo { function placeOrderHandler (line 42) | func placeOrderHandler(ctx context.Context, handler interface{}, arg, re... function newPlaceOrderArgs (line 67) | func newPlaceOrderArgs() interface{} { function newPlaceOrderResult (line 71) | func newPlaceOrderResult() interface{} { type PlaceOrderArgs (line 75) | type PlaceOrderArgs struct method FastRead (line 79) | func (p *PlaceOrderArgs) FastRead(buf []byte, _type int8, number int32... method FastWrite (line 86) | func (p *PlaceOrderArgs) FastWrite(buf []byte) (n int) { method Size (line 93) | func (p *PlaceOrderArgs) Size() (n int) { method Marshal (line 100) | func (p *PlaceOrderArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 107) | func (p *PlaceOrderArgs) Unmarshal(in []byte) error { method GetReq (line 118) | func (p *PlaceOrderArgs) GetReq() *order.PlaceOrderReq { method IsSetReq (line 125) | func (p *PlaceOrderArgs) IsSetReq() bool { method GetFirstArgument (line 129) | func (p *PlaceOrderArgs) GetFirstArgument() interface{} { type PlaceOrderResult (line 133) | type PlaceOrderResult struct method FastRead (line 139) | func (p *PlaceOrderResult) FastRead(buf []byte, _type int8, number int... method FastWrite (line 146) | func (p *PlaceOrderResult) FastWrite(buf []byte) (n int) { method Size (line 153) | func (p *PlaceOrderResult) Size() (n int) { method Marshal (line 160) | func (p *PlaceOrderResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 167) | func (p *PlaceOrderResult) Unmarshal(in []byte) error { method GetSuccess (line 176) | func (p *PlaceOrderResult) GetSuccess() *order.PlaceOrderResp { method SetSuccess (line 183) | func (p *PlaceOrderResult) SetSuccess(x interface{}) { method IsSetSuccess (line 187) | func (p *PlaceOrderResult) IsSetSuccess() bool { method GetResult (line 191) | func (p *PlaceOrderResult) GetResult() interface{} { function listOrderHandler (line 195) | func listOrderHandler(ctx context.Context, handler interface{}, arg, res... function newListOrderArgs (line 220) | func newListOrderArgs() interface{} { function newListOrderResult (line 224) | func newListOrderResult() interface{} { type ListOrderArgs (line 228) | type ListOrderArgs struct method FastRead (line 232) | func (p *ListOrderArgs) FastRead(buf []byte, _type int8, number int32)... method FastWrite (line 239) | func (p *ListOrderArgs) FastWrite(buf []byte) (n int) { method Size (line 246) | func (p *ListOrderArgs) Size() (n int) { method Marshal (line 253) | func (p *ListOrderArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 260) | func (p *ListOrderArgs) Unmarshal(in []byte) error { method GetReq (line 271) | func (p *ListOrderArgs) GetReq() *order.ListOrderReq { method IsSetReq (line 278) | func (p *ListOrderArgs) IsSetReq() bool { method GetFirstArgument (line 282) | func (p *ListOrderArgs) GetFirstArgument() interface{} { type ListOrderResult (line 286) | type ListOrderResult struct method FastRead (line 292) | func (p *ListOrderResult) FastRead(buf []byte, _type int8, number int3... method FastWrite (line 299) | func (p *ListOrderResult) FastWrite(buf []byte) (n int) { method Size (line 306) | func (p *ListOrderResult) Size() (n int) { method Marshal (line 313) | func (p *ListOrderResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 320) | func (p *ListOrderResult) Unmarshal(in []byte) error { method GetSuccess (line 329) | func (p *ListOrderResult) GetSuccess() *order.ListOrderResp { method SetSuccess (line 336) | func (p *ListOrderResult) SetSuccess(x interface{}) { method IsSetSuccess (line 340) | func (p *ListOrderResult) IsSetSuccess() bool { method GetResult (line 344) | func (p *ListOrderResult) GetResult() interface{} { type kClient (line 348) | type kClient struct method PlaceOrder (line 358) | func (p *kClient) PlaceOrder(ctx context.Context, Req *order.PlaceOrde... method ListOrder (line 368) | func (p *kClient) ListOrder(ctx context.Context, Req *order.ListOrderR... function newServiceClient (line 352) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch15/rpc_gen/kitex_gen/order/orderservice/server.go function NewServer (line 10) | func NewServer(handler order.OrderService, opts ...server.Option) server... FILE: gomall/tutorial/ch15/rpc_gen/kitex_gen/payment/payment.pb.fast.go method FastRead (line 15) | func (x *CreditCardInfo) FastRead(buf []byte, _type int8, number int32) ... method fastReadField1 (line 50) | func (x *CreditCardInfo) fastReadField1(buf []byte, _type int8) (offset ... method fastReadField2 (line 55) | func (x *CreditCardInfo) fastReadField2(buf []byte, _type int8) (offset ... method fastReadField3 (line 60) | func (x *CreditCardInfo) fastReadField3(buf []byte, _type int8) (offset ... method fastReadField4 (line 65) | func (x *CreditCardInfo) fastReadField4(buf []byte, _type int8) (offset ... method FastRead (line 70) | func (x *ChargeReq) FastRead(buf []byte, _type int8, number int32) (offs... method fastReadField1 (line 105) | func (x *ChargeReq) fastReadField1(buf []byte, _type int8) (offset int, ... method fastReadField2 (line 110) | func (x *ChargeReq) fastReadField2(buf []byte, _type int8) (offset int, ... method fastReadField3 (line 120) | func (x *ChargeReq) fastReadField3(buf []byte, _type int8) (offset int, ... method fastReadField4 (line 125) | func (x *ChargeReq) fastReadField4(buf []byte, _type int8) (offset int, ... method FastRead (line 130) | func (x *ChargeResp) FastRead(buf []byte, _type int8, number int32) (off... method fastReadField1 (line 150) | func (x *ChargeResp) fastReadField1(buf []byte, _type int8) (offset int,... method FastWrite (line 155) | func (x *CreditCardInfo) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 166) | func (x *CreditCardInfo) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 174) | func (x *CreditCardInfo) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 182) | func (x *CreditCardInfo) fastWriteField3(buf []byte) (offset int) { method fastWriteField4 (line 190) | func (x *CreditCardInfo) fastWriteField4(buf []byte) (offset int) { method FastWrite (line 198) | func (x *ChargeReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 209) | func (x *ChargeReq) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 217) | func (x *ChargeReq) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 225) | func (x *ChargeReq) fastWriteField3(buf []byte) (offset int) { method fastWriteField4 (line 233) | func (x *ChargeReq) fastWriteField4(buf []byte) (offset int) { method FastWrite (line 241) | func (x *ChargeResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 249) | func (x *ChargeResp) fastWriteField1(buf []byte) (offset int) { method Size (line 257) | func (x *CreditCardInfo) Size() (n int) { method sizeField1 (line 268) | func (x *CreditCardInfo) sizeField1() (n int) { method sizeField2 (line 276) | func (x *CreditCardInfo) sizeField2() (n int) { method sizeField3 (line 284) | func (x *CreditCardInfo) sizeField3() (n int) { method sizeField4 (line 292) | func (x *CreditCardInfo) sizeField4() (n int) { method Size (line 300) | func (x *ChargeReq) Size() (n int) { method sizeField1 (line 311) | func (x *ChargeReq) sizeField1() (n int) { method sizeField2 (line 319) | func (x *ChargeReq) sizeField2() (n int) { method sizeField3 (line 327) | func (x *ChargeReq) sizeField3() (n int) { method sizeField4 (line 335) | func (x *ChargeReq) sizeField4() (n int) { method Size (line 343) | func (x *ChargeResp) Size() (n int) { method sizeField1 (line 351) | func (x *ChargeResp) sizeField1() (n int) { FILE: gomall/tutorial/ch15/rpc_gen/kitex_gen/payment/payment.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type CreditCardInfo (line 24) | type CreditCardInfo struct method Reset (line 35) | func (x *CreditCardInfo) Reset() { method String (line 44) | func (x *CreditCardInfo) String() string { method ProtoMessage (line 48) | func (*CreditCardInfo) ProtoMessage() {} method ProtoReflect (line 50) | func (x *CreditCardInfo) ProtoReflect() protoreflect.Message { method Descriptor (line 63) | func (*CreditCardInfo) Descriptor() ([]byte, []int) { method GetCreditCardNumber (line 67) | func (x *CreditCardInfo) GetCreditCardNumber() string { method GetCreditCardCvv (line 74) | func (x *CreditCardInfo) GetCreditCardCvv() int32 { method GetCreditCardExpirationYear (line 81) | func (x *CreditCardInfo) GetCreditCardExpirationYear() int32 { method GetCreditCardExpirationMonth (line 88) | func (x *CreditCardInfo) GetCreditCardExpirationMonth() int32 { type ChargeReq (line 95) | type ChargeReq struct method Reset (line 106) | func (x *ChargeReq) Reset() { method String (line 115) | func (x *ChargeReq) String() string { method ProtoMessage (line 119) | func (*ChargeReq) ProtoMessage() {} method ProtoReflect (line 121) | func (x *ChargeReq) ProtoReflect() protoreflect.Message { method Descriptor (line 134) | func (*ChargeReq) Descriptor() ([]byte, []int) { method GetAmount (line 138) | func (x *ChargeReq) GetAmount() float32 { method GetCreditCard (line 145) | func (x *ChargeReq) GetCreditCard() *CreditCardInfo { method GetOrderId (line 152) | func (x *ChargeReq) GetOrderId() string { method GetUserId (line 159) | func (x *ChargeReq) GetUserId() uint32 { type ChargeResp (line 166) | type ChargeResp struct method Reset (line 174) | func (x *ChargeResp) Reset() { method String (line 183) | func (x *ChargeResp) String() string { method ProtoMessage (line 187) | func (*ChargeResp) ProtoMessage() {} method ProtoReflect (line 189) | func (x *ChargeResp) ProtoReflect() protoreflect.Message { method Descriptor (line 202) | func (*ChargeResp) Descriptor() ([]byte, []int) { method GetTransactionId (line 206) | func (x *ChargeResp) GetTransactionId() string { function file_payment_proto_rawDescGZIP (line 261) | func file_payment_proto_rawDescGZIP() []byte { function init (line 285) | func init() { file_payment_proto_init() } function file_payment_proto_init (line 286) | func file_payment_proto_init() { type PaymentService (line 352) | type PaymentService interface FILE: gomall/tutorial/ch15/rpc_gen/kitex_gen/payment/paymentservice/client.go type Client (line 13) | type Client interface function NewClient (line 18) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 34) | func MustNewClient(destService string, opts ...client.Option) Client { type kPaymentServiceClient (line 42) | type kPaymentServiceClient struct method Charge (line 46) | func (p *kPaymentServiceClient) Charge(ctx context.Context, Req *payme... FILE: gomall/tutorial/ch15/rpc_gen/kitex_gen/payment/paymentservice/invoker.go function NewInvoker (line 11) | func NewInvoker(handler payment.PaymentService, opts ...server.Option) s... FILE: gomall/tutorial/ch15/rpc_gen/kitex_gen/payment/paymentservice/paymentservice.go function serviceInfo (line 14) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 20) | func NewServiceInfo() *kitex.ServiceInfo { function chargeHandler (line 41) | func chargeHandler(ctx context.Context, handler interface{}, arg, result... function newChargeArgs (line 66) | func newChargeArgs() interface{} { function newChargeResult (line 70) | func newChargeResult() interface{} { type ChargeArgs (line 74) | type ChargeArgs struct method FastRead (line 78) | func (p *ChargeArgs) FastRead(buf []byte, _type int8, number int32) (n... method FastWrite (line 85) | func (p *ChargeArgs) FastWrite(buf []byte) (n int) { method Size (line 92) | func (p *ChargeArgs) Size() (n int) { method Marshal (line 99) | func (p *ChargeArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 106) | func (p *ChargeArgs) Unmarshal(in []byte) error { method GetReq (line 117) | func (p *ChargeArgs) GetReq() *payment.ChargeReq { method IsSetReq (line 124) | func (p *ChargeArgs) IsSetReq() bool { method GetFirstArgument (line 128) | func (p *ChargeArgs) GetFirstArgument() interface{} { type ChargeResult (line 132) | type ChargeResult struct method FastRead (line 138) | func (p *ChargeResult) FastRead(buf []byte, _type int8, number int32) ... method FastWrite (line 145) | func (p *ChargeResult) FastWrite(buf []byte) (n int) { method Size (line 152) | func (p *ChargeResult) Size() (n int) { method Marshal (line 159) | func (p *ChargeResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 166) | func (p *ChargeResult) Unmarshal(in []byte) error { method GetSuccess (line 175) | func (p *ChargeResult) GetSuccess() *payment.ChargeResp { method SetSuccess (line 182) | func (p *ChargeResult) SetSuccess(x interface{}) { method IsSetSuccess (line 186) | func (p *ChargeResult) IsSetSuccess() bool { method GetResult (line 190) | func (p *ChargeResult) GetResult() interface{} { type kClient (line 194) | type kClient struct method Charge (line 204) | func (p *kClient) Charge(ctx context.Context, Req *payment.ChargeReq) ... function newServiceClient (line 198) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch15/rpc_gen/kitex_gen/payment/paymentservice/server.go function NewServer (line 10) | func NewServer(handler payment.PaymentService, opts ...server.Option) se... FILE: gomall/tutorial/ch15/rpc_gen/kitex_gen/product/product.pb.fast.go method FastRead (line 15) | func (x *ListProductsReq) FastRead(buf []byte, _type int8, number int32)... method fastReadField1 (line 45) | func (x *ListProductsReq) fastReadField1(buf []byte, _type int8) (offset... method fastReadField2 (line 50) | func (x *ListProductsReq) fastReadField2(buf []byte, _type int8) (offset... method fastReadField3 (line 55) | func (x *ListProductsReq) fastReadField3(buf []byte, _type int8) (offset... method FastRead (line 60) | func (x *Product) FastRead(buf []byte, _type int8, number int32) (offset... method fastReadField1 (line 105) | func (x *Product) fastReadField1(buf []byte, _type int8) (offset int, er... method fastReadField2 (line 110) | func (x *Product) fastReadField2(buf []byte, _type int8) (offset int, er... method fastReadField3 (line 115) | func (x *Product) fastReadField3(buf []byte, _type int8) (offset int, er... method fastReadField4 (line 120) | func (x *Product) fastReadField4(buf []byte, _type int8) (offset int, er... method fastReadField5 (line 125) | func (x *Product) fastReadField5(buf []byte, _type int8) (offset int, er... method fastReadField6 (line 130) | func (x *Product) fastReadField6(buf []byte, _type int8) (offset int, er... method FastRead (line 140) | func (x *ListProductsResp) FastRead(buf []byte, _type int8, number int32... method fastReadField1 (line 160) | func (x *ListProductsResp) fastReadField1(buf []byte, _type int8) (offse... method FastRead (line 170) | func (x *GetProductReq) FastRead(buf []byte, _type int8, number int32) (... method fastReadField1 (line 190) | func (x *GetProductReq) fastReadField1(buf []byte, _type int8) (offset i... method FastRead (line 195) | func (x *GetProductResp) FastRead(buf []byte, _type int8, number int32) ... method fastReadField1 (line 215) | func (x *GetProductResp) fastReadField1(buf []byte, _type int8) (offset ... method FastRead (line 225) | func (x *SearchProductsReq) FastRead(buf []byte, _type int8, number int3... method fastReadField1 (line 245) | func (x *SearchProductsReq) fastReadField1(buf []byte, _type int8) (offs... method FastRead (line 250) | func (x *SearchProductsResp) FastRead(buf []byte, _type int8, number int... method fastReadField1 (line 270) | func (x *SearchProductsResp) fastReadField1(buf []byte, _type int8) (off... method FastWrite (line 280) | func (x *ListProductsReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 290) | func (x *ListProductsReq) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 298) | func (x *ListProductsReq) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 306) | func (x *ListProductsReq) fastWriteField3(buf []byte) (offset int) { method FastWrite (line 314) | func (x *Product) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 327) | func (x *Product) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 335) | func (x *Product) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 343) | func (x *Product) fastWriteField3(buf []byte) (offset int) { method fastWriteField4 (line 351) | func (x *Product) fastWriteField4(buf []byte) (offset int) { method fastWriteField5 (line 359) | func (x *Product) fastWriteField5(buf []byte) (offset int) { method fastWriteField6 (line 367) | func (x *Product) fastWriteField6(buf []byte) (offset int) { method FastWrite (line 377) | func (x *ListProductsResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 385) | func (x *ListProductsResp) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 395) | func (x *GetProductReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 403) | func (x *GetProductReq) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 411) | func (x *GetProductResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 419) | func (x *GetProductResp) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 427) | func (x *SearchProductsReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 435) | func (x *SearchProductsReq) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 443) | func (x *SearchProductsResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 451) | func (x *SearchProductsResp) fastWriteField1(buf []byte) (offset int) { method Size (line 461) | func (x *ListProductsReq) Size() (n int) { method sizeField1 (line 471) | func (x *ListProductsReq) sizeField1() (n int) { method sizeField2 (line 479) | func (x *ListProductsReq) sizeField2() (n int) { method sizeField3 (line 487) | func (x *ListProductsReq) sizeField3() (n int) { method Size (line 495) | func (x *Product) Size() (n int) { method sizeField1 (line 508) | func (x *Product) sizeField1() (n int) { method sizeField2 (line 516) | func (x *Product) sizeField2() (n int) { method sizeField3 (line 524) | func (x *Product) sizeField3() (n int) { method sizeField4 (line 532) | func (x *Product) sizeField4() (n int) { method sizeField5 (line 540) | func (x *Product) sizeField5() (n int) { method sizeField6 (line 548) | func (x *Product) sizeField6() (n int) { method Size (line 558) | func (x *ListProductsResp) Size() (n int) { method sizeField1 (line 566) | func (x *ListProductsResp) sizeField1() (n int) { method Size (line 576) | func (x *GetProductReq) Size() (n int) { method sizeField1 (line 584) | func (x *GetProductReq) sizeField1() (n int) { method Size (line 592) | func (x *GetProductResp) Size() (n int) { method sizeField1 (line 600) | func (x *GetProductResp) sizeField1() (n int) { method Size (line 608) | func (x *SearchProductsReq) Size() (n int) { method sizeField1 (line 616) | func (x *SearchProductsReq) sizeField1() (n int) { method Size (line 624) | func (x *SearchProductsResp) Size() (n int) { method sizeField1 (line 632) | func (x *SearchProductsResp) sizeField1() (n int) { FILE: gomall/tutorial/ch15/rpc_gen/kitex_gen/product/product.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type ListProductsReq (line 24) | type ListProductsReq struct method Reset (line 34) | func (x *ListProductsReq) Reset() { method String (line 43) | func (x *ListProductsReq) String() string { method ProtoMessage (line 47) | func (*ListProductsReq) ProtoMessage() {} method ProtoReflect (line 49) | func (x *ListProductsReq) ProtoReflect() protoreflect.Message { method Descriptor (line 62) | func (*ListProductsReq) Descriptor() ([]byte, []int) { method GetPage (line 66) | func (x *ListProductsReq) GetPage() int32 { method GetPageSize (line 73) | func (x *ListProductsReq) GetPageSize() int64 { method GetCategoryName (line 80) | func (x *ListProductsReq) GetCategoryName() string { type Product (line 87) | type Product struct method Reset (line 100) | func (x *Product) Reset() { method String (line 109) | func (x *Product) String() string { method ProtoMessage (line 113) | func (*Product) ProtoMessage() {} method ProtoReflect (line 115) | func (x *Product) ProtoReflect() protoreflect.Message { method Descriptor (line 128) | func (*Product) Descriptor() ([]byte, []int) { method GetId (line 132) | func (x *Product) GetId() uint32 { method GetName (line 139) | func (x *Product) GetName() string { method GetDescription (line 146) | func (x *Product) GetDescription() string { method GetPicture (line 153) | func (x *Product) GetPicture() string { method GetPrice (line 160) | func (x *Product) GetPrice() float32 { method GetCategories (line 167) | func (x *Product) GetCategories() []string { type ListProductsResp (line 174) | type ListProductsResp struct method Reset (line 182) | func (x *ListProductsResp) Reset() { method String (line 191) | func (x *ListProductsResp) String() string { method ProtoMessage (line 195) | func (*ListProductsResp) ProtoMessage() {} method ProtoReflect (line 197) | func (x *ListProductsResp) ProtoReflect() protoreflect.Message { method Descriptor (line 210) | func (*ListProductsResp) Descriptor() ([]byte, []int) { method GetProducts (line 214) | func (x *ListProductsResp) GetProducts() []*Product { type GetProductReq (line 221) | type GetProductReq struct method Reset (line 229) | func (x *GetProductReq) Reset() { method String (line 238) | func (x *GetProductReq) String() string { method ProtoMessage (line 242) | func (*GetProductReq) ProtoMessage() {} method ProtoReflect (line 244) | func (x *GetProductReq) ProtoReflect() protoreflect.Message { method Descriptor (line 257) | func (*GetProductReq) Descriptor() ([]byte, []int) { method GetId (line 261) | func (x *GetProductReq) GetId() uint32 { type GetProductResp (line 268) | type GetProductResp struct method Reset (line 276) | func (x *GetProductResp) Reset() { method String (line 285) | func (x *GetProductResp) String() string { method ProtoMessage (line 289) | func (*GetProductResp) ProtoMessage() {} method ProtoReflect (line 291) | func (x *GetProductResp) ProtoReflect() protoreflect.Message { method Descriptor (line 304) | func (*GetProductResp) Descriptor() ([]byte, []int) { method GetProduct (line 308) | func (x *GetProductResp) GetProduct() *Product { type SearchProductsReq (line 315) | type SearchProductsReq struct method Reset (line 323) | func (x *SearchProductsReq) Reset() { method String (line 332) | func (x *SearchProductsReq) String() string { method ProtoMessage (line 336) | func (*SearchProductsReq) ProtoMessage() {} method ProtoReflect (line 338) | func (x *SearchProductsReq) ProtoReflect() protoreflect.Message { method Descriptor (line 351) | func (*SearchProductsReq) Descriptor() ([]byte, []int) { method GetQuery (line 355) | func (x *SearchProductsReq) GetQuery() string { type SearchProductsResp (line 362) | type SearchProductsResp struct method Reset (line 370) | func (x *SearchProductsResp) Reset() { method String (line 379) | func (x *SearchProductsResp) String() string { method ProtoMessage (line 383) | func (*SearchProductsResp) ProtoMessage() {} method ProtoReflect (line 385) | func (x *SearchProductsResp) ProtoReflect() protoreflect.Message { method Descriptor (line 398) | func (*SearchProductsResp) Descriptor() ([]byte, []int) { method GetResults (line 402) | func (x *SearchProductsResp) GetResults() []*Product { function file_product_proto_rawDescGZIP (line 474) | func file_product_proto_rawDescGZIP() []byte { function init (line 508) | func init() { file_product_proto_init() } function file_product_proto_init (line 509) | func file_product_proto_init() { type ProductCatalogService (line 623) | type ProductCatalogService interface FILE: gomall/tutorial/ch15/rpc_gen/kitex_gen/product/productcatalogservice/client.go type Client (line 13) | type Client interface function NewClient (line 20) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 36) | func MustNewClient(destService string, opts ...client.Option) Client { type kProductCatalogServiceClient (line 44) | type kProductCatalogServiceClient struct method ListProducts (line 48) | func (p *kProductCatalogServiceClient) ListProducts(ctx context.Contex... method GetProduct (line 53) | func (p *kProductCatalogServiceClient) GetProduct(ctx context.Context,... method SearchProducts (line 58) | func (p *kProductCatalogServiceClient) SearchProducts(ctx context.Cont... FILE: gomall/tutorial/ch15/rpc_gen/kitex_gen/product/productcatalogservice/invoker.go function NewInvoker (line 11) | func NewInvoker(handler product.ProductCatalogService, opts ...server.Op... FILE: gomall/tutorial/ch15/rpc_gen/kitex_gen/product/productcatalogservice/productcatalogservice.go function serviceInfo (line 14) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 20) | func NewServiceInfo() *kitex.ServiceInfo { function listProductsHandler (line 43) | func listProductsHandler(ctx context.Context, handler interface{}, arg, ... function newListProductsArgs (line 68) | func newListProductsArgs() interface{} { function newListProductsResult (line 72) | func newListProductsResult() interface{} { type ListProductsArgs (line 76) | type ListProductsArgs struct method FastRead (line 80) | func (p *ListProductsArgs) FastRead(buf []byte, _type int8, number int... method FastWrite (line 87) | func (p *ListProductsArgs) FastWrite(buf []byte) (n int) { method Size (line 94) | func (p *ListProductsArgs) Size() (n int) { method Marshal (line 101) | func (p *ListProductsArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 108) | func (p *ListProductsArgs) Unmarshal(in []byte) error { method GetReq (line 119) | func (p *ListProductsArgs) GetReq() *product.ListProductsReq { method IsSetReq (line 126) | func (p *ListProductsArgs) IsSetReq() bool { method GetFirstArgument (line 130) | func (p *ListProductsArgs) GetFirstArgument() interface{} { type ListProductsResult (line 134) | type ListProductsResult struct method FastRead (line 140) | func (p *ListProductsResult) FastRead(buf []byte, _type int8, number i... method FastWrite (line 147) | func (p *ListProductsResult) FastWrite(buf []byte) (n int) { method Size (line 154) | func (p *ListProductsResult) Size() (n int) { method Marshal (line 161) | func (p *ListProductsResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 168) | func (p *ListProductsResult) Unmarshal(in []byte) error { method GetSuccess (line 177) | func (p *ListProductsResult) GetSuccess() *product.ListProductsResp { method SetSuccess (line 184) | func (p *ListProductsResult) SetSuccess(x interface{}) { method IsSetSuccess (line 188) | func (p *ListProductsResult) IsSetSuccess() bool { method GetResult (line 192) | func (p *ListProductsResult) GetResult() interface{} { function getProductHandler (line 196) | func getProductHandler(ctx context.Context, handler interface{}, arg, re... function newGetProductArgs (line 221) | func newGetProductArgs() interface{} { function newGetProductResult (line 225) | func newGetProductResult() interface{} { type GetProductArgs (line 229) | type GetProductArgs struct method FastRead (line 233) | func (p *GetProductArgs) FastRead(buf []byte, _type int8, number int32... method FastWrite (line 240) | func (p *GetProductArgs) FastWrite(buf []byte) (n int) { method Size (line 247) | func (p *GetProductArgs) Size() (n int) { method Marshal (line 254) | func (p *GetProductArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 261) | func (p *GetProductArgs) Unmarshal(in []byte) error { method GetReq (line 272) | func (p *GetProductArgs) GetReq() *product.GetProductReq { method IsSetReq (line 279) | func (p *GetProductArgs) IsSetReq() bool { method GetFirstArgument (line 283) | func (p *GetProductArgs) GetFirstArgument() interface{} { type GetProductResult (line 287) | type GetProductResult struct method FastRead (line 293) | func (p *GetProductResult) FastRead(buf []byte, _type int8, number int... method FastWrite (line 300) | func (p *GetProductResult) FastWrite(buf []byte) (n int) { method Size (line 307) | func (p *GetProductResult) Size() (n int) { method Marshal (line 314) | func (p *GetProductResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 321) | func (p *GetProductResult) Unmarshal(in []byte) error { method GetSuccess (line 330) | func (p *GetProductResult) GetSuccess() *product.GetProductResp { method SetSuccess (line 337) | func (p *GetProductResult) SetSuccess(x interface{}) { method IsSetSuccess (line 341) | func (p *GetProductResult) IsSetSuccess() bool { method GetResult (line 345) | func (p *GetProductResult) GetResult() interface{} { function searchProductsHandler (line 349) | func searchProductsHandler(ctx context.Context, handler interface{}, arg... function newSearchProductsArgs (line 374) | func newSearchProductsArgs() interface{} { function newSearchProductsResult (line 378) | func newSearchProductsResult() interface{} { type SearchProductsArgs (line 382) | type SearchProductsArgs struct method FastRead (line 386) | func (p *SearchProductsArgs) FastRead(buf []byte, _type int8, number i... method FastWrite (line 393) | func (p *SearchProductsArgs) FastWrite(buf []byte) (n int) { method Size (line 400) | func (p *SearchProductsArgs) Size() (n int) { method Marshal (line 407) | func (p *SearchProductsArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 414) | func (p *SearchProductsArgs) Unmarshal(in []byte) error { method GetReq (line 425) | func (p *SearchProductsArgs) GetReq() *product.SearchProductsReq { method IsSetReq (line 432) | func (p *SearchProductsArgs) IsSetReq() bool { method GetFirstArgument (line 436) | func (p *SearchProductsArgs) GetFirstArgument() interface{} { type SearchProductsResult (line 440) | type SearchProductsResult struct method FastRead (line 446) | func (p *SearchProductsResult) FastRead(buf []byte, _type int8, number... method FastWrite (line 453) | func (p *SearchProductsResult) FastWrite(buf []byte) (n int) { method Size (line 460) | func (p *SearchProductsResult) Size() (n int) { method Marshal (line 467) | func (p *SearchProductsResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 474) | func (p *SearchProductsResult) Unmarshal(in []byte) error { method GetSuccess (line 483) | func (p *SearchProductsResult) GetSuccess() *product.SearchProductsResp { method SetSuccess (line 490) | func (p *SearchProductsResult) SetSuccess(x interface{}) { method IsSetSuccess (line 494) | func (p *SearchProductsResult) IsSetSuccess() bool { method GetResult (line 498) | func (p *SearchProductsResult) GetResult() interface{} { type kClient (line 502) | type kClient struct method ListProducts (line 512) | func (p *kClient) ListProducts(ctx context.Context, Req *product.ListP... method GetProduct (line 522) | func (p *kClient) GetProduct(ctx context.Context, Req *product.GetProd... method SearchProducts (line 532) | func (p *kClient) SearchProducts(ctx context.Context, Req *product.Sea... function newServiceClient (line 506) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch15/rpc_gen/kitex_gen/product/productcatalogservice/server.go function NewServer (line 10) | func NewServer(handler product.ProductCatalogService, opts ...server.Opt... FILE: gomall/tutorial/ch15/rpc_gen/kitex_gen/user/user.pb.fast.go method FastRead (line 15) | func (x *RegisterReq) FastRead(buf []byte, _type int8, number int32) (of... method fastReadField1 (line 45) | func (x *RegisterReq) fastReadField1(buf []byte, _type int8) (offset int... method fastReadField2 (line 50) | func (x *RegisterReq) fastReadField2(buf []byte, _type int8) (offset int... method fastReadField3 (line 55) | func (x *RegisterReq) fastReadField3(buf []byte, _type int8) (offset int... method FastRead (line 60) | func (x *RegisterResp) FastRead(buf []byte, _type int8, number int32) (o... method fastReadField1 (line 80) | func (x *RegisterResp) fastReadField1(buf []byte, _type int8) (offset in... method FastRead (line 85) | func (x *LoginReq) FastRead(buf []byte, _type int8, number int32) (offse... method fastReadField1 (line 110) | func (x *LoginReq) fastReadField1(buf []byte, _type int8) (offset int, e... method fastReadField2 (line 115) | func (x *LoginReq) fastReadField2(buf []byte, _type int8) (offset int, e... method FastRead (line 120) | func (x *LoginResp) FastRead(buf []byte, _type int8, number int32) (offs... method fastReadField1 (line 140) | func (x *LoginResp) fastReadField1(buf []byte, _type int8) (offset int, ... method FastWrite (line 145) | func (x *RegisterReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 155) | func (x *RegisterReq) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 163) | func (x *RegisterReq) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 171) | func (x *RegisterReq) fastWriteField3(buf []byte) (offset int) { method FastWrite (line 179) | func (x *RegisterResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 187) | func (x *RegisterResp) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 195) | func (x *LoginReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 204) | func (x *LoginReq) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 212) | func (x *LoginReq) fastWriteField2(buf []byte) (offset int) { method FastWrite (line 220) | func (x *LoginResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 228) | func (x *LoginResp) fastWriteField1(buf []byte) (offset int) { method Size (line 236) | func (x *RegisterReq) Size() (n int) { method sizeField1 (line 246) | func (x *RegisterReq) sizeField1() (n int) { method sizeField2 (line 254) | func (x *RegisterReq) sizeField2() (n int) { method sizeField3 (line 262) | func (x *RegisterReq) sizeField3() (n int) { method Size (line 270) | func (x *RegisterResp) Size() (n int) { method sizeField1 (line 278) | func (x *RegisterResp) sizeField1() (n int) { method Size (line 286) | func (x *LoginReq) Size() (n int) { method sizeField1 (line 295) | func (x *LoginReq) sizeField1() (n int) { method sizeField2 (line 303) | func (x *LoginReq) sizeField2() (n int) { method Size (line 311) | func (x *LoginResp) Size() (n int) { method sizeField1 (line 319) | func (x *LoginResp) sizeField1() (n int) { FILE: gomall/tutorial/ch15/rpc_gen/kitex_gen/user/user.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type RegisterReq (line 24) | type RegisterReq struct method Reset (line 34) | func (x *RegisterReq) Reset() { method String (line 43) | func (x *RegisterReq) String() string { method ProtoMessage (line 47) | func (*RegisterReq) ProtoMessage() {} method ProtoReflect (line 49) | func (x *RegisterReq) ProtoReflect() protoreflect.Message { method Descriptor (line 62) | func (*RegisterReq) Descriptor() ([]byte, []int) { method GetEmail (line 66) | func (x *RegisterReq) GetEmail() string { method GetPassword (line 73) | func (x *RegisterReq) GetPassword() string { method GetConfirmPassword (line 80) | func (x *RegisterReq) GetConfirmPassword() string { type RegisterResp (line 87) | type RegisterResp struct method Reset (line 95) | func (x *RegisterResp) Reset() { method String (line 104) | func (x *RegisterResp) String() string { method ProtoMessage (line 108) | func (*RegisterResp) ProtoMessage() {} method ProtoReflect (line 110) | func (x *RegisterResp) ProtoReflect() protoreflect.Message { method Descriptor (line 123) | func (*RegisterResp) Descriptor() ([]byte, []int) { method GetUserId (line 127) | func (x *RegisterResp) GetUserId() int32 { type LoginReq (line 134) | type LoginReq struct method Reset (line 143) | func (x *LoginReq) Reset() { method String (line 152) | func (x *LoginReq) String() string { method ProtoMessage (line 156) | func (*LoginReq) ProtoMessage() {} method ProtoReflect (line 158) | func (x *LoginReq) ProtoReflect() protoreflect.Message { method Descriptor (line 171) | func (*LoginReq) Descriptor() ([]byte, []int) { method GetEmail (line 175) | func (x *LoginReq) GetEmail() string { method GetPassword (line 182) | func (x *LoginReq) GetPassword() string { type LoginResp (line 189) | type LoginResp struct method Reset (line 197) | func (x *LoginResp) Reset() { method String (line 206) | func (x *LoginResp) String() string { method ProtoMessage (line 210) | func (*LoginResp) ProtoMessage() {} method ProtoReflect (line 212) | func (x *LoginResp) ProtoReflect() protoreflect.Message { method Descriptor (line 225) | func (*LoginResp) Descriptor() ([]byte, []int) { method GetUserId (line 229) | func (x *LoginResp) GetUserId() int32 { function file_user_proto_rawDescGZIP (line 275) | func file_user_proto_rawDescGZIP() []byte { function init (line 301) | func init() { file_user_proto_init() } function file_user_proto_init (line 302) | func file_user_proto_init() { type UserService (line 380) | type UserService interface FILE: gomall/tutorial/ch15/rpc_gen/kitex_gen/user/userservice/client.go type Client (line 13) | type Client interface function NewClient (line 19) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 35) | func MustNewClient(destService string, opts ...client.Option) Client { type kUserServiceClient (line 43) | type kUserServiceClient struct method Register (line 47) | func (p *kUserServiceClient) Register(ctx context.Context, Req *user.R... method Login (line 52) | func (p *kUserServiceClient) Login(ctx context.Context, Req *user.Logi... FILE: gomall/tutorial/ch15/rpc_gen/kitex_gen/user/userservice/invoker.go function NewInvoker (line 11) | func NewInvoker(handler user.UserService, opts ...server.Option) server.... FILE: gomall/tutorial/ch15/rpc_gen/kitex_gen/user/userservice/server.go function NewServer (line 10) | func NewServer(handler user.UserService, opts ...server.Option) server.S... FILE: gomall/tutorial/ch15/rpc_gen/kitex_gen/user/userservice/userservice.go function serviceInfo (line 14) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 20) | func NewServiceInfo() *kitex.ServiceInfo { function registerHandler (line 42) | func registerHandler(ctx context.Context, handler interface{}, arg, resu... function newRegisterArgs (line 67) | func newRegisterArgs() interface{} { function newRegisterResult (line 71) | func newRegisterResult() interface{} { type RegisterArgs (line 75) | type RegisterArgs struct method FastRead (line 79) | func (p *RegisterArgs) FastRead(buf []byte, _type int8, number int32) ... method FastWrite (line 86) | func (p *RegisterArgs) FastWrite(buf []byte) (n int) { method Size (line 93) | func (p *RegisterArgs) Size() (n int) { method Marshal (line 100) | func (p *RegisterArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 107) | func (p *RegisterArgs) Unmarshal(in []byte) error { method GetReq (line 118) | func (p *RegisterArgs) GetReq() *user.RegisterReq { method IsSetReq (line 125) | func (p *RegisterArgs) IsSetReq() bool { method GetFirstArgument (line 129) | func (p *RegisterArgs) GetFirstArgument() interface{} { type RegisterResult (line 133) | type RegisterResult struct method FastRead (line 139) | func (p *RegisterResult) FastRead(buf []byte, _type int8, number int32... method FastWrite (line 146) | func (p *RegisterResult) FastWrite(buf []byte) (n int) { method Size (line 153) | func (p *RegisterResult) Size() (n int) { method Marshal (line 160) | func (p *RegisterResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 167) | func (p *RegisterResult) Unmarshal(in []byte) error { method GetSuccess (line 176) | func (p *RegisterResult) GetSuccess() *user.RegisterResp { method SetSuccess (line 183) | func (p *RegisterResult) SetSuccess(x interface{}) { method IsSetSuccess (line 187) | func (p *RegisterResult) IsSetSuccess() bool { method GetResult (line 191) | func (p *RegisterResult) GetResult() interface{} { function loginHandler (line 195) | func loginHandler(ctx context.Context, handler interface{}, arg, result ... function newLoginArgs (line 220) | func newLoginArgs() interface{} { function newLoginResult (line 224) | func newLoginResult() interface{} { type LoginArgs (line 228) | type LoginArgs struct method FastRead (line 232) | func (p *LoginArgs) FastRead(buf []byte, _type int8, number int32) (n ... method FastWrite (line 239) | func (p *LoginArgs) FastWrite(buf []byte) (n int) { method Size (line 246) | func (p *LoginArgs) Size() (n int) { method Marshal (line 253) | func (p *LoginArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 260) | func (p *LoginArgs) Unmarshal(in []byte) error { method GetReq (line 271) | func (p *LoginArgs) GetReq() *user.LoginReq { method IsSetReq (line 278) | func (p *LoginArgs) IsSetReq() bool { method GetFirstArgument (line 282) | func (p *LoginArgs) GetFirstArgument() interface{} { type LoginResult (line 286) | type LoginResult struct method FastRead (line 292) | func (p *LoginResult) FastRead(buf []byte, _type int8, number int32) (... method FastWrite (line 299) | func (p *LoginResult) FastWrite(buf []byte) (n int) { method Size (line 306) | func (p *LoginResult) Size() (n int) { method Marshal (line 313) | func (p *LoginResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 320) | func (p *LoginResult) Unmarshal(in []byte) error { method GetSuccess (line 329) | func (p *LoginResult) GetSuccess() *user.LoginResp { method SetSuccess (line 336) | func (p *LoginResult) SetSuccess(x interface{}) { method IsSetSuccess (line 340) | func (p *LoginResult) IsSetSuccess() bool { method GetResult (line 344) | func (p *LoginResult) GetResult() interface{} { type kClient (line 348) | type kClient struct method Register (line 358) | func (p *kClient) Register(ctx context.Context, Req *user.RegisterReq)... method Login (line 368) | func (p *kClient) Login(ctx context.Context, Req *user.LoginReq) (r *u... function newServiceClient (line 352) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch15/rpc_gen/rpc/cart/cart_client.go type RPCClient (line 12) | type RPCClient interface function NewRPCClient (line 20) | func NewRPCClient(dstService string, opts ...client.Option) (RPCClient, ... type clientImpl (line 33) | type clientImpl struct method Service (line 38) | func (c *clientImpl) Service() string { method KitexClient (line 42) | func (c *clientImpl) KitexClient() cartservice.Client { method AddItem (line 46) | func (c *clientImpl) AddItem(ctx context.Context, Req *cart.AddItemReq... method GetCart (line 50) | func (c *clientImpl) GetCart(ctx context.Context, Req *cart.GetCartReq... method EmptyCart (line 54) | func (c *clientImpl) EmptyCart(ctx context.Context, Req *cart.EmptyCar... FILE: gomall/tutorial/ch15/rpc_gen/rpc/cart/cart_default.go function AddItem (line 10) | func AddItem(ctx context.Context, req *cart.AddItemReq, callOptions ...c... function GetCart (line 19) | func GetCart(ctx context.Context, req *cart.GetCartReq, callOptions ...c... function EmptyCart (line 28) | func EmptyCart(ctx context.Context, req *cart.EmptyCartReq, callOptions ... FILE: gomall/tutorial/ch15/rpc_gen/rpc/cart/cart_init.go function init (line 19) | func init() { function DefaultClient (line 23) | func DefaultClient() RPCClient { function newClient (line 30) | func newClient(dstService string, opts ...client.Option) RPCClient { function InitClient (line 38) | func InitClient(dstService string, opts ...client.Option) { FILE: gomall/tutorial/ch15/rpc_gen/rpc/checkout/checkout_client.go type RPCClient (line 12) | type RPCClient interface function NewRPCClient (line 18) | func NewRPCClient(dstService string, opts ...client.Option) (RPCClient, ... type clientImpl (line 31) | type clientImpl struct method Service (line 36) | func (c *clientImpl) Service() string { method KitexClient (line 40) | func (c *clientImpl) KitexClient() checkoutservice.Client { method Checkout (line 44) | func (c *clientImpl) Checkout(ctx context.Context, Req *checkout.Check... FILE: gomall/tutorial/ch15/rpc_gen/rpc/checkout/checkout_default.go function Checkout (line 10) | func Checkout(ctx context.Context, req *checkout.CheckoutReq, callOption... FILE: gomall/tutorial/ch15/rpc_gen/rpc/checkout/checkout_init.go function init (line 19) | func init() { function DefaultClient (line 23) | func DefaultClient() RPCClient { function newClient (line 30) | func newClient(dstService string, opts ...client.Option) RPCClient { function InitClient (line 38) | func InitClient(dstService string, opts ...client.Option) { FILE: gomall/tutorial/ch15/rpc_gen/rpc/email/email_client.go type RPCClient (line 12) | type RPCClient interface function NewRPCClient (line 18) | func NewRPCClient(dstService string, opts ...client.Option) (RPCClient, ... type clientImpl (line 31) | type clientImpl struct method Service (line 36) | func (c *clientImpl) Service() string { method KitexClient (line 40) | func (c *clientImpl) KitexClient() emailservice.Client { method Send (line 44) | func (c *clientImpl) Send(ctx context.Context, Req *email.EmailReq, ca... FILE: gomall/tutorial/ch15/rpc_gen/rpc/email/email_default.go function Send (line 10) | func Send(ctx context.Context, req *email.EmailReq, callOptions ...callo... FILE: gomall/tutorial/ch15/rpc_gen/rpc/email/email_init.go function init (line 19) | func init() { function DefaultClient (line 23) | func DefaultClient() RPCClient { function newClient (line 30) | func newClient(dstService string, opts ...client.Option) RPCClient { function InitClient (line 38) | func InitClient(dstService string, opts ...client.Option) { FILE: gomall/tutorial/ch15/rpc_gen/rpc/order/order_client.go type RPCClient (line 12) | type RPCClient interface function NewRPCClient (line 19) | func NewRPCClient(dstService string, opts ...client.Option) (RPCClient, ... type clientImpl (line 32) | type clientImpl struct method Service (line 37) | func (c *clientImpl) Service() string { method KitexClient (line 41) | func (c *clientImpl) KitexClient() orderservice.Client { method PlaceOrder (line 45) | func (c *clientImpl) PlaceOrder(ctx context.Context, Req *order.PlaceO... method ListOrder (line 49) | func (c *clientImpl) ListOrder(ctx context.Context, Req *order.ListOrd... FILE: gomall/tutorial/ch15/rpc_gen/rpc/order/order_default.go function PlaceOrder (line 10) | func PlaceOrder(ctx context.Context, req *order.PlaceOrderReq, callOptio... function ListOrder (line 19) | func ListOrder(ctx context.Context, req *order.ListOrderReq, callOptions... FILE: gomall/tutorial/ch15/rpc_gen/rpc/order/order_init.go function init (line 19) | func init() { function DefaultClient (line 23) | func DefaultClient() RPCClient { function newClient (line 30) | func newClient(dstService string, opts ...client.Option) RPCClient { function InitClient (line 38) | func InitClient(dstService string, opts ...client.Option) { FILE: gomall/tutorial/ch15/rpc_gen/rpc/payment/payment_client.go type RPCClient (line 12) | type RPCClient interface function NewRPCClient (line 18) | func NewRPCClient(dstService string, opts ...client.Option) (RPCClient, ... type clientImpl (line 31) | type clientImpl struct method Service (line 36) | func (c *clientImpl) Service() string { method KitexClient (line 40) | func (c *clientImpl) KitexClient() paymentservice.Client { method Charge (line 44) | func (c *clientImpl) Charge(ctx context.Context, Req *payment.ChargeRe... FILE: gomall/tutorial/ch15/rpc_gen/rpc/payment/payment_default.go function Charge (line 10) | func Charge(ctx context.Context, req *payment.ChargeReq, callOptions ...... FILE: gomall/tutorial/ch15/rpc_gen/rpc/payment/payment_init.go function init (line 19) | func init() { function DefaultClient (line 23) | func DefaultClient() RPCClient { function newClient (line 30) | func newClient(dstService string, opts ...client.Option) RPCClient { function InitClient (line 38) | func InitClient(dstService string, opts ...client.Option) { FILE: gomall/tutorial/ch15/rpc_gen/rpc/product/product_client.go type RPCClient (line 12) | type RPCClient interface function NewRPCClient (line 20) | func NewRPCClient(dstService string, opts ...client.Option) (RPCClient, ... type clientImpl (line 33) | type clientImpl struct method Service (line 38) | func (c *clientImpl) Service() string { method KitexClient (line 42) | func (c *clientImpl) KitexClient() productcatalogservice.Client { method ListProducts (line 46) | func (c *clientImpl) ListProducts(ctx context.Context, Req *product.Li... method GetProduct (line 50) | func (c *clientImpl) GetProduct(ctx context.Context, Req *product.GetP... method SearchProducts (line 54) | func (c *clientImpl) SearchProducts(ctx context.Context, Req *product.... FILE: gomall/tutorial/ch15/rpc_gen/rpc/product/product_default.go function ListProducts (line 10) | func ListProducts(ctx context.Context, req *product.ListProductsReq, cal... function GetProduct (line 19) | func GetProduct(ctx context.Context, req *product.GetProductReq, callOpt... function SearchProducts (line 28) | func SearchProducts(ctx context.Context, req *product.SearchProductsReq,... FILE: gomall/tutorial/ch15/rpc_gen/rpc/product/product_init.go function init (line 19) | func init() { function DefaultClient (line 23) | func DefaultClient() RPCClient { function newClient (line 30) | func newClient(dstService string, opts ...client.Option) RPCClient { function InitClient (line 38) | func InitClient(dstService string, opts ...client.Option) { FILE: gomall/tutorial/ch15/rpc_gen/rpc/user/user_client.go type RPCClient (line 12) | type RPCClient interface function NewRPCClient (line 19) | func NewRPCClient(dstService string, opts ...client.Option) (RPCClient, ... type clientImpl (line 32) | type clientImpl struct method Service (line 37) | func (c *clientImpl) Service() string { method KitexClient (line 41) | func (c *clientImpl) KitexClient() userservice.Client { method Register (line 45) | func (c *clientImpl) Register(ctx context.Context, Req *user.RegisterR... method Login (line 49) | func (c *clientImpl) Login(ctx context.Context, Req *user.LoginReq, ca... FILE: gomall/tutorial/ch15/rpc_gen/rpc/user/user_default.go function Register (line 10) | func Register(ctx context.Context, req *user.RegisterReq, callOptions ..... function Login (line 19) | func Login(ctx context.Context, req *user.LoginReq, callOptions ...callo... FILE: gomall/tutorial/ch15/rpc_gen/rpc/user/user_init.go function init (line 19) | func init() { function DefaultClient (line 23) | func DefaultClient() RPCClient { function newClient (line 30) | func newClient(dstService string, opts ...client.Option) RPCClient { function InitClient (line 38) | func InitClient(dstService string, opts ...client.Option) { FILE: gomall/tutorial/ch16/app/cart/biz/dal/init.go function Init (line 21) | func Init() { FILE: gomall/tutorial/ch16/app/cart/biz/dal/mysql/init.go function Init (line 32) | func Init() { FILE: gomall/tutorial/ch16/app/cart/biz/dal/redis/init.go function Init (line 26) | func Init() { FILE: gomall/tutorial/ch16/app/cart/biz/model/base.go type Base (line 19) | type Base struct FILE: gomall/tutorial/ch16/app/cart/biz/model/cart.go type Cart (line 24) | type Cart struct method TableName (line 31) | func (c Cart) TableName() string { function GetCartByUserId (line 35) | func GetCartByUserId(db *gorm.DB, ctx context.Context, userId uint32) (c... function AddCart (line 40) | func AddCart(db *gorm.DB, ctx context.Context, c *Cart) error { function EmptyCart (line 54) | func EmptyCart(db *gorm.DB, ctx context.Context, userId uint32) error { FILE: gomall/tutorial/ch16/app/cart/biz/service/add_item.go type AddItemService (line 29) | type AddItemService struct method Run (line 37) | func (s *AddItemService) Run(req *cart.AddItemReq) (resp *cart.AddItem... function NewAddItemService (line 32) | func NewAddItemService(ctx context.Context) *AddItemService { FILE: gomall/tutorial/ch16/app/cart/biz/service/add_item_test.go function TestAddItem_Run (line 21) | func TestAddItem_Run(t *testing.T) { FILE: gomall/tutorial/ch16/app/cart/biz/service/empty_cart.go type EmptyCartService (line 26) | type EmptyCartService struct method Run (line 34) | func (s *EmptyCartService) Run(req *cart.EmptyCartReq) (resp *cart.Emp... function NewEmptyCartService (line 29) | func NewEmptyCartService(ctx context.Context) *EmptyCartService { FILE: gomall/tutorial/ch16/app/cart/biz/service/empty_cart_test.go function TestEmptyCart_Run (line 21) | func TestEmptyCart_Run(t *testing.T) { FILE: gomall/tutorial/ch16/app/cart/biz/service/get_cart.go type GetCartService (line 26) | type GetCartService struct method Run (line 34) | func (s *GetCartService) Run(req *cart.GetCartReq) (resp *cart.GetCart... function NewGetCartService (line 29) | func NewGetCartService(ctx context.Context) *GetCartService { FILE: gomall/tutorial/ch16/app/cart/biz/service/get_cart_test.go function TestGetCart_Run (line 21) | func TestGetCart_Run(t *testing.T) { FILE: gomall/tutorial/ch16/app/cart/conf/conf.go type Config (line 33) | type Config struct type MySQL (line 41) | type MySQL struct type Redis (line 45) | type Redis struct type Kitex (line 52) | type Kitex struct type Registry (line 66) | type Registry struct function GetConf (line 73) | func GetConf() *Config { function initConf (line 78) | func initConf() { function GetEnv (line 99) | func GetEnv() string { function LogLevel (line 107) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch16/app/cart/handler.go type CartServiceImpl (line 25) | type CartServiceImpl struct method AddItem (line 28) | func (s *CartServiceImpl) AddItem(ctx context.Context, req *cart.AddIt... method GetCart (line 35) | func (s *CartServiceImpl) GetCart(ctx context.Context, req *cart.GetCa... method EmptyCart (line 42) | func (s *CartServiceImpl) EmptyCart(ctx context.Context, req *cart.Emp... FILE: gomall/tutorial/ch16/app/cart/infra/rpc/client.go function InitClient (line 37) | func InitClient() { function initProductClient (line 43) | func initProductClient() { FILE: gomall/tutorial/ch16/app/cart/main.go function main (line 36) | func main() { function kitexInit (line 53) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch16/app/cart/script/cart.sql type cart (line 1) | create table cart FILE: gomall/tutorial/ch16/app/cart/utils/errors.go function MustHandleError (line 20) | func MustHandleError(err error) { function ShouldHandleError (line 27) | func ShouldHandleError(err error) { FILE: gomall/tutorial/ch16/app/checkout/biz/dal/init.go function Init (line 22) | func Init() { FILE: gomall/tutorial/ch16/app/checkout/biz/dal/mysql/init.go function Init (line 29) | func Init() { FILE: gomall/tutorial/ch16/app/checkout/biz/dal/redis/init.go function Init (line 26) | func Init() { FILE: gomall/tutorial/ch16/app/checkout/biz/service/checkout.go type CheckoutService (line 36) | type CheckoutService struct method Run (line 54) | func (s *CheckoutService) Run(req *checkout.CheckoutReq) (resp *checko... function NewCheckoutService (line 39) | func NewCheckoutService(ctx context.Context) *CheckoutService { FILE: gomall/tutorial/ch16/app/checkout/biz/service/checkout_test.go function TestCheckout_Run (line 21) | func TestCheckout_Run(t *testing.T) { FILE: gomall/tutorial/ch16/app/checkout/conf/conf.go type Config (line 33) | type Config struct type MySQL (line 42) | type MySQL struct type Redis (line 46) | type Redis struct type Kitex (line 53) | type Kitex struct type Registry (line 67) | type Registry struct type Nats (line 73) | type Nats struct function GetConf (line 78) | func GetConf() *Config { function initConf (line 83) | func initConf() { function GetEnv (line 104) | func GetEnv() string { function LogLevel (line 112) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch16/app/checkout/handler.go type CheckoutServiceImpl (line 25) | type CheckoutServiceImpl struct method PlaceOrder (line 28) | func (s *CheckoutServiceImpl) PlaceOrder(ctx context.Context, req *che... method Checkout (line 35) | func (s *CheckoutServiceImpl) Checkout(ctx context.Context, req *check... FILE: gomall/tutorial/ch16/app/checkout/infra/mq/nats.go function Init (line 27) | func Init() { FILE: gomall/tutorial/ch16/app/checkout/infra/rpc/client.go function InitClient (line 49) | func InitClient() { function initProductClient (line 58) | func initProductClient() { function initCartClient (line 77) | func initCartClient() { function initPaymentClient (line 95) | func initPaymentClient() { function initOrderClient (line 109) | func initOrderClient() { FILE: gomall/tutorial/ch16/app/checkout/main.go function main (line 37) | func main() { function kitexInit (line 55) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch16/app/checkout/utils/errors.go function MustHandleError (line 20) | func MustHandleError(err error) { function ShouldHandleError (line 27) | func ShouldHandleError(err error) { FILE: gomall/tutorial/ch16/app/email/biz/consumer/consumer.go function Init (line 19) | func Init() { FILE: gomall/tutorial/ch16/app/email/biz/consumer/email/email.go function ConsumerInit (line 28) | func ConsumerInit() { FILE: gomall/tutorial/ch16/app/email/biz/consumer/email/email_test.go function TestEmailConsumer (line 26) | func TestEmailConsumer(t *testing.T) { FILE: gomall/tutorial/ch16/app/email/biz/dal/init.go function Init (line 22) | func Init() { FILE: gomall/tutorial/ch16/app/email/biz/dal/mysql/init.go function Init (line 29) | func Init() { FILE: gomall/tutorial/ch16/app/email/biz/dal/redis/init.go function Init (line 26) | func Init() { FILE: gomall/tutorial/ch16/app/email/biz/service/send.go type SendService (line 23) | type SendService struct method Run (line 31) | func (s *SendService) Run(req *email.EmailReq) (resp *email.EmailResp,... function NewSendService (line 26) | func NewSendService(ctx context.Context) *SendService { FILE: gomall/tutorial/ch16/app/email/biz/service/send_test.go function TestSend_Run (line 24) | func TestSend_Run(t *testing.T) { FILE: gomall/tutorial/ch16/app/email/conf/conf.go type Config (line 33) | type Config struct type MySQL (line 42) | type MySQL struct type Redis (line 46) | type Redis struct type Kitex (line 53) | type Kitex struct type Registry (line 66) | type Registry struct type Nats (line 72) | type Nats struct function GetConf (line 77) | func GetConf() *Config { function initConf (line 82) | func initConf() { function GetEnv (line 103) | func GetEnv() string { function LogLevel (line 111) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch16/app/email/handler.go type EmailServiceImpl (line 25) | type EmailServiceImpl struct method Send (line 28) | func (s *EmailServiceImpl) Send(ctx context.Context, req *email.EmailR... FILE: gomall/tutorial/ch16/app/email/infra/mq/nats.go function Init (line 27) | func Init() { FILE: gomall/tutorial/ch16/app/email/infra/notify/email.go type NoopEmail (line 22) | type NoopEmail struct method Send (line 24) | func (e *NoopEmail) Send(req *email.EmailReq) error { function NewNoopEmail (line 29) | func NewNoopEmail() NoopEmail { FILE: gomall/tutorial/ch16/app/email/main.go function main (line 29) | func main() { function kitexInit (line 42) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch16/app/frontend/biz/dal/init.go function Init (line 22) | func Init() { FILE: gomall/tutorial/ch16/app/frontend/biz/dal/mysql/init.go function Init (line 28) | func Init() { FILE: gomall/tutorial/ch16/app/frontend/biz/dal/redis/init.go function Init (line 26) | func Init() { FILE: gomall/tutorial/ch16/app/frontend/biz/handler/auth/auth_service.go function Register (line 31) | func Register(ctx context.Context, c *app.RequestContext) { function Login (line 50) | func Login(ctx context.Context, c *app.RequestContext) { function Logout (line 70) | func Logout(ctx context.Context, c *app.RequestContext) { FILE: gomall/tutorial/ch16/app/frontend/biz/handler/auth/auth_service_test.go function TestRegister (line 26) | func TestRegister(t *testing.T) { function TestLogin (line 41) | func TestLogin(t *testing.T) { function TestLogout (line 56) | func TestLogout(t *testing.T) { FILE: gomall/tutorial/ch16/app/frontend/biz/handler/cart/cart_service.go function AddCartItem (line 31) | func AddCartItem(ctx context.Context, c *app.RequestContext) { function GetCart (line 51) | func GetCart(ctx context.Context, c *app.RequestContext) { FILE: gomall/tutorial/ch16/app/frontend/biz/handler/cart/cart_service_test.go function TestAddCartItem (line 26) | func TestAddCartItem(t *testing.T) { function TestGetCart (line 41) | func TestGetCart(t *testing.T) { FILE: gomall/tutorial/ch16/app/frontend/biz/handler/category/category_service.go function Category (line 29) | func Category(ctx context.Context, c *app.RequestContext) { FILE: gomall/tutorial/ch16/app/frontend/biz/handler/category/category_service_test.go function TestCategory (line 26) | func TestCategory(t *testing.T) { FILE: gomall/tutorial/ch16/app/frontend/biz/handler/checkout/checkout_service.go function Checkout (line 31) | func Checkout(ctx context.Context, c *app.RequestContext) { function CheckoutWaiting (line 51) | func CheckoutWaiting(ctx context.Context, c *app.RequestContext) { function CheckoutResult (line 71) | func CheckoutResult(ctx context.Context, c *app.RequestContext) { FILE: gomall/tutorial/ch16/app/frontend/biz/handler/checkout/checkout_service_test.go function TestCheckout (line 26) | func TestCheckout(t *testing.T) { function TestCheckoutWaiting (line 41) | func TestCheckoutWaiting(t *testing.T) { function TestCheckoutResult (line 56) | func TestCheckoutResult(t *testing.T) { FILE: gomall/tutorial/ch16/app/frontend/biz/handler/home/home_service.go function Home (line 29) | func Home(ctx context.Context, c *app.RequestContext) { FILE: gomall/tutorial/ch16/app/frontend/biz/handler/home/home_service_test.go function TestHome (line 26) | func TestHome(t *testing.T) { FILE: gomall/tutorial/ch16/app/frontend/biz/handler/order/order_service.go function OrderList (line 30) | func OrderList(ctx context.Context, c *app.RequestContext) { FILE: gomall/tutorial/ch16/app/frontend/biz/handler/order/order_service_test.go function TestOrderList (line 26) | func TestOrderList(t *testing.T) { FILE: gomall/tutorial/ch16/app/frontend/biz/handler/product/product_service.go function GetProduct (line 29) | func GetProduct(ctx context.Context, c *app.RequestContext) { FILE: gomall/tutorial/ch16/app/frontend/biz/handler/product/product_service_test.go function TestGetProduct (line 26) | func TestGetProduct(t *testing.T) { FILE: gomall/tutorial/ch16/app/frontend/biz/router/auth/auth_page.go function Register (line 31) | func Register(r *server.Hertz) { FILE: gomall/tutorial/ch16/app/frontend/biz/router/auth/middleware.go function rootMw (line 23) | func rootMw() []app.HandlerFunc { function _authMw (line 28) | func _authMw() []app.HandlerFunc { function _loginMw (line 33) | func _loginMw() []app.HandlerFunc { function _logoutMw (line 38) | func _logoutMw() []app.HandlerFunc { function _registerMw (line 43) | func _registerMw() []app.HandlerFunc { FILE: gomall/tutorial/ch16/app/frontend/biz/router/cart/cart_page.go function Register (line 31) | func Register(r *server.Hertz) { FILE: gomall/tutorial/ch16/app/frontend/biz/router/cart/middleware.go function rootMw (line 24) | func rootMw() []app.HandlerFunc { function _addcartitemMw (line 30) | func _addcartitemMw() []app.HandlerFunc { function _getcartMw (line 35) | func _getcartMw() []app.HandlerFunc { FILE: gomall/tutorial/ch16/app/frontend/biz/router/category/category_page.go function Register (line 31) | func Register(r *server.Hertz) { FILE: gomall/tutorial/ch16/app/frontend/biz/router/category/middleware.go function rootMw (line 23) | func rootMw() []app.HandlerFunc { function _categoryMw (line 28) | func _categoryMw() []app.HandlerFunc { function _category0Mw (line 33) | func _category0Mw() []app.HandlerFunc { FILE: gomall/tutorial/ch16/app/frontend/biz/router/checkout/checkout_page.go function Register (line 31) | func Register(r *server.Hertz) { FILE: gomall/tutorial/ch16/app/frontend/biz/router/checkout/middleware.go function rootMw (line 23) | func rootMw() []app.HandlerFunc { function _checkoutMw (line 28) | func _checkoutMw() []app.HandlerFunc { function _checkout0Mw (line 33) | func _checkout0Mw() []app.HandlerFunc { function _checkoutresultMw (line 38) | func _checkoutresultMw() []app.HandlerFunc { function _checkoutwaitingMw (line 43) | func _checkoutwaitingMw() []app.HandlerFunc { FILE: gomall/tutorial/ch16/app/frontend/biz/router/home/home.go function Register (line 31) | func Register(r *server.Hertz) { FILE: gomall/tutorial/ch16/app/frontend/biz/router/home/middleware.go function rootMw (line 23) | func rootMw() []app.HandlerFunc { function _homeMw (line 28) | func _homeMw() []app.HandlerFunc { FILE: gomall/tutorial/ch16/app/frontend/biz/router/order/middleware.go function rootMw (line 23) | func rootMw() []app.HandlerFunc { function _orderlistMw (line 28) | func _orderlistMw() []app.HandlerFunc { FILE: gomall/tutorial/ch16/app/frontend/biz/router/order/order_page.go function Register (line 31) | func Register(r *server.Hertz) { FILE: gomall/tutorial/ch16/app/frontend/biz/router/product/middleware.go function rootMw (line 23) | func rootMw() []app.HandlerFunc { function _getproductMw (line 28) | func _getproductMw() []app.HandlerFunc { FILE: gomall/tutorial/ch16/app/frontend/biz/router/product/product_page.go function Register (line 31) | func Register(r *server.Hertz) { FILE: gomall/tutorial/ch16/app/frontend/biz/router/register.go function GeneratedRegister (line 31) | func GeneratedRegister(r *server.Hertz) { FILE: gomall/tutorial/ch16/app/frontend/biz/service/add_cart_item.go type AddCartItemService (line 28) | type AddCartItemService struct method Run (line 37) | func (h *AddCartItemService) Run(req *cart.AddCartReq) (resp *common.E... function NewAddCartItemService (line 33) | func NewAddCartItemService(Context context.Context, RequestContext *app.... FILE: gomall/tutorial/ch16/app/frontend/biz/service/category.go type CategoryService (line 27) | type CategoryService struct method Run (line 36) | func (h *CategoryService) Run(req *category.CategoryReq) (resp map[str... function NewCategoryService (line 32) | func NewCategoryService(Context context.Context, RequestContext *app.Req... FILE: gomall/tutorial/ch16/app/frontend/biz/service/checkout.go type CheckoutService (line 30) | type CheckoutService struct method Run (line 39) | func (h *CheckoutService) Run(req *checkout.CheckoutReq) (resp map[str... function NewCheckoutService (line 35) | func NewCheckoutService(Context context.Context, RequestContext *app.Req... FILE: gomall/tutorial/ch16/app/frontend/biz/service/checkout_result.go type CheckoutResultService (line 26) | type CheckoutResultService struct method Run (line 35) | func (h *CheckoutResultService) Run(req *common.Empty) (resp map[strin... function NewCheckoutResultService (line 31) | func NewCheckoutResultService(Context context.Context, RequestContext *a... FILE: gomall/tutorial/ch16/app/frontend/biz/service/checkout_waiting.go type CheckoutWaitingService (line 29) | type CheckoutWaitingService struct method Run (line 38) | func (h *CheckoutWaitingService) Run(req *checkout.CheckoutReq) (resp ... function NewCheckoutWaitingService (line 34) | func NewCheckoutWaitingService(Context context.Context, RequestContext *... FILE: gomall/tutorial/ch16/app/frontend/biz/service/get_cart.go type GetCartService (line 30) | type GetCartService struct method Run (line 39) | func (h *GetCartService) Run(req *common.Empty) (resp map[string]any, ... function NewGetCartService (line 35) | func NewGetCartService(Context context.Context, RequestContext *app.Requ... FILE: gomall/tutorial/ch16/app/frontend/biz/service/get_product.go type GetProductService (line 27) | type GetProductService struct method Run (line 36) | func (h *GetProductService) Run(req *product.ProductReq) (resp map[str... function NewGetProductService (line 32) | func NewGetProductService(Context context.Context, RequestContext *app.R... FILE: gomall/tutorial/ch16/app/frontend/biz/service/home.go type HomeService (line 28) | type HomeService struct method Run (line 37) | func (h *HomeService) Run(req *common.Empty) (res map[string]any, err ... function NewHomeService (line 33) | func NewHomeService(Context context.Context, RequestContext *app.Request... FILE: gomall/tutorial/ch16/app/frontend/biz/service/login.go type LoginService (line 28) | type LoginService struct method Run (line 37) | func (h *LoginService) Run(req *auth.LoginReq) (resp string, err error) { function NewLoginService (line 33) | func NewLoginService(Context context.Context, RequestContext *app.Reques... FILE: gomall/tutorial/ch16/app/frontend/biz/service/logout.go type LogoutService (line 25) | type LogoutService struct method Run (line 34) | func (h *LogoutService) Run(req *common.Empty) (resp *common.Empty, er... function NewLogoutService (line 30) | func NewLogoutService(Context context.Context, RequestContext *app.Reque... FILE: gomall/tutorial/ch16/app/frontend/biz/service/order_list.go type OrderListService (line 31) | type OrderListService struct method Run (line 40) | func (h *OrderListService) Run(req *common.Empty) (resp map[string]any... function NewOrderListService (line 36) | func NewOrderListService(Context context.Context, RequestContext *app.Re... FILE: gomall/tutorial/ch16/app/frontend/biz/service/register.go type RegisterService (line 28) | type RegisterService struct method Run (line 37) | func (h *RegisterService) Run(req *auth.RegisterReq) (resp *common.Emp... function NewRegisterService (line 33) | func NewRegisterService(Context context.Context, RequestContext *app.Req... FILE: gomall/tutorial/ch16/app/frontend/biz/utils/resp.go function SendErrResponse (line 27) | func SendErrResponse(ctx context.Context, c *app.RequestContext, code in... function SendSuccessResponse (line 33) | func SendSuccessResponse(ctx context.Context, c *app.RequestContext, cod... function WarpResponse (line 38) | func WarpResponse(ctx context.Context, c *app.RequestContext, content ma... FILE: gomall/tutorial/ch16/app/frontend/conf/conf.go type Config (line 33) | type Config struct type MySQL (line 41) | type MySQL struct type Redis (line 45) | type Redis struct type Hertz (line 52) | type Hertz struct function GetConf (line 67) | func GetConf() *Config { function initConf (line 72) | func initConf() { function GetEnv (line 96) | func GetEnv() string { function LogLevel (line 104) | func LogLevel() hlog.Level { FILE: gomall/tutorial/ch16/app/frontend/hertz_gen/api/api.pb.go constant _ (line 18) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 20) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) function init (line 671) | func init() { file_api_proto_init() } function file_api_proto_init (line 672) | func file_api_proto_init() { FILE: gomall/tutorial/ch16/app/frontend/hertz_gen/frontend/auth/auth_page.pb.go constant _ (line 20) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 22) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type RegisterReq (line 25) | type RegisterReq struct method Reset (line 35) | func (x *RegisterReq) Reset() { method String (line 44) | func (x *RegisterReq) String() string { method ProtoMessage (line 48) | func (*RegisterReq) ProtoMessage() {} method ProtoReflect (line 50) | func (x *RegisterReq) ProtoReflect() protoreflect.Message { method Descriptor (line 63) | func (*RegisterReq) Descriptor() ([]byte, []int) { method GetEmail (line 67) | func (x *RegisterReq) GetEmail() string { method GetPassword (line 74) | func (x *RegisterReq) GetPassword() string { method GetConfirmPassword (line 81) | func (x *RegisterReq) GetConfirmPassword() string { type LoginReq (line 88) | type LoginReq struct method Reset (line 98) | func (x *LoginReq) Reset() { method String (line 107) | func (x *LoginReq) String() string { method ProtoMessage (line 111) | func (*LoginReq) ProtoMessage() {} method ProtoReflect (line 113) | func (x *LoginReq) ProtoReflect() protoreflect.Message { method Descriptor (line 126) | func (*LoginReq) Descriptor() ([]byte, []int) { method GetEmail (line 130) | func (x *LoginReq) GetEmail() string { method GetPassword (line 137) | func (x *LoginReq) GetPassword() string { method GetNext (line 144) | func (x *LoginReq) GetNext() string { function file_auth_page_proto_rawDescGZIP (line 204) | func file_auth_page_proto_rawDescGZIP() []byte { function init (line 231) | func init() { file_auth_page_proto_init() } function file_auth_page_proto_init (line 232) | func file_auth_page_proto_init() { FILE: gomall/tutorial/ch16/app/frontend/hertz_gen/frontend/cart/cart_page.pb.go constant _ (line 20) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 22) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type AddCartReq (line 25) | type AddCartReq struct method Reset (line 34) | func (x *AddCartReq) Reset() { method String (line 43) | func (x *AddCartReq) String() string { method ProtoMessage (line 47) | func (*AddCartReq) ProtoMessage() {} method ProtoReflect (line 49) | func (x *AddCartReq) ProtoReflect() protoreflect.Message { method Descriptor (line 62) | func (*AddCartReq) Descriptor() ([]byte, []int) { method GetProductId (line 66) | func (x *AddCartReq) GetProductId() uint32 { method GetProductNum (line 73) | func (x *AddCartReq) GetProductNum() int32 { function file_cart_page_proto_rawDescGZIP (line 117) | func file_cart_page_proto_rawDescGZIP() []byte { function init (line 141) | func init() { file_cart_page_proto_init() } function file_cart_page_proto_init (line 142) | func file_cart_page_proto_init() { FILE: gomall/tutorial/ch16/app/frontend/hertz_gen/frontend/category/category_page.pb.go constant _ (line 20) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 22) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type CategoryReq (line 25) | type CategoryReq struct method Reset (line 33) | func (x *CategoryReq) Reset() { method String (line 42) | func (x *CategoryReq) String() string { method ProtoMessage (line 46) | func (*CategoryReq) ProtoMessage() {} method ProtoReflect (line 48) | func (x *CategoryReq) ProtoReflect() protoreflect.Message { method Descriptor (line 61) | func (*CategoryReq) Descriptor() ([]byte, []int) { method GetCategory (line 65) | func (x *CategoryReq) GetCategory() string { function file_category_page_proto_rawDescGZIP (line 103) | func file_category_page_proto_rawDescGZIP() []byte { function init (line 125) | func init() { file_category_page_proto_init() } function file_category_page_proto_init (line 126) | func file_category_page_proto_init() { FILE: gomall/tutorial/ch16/app/frontend/hertz_gen/frontend/checkout/checkout_page.pb.go constant _ (line 20) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 22) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type CheckoutReq (line 25) | type CheckoutReq struct method Reset (line 45) | func (x *CheckoutReq) Reset() { method String (line 54) | func (x *CheckoutReq) String() string { method ProtoMessage (line 58) | func (*CheckoutReq) ProtoMessage() {} method ProtoReflect (line 60) | func (x *CheckoutReq) ProtoReflect() protoreflect.Message { method Descriptor (line 73) | func (*CheckoutReq) Descriptor() ([]byte, []int) { method GetEmail (line 77) | func (x *CheckoutReq) GetEmail() string { method GetFirstname (line 84) | func (x *CheckoutReq) GetFirstname() string { method GetLastname (line 91) | func (x *CheckoutReq) GetLastname() string { method GetStreet (line 98) | func (x *CheckoutReq) GetStreet() string { method GetZipcode (line 105) | func (x *CheckoutReq) GetZipcode() string { method GetProvince (line 112) | func (x *CheckoutReq) GetProvince() string { method GetCountry (line 119) | func (x *CheckoutReq) GetCountry() string { method GetCity (line 126) | func (x *CheckoutReq) GetCity() string { method GetCardNum (line 133) | func (x *CheckoutReq) GetCardNum() string { method GetExpirationMonth (line 140) | func (x *CheckoutReq) GetExpirationMonth() int32 { method GetExpirationYear (line 147) | func (x *CheckoutReq) GetExpirationYear() int32 { method GetCvv (line 154) | func (x *CheckoutReq) GetCvv() int32 { method GetPayment (line 161) | func (x *CheckoutReq) GetPayment() string { function file_checkout_page_proto_rawDescGZIP (line 241) | func file_checkout_page_proto_rawDescGZIP() []byte { function init (line 267) | func init() { file_checkout_page_proto_init() } function file_checkout_page_proto_init (line 268) | func file_checkout_page_proto_init() { FILE: gomall/tutorial/ch16/app/frontend/hertz_gen/frontend/common/common.pb.go constant _ (line 18) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 20) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Empty (line 23) | type Empty struct method Reset (line 29) | func (x *Empty) Reset() { method String (line 38) | func (x *Empty) String() string { method ProtoMessage (line 42) | func (*Empty) ProtoMessage() {} method ProtoReflect (line 44) | func (x *Empty) ProtoReflect() protoreflect.Message { method Descriptor (line 57) | func (*Empty) Descriptor() ([]byte, []int) { function file_frontend_common_proto_rawDescGZIP (line 80) | func file_frontend_common_proto_rawDescGZIP() []byte { function init (line 99) | func init() { file_frontend_common_proto_init() } function file_frontend_common_proto_init (line 100) | func file_frontend_common_proto_init() { FILE: gomall/tutorial/ch16/app/frontend/hertz_gen/frontend/home/home.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) function init (line 57) | func init() { file_home_proto_init() } function file_home_proto_init (line 58) | func file_home_proto_init() { FILE: gomall/tutorial/ch16/app/frontend/hertz_gen/frontend/order/order_page.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) function init (line 58) | func init() { file_order_page_proto_init() } function file_order_page_proto_init (line 59) | func file_order_page_proto_init() { FILE: gomall/tutorial/ch16/app/frontend/hertz_gen/frontend/product/product_page.pb.go constant _ (line 20) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 22) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type ProductReq (line 25) | type ProductReq struct method Reset (line 33) | func (x *ProductReq) Reset() { method String (line 42) | func (x *ProductReq) String() string { method ProtoMessage (line 46) | func (*ProductReq) ProtoMessage() {} method ProtoReflect (line 48) | func (x *ProductReq) ProtoReflect() protoreflect.Message { method Descriptor (line 61) | func (*ProductReq) Descriptor() ([]byte, []int) { method GetId (line 65) | func (x *ProductReq) GetId() uint32 { function file_product_page_proto_rawDescGZIP (line 101) | func file_product_page_proto_rawDescGZIP() []byte { function init (line 123) | func init() { file_product_page_proto_init() } function file_product_page_proto_init (line 124) | func file_product_page_proto_init() { FILE: gomall/tutorial/ch16/app/frontend/infra/mtl/log.go function initLog (line 28) | func initLog() { FILE: gomall/tutorial/ch16/app/frontend/infra/mtl/metric.go function initMetric (line 38) | func initMetric() route.CtxCallback { FILE: gomall/tutorial/ch16/app/frontend/infra/mtl/mtl.go function InitMtl (line 27) | func InitMtl() { FILE: gomall/tutorial/ch16/app/frontend/infra/mtl/tracing.go function InitTracing (line 31) | func InitTracing() route.CtxCallback { FILE: gomall/tutorial/ch16/app/frontend/infra/rpc/client.go function InitClient (line 50) | func InitClient() { function initUserClient (line 60) | func initUserClient() { function initProductClient (line 73) | func initProductClient() { function initCartClient (line 112) | func initCartClient() { function initCheckoutClient (line 131) | func initCheckoutClient() { function initOrderClient (line 147) | func initOrderClient() { FILE: gomall/tutorial/ch16/app/frontend/main.go function main (line 46) | func main() { function registerMiddleware (line 93) | func registerMiddleware(h *server.Hertz) { FILE: gomall/tutorial/ch16/app/frontend/middleware/auth.go function GlobalAuth (line 26) | func GlobalAuth() app.HandlerFunc { function Auth (line 39) | func Auth() app.HandlerFunc { FILE: gomall/tutorial/ch16/app/frontend/middleware/middleware.go function RegisterMiddleware (line 19) | func RegisterMiddleware(h *server.Hertz) { FILE: gomall/tutorial/ch16/app/frontend/types/order.go type Consignee (line 17) | type Consignee struct type Order (line 27) | type Order struct type OrderItem (line 36) | type OrderItem struct FILE: gomall/tutorial/ch16/app/frontend/utils/constant.go constant ServiceName (line 17) | ServiceName = "frontend" type SessionUserIdKey (line 19) | type SessionUserIdKey constant UserIdKey (line 21) | UserIdKey = SessionUserIdKey("user_id") FILE: gomall/tutorial/ch16/app/frontend/utils/errors.go function MustHandleError (line 19) | func MustHandleError(err error) { FILE: gomall/tutorial/ch16/app/frontend/utils/function.go function GetUserIdFromCtx (line 19) | func GetUserIdFromCtx(ctx context.Context) uint32 { FILE: gomall/tutorial/ch16/app/frontend/utils/safe.go function ValidateNext (line 23) | func ValidateNext(next string) bool { FILE: gomall/tutorial/ch16/app/frontend/utils/strings.go function InArray (line 17) | func InArray[T int | int32 | int64 | float32 | float64 | string](needle ... FILE: gomall/tutorial/ch16/app/order/biz/dal/init.go function Init (line 22) | func Init() { FILE: gomall/tutorial/ch16/app/order/biz/dal/mysql/init.go function Init (line 33) | func Init() { FILE: gomall/tutorial/ch16/app/order/biz/dal/redis/init.go function Init (line 26) | func Init() { FILE: gomall/tutorial/ch16/app/order/biz/model/base.go type Base (line 19) | type Base struct FILE: gomall/tutorial/ch16/app/order/biz/model/order.go type Consignee (line 23) | type Consignee struct type Order (line 33) | type Order struct method TableName (line 42) | func (o Order) TableName() string { function ListOrder (line 46) | func ListOrder(db *gorm.DB, ctx context.Context, userId uint32) (orders ... FILE: gomall/tutorial/ch16/app/order/biz/model/order_item.go type OrderItem (line 17) | type OrderItem struct method TableName (line 25) | func (oi OrderItem) TableName() string { FILE: gomall/tutorial/ch16/app/order/biz/service/list_order.go type ListOrderService (line 27) | type ListOrderService struct method Run (line 35) | func (s *ListOrderService) Run(req *order.ListOrderReq) (resp *order.L... function NewListOrderService (line 30) | func NewListOrderService(ctx context.Context) *ListOrderService { FILE: gomall/tutorial/ch16/app/order/biz/service/list_order_test.go function TestListOrder_Run (line 21) | func TestListOrder_Run(t *testing.T) { FILE: gomall/tutorial/ch16/app/order/biz/service/place_order.go type PlaceOrderService (line 28) | type PlaceOrderService struct method Run (line 36) | func (s *PlaceOrderService) Run(req *order.PlaceOrderReq) (resp *order... function NewPlaceOrderService (line 31) | func NewPlaceOrderService(ctx context.Context) *PlaceOrderService { FILE: gomall/tutorial/ch16/app/order/biz/service/place_order_test.go function TestPlaceOrder_Run (line 21) | func TestPlaceOrder_Run(t *testing.T) { FILE: gomall/tutorial/ch16/app/order/conf/conf.go type Config (line 33) | type Config struct type MySQL (line 41) | type MySQL struct type Redis (line 45) | type Redis struct type Kitex (line 52) | type Kitex struct type Registry (line 66) | type Registry struct function GetConf (line 73) | func GetConf() *Config { function initConf (line 78) | func initConf() { function GetEnv (line 99) | func GetEnv() string { function LogLevel (line 107) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch16/app/order/handler.go type OrderServiceImpl (line 25) | type OrderServiceImpl struct method PlaceOrder (line 28) | func (s *OrderServiceImpl) PlaceOrder(ctx context.Context, req *order.... method ListOrder (line 35) | func (s *OrderServiceImpl) ListOrder(ctx context.Context, req *order.L... FILE: gomall/tutorial/ch16/app/order/main.go function main (line 35) | func main() { function kitexInit (line 51) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch16/app/payment/biz/dal/init.go function Init (line 21) | func Init() { FILE: gomall/tutorial/ch16/app/payment/biz/dal/mysql/init.go function Init (line 32) | func Init() { FILE: gomall/tutorial/ch16/app/payment/biz/dal/redis/init.go function Init (line 26) | func Init() { FILE: gomall/tutorial/ch16/app/payment/biz/model/base.go type Base (line 19) | type Base struct FILE: gomall/tutorial/ch16/app/payment/biz/model/payment.go type PaymentLog (line 24) | type PaymentLog struct method TableName (line 33) | func (p PaymentLog) TableName() string { function CreatePaymentLog (line 37) | func CreatePaymentLog(db *gorm.DB, ctx context.Context, payment *Payment... FILE: gomall/tutorial/ch16/app/payment/biz/service/charge.go type ChargeService (line 30) | type ChargeService struct method Run (line 38) | func (s *ChargeService) Run(req *payment.ChargeReq) (resp *payment.Cha... function NewChargeService (line 33) | func NewChargeService(ctx context.Context) *ChargeService { FILE: gomall/tutorial/ch16/app/payment/biz/service/charge_test.go function TestCharge_Run (line 21) | func TestCharge_Run(t *testing.T) { FILE: gomall/tutorial/ch16/app/payment/conf/conf.go type Config (line 33) | type Config struct type MySQL (line 41) | type MySQL struct type Redis (line 45) | type Redis struct type Kitex (line 52) | type Kitex struct type Registry (line 66) | type Registry struct function GetConf (line 73) | func GetConf() *Config { function initConf (line 78) | func initConf() { function GetEnv (line 99) | func GetEnv() string { function LogLevel (line 107) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch16/app/payment/handler.go type PaymentServiceImpl (line 25) | type PaymentServiceImpl struct method Charge (line 28) | func (s *PaymentServiceImpl) Charge(ctx context.Context, req *payment.... FILE: gomall/tutorial/ch16/app/payment/main.go function main (line 36) | func main() { function kitexInit (line 52) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch16/app/payment/middleware/mw.go function ServerMiddleware (line 25) | func ServerMiddleware(next endpoint.Endpoint) endpoint.Endpoint { FILE: gomall/tutorial/ch16/app/payment/payment.sql type payment (line 1) | create table payment FILE: gomall/tutorial/ch16/app/product/biz/dal/init.go function Init (line 22) | func Init() { FILE: gomall/tutorial/ch16/app/product/biz/dal/mysql/init.go function Init (line 32) | func Init() { FILE: gomall/tutorial/ch16/app/product/biz/dal/redis/init.go function Init (line 27) | func Init() { FILE: gomall/tutorial/ch16/app/product/biz/model/base.go type Base (line 19) | type Base struct FILE: gomall/tutorial/ch16/app/product/biz/model/category.go type Category (line 23) | type Category struct method TableName (line 30) | func (c Category) TableName() string { function GetProductsByCategoryName (line 34) | func GetProductsByCategoryName(db *gorm.DB, ctx context.Context, name st... FILE: gomall/tutorial/ch16/app/product/biz/model/product.go type Product (line 27) | type Product struct method TableName (line 36) | func (p Product) TableName() string { type ProductQuery (line 40) | type ProductQuery struct method GetById (line 45) | func (p ProductQuery) GetById(productId int) (product Product, err err... function NewProductQuery (line 50) | func NewProductQuery(ctx context.Context, db *gorm.DB) ProductQuery { type CachedProductQuery (line 54) | type CachedProductQuery struct method GetById (line 60) | func (c CachedProductQuery) GetById(productId int) (product Product, e... function NewCachedProductQuery (line 94) | func NewCachedProductQuery(pq ProductQuery, cacheClient *redis.Client) C... function GetProductById (line 98) | func GetProductById(db *gorm.DB, ctx context.Context, productId int) (pr... function SearchProduct (line 103) | func SearchProduct(db *gorm.DB, ctx context.Context, q string) (product ... FILE: gomall/tutorial/ch16/app/product/biz/service/get_product.go type GetProductService (line 27) | type GetProductService struct method Run (line 35) | func (s *GetProductService) Run(req *product.GetProductReq) (resp *pro... function NewGetProductService (line 30) | func NewGetProductService(ctx context.Context) *GetProductService { FILE: gomall/tutorial/ch16/app/product/biz/service/get_product_test.go function TestGetProduct_Run (line 21) | func TestGetProduct_Run(t *testing.T) { FILE: gomall/tutorial/ch16/app/product/biz/service/list_products.go type ListProductsService (line 25) | type ListProductsService struct method Run (line 33) | func (s *ListProductsService) Run(req *product.ListProductsReq) (resp ... function NewListProductsService (line 28) | func NewListProductsService(ctx context.Context) *ListProductsService { FILE: gomall/tutorial/ch16/app/product/biz/service/list_products_test.go function TestListProducts_Run (line 21) | func TestListProducts_Run(t *testing.T) { FILE: gomall/tutorial/ch16/app/product/biz/service/search_products.go type SearchProductsService (line 25) | type SearchProductsService struct method Run (line 33) | func (s *SearchProductsService) Run(req *product.SearchProductsReq) (r... function NewSearchProductsService (line 28) | func NewSearchProductsService(ctx context.Context) *SearchProductsService { FILE: gomall/tutorial/ch16/app/product/biz/service/search_products_test.go function TestSearchProducts_Run (line 21) | func TestSearchProducts_Run(t *testing.T) { FILE: gomall/tutorial/ch16/app/product/conf/conf.go type Config (line 33) | type Config struct type MySQL (line 43) | type MySQL struct type Redis (line 47) | type Redis struct type Kitex (line 54) | type Kitex struct type Registry (line 68) | type Registry struct type ConfigServer (line 74) | type ConfigServer struct function GetConf (line 77) | func GetConf() *Config { function initConf (line 82) | func initConf() { function GetEnv (line 103) | func GetEnv() string { function LogLevel (line 111) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch16/app/product/handler.go type ProductCatalogServiceImpl (line 25) | type ProductCatalogServiceImpl struct method ListProducts (line 28) | func (s *ProductCatalogServiceImpl) ListProducts(ctx context.Context, ... method GetProduct (line 35) | func (s *ProductCatalogServiceImpl) GetProduct(ctx context.Context, re... method SearchProducts (line 42) | func (s *ProductCatalogServiceImpl) SearchProducts(ctx context.Context... FILE: gomall/tutorial/ch16/app/product/main.go function main (line 36) | func main() { function kitexInit (line 52) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch16/app/product/script/product.sql type `category` (line 1) | CREATE TABLE `category` type `product` (line 13) | CREATE TABLE `product` type `product_category` (line 46) | CREATE TABLE `product_category` FILE: gomall/tutorial/ch16/app/product/utils/constant.go constant ServiceName (line 17) | ServiceName = "shop-product" FILE: gomall/tutorial/ch16/app/user/biz/dal/init.go function Init (line 21) | func Init() { FILE: gomall/tutorial/ch16/app/user/biz/dal/mysql/init.go function Init (line 32) | func Init() { FILE: gomall/tutorial/ch16/app/user/biz/dal/redis/init.go function Init (line 26) | func Init() { FILE: gomall/tutorial/ch16/app/user/biz/model/base.go type Base (line 21) | type Base struct FILE: gomall/tutorial/ch16/app/user/biz/model/user.go type User (line 23) | type User struct method TableName (line 29) | func (u User) TableName() string { function GetByEmail (line 33) | func GetByEmail(db *gorm.DB, ctx context.Context, email string) (user *U... function Create (line 38) | func Create(db *gorm.DB, ctx context.Context, user *User) error { FILE: gomall/tutorial/ch16/app/user/biz/service/login.go type LoginService (line 27) | type LoginService struct method Run (line 35) | func (s *LoginService) Run(req *user.LoginReq) (resp *user.LoginResp, ... function NewLoginService (line 30) | func NewLoginService(ctx context.Context) *LoginService { FILE: gomall/tutorial/ch16/app/user/biz/service/login_test.go function TestLogin_Run (line 21) | func TestLogin_Run(t *testing.T) { FILE: gomall/tutorial/ch16/app/user/biz/service/register.go type RegisterService (line 27) | type RegisterService struct method Run (line 35) | func (s *RegisterService) Run(req *user.RegisterReq) (resp *user.Regis... function NewRegisterService (line 30) | func NewRegisterService(ctx context.Context) *RegisterService { FILE: gomall/tutorial/ch16/app/user/biz/service/register_test.go function TestRegister_Run (line 21) | func TestRegister_Run(t *testing.T) { FILE: gomall/tutorial/ch16/app/user/conf/conf.go type Config (line 33) | type Config struct type MySQL (line 41) | type MySQL struct type Redis (line 45) | type Redis struct type Kitex (line 52) | type Kitex struct type Registry (line 66) | type Registry struct function GetConf (line 73) | func GetConf() *Config { function initConf (line 78) | func initConf() { function GetEnv (line 99) | func GetEnv() string { function LogLevel (line 107) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch16/app/user/handler.go type UserServiceImpl (line 25) | type UserServiceImpl struct method Register (line 28) | func (s *UserServiceImpl) Register(ctx context.Context, req *user.Regi... method Login (line 35) | func (s *UserServiceImpl) Login(ctx context.Context, req *user.LoginRe... FILE: gomall/tutorial/ch16/app/user/main.go function main (line 36) | func main() { function kitexInit (line 52) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch16/common/clientsuite/client.go type CommonGrpcClientSuite (line 27) | type CommonGrpcClientSuite struct method Options (line 34) | func (s CommonGrpcClientSuite) Options() []client.Option { FILE: gomall/tutorial/ch16/common/mtl/log.go function InitLog (line 28) | func InitLog() { FILE: gomall/tutorial/ch16/common/mtl/metrics.go function InitMetric (line 31) | func InitMetric(serviceName string, metricsPort string, registryAddr str... FILE: gomall/tutorial/ch16/common/mtl/tracing.go function InitTracing (line 30) | func InitTracing(serviceName string) { FILE: gomall/tutorial/ch16/common/serversuite/server.go type CommonServerSuite (line 27) | type CommonServerSuite struct method Options (line 31) | func (s CommonServerSuite) Options() []server.Option { FILE: gomall/tutorial/ch16/common/utils/kitex.go function MustHandleError (line 20) | func MustHandleError(err error) { function ShouldHandleError (line 27) | func ShouldHandleError(err error) { FILE: gomall/tutorial/ch16/demo/demo_proto/biz/dal/init.go function Init (line 21) | func Init() { FILE: gomall/tutorial/ch16/demo/demo_proto/biz/dal/mysql/init.go function Init (line 33) | func Init() { FILE: gomall/tutorial/ch16/demo/demo_proto/biz/dal/redis/init.go function Init (line 28) | func Init() { FILE: gomall/tutorial/ch16/demo/demo_proto/biz/model/user.go type User (line 19) | type User struct method TableName (line 25) | func (u User) TableName() string { FILE: gomall/tutorial/ch16/demo/demo_proto/biz/service/echo.go type EchoService (line 23) | type EchoService struct method Run (line 31) | func (s *EchoService) Run(req *pbapi.Request) (resp *pbapi.Response, e... function NewEchoService (line 26) | func NewEchoService(ctx context.Context) *EchoService { FILE: gomall/tutorial/ch16/demo/demo_proto/biz/service/echo_test.go function TestEcho_Run (line 23) | func TestEcho_Run(t *testing.T) { FILE: gomall/tutorial/ch16/demo/demo_proto/cmd/client/client.go function main (line 32) | func main() { FILE: gomall/tutorial/ch16/demo/demo_proto/cmd/dbop/db.go function main (line 26) | func main() { FILE: gomall/tutorial/ch16/demo/demo_proto/conf/conf.go type Config (line 33) | type Config struct type MySQL (line 41) | type MySQL struct type Redis (line 45) | type Redis struct type Kitex (line 52) | type Kitex struct type Registry (line 65) | type Registry struct function GetConf (line 72) | func GetConf() *Config { function initConf (line 77) | func initConf() { function GetEnv (line 98) | func GetEnv() string { function LogLevel (line 106) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch16/demo/demo_proto/handler.go type EchoImpl (line 25) | type EchoImpl struct method Echo (line 28) | func (s *EchoImpl) Echo(ctx context.Context, req *pbapi.Request) (resp... FILE: gomall/tutorial/ch16/demo/demo_proto/kitex_gen/pbapi/echo.pb.fast.go method FastRead (line 15) | func (x *Request) FastRead(buf []byte, _type int8, number int32) (offset... method fastReadField1 (line 35) | func (x *Request) fastReadField1(buf []byte, _type int8) (offset int, er... method FastRead (line 40) | func (x *Response) FastRead(buf []byte, _type int8, number int32) (offse... method fastReadField1 (line 60) | func (x *Response) fastReadField1(buf []byte, _type int8) (offset int, e... method FastWrite (line 65) | func (x *Request) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 73) | func (x *Request) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 81) | func (x *Response) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 89) | func (x *Response) fastWriteField1(buf []byte) (offset int) { method Size (line 97) | func (x *Request) Size() (n int) { method sizeField1 (line 105) | func (x *Request) sizeField1() (n int) { method Size (line 113) | func (x *Response) Size() (n int) { method sizeField1 (line 121) | func (x *Response) sizeField1() (n int) { FILE: gomall/tutorial/ch16/demo/demo_proto/kitex_gen/pbapi/echo.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Request (line 24) | type Request struct method Reset (line 32) | func (x *Request) Reset() { method String (line 41) | func (x *Request) String() string { method ProtoMessage (line 45) | func (*Request) ProtoMessage() {} method ProtoReflect (line 47) | func (x *Request) ProtoReflect() protoreflect.Message { method Descriptor (line 60) | func (*Request) Descriptor() ([]byte, []int) { method GetMessage (line 64) | func (x *Request) GetMessage() string { type Response (line 71) | type Response struct method Reset (line 79) | func (x *Response) Reset() { method String (line 88) | func (x *Response) String() string { method ProtoMessage (line 92) | func (*Response) ProtoMessage() {} method ProtoReflect (line 94) | func (x *Response) ProtoReflect() protoreflect.Message { method Descriptor (line 107) | func (*Response) Descriptor() ([]byte, []int) { method GetMessage (line 111) | func (x *Response) GetMessage() string { function file_echo_proto_rawDescGZIP (line 143) | func file_echo_proto_rawDescGZIP() []byte { function init (line 165) | func init() { file_echo_proto_init() } function file_echo_proto_init (line 166) | func file_echo_proto_init() { type Echo (line 220) | type Echo interface FILE: gomall/tutorial/ch16/demo/demo_proto/kitex_gen/pbapi/echo/client.go type Client (line 13) | type Client interface function NewClient (line 18) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 34) | func MustNewClient(destService string, opts ...client.Option) Client { type kEchoClient (line 42) | type kEchoClient struct method Echo (line 46) | func (p *kEchoClient) Echo(ctx context.Context, Req *pbapi.Request, ca... FILE: gomall/tutorial/ch16/demo/demo_proto/kitex_gen/pbapi/echo/echo.go function serviceInfo (line 14) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 20) | func NewServiceInfo() *kitex.ServiceInfo { function echoHandler (line 41) | func echoHandler(ctx context.Context, handler interface{}, arg, result i... function newEchoArgs (line 66) | func newEchoArgs() interface{} { function newEchoResult (line 70) | func newEchoResult() interface{} { type EchoArgs (line 74) | type EchoArgs struct method FastRead (line 78) | func (p *EchoArgs) FastRead(buf []byte, _type int8, number int32) (n i... method FastWrite (line 85) | func (p *EchoArgs) FastWrite(buf []byte) (n int) { method Size (line 92) | func (p *EchoArgs) Size() (n int) { method Marshal (line 99) | func (p *EchoArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 106) | func (p *EchoArgs) Unmarshal(in []byte) error { method GetReq (line 117) | func (p *EchoArgs) GetReq() *pbapi.Request { method IsSetReq (line 124) | func (p *EchoArgs) IsSetReq() bool { method GetFirstArgument (line 128) | func (p *EchoArgs) GetFirstArgument() interface{} { type EchoResult (line 132) | type EchoResult struct method FastRead (line 138) | func (p *EchoResult) FastRead(buf []byte, _type int8, number int32) (n... method FastWrite (line 145) | func (p *EchoResult) FastWrite(buf []byte) (n int) { method Size (line 152) | func (p *EchoResult) Size() (n int) { method Marshal (line 159) | func (p *EchoResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 166) | func (p *EchoResult) Unmarshal(in []byte) error { method GetSuccess (line 175) | func (p *EchoResult) GetSuccess() *pbapi.Response { method SetSuccess (line 182) | func (p *EchoResult) SetSuccess(x interface{}) { method IsSetSuccess (line 186) | func (p *EchoResult) IsSetSuccess() bool { method GetResult (line 190) | func (p *EchoResult) GetResult() interface{} { type kClient (line 194) | type kClient struct method Echo (line 204) | func (p *kClient) Echo(ctx context.Context, Req *pbapi.Request) (r *pb... function newServiceClient (line 198) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch16/demo/demo_proto/kitex_gen/pbapi/echo/invoker.go function NewInvoker (line 11) | func NewInvoker(handler pbapi.Echo, opts ...server.Option) server.Invoker { FILE: gomall/tutorial/ch16/demo/demo_proto/kitex_gen/pbapi/echo/server.go function NewServer (line 10) | func NewServer(handler pbapi.Echo, opts ...server.Option) server.Server { FILE: gomall/tutorial/ch16/demo/demo_proto/main.go function main (line 35) | func main() { function kitexInit (line 53) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch16/demo/demo_thrift/biz/dal/init.go function Init (line 22) | func Init() { FILE: gomall/tutorial/ch16/demo/demo_thrift/biz/dal/mysql/init.go function Init (line 29) | func Init() { FILE: gomall/tutorial/ch16/demo/demo_thrift/biz/dal/redis/init.go function Init (line 28) | func Init() { FILE: gomall/tutorial/ch16/demo/demo_thrift/biz/service/echo.go type EchoService (line 23) | type EchoService struct method Run (line 31) | func (s *EchoService) Run(req *api.Request) (resp *api.Response, err e... function NewEchoService (line 26) | func NewEchoService(ctx context.Context) *EchoService { FILE: gomall/tutorial/ch16/demo/demo_thrift/biz/service/echo_test.go function TestEcho_Run (line 23) | func TestEcho_Run(t *testing.T) { FILE: gomall/tutorial/ch16/demo/demo_thrift/cmd/client/client.go function main (line 32) | func main() { FILE: gomall/tutorial/ch16/demo/demo_thrift/conf/conf.go type Config (line 34) | type Config struct type MySQL (line 42) | type MySQL struct type Redis (line 46) | type Redis struct type Kitex (line 53) | type Kitex struct type Registry (line 66) | type Registry struct function GetConf (line 73) | func GetConf() *Config { function initConf (line 78) | func initConf() { function GetEnv (line 99) | func GetEnv() string { function LogLevel (line 107) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch16/demo/demo_thrift/handler.go type EchoImpl (line 25) | type EchoImpl struct method Echo (line 28) | func (s *EchoImpl) Echo(ctx context.Context, req *api.Request) (resp *... FILE: gomall/tutorial/ch16/demo/demo_thrift/kitex_gen/api/echo.go type Request (line 12) | type Request struct method InitDefault (line 20) | func (p *Request) InitDefault() { method GetMessage (line 24) | func (p *Request) GetMessage() (v string) { method SetMessage (line 27) | func (p *Request) SetMessage(val string) { method Read (line 35) | func (p *Request) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 94) | func (p *Request) ReadField1(iprot thrift.TProtocol) error { method Write (line 103) | func (p *Request) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 132) | func (p *Request) writeField1(oprot thrift.TProtocol) (err error) { method String (line 149) | func (p *Request) String() string { method DeepEqual (line 156) | func (p *Request) DeepEqual(ano *Request) bool { method Field1DeepEqual (line 168) | func (p *Request) Field1DeepEqual(src string) bool { function NewRequest (line 16) | func NewRequest() *Request { type Response (line 176) | type Response struct method InitDefault (line 184) | func (p *Response) InitDefault() { method GetMessage (line 188) | func (p *Response) GetMessage() (v string) { method SetMessage (line 191) | func (p *Response) SetMessage(val string) { method Read (line 199) | func (p *Response) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 258) | func (p *Response) ReadField1(iprot thrift.TProtocol) error { method Write (line 267) | func (p *Response) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 296) | func (p *Response) writeField1(oprot thrift.TProtocol) (err error) { method String (line 313) | func (p *Response) String() string { method DeepEqual (line 320) | func (p *Response) DeepEqual(ano *Response) bool { method Field1DeepEqual (line 332) | func (p *Response) Field1DeepEqual(src string) bool { function NewResponse (line 180) | func NewResponse() *Response { type Echo (line 340) | type Echo interface type EchoClient (line 344) | type EchoClient struct method Client_ (line 366) | func (p *EchoClient) Client_() thrift.TClient { method Echo (line 370) | func (p *EchoClient) Echo(ctx context.Context, req *Request) (r *Respo... function NewEchoClientFactory (line 348) | func NewEchoClientFactory(t thrift.TTransport, f thrift.TProtocolFactory... function NewEchoClientProtocol (line 354) | func NewEchoClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, ... function NewEchoClient (line 360) | func NewEchoClient(c thrift.TClient) *EchoClient { type EchoProcessor (line 380) | type EchoProcessor struct method AddToProcessorMap (line 385) | func (p *EchoProcessor) AddToProcessorMap(key string, processor thrift... method GetProcessorFunction (line 389) | func (p *EchoProcessor) GetProcessorFunction(key string) (processor th... method ProcessorMap (line 394) | func (p *EchoProcessor) ProcessorMap() map[string]thrift.TProcessorFun... method Process (line 403) | func (p *EchoProcessor) Process(ctx context.Context, iprot, oprot thri... function NewEchoProcessor (line 398) | func NewEchoProcessor(handler Echo) *EchoProcessor { type echoProcessorEcho (line 421) | type echoProcessorEcho struct method Process (line 425) | func (p *echoProcessorEcho) Process(ctx context.Context, seqId int32, ... type EchoEchoArgs (line 469) | type EchoEchoArgs struct method InitDefault (line 477) | func (p *EchoEchoArgs) InitDefault() { method GetReq (line 483) | func (p *EchoEchoArgs) GetReq() (v *Request) { method SetReq (line 489) | func (p *EchoEchoArgs) SetReq(val *Request) { method IsSetReq (line 497) | func (p *EchoEchoArgs) IsSetReq() bool { method Read (line 501) | func (p *EchoEchoArgs) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 560) | func (p *EchoEchoArgs) ReadField1(iprot thrift.TProtocol) error { method Write (line 568) | func (p *EchoEchoArgs) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 597) | func (p *EchoEchoArgs) writeField1(oprot thrift.TProtocol) (err error) { method String (line 614) | func (p *EchoEchoArgs) String() string { method DeepEqual (line 621) | func (p *EchoEchoArgs) DeepEqual(ano *EchoEchoArgs) bool { method Field1DeepEqual (line 633) | func (p *EchoEchoArgs) Field1DeepEqual(src *Request) bool { function NewEchoEchoArgs (line 473) | func NewEchoEchoArgs() *EchoEchoArgs { type EchoEchoResult (line 641) | type EchoEchoResult struct method InitDefault (line 649) | func (p *EchoEchoResult) InitDefault() { method GetSuccess (line 655) | func (p *EchoEchoResult) GetSuccess() (v *Response) { method SetSuccess (line 661) | func (p *EchoEchoResult) SetSuccess(x interface{}) { method IsSetSuccess (line 669) | func (p *EchoEchoResult) IsSetSuccess() bool { method Read (line 673) | func (p *EchoEchoResult) Read(iprot thrift.TProtocol) (err error) { method ReadField0 (line 732) | func (p *EchoEchoResult) ReadField0(iprot thrift.TProtocol) error { method Write (line 740) | func (p *EchoEchoResult) Write(oprot thrift.TProtocol) (err error) { method writeField0 (line 769) | func (p *EchoEchoResult) writeField0(oprot thrift.TProtocol) (err erro... method String (line 788) | func (p *EchoEchoResult) String() string { method DeepEqual (line 795) | func (p *EchoEchoResult) DeepEqual(ano *EchoEchoResult) bool { method Field0DeepEqual (line 807) | func (p *EchoEchoResult) Field0DeepEqual(src *Response) bool { function NewEchoEchoResult (line 645) | func NewEchoEchoResult() *EchoEchoResult { FILE: gomall/tutorial/ch16/demo/demo_thrift/kitex_gen/api/echo/client.go type Client (line 13) | type Client interface function NewClient (line 18) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 34) | func MustNewClient(destService string, opts ...client.Option) Client { type kEchoClient (line 42) | type kEchoClient struct method Echo (line 46) | func (p *kEchoClient) Echo(ctx context.Context, req *api.Request, call... FILE: gomall/tutorial/ch16/demo/demo_thrift/kitex_gen/api/echo/echo.go function serviceInfo (line 12) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 18) | func NewServiceInfo() *kitex.ServiceInfo { function echoHandler (line 39) | func echoHandler(ctx context.Context, handler interface{}, arg, result i... function newEchoEchoArgs (line 49) | func newEchoEchoArgs() interface{} { function newEchoEchoResult (line 53) | func newEchoEchoResult() interface{} { type kClient (line 57) | type kClient struct method Echo (line 67) | func (p *kClient) Echo(ctx context.Context, req *api.Request) (r *api.... function newServiceClient (line 61) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch16/demo/demo_thrift/kitex_gen/api/echo/invoker.go function NewInvoker (line 11) | func NewInvoker(handler api.Echo, opts ...server.Option) server.Invoker { FILE: gomall/tutorial/ch16/demo/demo_thrift/kitex_gen/api/echo/server.go function NewServer (line 10) | func NewServer(handler api.Echo, opts ...server.Option) server.Server { FILE: gomall/tutorial/ch16/demo/demo_thrift/kitex_gen/api/k-echo.go method FastRead (line 26) | func (p *Request) FastRead(buf []byte) (int, error) { method FastReadField1 (line 97) | func (p *Request) FastReadField1(buf []byte) (int, error) { method FastWrite (line 112) | func (p *Request) FastWrite(buf []byte) int { method FastWriteNocopy (line 116) | func (p *Request) FastWriteNocopy(buf []byte, binaryWriter bthrift.Binar... method BLength (line 127) | func (p *Request) BLength() int { method fastWriteField1 (line 138) | func (p *Request) fastWriteField1(buf []byte, binaryWriter bthrift.Binar... method field1Length (line 147) | func (p *Request) field1Length() int { method FastRead (line 156) | func (p *Response) FastRead(buf []byte) (int, error) { method FastReadField1 (line 227) | func (p *Response) FastReadField1(buf []byte) (int, error) { method FastWrite (line 242) | func (p *Response) FastWrite(buf []byte) int { method FastWriteNocopy (line 246) | func (p *Response) FastWriteNocopy(buf []byte, binaryWriter bthrift.Bina... method BLength (line 257) | func (p *Response) BLength() int { method fastWriteField1 (line 268) | func (p *Response) fastWriteField1(buf []byte, binaryWriter bthrift.Bina... method field1Length (line 277) | func (p *Response) field1Length() int { method FastRead (line 286) | func (p *EchoEchoArgs) FastRead(buf []byte) (int, error) { method FastReadField1 (line 357) | func (p *EchoEchoArgs) FastReadField1(buf []byte) (int, error) { method FastWrite (line 371) | func (p *EchoEchoArgs) FastWrite(buf []byte) int { method FastWriteNocopy (line 375) | func (p *EchoEchoArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.... method BLength (line 386) | func (p *EchoEchoArgs) BLength() int { method fastWriteField1 (line 397) | func (p *EchoEchoArgs) fastWriteField1(buf []byte, binaryWriter bthrift.... method field1Length (line 405) | func (p *EchoEchoArgs) field1Length() int { method FastRead (line 413) | func (p *EchoEchoResult) FastRead(buf []byte) (int, error) { method FastReadField0 (line 484) | func (p *EchoEchoResult) FastReadField0(buf []byte) (int, error) { method FastWrite (line 498) | func (p *EchoEchoResult) FastWrite(buf []byte) int { method FastWriteNocopy (line 502) | func (p *EchoEchoResult) FastWriteNocopy(buf []byte, binaryWriter bthrif... method BLength (line 513) | func (p *EchoEchoResult) BLength() int { method fastWriteField0 (line 524) | func (p *EchoEchoResult) fastWriteField0(buf []byte, binaryWriter bthrif... method field0Length (line 534) | func (p *EchoEchoResult) field0Length() int { method GetFirstArgument (line 544) | func (p *EchoEchoArgs) GetFirstArgument() interface{} { method GetResult (line 548) | func (p *EchoEchoResult) GetResult() interface{} { FILE: gomall/tutorial/ch16/demo/demo_thrift/main.go function main (line 33) | func main() { function kitexInit (line 44) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch16/hello_world/main.go function main (line 25) | func main() { FILE: gomall/tutorial/ch16/rpc_gen/kitex_gen/cart/cart.pb.fast.go method FastRead (line 15) | func (x *CartItem) FastRead(buf []byte, _type int8, number int32) (offse... method fastReadField1 (line 40) | func (x *CartItem) fastReadField1(buf []byte, _type int8) (offset int, e... method fastReadField2 (line 45) | func (x *CartItem) fastReadField2(buf []byte, _type int8) (offset int, e... method FastRead (line 50) | func (x *AddItemReq) FastRead(buf []byte, _type int8, number int32) (off... method fastReadField1 (line 75) | func (x *AddItemReq) fastReadField1(buf []byte, _type int8) (offset int,... method fastReadField2 (line 80) | func (x *AddItemReq) fastReadField2(buf []byte, _type int8) (offset int,... method FastRead (line 90) | func (x *AddItemResp) FastRead(buf []byte, _type int8, number int32) (of... method FastRead (line 103) | func (x *EmptyCartReq) FastRead(buf []byte, _type int8, number int32) (o... method fastReadField1 (line 123) | func (x *EmptyCartReq) fastReadField1(buf []byte, _type int8) (offset in... method FastRead (line 128) | func (x *GetCartReq) FastRead(buf []byte, _type int8, number int32) (off... method fastReadField1 (line 148) | func (x *GetCartReq) fastReadField1(buf []byte, _type int8) (offset int,... method FastRead (line 153) | func (x *GetCartResp) FastRead(buf []byte, _type int8, number int32) (of... method fastReadField1 (line 173) | func (x *GetCartResp) fastReadField1(buf []byte, _type int8) (offset int... method FastRead (line 183) | func (x *Cart) FastRead(buf []byte, _type int8, number int32) (offset in... method fastReadField1 (line 208) | func (x *Cart) fastReadField1(buf []byte, _type int8) (offset int, err e... method fastReadField2 (line 213) | func (x *Cart) fastReadField2(buf []byte, _type int8) (offset int, err e... method FastRead (line 223) | func (x *EmptyCartResp) FastRead(buf []byte, _type int8, number int32) (... method FastWrite (line 236) | func (x *CartItem) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 245) | func (x *CartItem) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 253) | func (x *CartItem) fastWriteField2(buf []byte) (offset int) { method FastWrite (line 261) | func (x *AddItemReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 270) | func (x *AddItemReq) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 278) | func (x *AddItemReq) fastWriteField2(buf []byte) (offset int) { method FastWrite (line 286) | func (x *AddItemResp) FastWrite(buf []byte) (offset int) { method FastWrite (line 293) | func (x *EmptyCartReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 301) | func (x *EmptyCartReq) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 309) | func (x *GetCartReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 317) | func (x *GetCartReq) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 325) | func (x *GetCartResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 333) | func (x *GetCartResp) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 341) | func (x *Cart) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 350) | func (x *Cart) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 358) | func (x *Cart) fastWriteField2(buf []byte) (offset int) { method FastWrite (line 368) | func (x *EmptyCartResp) FastWrite(buf []byte) (offset int) { method Size (line 375) | func (x *CartItem) Size() (n int) { method sizeField1 (line 384) | func (x *CartItem) sizeField1() (n int) { method sizeField2 (line 392) | func (x *CartItem) sizeField2() (n int) { method Size (line 400) | func (x *AddItemReq) Size() (n int) { method sizeField1 (line 409) | func (x *AddItemReq) sizeField1() (n int) { method sizeField2 (line 417) | func (x *AddItemReq) sizeField2() (n int) { method Size (line 425) | func (x *AddItemResp) Size() (n int) { method Size (line 432) | func (x *EmptyCartReq) Size() (n int) { method sizeField1 (line 440) | func (x *EmptyCartReq) sizeField1() (n int) { method Size (line 448) | func (x *GetCartReq) Size() (n int) { method sizeField1 (line 456) | func (x *GetCartReq) sizeField1() (n int) { method Size (line 464) | func (x *GetCartResp) Size() (n int) { method sizeField1 (line 472) | func (x *GetCartResp) sizeField1() (n int) { method Size (line 480) | func (x *Cart) Size() (n int) { method sizeField1 (line 489) | func (x *Cart) sizeField1() (n int) { method sizeField2 (line 497) | func (x *Cart) sizeField2() (n int) { method Size (line 507) | func (x *EmptyCartResp) Size() (n int) { FILE: gomall/tutorial/ch16/rpc_gen/kitex_gen/cart/cart.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type CartItem (line 24) | type CartItem struct method Reset (line 33) | func (x *CartItem) Reset() { method String (line 42) | func (x *CartItem) String() string { method ProtoMessage (line 46) | func (*CartItem) ProtoMessage() {} method ProtoReflect (line 48) | func (x *CartItem) ProtoReflect() protoreflect.Message { method Descriptor (line 61) | func (*CartItem) Descriptor() ([]byte, []int) { method GetProductId (line 65) | func (x *CartItem) GetProductId() uint32 { method GetQuantity (line 72) | func (x *CartItem) GetQuantity() int32 { type AddItemReq (line 79) | type AddItemReq struct method Reset (line 88) | func (x *AddItemReq) Reset() { method String (line 97) | func (x *AddItemReq) String() string { method ProtoMessage (line 101) | func (*AddItemReq) ProtoMessage() {} method ProtoReflect (line 103) | func (x *AddItemReq) ProtoReflect() protoreflect.Message { method Descriptor (line 116) | func (*AddItemReq) Descriptor() ([]byte, []int) { method GetUserId (line 120) | func (x *AddItemReq) GetUserId() uint32 { method GetItem (line 127) | func (x *AddItemReq) GetItem() *CartItem { type AddItemResp (line 134) | type AddItemResp struct method Reset (line 140) | func (x *AddItemResp) Reset() { method String (line 149) | func (x *AddItemResp) String() string { method ProtoMessage (line 153) | func (*AddItemResp) ProtoMessage() {} method ProtoReflect (line 155) | func (x *AddItemResp) ProtoReflect() protoreflect.Message { method Descriptor (line 168) | func (*AddItemResp) Descriptor() ([]byte, []int) { type EmptyCartReq (line 172) | type EmptyCartReq struct method Reset (line 180) | func (x *EmptyCartReq) Reset() { method String (line 189) | func (x *EmptyCartReq) String() string { method ProtoMessage (line 193) | func (*EmptyCartReq) ProtoMessage() {} method ProtoReflect (line 195) | func (x *EmptyCartReq) ProtoReflect() protoreflect.Message { method Descriptor (line 208) | func (*EmptyCartReq) Descriptor() ([]byte, []int) { method GetUserId (line 212) | func (x *EmptyCartReq) GetUserId() uint32 { type GetCartReq (line 219) | type GetCartReq struct method Reset (line 227) | func (x *GetCartReq) Reset() { method String (line 236) | func (x *GetCartReq) String() string { method ProtoMessage (line 240) | func (*GetCartReq) ProtoMessage() {} method ProtoReflect (line 242) | func (x *GetCartReq) ProtoReflect() protoreflect.Message { method Descriptor (line 255) | func (*GetCartReq) Descriptor() ([]byte, []int) { method GetUserId (line 259) | func (x *GetCartReq) GetUserId() uint32 { type GetCartResp (line 266) | type GetCartResp struct method Reset (line 274) | func (x *GetCartResp) Reset() { method String (line 283) | func (x *GetCartResp) String() string { method ProtoMessage (line 287) | func (*GetCartResp) ProtoMessage() {} method ProtoReflect (line 289) | func (x *GetCartResp) ProtoReflect() protoreflect.Message { method Descriptor (line 302) | func (*GetCartResp) Descriptor() ([]byte, []int) { method GetCart (line 306) | func (x *GetCartResp) GetCart() *Cart { type Cart (line 313) | type Cart struct method Reset (line 322) | func (x *Cart) Reset() { method String (line 331) | func (x *Cart) String() string { method ProtoMessage (line 335) | func (*Cart) ProtoMessage() {} method ProtoReflect (line 337) | func (x *Cart) ProtoReflect() protoreflect.Message { method Descriptor (line 350) | func (*Cart) Descriptor() ([]byte, []int) { method GetUserId (line 354) | func (x *Cart) GetUserId() uint32 { method GetItems (line 361) | func (x *Cart) GetItems() []*CartItem { type EmptyCartResp (line 368) | type EmptyCartResp struct method Reset (line 374) | func (x *EmptyCartResp) Reset() { method String (line 383) | func (x *EmptyCartResp) String() string { method ProtoMessage (line 387) | func (*EmptyCartResp) ProtoMessage() {} method ProtoReflect (line 389) | func (x *EmptyCartResp) ProtoReflect() protoreflect.Message { method Descriptor (line 402) | func (*EmptyCartResp) Descriptor() ([]byte, []int) { function file_cart_proto_rawDescGZIP (line 456) | func file_cart_proto_rawDescGZIP() []byte { function init (line 491) | func init() { file_cart_proto_init() } function file_cart_proto_init (line 492) | func file_cart_proto_init() { type CartService (line 618) | type CartService interface FILE: gomall/tutorial/ch16/rpc_gen/kitex_gen/cart/cartservice/cartservice.go function serviceInfo (line 14) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 20) | func NewServiceInfo() *kitex.ServiceInfo { function addItemHandler (line 43) | func addItemHandler(ctx context.Context, handler interface{}, arg, resul... function newAddItemArgs (line 68) | func newAddItemArgs() interface{} { function newAddItemResult (line 72) | func newAddItemResult() interface{} { type AddItemArgs (line 76) | type AddItemArgs struct method FastRead (line 80) | func (p *AddItemArgs) FastRead(buf []byte, _type int8, number int32) (... method FastWrite (line 87) | func (p *AddItemArgs) FastWrite(buf []byte) (n int) { method Size (line 94) | func (p *AddItemArgs) Size() (n int) { method Marshal (line 101) | func (p *AddItemArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 108) | func (p *AddItemArgs) Unmarshal(in []byte) error { method GetReq (line 119) | func (p *AddItemArgs) GetReq() *cart.AddItemReq { method IsSetReq (line 126) | func (p *AddItemArgs) IsSetReq() bool { method GetFirstArgument (line 130) | func (p *AddItemArgs) GetFirstArgument() interface{} { type AddItemResult (line 134) | type AddItemResult struct method FastRead (line 140) | func (p *AddItemResult) FastRead(buf []byte, _type int8, number int32)... method FastWrite (line 147) | func (p *AddItemResult) FastWrite(buf []byte) (n int) { method Size (line 154) | func (p *AddItemResult) Size() (n int) { method Marshal (line 161) | func (p *AddItemResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 168) | func (p *AddItemResult) Unmarshal(in []byte) error { method GetSuccess (line 177) | func (p *AddItemResult) GetSuccess() *cart.AddItemResp { method SetSuccess (line 184) | func (p *AddItemResult) SetSuccess(x interface{}) { method IsSetSuccess (line 188) | func (p *AddItemResult) IsSetSuccess() bool { method GetResult (line 192) | func (p *AddItemResult) GetResult() interface{} { function getCartHandler (line 196) | func getCartHandler(ctx context.Context, handler interface{}, arg, resul... function newGetCartArgs (line 221) | func newGetCartArgs() interface{} { function newGetCartResult (line 225) | func newGetCartResult() interface{} { type GetCartArgs (line 229) | type GetCartArgs struct method FastRead (line 233) | func (p *GetCartArgs) FastRead(buf []byte, _type int8, number int32) (... method FastWrite (line 240) | func (p *GetCartArgs) FastWrite(buf []byte) (n int) { method Size (line 247) | func (p *GetCartArgs) Size() (n int) { method Marshal (line 254) | func (p *GetCartArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 261) | func (p *GetCartArgs) Unmarshal(in []byte) error { method GetReq (line 272) | func (p *GetCartArgs) GetReq() *cart.GetCartReq { method IsSetReq (line 279) | func (p *GetCartArgs) IsSetReq() bool { method GetFirstArgument (line 283) | func (p *GetCartArgs) GetFirstArgument() interface{} { type GetCartResult (line 287) | type GetCartResult struct method FastRead (line 293) | func (p *GetCartResult) FastRead(buf []byte, _type int8, number int32)... method FastWrite (line 300) | func (p *GetCartResult) FastWrite(buf []byte) (n int) { method Size (line 307) | func (p *GetCartResult) Size() (n int) { method Marshal (line 314) | func (p *GetCartResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 321) | func (p *GetCartResult) Unmarshal(in []byte) error { method GetSuccess (line 330) | func (p *GetCartResult) GetSuccess() *cart.GetCartResp { method SetSuccess (line 337) | func (p *GetCartResult) SetSuccess(x interface{}) { method IsSetSuccess (line 341) | func (p *GetCartResult) IsSetSuccess() bool { method GetResult (line 345) | func (p *GetCartResult) GetResult() interface{} { function emptyCartHandler (line 349) | func emptyCartHandler(ctx context.Context, handler interface{}, arg, res... function newEmptyCartArgs (line 374) | func newEmptyCartArgs() interface{} { function newEmptyCartResult (line 378) | func newEmptyCartResult() interface{} { type EmptyCartArgs (line 382) | type EmptyCartArgs struct method FastRead (line 386) | func (p *EmptyCartArgs) FastRead(buf []byte, _type int8, number int32)... method FastWrite (line 393) | func (p *EmptyCartArgs) FastWrite(buf []byte) (n int) { method Size (line 400) | func (p *EmptyCartArgs) Size() (n int) { method Marshal (line 407) | func (p *EmptyCartArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 414) | func (p *EmptyCartArgs) Unmarshal(in []byte) error { method GetReq (line 425) | func (p *EmptyCartArgs) GetReq() *cart.EmptyCartReq { method IsSetReq (line 432) | func (p *EmptyCartArgs) IsSetReq() bool { method GetFirstArgument (line 436) | func (p *EmptyCartArgs) GetFirstArgument() interface{} { type EmptyCartResult (line 440) | type EmptyCartResult struct method FastRead (line 446) | func (p *EmptyCartResult) FastRead(buf []byte, _type int8, number int3... method FastWrite (line 453) | func (p *EmptyCartResult) FastWrite(buf []byte) (n int) { method Size (line 460) | func (p *EmptyCartResult) Size() (n int) { method Marshal (line 467) | func (p *EmptyCartResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 474) | func (p *EmptyCartResult) Unmarshal(in []byte) error { method GetSuccess (line 483) | func (p *EmptyCartResult) GetSuccess() *cart.EmptyCartResp { method SetSuccess (line 490) | func (p *EmptyCartResult) SetSuccess(x interface{}) { method IsSetSuccess (line 494) | func (p *EmptyCartResult) IsSetSuccess() bool { method GetResult (line 498) | func (p *EmptyCartResult) GetResult() interface{} { type kClient (line 502) | type kClient struct method AddItem (line 512) | func (p *kClient) AddItem(ctx context.Context, Req *cart.AddItemReq) (... method GetCart (line 522) | func (p *kClient) GetCart(ctx context.Context, Req *cart.GetCartReq) (... method EmptyCart (line 532) | func (p *kClient) EmptyCart(ctx context.Context, Req *cart.EmptyCartRe... function newServiceClient (line 506) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch16/rpc_gen/kitex_gen/cart/cartservice/client.go type Client (line 13) | type Client interface function NewClient (line 20) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 36) | func MustNewClient(destService string, opts ...client.Option) Client { type kCartServiceClient (line 44) | type kCartServiceClient struct method AddItem (line 48) | func (p *kCartServiceClient) AddItem(ctx context.Context, Req *cart.Ad... method GetCart (line 53) | func (p *kCartServiceClient) GetCart(ctx context.Context, Req *cart.Ge... method EmptyCart (line 58) | func (p *kCartServiceClient) EmptyCart(ctx context.Context, Req *cart.... FILE: gomall/tutorial/ch16/rpc_gen/kitex_gen/cart/cartservice/invoker.go function NewInvoker (line 11) | func NewInvoker(handler cart.CartService, opts ...server.Option) server.... FILE: gomall/tutorial/ch16/rpc_gen/kitex_gen/cart/cartservice/server.go function NewServer (line 10) | func NewServer(handler cart.CartService, opts ...server.Option) server.S... FILE: gomall/tutorial/ch16/rpc_gen/kitex_gen/checkout/checkout.pb.fast.go method FastRead (line 16) | func (x *Address) FastRead(buf []byte, _type int8, number int32) (offset... method fastReadField1 (line 56) | func (x *Address) fastReadField1(buf []byte, _type int8) (offset int, er... method fastReadField2 (line 61) | func (x *Address) fastReadField2(buf []byte, _type int8) (offset int, er... method fastReadField3 (line 66) | func (x *Address) fastReadField3(buf []byte, _type int8) (offset int, er... method fastReadField4 (line 71) | func (x *Address) fastReadField4(buf []byte, _type int8) (offset int, er... method fastReadField5 (line 76) | func (x *Address) fastReadField5(buf []byte, _type int8) (offset int, er... method FastRead (line 81) | func (x *CheckoutReq) FastRead(buf []byte, _type int8, number int32) (of... method fastReadField1 (line 126) | func (x *CheckoutReq) fastReadField1(buf []byte, _type int8) (offset int... method fastReadField2 (line 131) | func (x *CheckoutReq) fastReadField2(buf []byte, _type int8) (offset int... method fastReadField3 (line 136) | func (x *CheckoutReq) fastReadField3(buf []byte, _type int8) (offset int... method fastReadField4 (line 141) | func (x *CheckoutReq) fastReadField4(buf []byte, _type int8) (offset int... method fastReadField5 (line 146) | func (x *CheckoutReq) fastReadField5(buf []byte, _type int8) (offset int... method fastReadField6 (line 156) | func (x *CheckoutReq) fastReadField6(buf []byte, _type int8) (offset int... method FastRead (line 166) | func (x *CheckoutResp) FastRead(buf []byte, _type int8, number int32) (o... method fastReadField1 (line 191) | func (x *CheckoutResp) fastReadField1(buf []byte, _type int8) (offset in... method fastReadField2 (line 196) | func (x *CheckoutResp) fastReadField2(buf []byte, _type int8) (offset in... method FastWrite (line 201) | func (x *Address) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 213) | func (x *Address) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 221) | func (x *Address) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 229) | func (x *Address) fastWriteField3(buf []byte) (offset int) { method fastWriteField4 (line 237) | func (x *Address) fastWriteField4(buf []byte) (offset int) { method fastWriteField5 (line 245) | func (x *Address) fastWriteField5(buf []byte) (offset int) { method FastWrite (line 253) | func (x *CheckoutReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 266) | func (x *CheckoutReq) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 274) | func (x *CheckoutReq) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 282) | func (x *CheckoutReq) fastWriteField3(buf []byte) (offset int) { method fastWriteField4 (line 290) | func (x *CheckoutReq) fastWriteField4(buf []byte) (offset int) { method fastWriteField5 (line 298) | func (x *CheckoutReq) fastWriteField5(buf []byte) (offset int) { method fastWriteField6 (line 306) | func (x *CheckoutReq) fastWriteField6(buf []byte) (offset int) { method FastWrite (line 314) | func (x *CheckoutResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 323) | func (x *CheckoutResp) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 331) | func (x *CheckoutResp) fastWriteField2(buf []byte) (offset int) { method Size (line 339) | func (x *Address) Size() (n int) { method sizeField1 (line 351) | func (x *Address) sizeField1() (n int) { method sizeField2 (line 359) | func (x *Address) sizeField2() (n int) { method sizeField3 (line 367) | func (x *Address) sizeField3() (n int) { method sizeField4 (line 375) | func (x *Address) sizeField4() (n int) { method sizeField5 (line 383) | func (x *Address) sizeField5() (n int) { method Size (line 391) | func (x *CheckoutReq) Size() (n int) { method sizeField1 (line 404) | func (x *CheckoutReq) sizeField1() (n int) { method sizeField2 (line 412) | func (x *CheckoutReq) sizeField2() (n int) { method sizeField3 (line 420) | func (x *CheckoutReq) sizeField3() (n int) { method sizeField4 (line 428) | func (x *CheckoutReq) sizeField4() (n int) { method sizeField5 (line 436) | func (x *CheckoutReq) sizeField5() (n int) { method sizeField6 (line 444) | func (x *CheckoutReq) sizeField6() (n int) { method Size (line 452) | func (x *CheckoutResp) Size() (n int) { method sizeField1 (line 461) | func (x *CheckoutResp) sizeField1() (n int) { method sizeField2 (line 469) | func (x *CheckoutResp) sizeField2() (n int) { FILE: gomall/tutorial/ch16/rpc_gen/kitex_gen/checkout/checkout.pb.go constant _ (line 20) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 22) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Address (line 25) | type Address struct method Reset (line 37) | func (x *Address) Reset() { method String (line 46) | func (x *Address) String() string { method ProtoMessage (line 50) | func (*Address) ProtoMessage() {} method ProtoReflect (line 52) | func (x *Address) ProtoReflect() protoreflect.Message { method Descriptor (line 65) | func (*Address) Descriptor() ([]byte, []int) { method GetStreetAddress (line 69) | func (x *Address) GetStreetAddress() string { method GetCity (line 76) | func (x *Address) GetCity() string { method GetState (line 83) | func (x *Address) GetState() string { method GetCountry (line 90) | func (x *Address) GetCountry() string { method GetZipCode (line 97) | func (x *Address) GetZipCode() string { type CheckoutReq (line 104) | type CheckoutReq struct method Reset (line 117) | func (x *CheckoutReq) Reset() { method String (line 126) | func (x *CheckoutReq) String() string { method ProtoMessage (line 130) | func (*CheckoutReq) ProtoMessage() {} method ProtoReflect (line 132) | func (x *CheckoutReq) ProtoReflect() protoreflect.Message { method Descriptor (line 145) | func (*CheckoutReq) Descriptor() ([]byte, []int) { method GetUserId (line 149) | func (x *CheckoutReq) GetUserId() uint32 { method GetFirstname (line 156) | func (x *CheckoutReq) GetFirstname() string { method GetLastname (line 163) | func (x *CheckoutReq) GetLastname() string { method GetEmail (line 170) | func (x *CheckoutReq) GetEmail() string { method GetAddress (line 177) | func (x *CheckoutReq) GetAddress() *Address { method GetCreditCard (line 184) | func (x *CheckoutReq) GetCreditCard() *payment.CreditCardInfo { type CheckoutResp (line 191) | type CheckoutResp struct method Reset (line 200) | func (x *CheckoutResp) Reset() { method String (line 209) | func (x *CheckoutResp) String() string { method ProtoMessage (line 213) | func (*CheckoutResp) ProtoMessage() {} method ProtoReflect (line 215) | func (x *CheckoutResp) ProtoReflect() protoreflect.Message { method Descriptor (line 228) | func (*CheckoutResp) Descriptor() ([]byte, []int) { method GetOrderId (line 232) | func (x *CheckoutResp) GetOrderId() string { method GetTransactionId (line 239) | func (x *CheckoutResp) GetTransactionId() string { function file_checkout_proto_rawDescGZIP (line 297) | func file_checkout_proto_rawDescGZIP() []byte { function init (line 323) | func init() { file_checkout_proto_init() } function file_checkout_proto_init (line 324) | func file_checkout_proto_init() { type CheckoutService (line 390) | type CheckoutService interface FILE: gomall/tutorial/ch16/rpc_gen/kitex_gen/checkout/checkoutservice/checkoutservice.go function serviceInfo (line 14) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 20) | func NewServiceInfo() *kitex.ServiceInfo { function checkoutHandler (line 41) | func checkoutHandler(ctx context.Context, handler interface{}, arg, resu... function newCheckoutArgs (line 66) | func newCheckoutArgs() interface{} { function newCheckoutResult (line 70) | func newCheckoutResult() interface{} { type CheckoutArgs (line 74) | type CheckoutArgs struct method FastRead (line 78) | func (p *CheckoutArgs) FastRead(buf []byte, _type int8, number int32) ... method FastWrite (line 85) | func (p *CheckoutArgs) FastWrite(buf []byte) (n int) { method Size (line 92) | func (p *CheckoutArgs) Size() (n int) { method Marshal (line 99) | func (p *CheckoutArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 106) | func (p *CheckoutArgs) Unmarshal(in []byte) error { method GetReq (line 117) | func (p *CheckoutArgs) GetReq() *checkout.CheckoutReq { method IsSetReq (line 124) | func (p *CheckoutArgs) IsSetReq() bool { method GetFirstArgument (line 128) | func (p *CheckoutArgs) GetFirstArgument() interface{} { type CheckoutResult (line 132) | type CheckoutResult struct method FastRead (line 138) | func (p *CheckoutResult) FastRead(buf []byte, _type int8, number int32... method FastWrite (line 145) | func (p *CheckoutResult) FastWrite(buf []byte) (n int) { method Size (line 152) | func (p *CheckoutResult) Size() (n int) { method Marshal (line 159) | func (p *CheckoutResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 166) | func (p *CheckoutResult) Unmarshal(in []byte) error { method GetSuccess (line 175) | func (p *CheckoutResult) GetSuccess() *checkout.CheckoutResp { method SetSuccess (line 182) | func (p *CheckoutResult) SetSuccess(x interface{}) { method IsSetSuccess (line 186) | func (p *CheckoutResult) IsSetSuccess() bool { method GetResult (line 190) | func (p *CheckoutResult) GetResult() interface{} { type kClient (line 194) | type kClient struct method Checkout (line 204) | func (p *kClient) Checkout(ctx context.Context, Req *checkout.Checkout... function newServiceClient (line 198) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch16/rpc_gen/kitex_gen/checkout/checkoutservice/client.go type Client (line 13) | type Client interface function NewClient (line 18) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 34) | func MustNewClient(destService string, opts ...client.Option) Client { type kCheckoutServiceClient (line 42) | type kCheckoutServiceClient struct method Checkout (line 46) | func (p *kCheckoutServiceClient) Checkout(ctx context.Context, Req *ch... FILE: gomall/tutorial/ch16/rpc_gen/kitex_gen/checkout/checkoutservice/invoker.go function NewInvoker (line 11) | func NewInvoker(handler checkout.CheckoutService, opts ...server.Option)... FILE: gomall/tutorial/ch16/rpc_gen/kitex_gen/checkout/checkoutservice/server.go function NewServer (line 10) | func NewServer(handler checkout.CheckoutService, opts ...server.Option) ... FILE: gomall/tutorial/ch16/rpc_gen/kitex_gen/email/email.pb.fast.go method FastRead (line 15) | func (x *EmailReq) FastRead(buf []byte, _type int8, number int32) (offse... method fastReadField1 (line 55) | func (x *EmailReq) fastReadField1(buf []byte, _type int8) (offset int, e... method fastReadField2 (line 60) | func (x *EmailReq) fastReadField2(buf []byte, _type int8) (offset int, e... method fastReadField3 (line 65) | func (x *EmailReq) fastReadField3(buf []byte, _type int8) (offset int, e... method fastReadField4 (line 70) | func (x *EmailReq) fastReadField4(buf []byte, _type int8) (offset int, e... method fastReadField5 (line 75) | func (x *EmailReq) fastReadField5(buf []byte, _type int8) (offset int, e... method FastRead (line 80) | func (x *EmailResp) FastRead(buf []byte, _type int8, number int32) (offs... method FastWrite (line 93) | func (x *EmailReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 105) | func (x *EmailReq) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 113) | func (x *EmailReq) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 121) | func (x *EmailReq) fastWriteField3(buf []byte) (offset int) { method fastWriteField4 (line 129) | func (x *EmailReq) fastWriteField4(buf []byte) (offset int) { method fastWriteField5 (line 137) | func (x *EmailReq) fastWriteField5(buf []byte) (offset int) { method FastWrite (line 145) | func (x *EmailResp) FastWrite(buf []byte) (offset int) { method Size (line 152) | func (x *EmailReq) Size() (n int) { method sizeField1 (line 164) | func (x *EmailReq) sizeField1() (n int) { method sizeField2 (line 172) | func (x *EmailReq) sizeField2() (n int) { method sizeField3 (line 180) | func (x *EmailReq) sizeField3() (n int) { method sizeField4 (line 188) | func (x *EmailReq) sizeField4() (n int) { method sizeField5 (line 196) | func (x *EmailReq) sizeField5() (n int) { method Size (line 204) | func (x *EmailResp) Size() (n int) { FILE: gomall/tutorial/ch16/rpc_gen/kitex_gen/email/email.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type EmailReq (line 24) | type EmailReq struct method Reset (line 36) | func (x *EmailReq) Reset() { method String (line 45) | func (x *EmailReq) String() string { method ProtoMessage (line 49) | func (*EmailReq) ProtoMessage() {} method ProtoReflect (line 51) | func (x *EmailReq) ProtoReflect() protoreflect.Message { method Descriptor (line 64) | func (*EmailReq) Descriptor() ([]byte, []int) { method GetFrom (line 68) | func (x *EmailReq) GetFrom() string { method GetTo (line 75) | func (x *EmailReq) GetTo() string { method GetContentType (line 82) | func (x *EmailReq) GetContentType() string { method GetSubject (line 89) | func (x *EmailReq) GetSubject() string { method GetContent (line 96) | func (x *EmailReq) GetContent() string { type EmailResp (line 103) | type EmailResp struct method Reset (line 109) | func (x *EmailResp) Reset() { method String (line 118) | func (x *EmailResp) String() string { method ProtoMessage (line 122) | func (*EmailResp) ProtoMessage() {} method ProtoReflect (line 124) | func (x *EmailResp) ProtoReflect() protoreflect.Message { method Descriptor (line 137) | func (*EmailResp) Descriptor() ([]byte, []int) { function file_email_proto_rawDescGZIP (line 170) | func file_email_proto_rawDescGZIP() []byte { function init (line 192) | func init() { file_email_proto_init() } function file_email_proto_init (line 193) | func file_email_proto_init() { type EmailService (line 247) | type EmailService interface FILE: gomall/tutorial/ch16/rpc_gen/kitex_gen/email/emailservice/client.go type Client (line 13) | type Client interface function NewClient (line 18) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 34) | func MustNewClient(destService string, opts ...client.Option) Client { type kEmailServiceClient (line 42) | type kEmailServiceClient struct method Send (line 46) | func (p *kEmailServiceClient) Send(ctx context.Context, Req *email.Ema... FILE: gomall/tutorial/ch16/rpc_gen/kitex_gen/email/emailservice/emailservice.go function serviceInfo (line 14) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 20) | func NewServiceInfo() *kitex.ServiceInfo { function sendHandler (line 41) | func sendHandler(ctx context.Context, handler interface{}, arg, result i... function newSendArgs (line 66) | func newSendArgs() interface{} { function newSendResult (line 70) | func newSendResult() interface{} { type SendArgs (line 74) | type SendArgs struct method FastRead (line 78) | func (p *SendArgs) FastRead(buf []byte, _type int8, number int32) (n i... method FastWrite (line 85) | func (p *SendArgs) FastWrite(buf []byte) (n int) { method Size (line 92) | func (p *SendArgs) Size() (n int) { method Marshal (line 99) | func (p *SendArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 106) | func (p *SendArgs) Unmarshal(in []byte) error { method GetReq (line 117) | func (p *SendArgs) GetReq() *email.EmailReq { method IsSetReq (line 124) | func (p *SendArgs) IsSetReq() bool { method GetFirstArgument (line 128) | func (p *SendArgs) GetFirstArgument() interface{} { type SendResult (line 132) | type SendResult struct method FastRead (line 138) | func (p *SendResult) FastRead(buf []byte, _type int8, number int32) (n... method FastWrite (line 145) | func (p *SendResult) FastWrite(buf []byte) (n int) { method Size (line 152) | func (p *SendResult) Size() (n int) { method Marshal (line 159) | func (p *SendResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 166) | func (p *SendResult) Unmarshal(in []byte) error { method GetSuccess (line 175) | func (p *SendResult) GetSuccess() *email.EmailResp { method SetSuccess (line 182) | func (p *SendResult) SetSuccess(x interface{}) { method IsSetSuccess (line 186) | func (p *SendResult) IsSetSuccess() bool { method GetResult (line 190) | func (p *SendResult) GetResult() interface{} { type kClient (line 194) | type kClient struct method Send (line 204) | func (p *kClient) Send(ctx context.Context, Req *email.EmailReq) (r *e... function newServiceClient (line 198) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch16/rpc_gen/kitex_gen/email/emailservice/invoker.go function NewInvoker (line 11) | func NewInvoker(handler email.EmailService, opts ...server.Option) serve... FILE: gomall/tutorial/ch16/rpc_gen/kitex_gen/email/emailservice/server.go function NewServer (line 10) | func NewServer(handler email.EmailService, opts ...server.Option) server... FILE: gomall/tutorial/ch16/rpc_gen/kitex_gen/order/order.pb.fast.go method FastRead (line 16) | func (x *Address) FastRead(buf []byte, _type int8, number int32) (offset... method fastReadField1 (line 56) | func (x *Address) fastReadField1(buf []byte, _type int8) (offset int, er... method fastReadField2 (line 61) | func (x *Address) fastReadField2(buf []byte, _type int8) (offset int, er... method fastReadField3 (line 66) | func (x *Address) fastReadField3(buf []byte, _type int8) (offset int, er... method fastReadField4 (line 71) | func (x *Address) fastReadField4(buf []byte, _type int8) (offset int, er... method fastReadField5 (line 76) | func (x *Address) fastReadField5(buf []byte, _type int8) (offset int, er... method FastRead (line 81) | func (x *PlaceOrderReq) FastRead(buf []byte, _type int8, number int32) (... method fastReadField1 (line 121) | func (x *PlaceOrderReq) fastReadField1(buf []byte, _type int8) (offset i... method fastReadField2 (line 126) | func (x *PlaceOrderReq) fastReadField2(buf []byte, _type int8) (offset i... method fastReadField3 (line 131) | func (x *PlaceOrderReq) fastReadField3(buf []byte, _type int8) (offset i... method fastReadField4 (line 141) | func (x *PlaceOrderReq) fastReadField4(buf []byte, _type int8) (offset i... method fastReadField5 (line 146) | func (x *PlaceOrderReq) fastReadField5(buf []byte, _type int8) (offset i... method FastRead (line 156) | func (x *OrderItem) FastRead(buf []byte, _type int8, number int32) (offs... method fastReadField1 (line 181) | func (x *OrderItem) fastReadField1(buf []byte, _type int8) (offset int, ... method fastReadField2 (line 191) | func (x *OrderItem) fastReadField2(buf []byte, _type int8) (offset int, ... method FastRead (line 196) | func (x *OrderResult) FastRead(buf []byte, _type int8, number int32) (of... method fastReadField1 (line 216) | func (x *OrderResult) fastReadField1(buf []byte, _type int8) (offset int... method FastRead (line 221) | func (x *PlaceOrderResp) FastRead(buf []byte, _type int8, number int32) ... method fastReadField1 (line 241) | func (x *PlaceOrderResp) fastReadField1(buf []byte, _type int8) (offset ... method FastRead (line 251) | func (x *ListOrderReq) FastRead(buf []byte, _type int8, number int32) (o... method fastReadField1 (line 271) | func (x *ListOrderReq) fastReadField1(buf []byte, _type int8) (offset in... method FastRead (line 276) | func (x *Order) FastRead(buf []byte, _type int8, number int32) (offset i... method fastReadField1 (line 326) | func (x *Order) fastReadField1(buf []byte, _type int8) (offset int, err ... method fastReadField2 (line 336) | func (x *Order) fastReadField2(buf []byte, _type int8) (offset int, err ... method fastReadField3 (line 341) | func (x *Order) fastReadField3(buf []byte, _type int8) (offset int, err ... method fastReadField4 (line 346) | func (x *Order) fastReadField4(buf []byte, _type int8) (offset int, err ... method fastReadField5 (line 351) | func (x *Order) fastReadField5(buf []byte, _type int8) (offset int, err ... method fastReadField6 (line 361) | func (x *Order) fastReadField6(buf []byte, _type int8) (offset int, err ... method fastReadField7 (line 366) | func (x *Order) fastReadField7(buf []byte, _type int8) (offset int, err ... method FastRead (line 371) | func (x *ListOrderResp) FastRead(buf []byte, _type int8, number int32) (... method fastReadField1 (line 391) | func (x *ListOrderResp) fastReadField1(buf []byte, _type int8) (offset i... method FastWrite (line 401) | func (x *Address) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 413) | func (x *Address) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 421) | func (x *Address) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 429) | func (x *Address) fastWriteField3(buf []byte) (offset int) { method fastWriteField4 (line 437) | func (x *Address) fastWriteField4(buf []byte) (offset int) { method fastWriteField5 (line 445) | func (x *Address) fastWriteField5(buf []byte) (offset int) { method FastWrite (line 453) | func (x *PlaceOrderReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 465) | func (x *PlaceOrderReq) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 473) | func (x *PlaceOrderReq) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 481) | func (x *PlaceOrderReq) fastWriteField3(buf []byte) (offset int) { method fastWriteField4 (line 489) | func (x *PlaceOrderReq) fastWriteField4(buf []byte) (offset int) { method fastWriteField5 (line 497) | func (x *PlaceOrderReq) fastWriteField5(buf []byte) (offset int) { method FastWrite (line 507) | func (x *OrderItem) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 516) | func (x *OrderItem) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 524) | func (x *OrderItem) fastWriteField2(buf []byte) (offset int) { method FastWrite (line 532) | func (x *OrderResult) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 540) | func (x *OrderResult) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 548) | func (x *PlaceOrderResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 556) | func (x *PlaceOrderResp) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 564) | func (x *ListOrderReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 572) | func (x *ListOrderReq) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 580) | func (x *Order) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 594) | func (x *Order) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 604) | func (x *Order) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 612) | func (x *Order) fastWriteField3(buf []byte) (offset int) { method fastWriteField4 (line 620) | func (x *Order) fastWriteField4(buf []byte) (offset int) { method fastWriteField5 (line 628) | func (x *Order) fastWriteField5(buf []byte) (offset int) { method fastWriteField6 (line 636) | func (x *Order) fastWriteField6(buf []byte) (offset int) { method fastWriteField7 (line 644) | func (x *Order) fastWriteField7(buf []byte) (offset int) { method FastWrite (line 652) | func (x *ListOrderResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 660) | func (x *ListOrderResp) fastWriteField1(buf []byte) (offset int) { method Size (line 670) | func (x *Address) Size() (n int) { method sizeField1 (line 682) | func (x *Address) sizeField1() (n int) { method sizeField2 (line 690) | func (x *Address) sizeField2() (n int) { method sizeField3 (line 698) | func (x *Address) sizeField3() (n int) { method sizeField4 (line 706) | func (x *Address) sizeField4() (n int) { method sizeField5 (line 714) | func (x *Address) sizeField5() (n int) { method Size (line 722) | func (x *PlaceOrderReq) Size() (n int) { method sizeField1 (line 734) | func (x *PlaceOrderReq) sizeField1() (n int) { method sizeField2 (line 742) | func (x *PlaceOrderReq) sizeField2() (n int) { method sizeField3 (line 750) | func (x *PlaceOrderReq) sizeField3() (n int) { method sizeField4 (line 758) | func (x *PlaceOrderReq) sizeField4() (n int) { method sizeField5 (line 766) | func (x *PlaceOrderReq) sizeField5() (n int) { method Size (line 776) | func (x *OrderItem) Size() (n int) { method sizeField1 (line 785) | func (x *OrderItem) sizeField1() (n int) { method sizeField2 (line 793) | func (x *OrderItem) sizeField2() (n int) { method Size (line 801) | func (x *OrderResult) Size() (n int) { method sizeField1 (line 809) | func (x *OrderResult) sizeField1() (n int) { method Size (line 817) | func (x *PlaceOrderResp) Size() (n int) { method sizeField1 (line 825) | func (x *PlaceOrderResp) sizeField1() (n int) { method Size (line 833) | func (x *ListOrderReq) Size() (n int) { method sizeField1 (line 841) | func (x *ListOrderReq) sizeField1() (n int) { method Size (line 849) | func (x *Order) Size() (n int) { method sizeField1 (line 863) | func (x *Order) sizeField1() (n int) { method sizeField2 (line 873) | func (x *Order) sizeField2() (n int) { method sizeField3 (line 881) | func (x *Order) sizeField3() (n int) { method sizeField4 (line 889) | func (x *Order) sizeField4() (n int) { method sizeField5 (line 897) | func (x *Order) sizeField5() (n int) { method sizeField6 (line 905) | func (x *Order) sizeField6() (n int) { method sizeField7 (line 913) | func (x *Order) sizeField7() (n int) { method Size (line 921) | func (x *ListOrderResp) Size() (n int) { method sizeField1 (line 929) | func (x *ListOrderResp) sizeField1() (n int) { FILE: gomall/tutorial/ch16/rpc_gen/kitex_gen/order/order.pb.go constant _ (line 20) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 22) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Address (line 25) | type Address struct method Reset (line 37) | func (x *Address) Reset() { method String (line 46) | func (x *Address) String() string { method ProtoMessage (line 50) | func (*Address) ProtoMessage() {} method ProtoReflect (line 52) | func (x *Address) ProtoReflect() protoreflect.Message { method Descriptor (line 65) | func (*Address) Descriptor() ([]byte, []int) { method GetStreetAddress (line 69) | func (x *Address) GetStreetAddress() string { method GetCity (line 76) | func (x *Address) GetCity() string { method GetState (line 83) | func (x *Address) GetState() string { method GetCountry (line 90) | func (x *Address) GetCountry() string { method GetZipCode (line 97) | func (x *Address) GetZipCode() int32 { type PlaceOrderReq (line 104) | type PlaceOrderReq struct method Reset (line 116) | func (x *PlaceOrderReq) Reset() { method String (line 125) | func (x *PlaceOrderReq) String() string { method ProtoMessage (line 129) | func (*PlaceOrderReq) ProtoMessage() {} method ProtoReflect (line 131) | func (x *PlaceOrderReq) ProtoReflect() protoreflect.Message { method Descriptor (line 144) | func (*PlaceOrderReq) Descriptor() ([]byte, []int) { method GetUserId (line 148) | func (x *PlaceOrderReq) GetUserId() uint32 { method GetUserCurrency (line 155) | func (x *PlaceOrderReq) GetUserCurrency() string { method GetAddress (line 162) | func (x *PlaceOrderReq) GetAddress() *Address { method GetEmail (line 169) | func (x *PlaceOrderReq) GetEmail() string { method GetOrderItems (line 176) | func (x *PlaceOrderReq) GetOrderItems() []*OrderItem { type OrderItem (line 183) | type OrderItem struct method Reset (line 192) | func (x *OrderItem) Reset() { method String (line 201) | func (x *OrderItem) String() string { method ProtoMessage (line 205) | func (*OrderItem) ProtoMessage() {} method ProtoReflect (line 207) | func (x *OrderItem) ProtoReflect() protoreflect.Message { method Descriptor (line 220) | func (*OrderItem) Descriptor() ([]byte, []int) { method GetItem (line 224) | func (x *OrderItem) GetItem() *cart.CartItem { method GetCost (line 231) | func (x *OrderItem) GetCost() float32 { type OrderResult (line 238) | type OrderResult struct method Reset (line 246) | func (x *OrderResult) Reset() { method String (line 255) | func (x *OrderResult) String() string { method ProtoMessage (line 259) | func (*OrderResult) ProtoMessage() {} method ProtoReflect (line 261) | func (x *OrderResult) ProtoReflect() protoreflect.Message { method Descriptor (line 274) | func (*OrderResult) Descriptor() ([]byte, []int) { method GetOrderId (line 278) | func (x *OrderResult) GetOrderId() string { type PlaceOrderResp (line 285) | type PlaceOrderResp struct method Reset (line 293) | func (x *PlaceOrderResp) Reset() { method String (line 302) | func (x *PlaceOrderResp) String() string { method ProtoMessage (line 306) | func (*PlaceOrderResp) ProtoMessage() {} method ProtoReflect (line 308) | func (x *PlaceOrderResp) ProtoReflect() protoreflect.Message { method Descriptor (line 321) | func (*PlaceOrderResp) Descriptor() ([]byte, []int) { method GetOrder (line 325) | func (x *PlaceOrderResp) GetOrder() *OrderResult { type ListOrderReq (line 332) | type ListOrderReq struct method Reset (line 340) | func (x *ListOrderReq) Reset() { method String (line 349) | func (x *ListOrderReq) String() string { method ProtoMessage (line 353) | func (*ListOrderReq) ProtoMessage() {} method ProtoReflect (line 355) | func (x *ListOrderReq) ProtoReflect() protoreflect.Message { method Descriptor (line 368) | func (*ListOrderReq) Descriptor() ([]byte, []int) { method GetUserId (line 372) | func (x *ListOrderReq) GetUserId() uint32 { type Order (line 379) | type Order struct method Reset (line 393) | func (x *Order) Reset() { method String (line 402) | func (x *Order) String() string { method ProtoMessage (line 406) | func (*Order) ProtoMessage() {} method ProtoReflect (line 408) | func (x *Order) ProtoReflect() protoreflect.Message { method Descriptor (line 421) | func (*Order) Descriptor() ([]byte, []int) { method GetOrderItems (line 425) | func (x *Order) GetOrderItems() []*OrderItem { method GetOrderId (line 432) | func (x *Order) GetOrderId() string { method GetUserId (line 439) | func (x *Order) GetUserId() uint32 { method GetUserCurrency (line 446) | func (x *Order) GetUserCurrency() string { method GetAddress (line 453) | func (x *Order) GetAddress() *Address { method GetEmail (line 460) | func (x *Order) GetEmail() string { method GetCreatedAt (line 467) | func (x *Order) GetCreatedAt() int32 { type ListOrderResp (line 474) | type ListOrderResp struct method Reset (line 482) | func (x *ListOrderResp) Reset() { method String (line 491) | func (x *ListOrderResp) String() string { method ProtoMessage (line 495) | func (*ListOrderResp) ProtoMessage() {} method ProtoReflect (line 497) | func (x *ListOrderResp) ProtoReflect() protoreflect.Message { method Descriptor (line 510) | func (*ListOrderResp) Descriptor() ([]byte, []int) { method GetOrders (line 514) | func (x *ListOrderResp) GetOrders() []*Order { function file_order_proto_rawDescGZIP (line 600) | func file_order_proto_rawDescGZIP() []byte { function init (line 638) | func init() { file_order_proto_init() } function file_order_proto_init (line 639) | func file_order_proto_init() { type OrderService (line 765) | type OrderService interface FILE: gomall/tutorial/ch16/rpc_gen/kitex_gen/order/orderservice/client.go type Client (line 13) | type Client interface function NewClient (line 19) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 35) | func MustNewClient(destService string, opts ...client.Option) Client { type kOrderServiceClient (line 43) | type kOrderServiceClient struct method PlaceOrder (line 47) | func (p *kOrderServiceClient) PlaceOrder(ctx context.Context, Req *ord... method ListOrder (line 52) | func (p *kOrderServiceClient) ListOrder(ctx context.Context, Req *orde... FILE: gomall/tutorial/ch16/rpc_gen/kitex_gen/order/orderservice/invoker.go function NewInvoker (line 11) | func NewInvoker(handler order.OrderService, opts ...server.Option) serve... FILE: gomall/tutorial/ch16/rpc_gen/kitex_gen/order/orderservice/orderservice.go function serviceInfo (line 14) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 20) | func NewServiceInfo() *kitex.ServiceInfo { function placeOrderHandler (line 42) | func placeOrderHandler(ctx context.Context, handler interface{}, arg, re... function newPlaceOrderArgs (line 67) | func newPlaceOrderArgs() interface{} { function newPlaceOrderResult (line 71) | func newPlaceOrderResult() interface{} { type PlaceOrderArgs (line 75) | type PlaceOrderArgs struct method FastRead (line 79) | func (p *PlaceOrderArgs) FastRead(buf []byte, _type int8, number int32... method FastWrite (line 86) | func (p *PlaceOrderArgs) FastWrite(buf []byte) (n int) { method Size (line 93) | func (p *PlaceOrderArgs) Size() (n int) { method Marshal (line 100) | func (p *PlaceOrderArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 107) | func (p *PlaceOrderArgs) Unmarshal(in []byte) error { method GetReq (line 118) | func (p *PlaceOrderArgs) GetReq() *order.PlaceOrderReq { method IsSetReq (line 125) | func (p *PlaceOrderArgs) IsSetReq() bool { method GetFirstArgument (line 129) | func (p *PlaceOrderArgs) GetFirstArgument() interface{} { type PlaceOrderResult (line 133) | type PlaceOrderResult struct method FastRead (line 139) | func (p *PlaceOrderResult) FastRead(buf []byte, _type int8, number int... method FastWrite (line 146) | func (p *PlaceOrderResult) FastWrite(buf []byte) (n int) { method Size (line 153) | func (p *PlaceOrderResult) Size() (n int) { method Marshal (line 160) | func (p *PlaceOrderResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 167) | func (p *PlaceOrderResult) Unmarshal(in []byte) error { method GetSuccess (line 176) | func (p *PlaceOrderResult) GetSuccess() *order.PlaceOrderResp { method SetSuccess (line 183) | func (p *PlaceOrderResult) SetSuccess(x interface{}) { method IsSetSuccess (line 187) | func (p *PlaceOrderResult) IsSetSuccess() bool { method GetResult (line 191) | func (p *PlaceOrderResult) GetResult() interface{} { function listOrderHandler (line 195) | func listOrderHandler(ctx context.Context, handler interface{}, arg, res... function newListOrderArgs (line 220) | func newListOrderArgs() interface{} { function newListOrderResult (line 224) | func newListOrderResult() interface{} { type ListOrderArgs (line 228) | type ListOrderArgs struct method FastRead (line 232) | func (p *ListOrderArgs) FastRead(buf []byte, _type int8, number int32)... method FastWrite (line 239) | func (p *ListOrderArgs) FastWrite(buf []byte) (n int) { method Size (line 246) | func (p *ListOrderArgs) Size() (n int) { method Marshal (line 253) | func (p *ListOrderArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 260) | func (p *ListOrderArgs) Unmarshal(in []byte) error { method GetReq (line 271) | func (p *ListOrderArgs) GetReq() *order.ListOrderReq { method IsSetReq (line 278) | func (p *ListOrderArgs) IsSetReq() bool { method GetFirstArgument (line 282) | func (p *ListOrderArgs) GetFirstArgument() interface{} { type ListOrderResult (line 286) | type ListOrderResult struct method FastRead (line 292) | func (p *ListOrderResult) FastRead(buf []byte, _type int8, number int3... method FastWrite (line 299) | func (p *ListOrderResult) FastWrite(buf []byte) (n int) { method Size (line 306) | func (p *ListOrderResult) Size() (n int) { method Marshal (line 313) | func (p *ListOrderResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 320) | func (p *ListOrderResult) Unmarshal(in []byte) error { method GetSuccess (line 329) | func (p *ListOrderResult) GetSuccess() *order.ListOrderResp { method SetSuccess (line 336) | func (p *ListOrderResult) SetSuccess(x interface{}) { method IsSetSuccess (line 340) | func (p *ListOrderResult) IsSetSuccess() bool { method GetResult (line 344) | func (p *ListOrderResult) GetResult() interface{} { type kClient (line 348) | type kClient struct method PlaceOrder (line 358) | func (p *kClient) PlaceOrder(ctx context.Context, Req *order.PlaceOrde... method ListOrder (line 368) | func (p *kClient) ListOrder(ctx context.Context, Req *order.ListOrderR... function newServiceClient (line 352) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch16/rpc_gen/kitex_gen/order/orderservice/server.go function NewServer (line 10) | func NewServer(handler order.OrderService, opts ...server.Option) server... FILE: gomall/tutorial/ch16/rpc_gen/kitex_gen/payment/payment.pb.fast.go method FastRead (line 15) | func (x *CreditCardInfo) FastRead(buf []byte, _type int8, number int32) ... method fastReadField1 (line 50) | func (x *CreditCardInfo) fastReadField1(buf []byte, _type int8) (offset ... method fastReadField2 (line 55) | func (x *CreditCardInfo) fastReadField2(buf []byte, _type int8) (offset ... method fastReadField3 (line 60) | func (x *CreditCardInfo) fastReadField3(buf []byte, _type int8) (offset ... method fastReadField4 (line 65) | func (x *CreditCardInfo) fastReadField4(buf []byte, _type int8) (offset ... method FastRead (line 70) | func (x *ChargeReq) FastRead(buf []byte, _type int8, number int32) (offs... method fastReadField1 (line 105) | func (x *ChargeReq) fastReadField1(buf []byte, _type int8) (offset int, ... method fastReadField2 (line 110) | func (x *ChargeReq) fastReadField2(buf []byte, _type int8) (offset int, ... method fastReadField3 (line 120) | func (x *ChargeReq) fastReadField3(buf []byte, _type int8) (offset int, ... method fastReadField4 (line 125) | func (x *ChargeReq) fastReadField4(buf []byte, _type int8) (offset int, ... method FastRead (line 130) | func (x *ChargeResp) FastRead(buf []byte, _type int8, number int32) (off... method fastReadField1 (line 150) | func (x *ChargeResp) fastReadField1(buf []byte, _type int8) (offset int,... method FastWrite (line 155) | func (x *CreditCardInfo) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 166) | func (x *CreditCardInfo) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 174) | func (x *CreditCardInfo) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 182) | func (x *CreditCardInfo) fastWriteField3(buf []byte) (offset int) { method fastWriteField4 (line 190) | func (x *CreditCardInfo) fastWriteField4(buf []byte) (offset int) { method FastWrite (line 198) | func (x *ChargeReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 209) | func (x *ChargeReq) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 217) | func (x *ChargeReq) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 225) | func (x *ChargeReq) fastWriteField3(buf []byte) (offset int) { method fastWriteField4 (line 233) | func (x *ChargeReq) fastWriteField4(buf []byte) (offset int) { method FastWrite (line 241) | func (x *ChargeResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 249) | func (x *ChargeResp) fastWriteField1(buf []byte) (offset int) { method Size (line 257) | func (x *CreditCardInfo) Size() (n int) { method sizeField1 (line 268) | func (x *CreditCardInfo) sizeField1() (n int) { method sizeField2 (line 276) | func (x *CreditCardInfo) sizeField2() (n int) { method sizeField3 (line 284) | func (x *CreditCardInfo) sizeField3() (n int) { method sizeField4 (line 292) | func (x *CreditCardInfo) sizeField4() (n int) { method Size (line 300) | func (x *ChargeReq) Size() (n int) { method sizeField1 (line 311) | func (x *ChargeReq) sizeField1() (n int) { method sizeField2 (line 319) | func (x *ChargeReq) sizeField2() (n int) { method sizeField3 (line 327) | func (x *ChargeReq) sizeField3() (n int) { method sizeField4 (line 335) | func (x *ChargeReq) sizeField4() (n int) { method Size (line 343) | func (x *ChargeResp) Size() (n int) { method sizeField1 (line 351) | func (x *ChargeResp) sizeField1() (n int) { FILE: gomall/tutorial/ch16/rpc_gen/kitex_gen/payment/payment.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type CreditCardInfo (line 24) | type CreditCardInfo struct method Reset (line 35) | func (x *CreditCardInfo) Reset() { method String (line 44) | func (x *CreditCardInfo) String() string { method ProtoMessage (line 48) | func (*CreditCardInfo) ProtoMessage() {} method ProtoReflect (line 50) | func (x *CreditCardInfo) ProtoReflect() protoreflect.Message { method Descriptor (line 63) | func (*CreditCardInfo) Descriptor() ([]byte, []int) { method GetCreditCardNumber (line 67) | func (x *CreditCardInfo) GetCreditCardNumber() string { method GetCreditCardCvv (line 74) | func (x *CreditCardInfo) GetCreditCardCvv() int32 { method GetCreditCardExpirationYear (line 81) | func (x *CreditCardInfo) GetCreditCardExpirationYear() int32 { method GetCreditCardExpirationMonth (line 88) | func (x *CreditCardInfo) GetCreditCardExpirationMonth() int32 { type ChargeReq (line 95) | type ChargeReq struct method Reset (line 106) | func (x *ChargeReq) Reset() { method String (line 115) | func (x *ChargeReq) String() string { method ProtoMessage (line 119) | func (*ChargeReq) ProtoMessage() {} method ProtoReflect (line 121) | func (x *ChargeReq) ProtoReflect() protoreflect.Message { method Descriptor (line 134) | func (*ChargeReq) Descriptor() ([]byte, []int) { method GetAmount (line 138) | func (x *ChargeReq) GetAmount() float32 { method GetCreditCard (line 145) | func (x *ChargeReq) GetCreditCard() *CreditCardInfo { method GetOrderId (line 152) | func (x *ChargeReq) GetOrderId() string { method GetUserId (line 159) | func (x *ChargeReq) GetUserId() uint32 { type ChargeResp (line 166) | type ChargeResp struct method Reset (line 174) | func (x *ChargeResp) Reset() { method String (line 183) | func (x *ChargeResp) String() string { method ProtoMessage (line 187) | func (*ChargeResp) ProtoMessage() {} method ProtoReflect (line 189) | func (x *ChargeResp) ProtoReflect() protoreflect.Message { method Descriptor (line 202) | func (*ChargeResp) Descriptor() ([]byte, []int) { method GetTransactionId (line 206) | func (x *ChargeResp) GetTransactionId() string { function file_payment_proto_rawDescGZIP (line 261) | func file_payment_proto_rawDescGZIP() []byte { function init (line 285) | func init() { file_payment_proto_init() } function file_payment_proto_init (line 286) | func file_payment_proto_init() { type PaymentService (line 352) | type PaymentService interface FILE: gomall/tutorial/ch16/rpc_gen/kitex_gen/payment/paymentservice/client.go type Client (line 13) | type Client interface function NewClient (line 18) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 34) | func MustNewClient(destService string, opts ...client.Option) Client { type kPaymentServiceClient (line 42) | type kPaymentServiceClient struct method Charge (line 46) | func (p *kPaymentServiceClient) Charge(ctx context.Context, Req *payme... FILE: gomall/tutorial/ch16/rpc_gen/kitex_gen/payment/paymentservice/invoker.go function NewInvoker (line 11) | func NewInvoker(handler payment.PaymentService, opts ...server.Option) s... FILE: gomall/tutorial/ch16/rpc_gen/kitex_gen/payment/paymentservice/paymentservice.go function serviceInfo (line 14) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 20) | func NewServiceInfo() *kitex.ServiceInfo { function chargeHandler (line 41) | func chargeHandler(ctx context.Context, handler interface{}, arg, result... function newChargeArgs (line 66) | func newChargeArgs() interface{} { function newChargeResult (line 70) | func newChargeResult() interface{} { type ChargeArgs (line 74) | type ChargeArgs struct method FastRead (line 78) | func (p *ChargeArgs) FastRead(buf []byte, _type int8, number int32) (n... method FastWrite (line 85) | func (p *ChargeArgs) FastWrite(buf []byte) (n int) { method Size (line 92) | func (p *ChargeArgs) Size() (n int) { method Marshal (line 99) | func (p *ChargeArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 106) | func (p *ChargeArgs) Unmarshal(in []byte) error { method GetReq (line 117) | func (p *ChargeArgs) GetReq() *payment.ChargeReq { method IsSetReq (line 124) | func (p *ChargeArgs) IsSetReq() bool { method GetFirstArgument (line 128) | func (p *ChargeArgs) GetFirstArgument() interface{} { type ChargeResult (line 132) | type ChargeResult struct method FastRead (line 138) | func (p *ChargeResult) FastRead(buf []byte, _type int8, number int32) ... method FastWrite (line 145) | func (p *ChargeResult) FastWrite(buf []byte) (n int) { method Size (line 152) | func (p *ChargeResult) Size() (n int) { method Marshal (line 159) | func (p *ChargeResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 166) | func (p *ChargeResult) Unmarshal(in []byte) error { method GetSuccess (line 175) | func (p *ChargeResult) GetSuccess() *payment.ChargeResp { method SetSuccess (line 182) | func (p *ChargeResult) SetSuccess(x interface{}) { method IsSetSuccess (line 186) | func (p *ChargeResult) IsSetSuccess() bool { method GetResult (line 190) | func (p *ChargeResult) GetResult() interface{} { type kClient (line 194) | type kClient struct method Charge (line 204) | func (p *kClient) Charge(ctx context.Context, Req *payment.ChargeReq) ... function newServiceClient (line 198) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch16/rpc_gen/kitex_gen/payment/paymentservice/server.go function NewServer (line 10) | func NewServer(handler payment.PaymentService, opts ...server.Option) se... FILE: gomall/tutorial/ch16/rpc_gen/kitex_gen/product/product.pb.fast.go method FastRead (line 15) | func (x *ListProductsReq) FastRead(buf []byte, _type int8, number int32)... method fastReadField1 (line 45) | func (x *ListProductsReq) fastReadField1(buf []byte, _type int8) (offset... method fastReadField2 (line 50) | func (x *ListProductsReq) fastReadField2(buf []byte, _type int8) (offset... method fastReadField3 (line 55) | func (x *ListProductsReq) fastReadField3(buf []byte, _type int8) (offset... method FastRead (line 60) | func (x *Product) FastRead(buf []byte, _type int8, number int32) (offset... method fastReadField1 (line 105) | func (x *Product) fastReadField1(buf []byte, _type int8) (offset int, er... method fastReadField2 (line 110) | func (x *Product) fastReadField2(buf []byte, _type int8) (offset int, er... method fastReadField3 (line 115) | func (x *Product) fastReadField3(buf []byte, _type int8) (offset int, er... method fastReadField4 (line 120) | func (x *Product) fastReadField4(buf []byte, _type int8) (offset int, er... method fastReadField5 (line 125) | func (x *Product) fastReadField5(buf []byte, _type int8) (offset int, er... method fastReadField6 (line 130) | func (x *Product) fastReadField6(buf []byte, _type int8) (offset int, er... method FastRead (line 140) | func (x *ListProductsResp) FastRead(buf []byte, _type int8, number int32... method fastReadField1 (line 160) | func (x *ListProductsResp) fastReadField1(buf []byte, _type int8) (offse... method FastRead (line 170) | func (x *GetProductReq) FastRead(buf []byte, _type int8, number int32) (... method fastReadField1 (line 190) | func (x *GetProductReq) fastReadField1(buf []byte, _type int8) (offset i... method FastRead (line 195) | func (x *GetProductResp) FastRead(buf []byte, _type int8, number int32) ... method fastReadField1 (line 215) | func (x *GetProductResp) fastReadField1(buf []byte, _type int8) (offset ... method FastRead (line 225) | func (x *SearchProductsReq) FastRead(buf []byte, _type int8, number int3... method fastReadField1 (line 245) | func (x *SearchProductsReq) fastReadField1(buf []byte, _type int8) (offs... method FastRead (line 250) | func (x *SearchProductsResp) FastRead(buf []byte, _type int8, number int... method fastReadField1 (line 270) | func (x *SearchProductsResp) fastReadField1(buf []byte, _type int8) (off... method FastWrite (line 280) | func (x *ListProductsReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 290) | func (x *ListProductsReq) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 298) | func (x *ListProductsReq) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 306) | func (x *ListProductsReq) fastWriteField3(buf []byte) (offset int) { method FastWrite (line 314) | func (x *Product) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 327) | func (x *Product) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 335) | func (x *Product) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 343) | func (x *Product) fastWriteField3(buf []byte) (offset int) { method fastWriteField4 (line 351) | func (x *Product) fastWriteField4(buf []byte) (offset int) { method fastWriteField5 (line 359) | func (x *Product) fastWriteField5(buf []byte) (offset int) { method fastWriteField6 (line 367) | func (x *Product) fastWriteField6(buf []byte) (offset int) { method FastWrite (line 377) | func (x *ListProductsResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 385) | func (x *ListProductsResp) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 395) | func (x *GetProductReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 403) | func (x *GetProductReq) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 411) | func (x *GetProductResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 419) | func (x *GetProductResp) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 427) | func (x *SearchProductsReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 435) | func (x *SearchProductsReq) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 443) | func (x *SearchProductsResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 451) | func (x *SearchProductsResp) fastWriteField1(buf []byte) (offset int) { method Size (line 461) | func (x *ListProductsReq) Size() (n int) { method sizeField1 (line 471) | func (x *ListProductsReq) sizeField1() (n int) { method sizeField2 (line 479) | func (x *ListProductsReq) sizeField2() (n int) { method sizeField3 (line 487) | func (x *ListProductsReq) sizeField3() (n int) { method Size (line 495) | func (x *Product) Size() (n int) { method sizeField1 (line 508) | func (x *Product) sizeField1() (n int) { method sizeField2 (line 516) | func (x *Product) sizeField2() (n int) { method sizeField3 (line 524) | func (x *Product) sizeField3() (n int) { method sizeField4 (line 532) | func (x *Product) sizeField4() (n int) { method sizeField5 (line 540) | func (x *Product) sizeField5() (n int) { method sizeField6 (line 548) | func (x *Product) sizeField6() (n int) { method Size (line 558) | func (x *ListProductsResp) Size() (n int) { method sizeField1 (line 566) | func (x *ListProductsResp) sizeField1() (n int) { method Size (line 576) | func (x *GetProductReq) Size() (n int) { method sizeField1 (line 584) | func (x *GetProductReq) sizeField1() (n int) { method Size (line 592) | func (x *GetProductResp) Size() (n int) { method sizeField1 (line 600) | func (x *GetProductResp) sizeField1() (n int) { method Size (line 608) | func (x *SearchProductsReq) Size() (n int) { method sizeField1 (line 616) | func (x *SearchProductsReq) sizeField1() (n int) { method Size (line 624) | func (x *SearchProductsResp) Size() (n int) { method sizeField1 (line 632) | func (x *SearchProductsResp) sizeField1() (n int) { FILE: gomall/tutorial/ch16/rpc_gen/kitex_gen/product/product.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type ListProductsReq (line 24) | type ListProductsReq struct method Reset (line 34) | func (x *ListProductsReq) Reset() { method String (line 43) | func (x *ListProductsReq) String() string { method ProtoMessage (line 47) | func (*ListProductsReq) ProtoMessage() {} method ProtoReflect (line 49) | func (x *ListProductsReq) ProtoReflect() protoreflect.Message { method Descriptor (line 62) | func (*ListProductsReq) Descriptor() ([]byte, []int) { method GetPage (line 66) | func (x *ListProductsReq) GetPage() int32 { method GetPageSize (line 73) | func (x *ListProductsReq) GetPageSize() int64 { method GetCategoryName (line 80) | func (x *ListProductsReq) GetCategoryName() string { type Product (line 87) | type Product struct method Reset (line 100) | func (x *Product) Reset() { method String (line 109) | func (x *Product) String() string { method ProtoMessage (line 113) | func (*Product) ProtoMessage() {} method ProtoReflect (line 115) | func (x *Product) ProtoReflect() protoreflect.Message { method Descriptor (line 128) | func (*Product) Descriptor() ([]byte, []int) { method GetId (line 132) | func (x *Product) GetId() uint32 { method GetName (line 139) | func (x *Product) GetName() string { method GetDescription (line 146) | func (x *Product) GetDescription() string { method GetPicture (line 153) | func (x *Product) GetPicture() string { method GetPrice (line 160) | func (x *Product) GetPrice() float32 { method GetCategories (line 167) | func (x *Product) GetCategories() []string { type ListProductsResp (line 174) | type ListProductsResp struct method Reset (line 182) | func (x *ListProductsResp) Reset() { method String (line 191) | func (x *ListProductsResp) String() string { method ProtoMessage (line 195) | func (*ListProductsResp) ProtoMessage() {} method ProtoReflect (line 197) | func (x *ListProductsResp) ProtoReflect() protoreflect.Message { method Descriptor (line 210) | func (*ListProductsResp) Descriptor() ([]byte, []int) { method GetProducts (line 214) | func (x *ListProductsResp) GetProducts() []*Product { type GetProductReq (line 221) | type GetProductReq struct method Reset (line 229) | func (x *GetProductReq) Reset() { method String (line 238) | func (x *GetProductReq) String() string { method ProtoMessage (line 242) | func (*GetProductReq) ProtoMessage() {} method ProtoReflect (line 244) | func (x *GetProductReq) ProtoReflect() protoreflect.Message { method Descriptor (line 257) | func (*GetProductReq) Descriptor() ([]byte, []int) { method GetId (line 261) | func (x *GetProductReq) GetId() uint32 { type GetProductResp (line 268) | type GetProductResp struct method Reset (line 276) | func (x *GetProductResp) Reset() { method String (line 285) | func (x *GetProductResp) String() string { method ProtoMessage (line 289) | func (*GetProductResp) ProtoMessage() {} method ProtoReflect (line 291) | func (x *GetProductResp) ProtoReflect() protoreflect.Message { method Descriptor (line 304) | func (*GetProductResp) Descriptor() ([]byte, []int) { method GetProduct (line 308) | func (x *GetProductResp) GetProduct() *Product { type SearchProductsReq (line 315) | type SearchProductsReq struct method Reset (line 323) | func (x *SearchProductsReq) Reset() { method String (line 332) | func (x *SearchProductsReq) String() string { method ProtoMessage (line 336) | func (*SearchProductsReq) ProtoMessage() {} method ProtoReflect (line 338) | func (x *SearchProductsReq) ProtoReflect() protoreflect.Message { method Descriptor (line 351) | func (*SearchProductsReq) Descriptor() ([]byte, []int) { method GetQuery (line 355) | func (x *SearchProductsReq) GetQuery() string { type SearchProductsResp (line 362) | type SearchProductsResp struct method Reset (line 370) | func (x *SearchProductsResp) Reset() { method String (line 379) | func (x *SearchProductsResp) String() string { method ProtoMessage (line 383) | func (*SearchProductsResp) ProtoMessage() {} method ProtoReflect (line 385) | func (x *SearchProductsResp) ProtoReflect() protoreflect.Message { method Descriptor (line 398) | func (*SearchProductsResp) Descriptor() ([]byte, []int) { method GetResults (line 402) | func (x *SearchProductsResp) GetResults() []*Product { function file_product_proto_rawDescGZIP (line 474) | func file_product_proto_rawDescGZIP() []byte { function init (line 508) | func init() { file_product_proto_init() } function file_product_proto_init (line 509) | func file_product_proto_init() { type ProductCatalogService (line 623) | type ProductCatalogService interface FILE: gomall/tutorial/ch16/rpc_gen/kitex_gen/product/productcatalogservice/client.go type Client (line 13) | type Client interface function NewClient (line 20) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 36) | func MustNewClient(destService string, opts ...client.Option) Client { type kProductCatalogServiceClient (line 44) | type kProductCatalogServiceClient struct method ListProducts (line 48) | func (p *kProductCatalogServiceClient) ListProducts(ctx context.Contex... method GetProduct (line 53) | func (p *kProductCatalogServiceClient) GetProduct(ctx context.Context,... method SearchProducts (line 58) | func (p *kProductCatalogServiceClient) SearchProducts(ctx context.Cont... FILE: gomall/tutorial/ch16/rpc_gen/kitex_gen/product/productcatalogservice/invoker.go function NewInvoker (line 11) | func NewInvoker(handler product.ProductCatalogService, opts ...server.Op... FILE: gomall/tutorial/ch16/rpc_gen/kitex_gen/product/productcatalogservice/productcatalogservice.go function serviceInfo (line 14) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 20) | func NewServiceInfo() *kitex.ServiceInfo { function listProductsHandler (line 43) | func listProductsHandler(ctx context.Context, handler interface{}, arg, ... function newListProductsArgs (line 68) | func newListProductsArgs() interface{} { function newListProductsResult (line 72) | func newListProductsResult() interface{} { type ListProductsArgs (line 76) | type ListProductsArgs struct method FastRead (line 80) | func (p *ListProductsArgs) FastRead(buf []byte, _type int8, number int... method FastWrite (line 87) | func (p *ListProductsArgs) FastWrite(buf []byte) (n int) { method Size (line 94) | func (p *ListProductsArgs) Size() (n int) { method Marshal (line 101) | func (p *ListProductsArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 108) | func (p *ListProductsArgs) Unmarshal(in []byte) error { method GetReq (line 119) | func (p *ListProductsArgs) GetReq() *product.ListProductsReq { method IsSetReq (line 126) | func (p *ListProductsArgs) IsSetReq() bool { method GetFirstArgument (line 130) | func (p *ListProductsArgs) GetFirstArgument() interface{} { type ListProductsResult (line 134) | type ListProductsResult struct method FastRead (line 140) | func (p *ListProductsResult) FastRead(buf []byte, _type int8, number i... method FastWrite (line 147) | func (p *ListProductsResult) FastWrite(buf []byte) (n int) { method Size (line 154) | func (p *ListProductsResult) Size() (n int) { method Marshal (line 161) | func (p *ListProductsResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 168) | func (p *ListProductsResult) Unmarshal(in []byte) error { method GetSuccess (line 177) | func (p *ListProductsResult) GetSuccess() *product.ListProductsResp { method SetSuccess (line 184) | func (p *ListProductsResult) SetSuccess(x interface{}) { method IsSetSuccess (line 188) | func (p *ListProductsResult) IsSetSuccess() bool { method GetResult (line 192) | func (p *ListProductsResult) GetResult() interface{} { function getProductHandler (line 196) | func getProductHandler(ctx context.Context, handler interface{}, arg, re... function newGetProductArgs (line 221) | func newGetProductArgs() interface{} { function newGetProductResult (line 225) | func newGetProductResult() interface{} { type GetProductArgs (line 229) | type GetProductArgs struct method FastRead (line 233) | func (p *GetProductArgs) FastRead(buf []byte, _type int8, number int32... method FastWrite (line 240) | func (p *GetProductArgs) FastWrite(buf []byte) (n int) { method Size (line 247) | func (p *GetProductArgs) Size() (n int) { method Marshal (line 254) | func (p *GetProductArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 261) | func (p *GetProductArgs) Unmarshal(in []byte) error { method GetReq (line 272) | func (p *GetProductArgs) GetReq() *product.GetProductReq { method IsSetReq (line 279) | func (p *GetProductArgs) IsSetReq() bool { method GetFirstArgument (line 283) | func (p *GetProductArgs) GetFirstArgument() interface{} { type GetProductResult (line 287) | type GetProductResult struct method FastRead (line 293) | func (p *GetProductResult) FastRead(buf []byte, _type int8, number int... method FastWrite (line 300) | func (p *GetProductResult) FastWrite(buf []byte) (n int) { method Size (line 307) | func (p *GetProductResult) Size() (n int) { method Marshal (line 314) | func (p *GetProductResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 321) | func (p *GetProductResult) Unmarshal(in []byte) error { method GetSuccess (line 330) | func (p *GetProductResult) GetSuccess() *product.GetProductResp { method SetSuccess (line 337) | func (p *GetProductResult) SetSuccess(x interface{}) { method IsSetSuccess (line 341) | func (p *GetProductResult) IsSetSuccess() bool { method GetResult (line 345) | func (p *GetProductResult) GetResult() interface{} { function searchProductsHandler (line 349) | func searchProductsHandler(ctx context.Context, handler interface{}, arg... function newSearchProductsArgs (line 374) | func newSearchProductsArgs() interface{} { function newSearchProductsResult (line 378) | func newSearchProductsResult() interface{} { type SearchProductsArgs (line 382) | type SearchProductsArgs struct method FastRead (line 386) | func (p *SearchProductsArgs) FastRead(buf []byte, _type int8, number i... method FastWrite (line 393) | func (p *SearchProductsArgs) FastWrite(buf []byte) (n int) { method Size (line 400) | func (p *SearchProductsArgs) Size() (n int) { method Marshal (line 407) | func (p *SearchProductsArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 414) | func (p *SearchProductsArgs) Unmarshal(in []byte) error { method GetReq (line 425) | func (p *SearchProductsArgs) GetReq() *product.SearchProductsReq { method IsSetReq (line 432) | func (p *SearchProductsArgs) IsSetReq() bool { method GetFirstArgument (line 436) | func (p *SearchProductsArgs) GetFirstArgument() interface{} { type SearchProductsResult (line 440) | type SearchProductsResult struct method FastRead (line 446) | func (p *SearchProductsResult) FastRead(buf []byte, _type int8, number... method FastWrite (line 453) | func (p *SearchProductsResult) FastWrite(buf []byte) (n int) { method Size (line 460) | func (p *SearchProductsResult) Size() (n int) { method Marshal (line 467) | func (p *SearchProductsResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 474) | func (p *SearchProductsResult) Unmarshal(in []byte) error { method GetSuccess (line 483) | func (p *SearchProductsResult) GetSuccess() *product.SearchProductsResp { method SetSuccess (line 490) | func (p *SearchProductsResult) SetSuccess(x interface{}) { method IsSetSuccess (line 494) | func (p *SearchProductsResult) IsSetSuccess() bool { method GetResult (line 498) | func (p *SearchProductsResult) GetResult() interface{} { type kClient (line 502) | type kClient struct method ListProducts (line 512) | func (p *kClient) ListProducts(ctx context.Context, Req *product.ListP... method GetProduct (line 522) | func (p *kClient) GetProduct(ctx context.Context, Req *product.GetProd... method SearchProducts (line 532) | func (p *kClient) SearchProducts(ctx context.Context, Req *product.Sea... function newServiceClient (line 506) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch16/rpc_gen/kitex_gen/product/productcatalogservice/server.go function NewServer (line 10) | func NewServer(handler product.ProductCatalogService, opts ...server.Opt... FILE: gomall/tutorial/ch16/rpc_gen/kitex_gen/user/user.pb.fast.go method FastRead (line 15) | func (x *RegisterReq) FastRead(buf []byte, _type int8, number int32) (of... method fastReadField1 (line 45) | func (x *RegisterReq) fastReadField1(buf []byte, _type int8) (offset int... method fastReadField2 (line 50) | func (x *RegisterReq) fastReadField2(buf []byte, _type int8) (offset int... method fastReadField3 (line 55) | func (x *RegisterReq) fastReadField3(buf []byte, _type int8) (offset int... method FastRead (line 60) | func (x *RegisterResp) FastRead(buf []byte, _type int8, number int32) (o... method fastReadField1 (line 80) | func (x *RegisterResp) fastReadField1(buf []byte, _type int8) (offset in... method FastRead (line 85) | func (x *LoginReq) FastRead(buf []byte, _type int8, number int32) (offse... method fastReadField1 (line 110) | func (x *LoginReq) fastReadField1(buf []byte, _type int8) (offset int, e... method fastReadField2 (line 115) | func (x *LoginReq) fastReadField2(buf []byte, _type int8) (offset int, e... method FastRead (line 120) | func (x *LoginResp) FastRead(buf []byte, _type int8, number int32) (offs... method fastReadField1 (line 140) | func (x *LoginResp) fastReadField1(buf []byte, _type int8) (offset int, ... method FastWrite (line 145) | func (x *RegisterReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 155) | func (x *RegisterReq) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 163) | func (x *RegisterReq) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 171) | func (x *RegisterReq) fastWriteField3(buf []byte) (offset int) { method FastWrite (line 179) | func (x *RegisterResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 187) | func (x *RegisterResp) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 195) | func (x *LoginReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 204) | func (x *LoginReq) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 212) | func (x *LoginReq) fastWriteField2(buf []byte) (offset int) { method FastWrite (line 220) | func (x *LoginResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 228) | func (x *LoginResp) fastWriteField1(buf []byte) (offset int) { method Size (line 236) | func (x *RegisterReq) Size() (n int) { method sizeField1 (line 246) | func (x *RegisterReq) sizeField1() (n int) { method sizeField2 (line 254) | func (x *RegisterReq) sizeField2() (n int) { method sizeField3 (line 262) | func (x *RegisterReq) sizeField3() (n int) { method Size (line 270) | func (x *RegisterResp) Size() (n int) { method sizeField1 (line 278) | func (x *RegisterResp) sizeField1() (n int) { method Size (line 286) | func (x *LoginReq) Size() (n int) { method sizeField1 (line 295) | func (x *LoginReq) sizeField1() (n int) { method sizeField2 (line 303) | func (x *LoginReq) sizeField2() (n int) { method Size (line 311) | func (x *LoginResp) Size() (n int) { method sizeField1 (line 319) | func (x *LoginResp) sizeField1() (n int) { FILE: gomall/tutorial/ch16/rpc_gen/kitex_gen/user/user.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type RegisterReq (line 24) | type RegisterReq struct method Reset (line 34) | func (x *RegisterReq) Reset() { method String (line 43) | func (x *RegisterReq) String() string { method ProtoMessage (line 47) | func (*RegisterReq) ProtoMessage() {} method ProtoReflect (line 49) | func (x *RegisterReq) ProtoReflect() protoreflect.Message { method Descriptor (line 62) | func (*RegisterReq) Descriptor() ([]byte, []int) { method GetEmail (line 66) | func (x *RegisterReq) GetEmail() string { method GetPassword (line 73) | func (x *RegisterReq) GetPassword() string { method GetConfirmPassword (line 80) | func (x *RegisterReq) GetConfirmPassword() string { type RegisterResp (line 87) | type RegisterResp struct method Reset (line 95) | func (x *RegisterResp) Reset() { method String (line 104) | func (x *RegisterResp) String() string { method ProtoMessage (line 108) | func (*RegisterResp) ProtoMessage() {} method ProtoReflect (line 110) | func (x *RegisterResp) ProtoReflect() protoreflect.Message { method Descriptor (line 123) | func (*RegisterResp) Descriptor() ([]byte, []int) { method GetUserId (line 127) | func (x *RegisterResp) GetUserId() int32 { type LoginReq (line 134) | type LoginReq struct method Reset (line 143) | func (x *LoginReq) Reset() { method String (line 152) | func (x *LoginReq) String() string { method ProtoMessage (line 156) | func (*LoginReq) ProtoMessage() {} method ProtoReflect (line 158) | func (x *LoginReq) ProtoReflect() protoreflect.Message { method Descriptor (line 171) | func (*LoginReq) Descriptor() ([]byte, []int) { method GetEmail (line 175) | func (x *LoginReq) GetEmail() string { method GetPassword (line 182) | func (x *LoginReq) GetPassword() string { type LoginResp (line 189) | type LoginResp struct method Reset (line 197) | func (x *LoginResp) Reset() { method String (line 206) | func (x *LoginResp) String() string { method ProtoMessage (line 210) | func (*LoginResp) ProtoMessage() {} method ProtoReflect (line 212) | func (x *LoginResp) ProtoReflect() protoreflect.Message { method Descriptor (line 225) | func (*LoginResp) Descriptor() ([]byte, []int) { method GetUserId (line 229) | func (x *LoginResp) GetUserId() int32 { function file_user_proto_rawDescGZIP (line 275) | func file_user_proto_rawDescGZIP() []byte { function init (line 301) | func init() { file_user_proto_init() } function file_user_proto_init (line 302) | func file_user_proto_init() { type UserService (line 380) | type UserService interface FILE: gomall/tutorial/ch16/rpc_gen/kitex_gen/user/userservice/client.go type Client (line 13) | type Client interface function NewClient (line 19) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 35) | func MustNewClient(destService string, opts ...client.Option) Client { type kUserServiceClient (line 43) | type kUserServiceClient struct method Register (line 47) | func (p *kUserServiceClient) Register(ctx context.Context, Req *user.R... method Login (line 52) | func (p *kUserServiceClient) Login(ctx context.Context, Req *user.Logi... FILE: gomall/tutorial/ch16/rpc_gen/kitex_gen/user/userservice/invoker.go function NewInvoker (line 11) | func NewInvoker(handler user.UserService, opts ...server.Option) server.... FILE: gomall/tutorial/ch16/rpc_gen/kitex_gen/user/userservice/server.go function NewServer (line 10) | func NewServer(handler user.UserService, opts ...server.Option) server.S... FILE: gomall/tutorial/ch16/rpc_gen/kitex_gen/user/userservice/userservice.go function serviceInfo (line 14) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 20) | func NewServiceInfo() *kitex.ServiceInfo { function registerHandler (line 42) | func registerHandler(ctx context.Context, handler interface{}, arg, resu... function newRegisterArgs (line 67) | func newRegisterArgs() interface{} { function newRegisterResult (line 71) | func newRegisterResult() interface{} { type RegisterArgs (line 75) | type RegisterArgs struct method FastRead (line 79) | func (p *RegisterArgs) FastRead(buf []byte, _type int8, number int32) ... method FastWrite (line 86) | func (p *RegisterArgs) FastWrite(buf []byte) (n int) { method Size (line 93) | func (p *RegisterArgs) Size() (n int) { method Marshal (line 100) | func (p *RegisterArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 107) | func (p *RegisterArgs) Unmarshal(in []byte) error { method GetReq (line 118) | func (p *RegisterArgs) GetReq() *user.RegisterReq { method IsSetReq (line 125) | func (p *RegisterArgs) IsSetReq() bool { method GetFirstArgument (line 129) | func (p *RegisterArgs) GetFirstArgument() interface{} { type RegisterResult (line 133) | type RegisterResult struct method FastRead (line 139) | func (p *RegisterResult) FastRead(buf []byte, _type int8, number int32... method FastWrite (line 146) | func (p *RegisterResult) FastWrite(buf []byte) (n int) { method Size (line 153) | func (p *RegisterResult) Size() (n int) { method Marshal (line 160) | func (p *RegisterResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 167) | func (p *RegisterResult) Unmarshal(in []byte) error { method GetSuccess (line 176) | func (p *RegisterResult) GetSuccess() *user.RegisterResp { method SetSuccess (line 183) | func (p *RegisterResult) SetSuccess(x interface{}) { method IsSetSuccess (line 187) | func (p *RegisterResult) IsSetSuccess() bool { method GetResult (line 191) | func (p *RegisterResult) GetResult() interface{} { function loginHandler (line 195) | func loginHandler(ctx context.Context, handler interface{}, arg, result ... function newLoginArgs (line 220) | func newLoginArgs() interface{} { function newLoginResult (line 224) | func newLoginResult() interface{} { type LoginArgs (line 228) | type LoginArgs struct method FastRead (line 232) | func (p *LoginArgs) FastRead(buf []byte, _type int8, number int32) (n ... method FastWrite (line 239) | func (p *LoginArgs) FastWrite(buf []byte) (n int) { method Size (line 246) | func (p *LoginArgs) Size() (n int) { method Marshal (line 253) | func (p *LoginArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 260) | func (p *LoginArgs) Unmarshal(in []byte) error { method GetReq (line 271) | func (p *LoginArgs) GetReq() *user.LoginReq { method IsSetReq (line 278) | func (p *LoginArgs) IsSetReq() bool { method GetFirstArgument (line 282) | func (p *LoginArgs) GetFirstArgument() interface{} { type LoginResult (line 286) | type LoginResult struct method FastRead (line 292) | func (p *LoginResult) FastRead(buf []byte, _type int8, number int32) (... method FastWrite (line 299) | func (p *LoginResult) FastWrite(buf []byte) (n int) { method Size (line 306) | func (p *LoginResult) Size() (n int) { method Marshal (line 313) | func (p *LoginResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 320) | func (p *LoginResult) Unmarshal(in []byte) error { method GetSuccess (line 329) | func (p *LoginResult) GetSuccess() *user.LoginResp { method SetSuccess (line 336) | func (p *LoginResult) SetSuccess(x interface{}) { method IsSetSuccess (line 340) | func (p *LoginResult) IsSetSuccess() bool { method GetResult (line 344) | func (p *LoginResult) GetResult() interface{} { type kClient (line 348) | type kClient struct method Register (line 358) | func (p *kClient) Register(ctx context.Context, Req *user.RegisterReq)... method Login (line 368) | func (p *kClient) Login(ctx context.Context, Req *user.LoginReq) (r *u... function newServiceClient (line 352) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch16/rpc_gen/rpc/cart/cart_client.go type RPCClient (line 12) | type RPCClient interface function NewRPCClient (line 20) | func NewRPCClient(dstService string, opts ...client.Option) (RPCClient, ... type clientImpl (line 33) | type clientImpl struct method Service (line 38) | func (c *clientImpl) Service() string { method KitexClient (line 42) | func (c *clientImpl) KitexClient() cartservice.Client { method AddItem (line 46) | func (c *clientImpl) AddItem(ctx context.Context, Req *cart.AddItemReq... method GetCart (line 50) | func (c *clientImpl) GetCart(ctx context.Context, Req *cart.GetCartReq... method EmptyCart (line 54) | func (c *clientImpl) EmptyCart(ctx context.Context, Req *cart.EmptyCar... FILE: gomall/tutorial/ch16/rpc_gen/rpc/cart/cart_default.go function AddItem (line 10) | func AddItem(ctx context.Context, req *cart.AddItemReq, callOptions ...c... function GetCart (line 19) | func GetCart(ctx context.Context, req *cart.GetCartReq, callOptions ...c... function EmptyCart (line 28) | func EmptyCart(ctx context.Context, req *cart.EmptyCartReq, callOptions ... FILE: gomall/tutorial/ch16/rpc_gen/rpc/cart/cart_init.go function init (line 19) | func init() { function DefaultClient (line 23) | func DefaultClient() RPCClient { function newClient (line 30) | func newClient(dstService string, opts ...client.Option) RPCClient { function InitClient (line 38) | func InitClient(dstService string, opts ...client.Option) { FILE: gomall/tutorial/ch16/rpc_gen/rpc/checkout/checkout_client.go type RPCClient (line 12) | type RPCClient interface function NewRPCClient (line 18) | func NewRPCClient(dstService string, opts ...client.Option) (RPCClient, ... type clientImpl (line 31) | type clientImpl struct method Service (line 36) | func (c *clientImpl) Service() string { method KitexClient (line 40) | func (c *clientImpl) KitexClient() checkoutservice.Client { method Checkout (line 44) | func (c *clientImpl) Checkout(ctx context.Context, Req *checkout.Check... FILE: gomall/tutorial/ch16/rpc_gen/rpc/checkout/checkout_default.go function Checkout (line 10) | func Checkout(ctx context.Context, req *checkout.CheckoutReq, callOption... FILE: gomall/tutorial/ch16/rpc_gen/rpc/checkout/checkout_init.go function init (line 19) | func init() { function DefaultClient (line 23) | func DefaultClient() RPCClient { function newClient (line 30) | func newClient(dstService string, opts ...client.Option) RPCClient { function InitClient (line 38) | func InitClient(dstService string, opts ...client.Option) { FILE: gomall/tutorial/ch16/rpc_gen/rpc/email/email_client.go type RPCClient (line 12) | type RPCClient interface function NewRPCClient (line 18) | func NewRPCClient(dstService string, opts ...client.Option) (RPCClient, ... type clientImpl (line 31) | type clientImpl struct method Service (line 36) | func (c *clientImpl) Service() string { method KitexClient (line 40) | func (c *clientImpl) KitexClient() emailservice.Client { method Send (line 44) | func (c *clientImpl) Send(ctx context.Context, Req *email.EmailReq, ca... FILE: gomall/tutorial/ch16/rpc_gen/rpc/email/email_default.go function Send (line 10) | func Send(ctx context.Context, req *email.EmailReq, callOptions ...callo... FILE: gomall/tutorial/ch16/rpc_gen/rpc/email/email_init.go function init (line 19) | func init() { function DefaultClient (line 23) | func DefaultClient() RPCClient { function newClient (line 30) | func newClient(dstService string, opts ...client.Option) RPCClient { function InitClient (line 38) | func InitClient(dstService string, opts ...client.Option) { FILE: gomall/tutorial/ch16/rpc_gen/rpc/order/order_client.go type RPCClient (line 12) | type RPCClient interface function NewRPCClient (line 19) | func NewRPCClient(dstService string, opts ...client.Option) (RPCClient, ... type clientImpl (line 32) | type clientImpl struct method Service (line 37) | func (c *clientImpl) Service() string { method KitexClient (line 41) | func (c *clientImpl) KitexClient() orderservice.Client { method PlaceOrder (line 45) | func (c *clientImpl) PlaceOrder(ctx context.Context, Req *order.PlaceO... method ListOrder (line 49) | func (c *clientImpl) ListOrder(ctx context.Context, Req *order.ListOrd... FILE: gomall/tutorial/ch16/rpc_gen/rpc/order/order_default.go function PlaceOrder (line 10) | func PlaceOrder(ctx context.Context, req *order.PlaceOrderReq, callOptio... function ListOrder (line 19) | func ListOrder(ctx context.Context, req *order.ListOrderReq, callOptions... FILE: gomall/tutorial/ch16/rpc_gen/rpc/order/order_init.go function init (line 19) | func init() { function DefaultClient (line 23) | func DefaultClient() RPCClient { function newClient (line 30) | func newClient(dstService string, opts ...client.Option) RPCClient { function InitClient (line 38) | func InitClient(dstService string, opts ...client.Option) { FILE: gomall/tutorial/ch16/rpc_gen/rpc/payment/payment_client.go type RPCClient (line 12) | type RPCClient interface function NewRPCClient (line 18) | func NewRPCClient(dstService string, opts ...client.Option) (RPCClient, ... type clientImpl (line 31) | type clientImpl struct method Service (line 36) | func (c *clientImpl) Service() string { method KitexClient (line 40) | func (c *clientImpl) KitexClient() paymentservice.Client { method Charge (line 44) | func (c *clientImpl) Charge(ctx context.Context, Req *payment.ChargeRe... FILE: gomall/tutorial/ch16/rpc_gen/rpc/payment/payment_default.go function Charge (line 10) | func Charge(ctx context.Context, req *payment.ChargeReq, callOptions ...... FILE: gomall/tutorial/ch16/rpc_gen/rpc/payment/payment_init.go function init (line 19) | func init() { function DefaultClient (line 23) | func DefaultClient() RPCClient { function newClient (line 30) | func newClient(dstService string, opts ...client.Option) RPCClient { function InitClient (line 38) | func InitClient(dstService string, opts ...client.Option) { FILE: gomall/tutorial/ch16/rpc_gen/rpc/product/product_client.go type RPCClient (line 12) | type RPCClient interface function NewRPCClient (line 20) | func NewRPCClient(dstService string, opts ...client.Option) (RPCClient, ... type clientImpl (line 33) | type clientImpl struct method Service (line 38) | func (c *clientImpl) Service() string { method KitexClient (line 42) | func (c *clientImpl) KitexClient() productcatalogservice.Client { method ListProducts (line 46) | func (c *clientImpl) ListProducts(ctx context.Context, Req *product.Li... method GetProduct (line 50) | func (c *clientImpl) GetProduct(ctx context.Context, Req *product.GetP... method SearchProducts (line 54) | func (c *clientImpl) SearchProducts(ctx context.Context, Req *product.... FILE: gomall/tutorial/ch16/rpc_gen/rpc/product/product_default.go function ListProducts (line 10) | func ListProducts(ctx context.Context, req *product.ListProductsReq, cal... function GetProduct (line 19) | func GetProduct(ctx context.Context, req *product.GetProductReq, callOpt... function SearchProducts (line 28) | func SearchProducts(ctx context.Context, req *product.SearchProductsReq,... FILE: gomall/tutorial/ch16/rpc_gen/rpc/product/product_init.go function init (line 19) | func init() { function DefaultClient (line 23) | func DefaultClient() RPCClient { function newClient (line 30) | func newClient(dstService string, opts ...client.Option) RPCClient { function InitClient (line 38) | func InitClient(dstService string, opts ...client.Option) { FILE: gomall/tutorial/ch16/rpc_gen/rpc/user/user_client.go type RPCClient (line 12) | type RPCClient interface function NewRPCClient (line 19) | func NewRPCClient(dstService string, opts ...client.Option) (RPCClient, ... type clientImpl (line 32) | type clientImpl struct method Service (line 37) | func (c *clientImpl) Service() string { method KitexClient (line 41) | func (c *clientImpl) KitexClient() userservice.Client { method Register (line 45) | func (c *clientImpl) Register(ctx context.Context, Req *user.RegisterR... method Login (line 49) | func (c *clientImpl) Login(ctx context.Context, Req *user.LoginReq, ca... FILE: gomall/tutorial/ch16/rpc_gen/rpc/user/user_default.go function Register (line 10) | func Register(ctx context.Context, req *user.RegisterReq, callOptions ..... function Login (line 19) | func Login(ctx context.Context, req *user.LoginReq, callOptions ...callo... FILE: gomall/tutorial/ch16/rpc_gen/rpc/user/user_init.go function init (line 19) | func init() { function DefaultClient (line 23) | func DefaultClient() RPCClient { function newClient (line 30) | func newClient(dstService string, opts ...client.Option) RPCClient { function InitClient (line 38) | func InitClient(dstService string, opts ...client.Option) { FILE: gomall/tutorial/ch17/app/cart/biz/dal/init.go function Init (line 21) | func Init() { FILE: gomall/tutorial/ch17/app/cart/biz/dal/mysql/init.go function Init (line 32) | func Init() { FILE: gomall/tutorial/ch17/app/cart/biz/dal/redis/init.go function Init (line 26) | func Init() { FILE: gomall/tutorial/ch17/app/cart/biz/model/base.go type Base (line 19) | type Base struct FILE: gomall/tutorial/ch17/app/cart/biz/model/cart.go type Cart (line 24) | type Cart struct method TableName (line 31) | func (c Cart) TableName() string { function GetCartByUserId (line 35) | func GetCartByUserId(db *gorm.DB, ctx context.Context, userId uint32) (c... function AddCart (line 40) | func AddCart(db *gorm.DB, ctx context.Context, c *Cart) error { function EmptyCart (line 54) | func EmptyCart(db *gorm.DB, ctx context.Context, userId uint32) error { FILE: gomall/tutorial/ch17/app/cart/biz/service/add_item.go type AddItemService (line 29) | type AddItemService struct method Run (line 37) | func (s *AddItemService) Run(req *cart.AddItemReq) (resp *cart.AddItem... function NewAddItemService (line 32) | func NewAddItemService(ctx context.Context) *AddItemService { FILE: gomall/tutorial/ch17/app/cart/biz/service/add_item_test.go function TestAddItem_Run (line 21) | func TestAddItem_Run(t *testing.T) { FILE: gomall/tutorial/ch17/app/cart/biz/service/empty_cart.go type EmptyCartService (line 26) | type EmptyCartService struct method Run (line 34) | func (s *EmptyCartService) Run(req *cart.EmptyCartReq) (resp *cart.Emp... function NewEmptyCartService (line 29) | func NewEmptyCartService(ctx context.Context) *EmptyCartService { FILE: gomall/tutorial/ch17/app/cart/biz/service/empty_cart_test.go function TestEmptyCart_Run (line 21) | func TestEmptyCart_Run(t *testing.T) { FILE: gomall/tutorial/ch17/app/cart/biz/service/get_cart.go type GetCartService (line 26) | type GetCartService struct method Run (line 34) | func (s *GetCartService) Run(req *cart.GetCartReq) (resp *cart.GetCart... function NewGetCartService (line 29) | func NewGetCartService(ctx context.Context) *GetCartService { FILE: gomall/tutorial/ch17/app/cart/biz/service/get_cart_test.go function TestGetCart_Run (line 21) | func TestGetCart_Run(t *testing.T) { FILE: gomall/tutorial/ch17/app/cart/conf/conf.go type Config (line 33) | type Config struct type MySQL (line 41) | type MySQL struct type Redis (line 45) | type Redis struct type Kitex (line 52) | type Kitex struct type Registry (line 66) | type Registry struct function GetConf (line 73) | func GetConf() *Config { function initConf (line 78) | func initConf() { function GetEnv (line 99) | func GetEnv() string { function LogLevel (line 107) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch17/app/cart/handler.go type CartServiceImpl (line 25) | type CartServiceImpl struct method AddItem (line 28) | func (s *CartServiceImpl) AddItem(ctx context.Context, req *cart.AddIt... method GetCart (line 35) | func (s *CartServiceImpl) GetCart(ctx context.Context, req *cart.GetCa... method EmptyCart (line 42) | func (s *CartServiceImpl) EmptyCart(ctx context.Context, req *cart.Emp... FILE: gomall/tutorial/ch17/app/cart/infra/rpc/client.go function InitClient (line 37) | func InitClient() { function initProductClient (line 43) | func initProductClient() { FILE: gomall/tutorial/ch17/app/cart/main.go function main (line 36) | func main() { function kitexInit (line 53) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch17/app/cart/script/cart.sql type cart (line 1) | create table cart FILE: gomall/tutorial/ch17/app/cart/utils/errors.go function MustHandleError (line 20) | func MustHandleError(err error) { function ShouldHandleError (line 27) | func ShouldHandleError(err error) { FILE: gomall/tutorial/ch17/app/checkout/biz/dal/init.go function Init (line 22) | func Init() { FILE: gomall/tutorial/ch17/app/checkout/biz/dal/mysql/init.go function Init (line 29) | func Init() { FILE: gomall/tutorial/ch17/app/checkout/biz/dal/redis/init.go function Init (line 26) | func Init() { FILE: gomall/tutorial/ch17/app/checkout/biz/service/checkout.go type CheckoutService (line 36) | type CheckoutService struct method Run (line 54) | func (s *CheckoutService) Run(req *checkout.CheckoutReq) (resp *checko... function NewCheckoutService (line 39) | func NewCheckoutService(ctx context.Context) *CheckoutService { FILE: gomall/tutorial/ch17/app/checkout/biz/service/checkout_test.go function TestCheckout_Run (line 21) | func TestCheckout_Run(t *testing.T) { FILE: gomall/tutorial/ch17/app/checkout/conf/conf.go type Config (line 33) | type Config struct type MySQL (line 41) | type MySQL struct type Redis (line 45) | type Redis struct type Kitex (line 52) | type Kitex struct type Registry (line 66) | type Registry struct function GetConf (line 73) | func GetConf() *Config { function initConf (line 78) | func initConf() { function GetEnv (line 99) | func GetEnv() string { function LogLevel (line 107) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch17/app/checkout/handler.go type CheckoutServiceImpl (line 25) | type CheckoutServiceImpl struct method PlaceOrder (line 28) | func (s *CheckoutServiceImpl) PlaceOrder(ctx context.Context, req *che... method Checkout (line 35) | func (s *CheckoutServiceImpl) Checkout(ctx context.Context, req *check... FILE: gomall/tutorial/ch17/app/checkout/infra/mq/nats.go function Init (line 26) | func Init() { FILE: gomall/tutorial/ch17/app/checkout/infra/rpc/client.go function InitClient (line 48) | func InitClient() { function initProductClient (line 57) | func initProductClient() { function initCartClient (line 76) | func initCartClient() { function initPaymentClient (line 94) | func initPaymentClient() { function initOrderClient (line 108) | func initOrderClient() { FILE: gomall/tutorial/ch17/app/checkout/main.go function main (line 37) | func main() { function kitexInit (line 55) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch17/app/checkout/utils/errors.go function MustHandleError (line 20) | func MustHandleError(err error) { function ShouldHandleError (line 27) | func ShouldHandleError(err error) { FILE: gomall/tutorial/ch17/app/email/biz/consumer/consumer.go function Init (line 19) | func Init() { FILE: gomall/tutorial/ch17/app/email/biz/consumer/email/email.go function ConsumerInit (line 28) | func ConsumerInit() { FILE: gomall/tutorial/ch17/app/email/biz/consumer/email/email_test.go function TestEmailConsumer (line 26) | func TestEmailConsumer(t *testing.T) { FILE: gomall/tutorial/ch17/app/email/biz/dal/init.go function Init (line 22) | func Init() { FILE: gomall/tutorial/ch17/app/email/biz/dal/mysql/init.go function Init (line 29) | func Init() { FILE: gomall/tutorial/ch17/app/email/biz/dal/redis/init.go function Init (line 26) | func Init() { FILE: gomall/tutorial/ch17/app/email/biz/service/send.go type SendService (line 23) | type SendService struct method Run (line 31) | func (s *SendService) Run(req *email.EmailReq) (resp *email.EmailResp,... function NewSendService (line 26) | func NewSendService(ctx context.Context) *SendService { FILE: gomall/tutorial/ch17/app/email/biz/service/send_test.go function TestSend_Run (line 24) | func TestSend_Run(t *testing.T) { FILE: gomall/tutorial/ch17/app/email/conf/conf.go type Config (line 33) | type Config struct type MySQL (line 41) | type MySQL struct type Redis (line 45) | type Redis struct type Kitex (line 52) | type Kitex struct type Registry (line 65) | type Registry struct function GetConf (line 72) | func GetConf() *Config { function initConf (line 77) | func initConf() { function GetEnv (line 98) | func GetEnv() string { function LogLevel (line 106) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch17/app/email/handler.go type EmailServiceImpl (line 25) | type EmailServiceImpl struct method Send (line 28) | func (s *EmailServiceImpl) Send(ctx context.Context, req *email.EmailR... FILE: gomall/tutorial/ch17/app/email/infra/mq/nats.go function Init (line 26) | func Init() { FILE: gomall/tutorial/ch17/app/email/infra/notify/email.go type NoopEmail (line 22) | type NoopEmail struct method Send (line 24) | func (e *NoopEmail) Send(req *email.EmailReq) error { function NewNoopEmail (line 29) | func NewNoopEmail() NoopEmail { FILE: gomall/tutorial/ch17/app/email/main.go function main (line 29) | func main() { function kitexInit (line 42) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch17/app/frontend/biz/dal/init.go function Init (line 22) | func Init() { FILE: gomall/tutorial/ch17/app/frontend/biz/dal/mysql/init.go function Init (line 28) | func Init() { FILE: gomall/tutorial/ch17/app/frontend/biz/dal/redis/init.go function Init (line 26) | func Init() { FILE: gomall/tutorial/ch17/app/frontend/biz/handler/auth/auth_service.go function Register (line 31) | func Register(ctx context.Context, c *app.RequestContext) { function Login (line 50) | func Login(ctx context.Context, c *app.RequestContext) { function Logout (line 70) | func Logout(ctx context.Context, c *app.RequestContext) { FILE: gomall/tutorial/ch17/app/frontend/biz/handler/auth/auth_service_test.go function TestRegister (line 26) | func TestRegister(t *testing.T) { function TestLogin (line 41) | func TestLogin(t *testing.T) { function TestLogout (line 56) | func TestLogout(t *testing.T) { FILE: gomall/tutorial/ch17/app/frontend/biz/handler/cart/cart_service.go function AddCartItem (line 31) | func AddCartItem(ctx context.Context, c *app.RequestContext) { function GetCart (line 51) | func GetCart(ctx context.Context, c *app.RequestContext) { FILE: gomall/tutorial/ch17/app/frontend/biz/handler/cart/cart_service_test.go function TestAddCartItem (line 26) | func TestAddCartItem(t *testing.T) { function TestGetCart (line 41) | func TestGetCart(t *testing.T) { FILE: gomall/tutorial/ch17/app/frontend/biz/handler/category/category_service.go function Category (line 29) | func Category(ctx context.Context, c *app.RequestContext) { FILE: gomall/tutorial/ch17/app/frontend/biz/handler/category/category_service_test.go function TestCategory (line 26) | func TestCategory(t *testing.T) { FILE: gomall/tutorial/ch17/app/frontend/biz/handler/checkout/checkout_service.go function Checkout (line 31) | func Checkout(ctx context.Context, c *app.RequestContext) { function CheckoutWaiting (line 51) | func CheckoutWaiting(ctx context.Context, c *app.RequestContext) { function CheckoutResult (line 71) | func CheckoutResult(ctx context.Context, c *app.RequestContext) { FILE: gomall/tutorial/ch17/app/frontend/biz/handler/checkout/checkout_service_test.go function TestCheckout (line 26) | func TestCheckout(t *testing.T) { function TestCheckoutWaiting (line 41) | func TestCheckoutWaiting(t *testing.T) { function TestCheckoutResult (line 56) | func TestCheckoutResult(t *testing.T) { FILE: gomall/tutorial/ch17/app/frontend/biz/handler/home/home_service.go function Home (line 29) | func Home(ctx context.Context, c *app.RequestContext) { FILE: gomall/tutorial/ch17/app/frontend/biz/handler/home/home_service_test.go function TestHome (line 26) | func TestHome(t *testing.T) { FILE: gomall/tutorial/ch17/app/frontend/biz/handler/order/order_service.go function OrderList (line 30) | func OrderList(ctx context.Context, c *app.RequestContext) { FILE: gomall/tutorial/ch17/app/frontend/biz/handler/order/order_service_test.go function TestOrderList (line 26) | func TestOrderList(t *testing.T) { FILE: gomall/tutorial/ch17/app/frontend/biz/handler/product/product_service.go function GetProduct (line 29) | func GetProduct(ctx context.Context, c *app.RequestContext) { FILE: gomall/tutorial/ch17/app/frontend/biz/handler/product/product_service_test.go function TestGetProduct (line 26) | func TestGetProduct(t *testing.T) { FILE: gomall/tutorial/ch17/app/frontend/biz/router/auth/auth_page.go function Register (line 31) | func Register(r *server.Hertz) { FILE: gomall/tutorial/ch17/app/frontend/biz/router/auth/middleware.go function rootMw (line 23) | func rootMw() []app.HandlerFunc { function _authMw (line 28) | func _authMw() []app.HandlerFunc { function _loginMw (line 33) | func _loginMw() []app.HandlerFunc { function _logoutMw (line 38) | func _logoutMw() []app.HandlerFunc { function _registerMw (line 43) | func _registerMw() []app.HandlerFunc { FILE: gomall/tutorial/ch17/app/frontend/biz/router/cart/cart_page.go function Register (line 31) | func Register(r *server.Hertz) { FILE: gomall/tutorial/ch17/app/frontend/biz/router/cart/middleware.go function rootMw (line 24) | func rootMw() []app.HandlerFunc { function _addcartitemMw (line 29) | func _addcartitemMw() []app.HandlerFunc { function _getcartMw (line 34) | func _getcartMw() []app.HandlerFunc { FILE: gomall/tutorial/ch17/app/frontend/biz/router/category/category_page.go function Register (line 31) | func Register(r *server.Hertz) { FILE: gomall/tutorial/ch17/app/frontend/biz/router/category/middleware.go function rootMw (line 23) | func rootMw() []app.HandlerFunc { function _categoryMw (line 28) | func _categoryMw() []app.HandlerFunc { function _category0Mw (line 33) | func _category0Mw() []app.HandlerFunc { FILE: gomall/tutorial/ch17/app/frontend/biz/router/checkout/checkout_page.go function Register (line 31) | func Register(r *server.Hertz) { FILE: gomall/tutorial/ch17/app/frontend/biz/router/checkout/middleware.go function rootMw (line 23) | func rootMw() []app.HandlerFunc { function _checkoutMw (line 28) | func _checkoutMw() []app.HandlerFunc { function _checkout0Mw (line 33) | func _checkout0Mw() []app.HandlerFunc { function _checkoutresultMw (line 38) | func _checkoutresultMw() []app.HandlerFunc { function _checkoutwaitingMw (line 43) | func _checkoutwaitingMw() []app.HandlerFunc { FILE: gomall/tutorial/ch17/app/frontend/biz/router/home/home.go function Register (line 31) | func Register(r *server.Hertz) { FILE: gomall/tutorial/ch17/app/frontend/biz/router/home/middleware.go function rootMw (line 23) | func rootMw() []app.HandlerFunc { function _homeMw (line 28) | func _homeMw() []app.HandlerFunc { FILE: gomall/tutorial/ch17/app/frontend/biz/router/order/middleware.go function rootMw (line 23) | func rootMw() []app.HandlerFunc { function _orderlistMw (line 28) | func _orderlistMw() []app.HandlerFunc { FILE: gomall/tutorial/ch17/app/frontend/biz/router/order/order_page.go function Register (line 31) | func Register(r *server.Hertz) { FILE: gomall/tutorial/ch17/app/frontend/biz/router/product/middleware.go function rootMw (line 23) | func rootMw() []app.HandlerFunc { function _getproductMw (line 28) | func _getproductMw() []app.HandlerFunc { FILE: gomall/tutorial/ch17/app/frontend/biz/router/product/product_page.go function Register (line 31) | func Register(r *server.Hertz) { FILE: gomall/tutorial/ch17/app/frontend/biz/router/register.go function GeneratedRegister (line 31) | func GeneratedRegister(r *server.Hertz) { FILE: gomall/tutorial/ch17/app/frontend/biz/service/add_cart_item.go type AddCartItemService (line 28) | type AddCartItemService struct method Run (line 37) | func (h *AddCartItemService) Run(req *cart.AddCartReq) (resp *common.E... function NewAddCartItemService (line 33) | func NewAddCartItemService(Context context.Context, RequestContext *app.... FILE: gomall/tutorial/ch17/app/frontend/biz/service/category.go type CategoryService (line 27) | type CategoryService struct method Run (line 36) | func (h *CategoryService) Run(req *category.CategoryReq) (resp map[str... function NewCategoryService (line 32) | func NewCategoryService(Context context.Context, RequestContext *app.Req... FILE: gomall/tutorial/ch17/app/frontend/biz/service/checkout.go type CheckoutService (line 30) | type CheckoutService struct method Run (line 39) | func (h *CheckoutService) Run(req *checkout.CheckoutReq) (resp map[str... function NewCheckoutService (line 35) | func NewCheckoutService(Context context.Context, RequestContext *app.Req... FILE: gomall/tutorial/ch17/app/frontend/biz/service/checkout_result.go type CheckoutResultService (line 26) | type CheckoutResultService struct method Run (line 35) | func (h *CheckoutResultService) Run(req *common.Empty) (resp map[strin... function NewCheckoutResultService (line 31) | func NewCheckoutResultService(Context context.Context, RequestContext *a... FILE: gomall/tutorial/ch17/app/frontend/biz/service/checkout_waiting.go type CheckoutWaitingService (line 29) | type CheckoutWaitingService struct method Run (line 38) | func (h *CheckoutWaitingService) Run(req *checkout.CheckoutReq) (resp ... function NewCheckoutWaitingService (line 34) | func NewCheckoutWaitingService(Context context.Context, RequestContext *... FILE: gomall/tutorial/ch17/app/frontend/biz/service/get_cart.go type GetCartService (line 30) | type GetCartService struct method Run (line 39) | func (h *GetCartService) Run(req *common.Empty) (resp map[string]any, ... function NewGetCartService (line 35) | func NewGetCartService(Context context.Context, RequestContext *app.Requ... FILE: gomall/tutorial/ch17/app/frontend/biz/service/get_product.go type GetProductService (line 27) | type GetProductService struct method Run (line 36) | func (h *GetProductService) Run(req *product.ProductReq) (resp map[str... function NewGetProductService (line 32) | func NewGetProductService(Context context.Context, RequestContext *app.R... FILE: gomall/tutorial/ch17/app/frontend/biz/service/home.go type HomeService (line 28) | type HomeService struct method Run (line 37) | func (h *HomeService) Run(req *common.Empty) (res map[string]any, err ... function NewHomeService (line 33) | func NewHomeService(Context context.Context, RequestContext *app.Request... FILE: gomall/tutorial/ch17/app/frontend/biz/service/login.go type LoginService (line 28) | type LoginService struct method Run (line 37) | func (h *LoginService) Run(req *auth.LoginReq) (resp string, err error) { function NewLoginService (line 33) | func NewLoginService(Context context.Context, RequestContext *app.Reques... FILE: gomall/tutorial/ch17/app/frontend/biz/service/logout.go type LogoutService (line 25) | type LogoutService struct method Run (line 34) | func (h *LogoutService) Run(req *common.Empty) (resp *common.Empty, er... function NewLogoutService (line 30) | func NewLogoutService(Context context.Context, RequestContext *app.Reque... FILE: gomall/tutorial/ch17/app/frontend/biz/service/order_list.go type OrderListService (line 31) | type OrderListService struct method Run (line 40) | func (h *OrderListService) Run(req *common.Empty) (resp map[string]any... function NewOrderListService (line 36) | func NewOrderListService(Context context.Context, RequestContext *app.Re... FILE: gomall/tutorial/ch17/app/frontend/biz/service/register.go type RegisterService (line 28) | type RegisterService struct method Run (line 37) | func (h *RegisterService) Run(req *auth.RegisterReq) (resp *common.Emp... function NewRegisterService (line 33) | func NewRegisterService(Context context.Context, RequestContext *app.Req... FILE: gomall/tutorial/ch17/app/frontend/biz/utils/resp.go function SendErrResponse (line 27) | func SendErrResponse(ctx context.Context, c *app.RequestContext, code in... function SendSuccessResponse (line 33) | func SendSuccessResponse(ctx context.Context, c *app.RequestContext, cod... function WarpResponse (line 38) | func WarpResponse(ctx context.Context, c *app.RequestContext, content ma... FILE: gomall/tutorial/ch17/app/frontend/conf/conf.go type Config (line 33) | type Config struct type MySQL (line 41) | type MySQL struct type Redis (line 45) | type Redis struct type Hertz (line 52) | type Hertz struct function GetConf (line 67) | func GetConf() *Config { function initConf (line 72) | func initConf() { function GetEnv (line 96) | func GetEnv() string { function LogLevel (line 104) | func LogLevel() hlog.Level { FILE: gomall/tutorial/ch17/app/frontend/hertz_gen/api/api.pb.go constant _ (line 18) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 20) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) function init (line 671) | func init() { file_api_proto_init() } function file_api_proto_init (line 672) | func file_api_proto_init() { FILE: gomall/tutorial/ch17/app/frontend/hertz_gen/frontend/auth/auth_page.pb.go constant _ (line 20) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 22) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type RegisterReq (line 25) | type RegisterReq struct method Reset (line 35) | func (x *RegisterReq) Reset() { method String (line 44) | func (x *RegisterReq) String() string { method ProtoMessage (line 48) | func (*RegisterReq) ProtoMessage() {} method ProtoReflect (line 50) | func (x *RegisterReq) ProtoReflect() protoreflect.Message { method Descriptor (line 63) | func (*RegisterReq) Descriptor() ([]byte, []int) { method GetEmail (line 67) | func (x *RegisterReq) GetEmail() string { method GetPassword (line 74) | func (x *RegisterReq) GetPassword() string { method GetConfirmPassword (line 81) | func (x *RegisterReq) GetConfirmPassword() string { type LoginReq (line 88) | type LoginReq struct method Reset (line 98) | func (x *LoginReq) Reset() { method String (line 107) | func (x *LoginReq) String() string { method ProtoMessage (line 111) | func (*LoginReq) ProtoMessage() {} method ProtoReflect (line 113) | func (x *LoginReq) ProtoReflect() protoreflect.Message { method Descriptor (line 126) | func (*LoginReq) Descriptor() ([]byte, []int) { method GetEmail (line 130) | func (x *LoginReq) GetEmail() string { method GetPassword (line 137) | func (x *LoginReq) GetPassword() string { method GetNext (line 144) | func (x *LoginReq) GetNext() string { function file_auth_page_proto_rawDescGZIP (line 204) | func file_auth_page_proto_rawDescGZIP() []byte { function init (line 231) | func init() { file_auth_page_proto_init() } function file_auth_page_proto_init (line 232) | func file_auth_page_proto_init() { FILE: gomall/tutorial/ch17/app/frontend/hertz_gen/frontend/cart/cart_page.pb.go constant _ (line 20) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 22) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type AddCartReq (line 25) | type AddCartReq struct method Reset (line 34) | func (x *AddCartReq) Reset() { method String (line 43) | func (x *AddCartReq) String() string { method ProtoMessage (line 47) | func (*AddCartReq) ProtoMessage() {} method ProtoReflect (line 49) | func (x *AddCartReq) ProtoReflect() protoreflect.Message { method Descriptor (line 62) | func (*AddCartReq) Descriptor() ([]byte, []int) { method GetProductId (line 66) | func (x *AddCartReq) GetProductId() uint32 { method GetProductNum (line 73) | func (x *AddCartReq) GetProductNum() int32 { function file_cart_page_proto_rawDescGZIP (line 117) | func file_cart_page_proto_rawDescGZIP() []byte { function init (line 141) | func init() { file_cart_page_proto_init() } function file_cart_page_proto_init (line 142) | func file_cart_page_proto_init() { FILE: gomall/tutorial/ch17/app/frontend/hertz_gen/frontend/category/category_page.pb.go constant _ (line 20) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 22) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type CategoryReq (line 25) | type CategoryReq struct method Reset (line 33) | func (x *CategoryReq) Reset() { method String (line 42) | func (x *CategoryReq) String() string { method ProtoMessage (line 46) | func (*CategoryReq) ProtoMessage() {} method ProtoReflect (line 48) | func (x *CategoryReq) ProtoReflect() protoreflect.Message { method Descriptor (line 61) | func (*CategoryReq) Descriptor() ([]byte, []int) { method GetCategory (line 65) | func (x *CategoryReq) GetCategory() string { function file_category_page_proto_rawDescGZIP (line 103) | func file_category_page_proto_rawDescGZIP() []byte { function init (line 125) | func init() { file_category_page_proto_init() } function file_category_page_proto_init (line 126) | func file_category_page_proto_init() { FILE: gomall/tutorial/ch17/app/frontend/hertz_gen/frontend/checkout/checkout_page.pb.go constant _ (line 20) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 22) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type CheckoutReq (line 25) | type CheckoutReq struct method Reset (line 45) | func (x *CheckoutReq) Reset() { method String (line 54) | func (x *CheckoutReq) String() string { method ProtoMessage (line 58) | func (*CheckoutReq) ProtoMessage() {} method ProtoReflect (line 60) | func (x *CheckoutReq) ProtoReflect() protoreflect.Message { method Descriptor (line 73) | func (*CheckoutReq) Descriptor() ([]byte, []int) { method GetEmail (line 77) | func (x *CheckoutReq) GetEmail() string { method GetFirstname (line 84) | func (x *CheckoutReq) GetFirstname() string { method GetLastname (line 91) | func (x *CheckoutReq) GetLastname() string { method GetStreet (line 98) | func (x *CheckoutReq) GetStreet() string { method GetZipcode (line 105) | func (x *CheckoutReq) GetZipcode() string { method GetProvince (line 112) | func (x *CheckoutReq) GetProvince() string { method GetCountry (line 119) | func (x *CheckoutReq) GetCountry() string { method GetCity (line 126) | func (x *CheckoutReq) GetCity() string { method GetCardNum (line 133) | func (x *CheckoutReq) GetCardNum() string { method GetExpirationMonth (line 140) | func (x *CheckoutReq) GetExpirationMonth() int32 { method GetExpirationYear (line 147) | func (x *CheckoutReq) GetExpirationYear() int32 { method GetCvv (line 154) | func (x *CheckoutReq) GetCvv() int32 { method GetPayment (line 161) | func (x *CheckoutReq) GetPayment() string { function file_checkout_page_proto_rawDescGZIP (line 241) | func file_checkout_page_proto_rawDescGZIP() []byte { function init (line 267) | func init() { file_checkout_page_proto_init() } function file_checkout_page_proto_init (line 268) | func file_checkout_page_proto_init() { FILE: gomall/tutorial/ch17/app/frontend/hertz_gen/frontend/common/common.pb.go constant _ (line 18) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 20) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Empty (line 23) | type Empty struct method Reset (line 29) | func (x *Empty) Reset() { method String (line 38) | func (x *Empty) String() string { method ProtoMessage (line 42) | func (*Empty) ProtoMessage() {} method ProtoReflect (line 44) | func (x *Empty) ProtoReflect() protoreflect.Message { method Descriptor (line 57) | func (*Empty) Descriptor() ([]byte, []int) { function file_frontend_common_proto_rawDescGZIP (line 80) | func file_frontend_common_proto_rawDescGZIP() []byte { function init (line 99) | func init() { file_frontend_common_proto_init() } function file_frontend_common_proto_init (line 100) | func file_frontend_common_proto_init() { FILE: gomall/tutorial/ch17/app/frontend/hertz_gen/frontend/home/home.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) function init (line 57) | func init() { file_home_proto_init() } function file_home_proto_init (line 58) | func file_home_proto_init() { FILE: gomall/tutorial/ch17/app/frontend/hertz_gen/frontend/order/order_page.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) function init (line 58) | func init() { file_order_page_proto_init() } function file_order_page_proto_init (line 59) | func file_order_page_proto_init() { FILE: gomall/tutorial/ch17/app/frontend/hertz_gen/frontend/product/product_page.pb.go constant _ (line 20) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 22) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type ProductReq (line 25) | type ProductReq struct method Reset (line 33) | func (x *ProductReq) Reset() { method String (line 42) | func (x *ProductReq) String() string { method ProtoMessage (line 46) | func (*ProductReq) ProtoMessage() {} method ProtoReflect (line 48) | func (x *ProductReq) ProtoReflect() protoreflect.Message { method Descriptor (line 61) | func (*ProductReq) Descriptor() ([]byte, []int) { method GetId (line 65) | func (x *ProductReq) GetId() uint32 { function file_product_page_proto_rawDescGZIP (line 101) | func file_product_page_proto_rawDescGZIP() []byte { function init (line 123) | func init() { file_product_page_proto_init() } function file_product_page_proto_init (line 124) | func file_product_page_proto_init() { FILE: gomall/tutorial/ch17/app/frontend/infra/mtl/log.go function initLog (line 28) | func initLog() { FILE: gomall/tutorial/ch17/app/frontend/infra/mtl/metric.go function initMetric (line 38) | func initMetric() route.CtxCallback { FILE: gomall/tutorial/ch17/app/frontend/infra/mtl/mtl.go function InitMtl (line 27) | func InitMtl() { FILE: gomall/tutorial/ch17/app/frontend/infra/mtl/tracing.go function InitTracing (line 31) | func InitTracing() route.CtxCallback { FILE: gomall/tutorial/ch17/app/frontend/infra/rpc/client.go function InitClient (line 51) | func InitClient() { function initUserClient (line 61) | func initUserClient() { function initProductClient (line 74) | func initProductClient() { function initCartClient (line 113) | func initCartClient() { function initCheckoutClient (line 132) | func initCheckoutClient() { function initOrderClient (line 148) | func initOrderClient() { FILE: gomall/tutorial/ch17/app/frontend/main.go function main (line 46) | func main() { function registerMiddleware (line 93) | func registerMiddleware(h *server.Hertz) { FILE: gomall/tutorial/ch17/app/frontend/middleware/auth.go function GlobalAuth (line 26) | func GlobalAuth() app.HandlerFunc { function Auth (line 39) | func Auth() app.HandlerFunc { FILE: gomall/tutorial/ch17/app/frontend/middleware/middleware.go function RegisterMiddleware (line 19) | func RegisterMiddleware(h *server.Hertz) { FILE: gomall/tutorial/ch17/app/frontend/types/order.go type Consignee (line 17) | type Consignee struct type Order (line 27) | type Order struct type OrderItem (line 36) | type OrderItem struct FILE: gomall/tutorial/ch17/app/frontend/utils/constant.go constant ServiceName (line 17) | ServiceName = "frontend" type SessionUserIdKey (line 19) | type SessionUserIdKey constant UserIdKey (line 21) | UserIdKey = SessionUserIdKey("user_id") FILE: gomall/tutorial/ch17/app/frontend/utils/errors.go function MustHandleError (line 19) | func MustHandleError(err error) { FILE: gomall/tutorial/ch17/app/frontend/utils/function.go function GetUserIdFromCtx (line 19) | func GetUserIdFromCtx(ctx context.Context) uint32 { FILE: gomall/tutorial/ch17/app/frontend/utils/safe.go function ValidateNext (line 23) | func ValidateNext(next string) bool { FILE: gomall/tutorial/ch17/app/frontend/utils/strings.go function InArray (line 17) | func InArray[T int | int32 | int64 | float32 | float64 | string](needle ... FILE: gomall/tutorial/ch17/app/order/biz/dal/init.go function Init (line 22) | func Init() { FILE: gomall/tutorial/ch17/app/order/biz/dal/mysql/init.go function Init (line 33) | func Init() { FILE: gomall/tutorial/ch17/app/order/biz/dal/redis/init.go function Init (line 26) | func Init() { FILE: gomall/tutorial/ch17/app/order/biz/model/base.go type Base (line 19) | type Base struct FILE: gomall/tutorial/ch17/app/order/biz/model/order.go type Consignee (line 23) | type Consignee struct type Order (line 33) | type Order struct method TableName (line 42) | func (o Order) TableName() string { function ListOrder (line 46) | func ListOrder(db *gorm.DB, ctx context.Context, userId uint32) (orders ... FILE: gomall/tutorial/ch17/app/order/biz/model/order_item.go type OrderItem (line 17) | type OrderItem struct method TableName (line 25) | func (oi OrderItem) TableName() string { FILE: gomall/tutorial/ch17/app/order/biz/service/list_order.go type ListOrderService (line 27) | type ListOrderService struct method Run (line 35) | func (s *ListOrderService) Run(req *order.ListOrderReq) (resp *order.L... function NewListOrderService (line 30) | func NewListOrderService(ctx context.Context) *ListOrderService { FILE: gomall/tutorial/ch17/app/order/biz/service/list_order_test.go function TestListOrder_Run (line 21) | func TestListOrder_Run(t *testing.T) { FILE: gomall/tutorial/ch17/app/order/biz/service/place_order.go type PlaceOrderService (line 28) | type PlaceOrderService struct method Run (line 36) | func (s *PlaceOrderService) Run(req *order.PlaceOrderReq) (resp *order... function NewPlaceOrderService (line 31) | func NewPlaceOrderService(ctx context.Context) *PlaceOrderService { FILE: gomall/tutorial/ch17/app/order/biz/service/place_order_test.go function TestPlaceOrder_Run (line 21) | func TestPlaceOrder_Run(t *testing.T) { FILE: gomall/tutorial/ch17/app/order/conf/conf.go type Config (line 33) | type Config struct type MySQL (line 41) | type MySQL struct type Redis (line 45) | type Redis struct type Kitex (line 52) | type Kitex struct type Registry (line 66) | type Registry struct function GetConf (line 73) | func GetConf() *Config { function initConf (line 78) | func initConf() { function GetEnv (line 99) | func GetEnv() string { function LogLevel (line 107) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch17/app/order/handler.go type OrderServiceImpl (line 25) | type OrderServiceImpl struct method PlaceOrder (line 28) | func (s *OrderServiceImpl) PlaceOrder(ctx context.Context, req *order.... method ListOrder (line 35) | func (s *OrderServiceImpl) ListOrder(ctx context.Context, req *order.L... FILE: gomall/tutorial/ch17/app/order/main.go function main (line 35) | func main() { function kitexInit (line 51) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch17/app/payment/biz/dal/init.go function Init (line 21) | func Init() { FILE: gomall/tutorial/ch17/app/payment/biz/dal/mysql/init.go function Init (line 32) | func Init() { FILE: gomall/tutorial/ch17/app/payment/biz/dal/redis/init.go function Init (line 26) | func Init() { FILE: gomall/tutorial/ch17/app/payment/biz/model/base.go type Base (line 19) | type Base struct FILE: gomall/tutorial/ch17/app/payment/biz/model/payment.go type PaymentLog (line 24) | type PaymentLog struct method TableName (line 33) | func (p PaymentLog) TableName() string { function CreatePaymentLog (line 37) | func CreatePaymentLog(db *gorm.DB, ctx context.Context, payment *Payment... FILE: gomall/tutorial/ch17/app/payment/biz/service/charge.go type ChargeService (line 30) | type ChargeService struct method Run (line 38) | func (s *ChargeService) Run(req *payment.ChargeReq) (resp *payment.Cha... function NewChargeService (line 33) | func NewChargeService(ctx context.Context) *ChargeService { FILE: gomall/tutorial/ch17/app/payment/biz/service/charge_test.go function TestCharge_Run (line 21) | func TestCharge_Run(t *testing.T) { FILE: gomall/tutorial/ch17/app/payment/conf/conf.go type Config (line 33) | type Config struct type MySQL (line 41) | type MySQL struct type Redis (line 45) | type Redis struct type Kitex (line 52) | type Kitex struct type Registry (line 66) | type Registry struct function GetConf (line 73) | func GetConf() *Config { function initConf (line 78) | func initConf() { function GetEnv (line 99) | func GetEnv() string { function LogLevel (line 107) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch17/app/payment/handler.go type PaymentServiceImpl (line 25) | type PaymentServiceImpl struct method Charge (line 28) | func (s *PaymentServiceImpl) Charge(ctx context.Context, req *payment.... FILE: gomall/tutorial/ch17/app/payment/main.go function main (line 36) | func main() { function kitexInit (line 52) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch17/app/payment/middleware/mw.go function ServerMiddleware (line 25) | func ServerMiddleware(next endpoint.Endpoint) endpoint.Endpoint { FILE: gomall/tutorial/ch17/app/payment/payment.sql type payment (line 1) | create table payment FILE: gomall/tutorial/ch17/app/product/biz/dal/init.go function Init (line 22) | func Init() { FILE: gomall/tutorial/ch17/app/product/biz/dal/mysql/init.go function Init (line 32) | func Init() { FILE: gomall/tutorial/ch17/app/product/biz/dal/redis/init.go function Init (line 27) | func Init() { FILE: gomall/tutorial/ch17/app/product/biz/model/base.go type Base (line 19) | type Base struct FILE: gomall/tutorial/ch17/app/product/biz/model/category.go type Category (line 23) | type Category struct method TableName (line 30) | func (c Category) TableName() string { function GetProductsByCategoryName (line 34) | func GetProductsByCategoryName(db *gorm.DB, ctx context.Context, name st... FILE: gomall/tutorial/ch17/app/product/biz/model/product.go type Product (line 27) | type Product struct method TableName (line 36) | func (p Product) TableName() string { type ProductQuery (line 40) | type ProductQuery struct method GetById (line 45) | func (p ProductQuery) GetById(productId int) (product Product, err err... function NewProductQuery (line 50) | func NewProductQuery(ctx context.Context, db *gorm.DB) ProductQuery { type CachedProductQuery (line 54) | type CachedProductQuery struct method GetById (line 60) | func (c CachedProductQuery) GetById(productId int) (product Product, e... function NewCachedProductQuery (line 94) | func NewCachedProductQuery(pq ProductQuery, cacheClient *redis.Client) C... function GetProductById (line 98) | func GetProductById(db *gorm.DB, ctx context.Context, productId int) (pr... function SearchProduct (line 103) | func SearchProduct(db *gorm.DB, ctx context.Context, q string) (product ... FILE: gomall/tutorial/ch17/app/product/biz/service/get_product.go type GetProductService (line 27) | type GetProductService struct method Run (line 35) | func (s *GetProductService) Run(req *product.GetProductReq) (resp *pro... function NewGetProductService (line 30) | func NewGetProductService(ctx context.Context) *GetProductService { FILE: gomall/tutorial/ch17/app/product/biz/service/get_product_test.go function TestGetProduct_Run (line 21) | func TestGetProduct_Run(t *testing.T) { FILE: gomall/tutorial/ch17/app/product/biz/service/list_products.go type ListProductsService (line 25) | type ListProductsService struct method Run (line 33) | func (s *ListProductsService) Run(req *product.ListProductsReq) (resp ... function NewListProductsService (line 28) | func NewListProductsService(ctx context.Context) *ListProductsService { FILE: gomall/tutorial/ch17/app/product/biz/service/list_products_test.go function TestListProducts_Run (line 21) | func TestListProducts_Run(t *testing.T) { FILE: gomall/tutorial/ch17/app/product/biz/service/search_products.go type SearchProductsService (line 25) | type SearchProductsService struct method Run (line 33) | func (s *SearchProductsService) Run(req *product.SearchProductsReq) (r... function NewSearchProductsService (line 28) | func NewSearchProductsService(ctx context.Context) *SearchProductsService { FILE: gomall/tutorial/ch17/app/product/biz/service/search_products_test.go function TestSearchProducts_Run (line 21) | func TestSearchProducts_Run(t *testing.T) { FILE: gomall/tutorial/ch17/app/product/conf/conf.go type Config (line 33) | type Config struct type MySQL (line 43) | type MySQL struct type Redis (line 47) | type Redis struct type Kitex (line 54) | type Kitex struct type Registry (line 68) | type Registry struct type ConfigServer (line 74) | type ConfigServer struct function GetConf (line 77) | func GetConf() *Config { function initConf (line 82) | func initConf() { function GetEnv (line 103) | func GetEnv() string { function LogLevel (line 111) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch17/app/product/handler.go type ProductCatalogServiceImpl (line 25) | type ProductCatalogServiceImpl struct method ListProducts (line 28) | func (s *ProductCatalogServiceImpl) ListProducts(ctx context.Context, ... method GetProduct (line 35) | func (s *ProductCatalogServiceImpl) GetProduct(ctx context.Context, re... method SearchProducts (line 42) | func (s *ProductCatalogServiceImpl) SearchProducts(ctx context.Context... FILE: gomall/tutorial/ch17/app/product/main.go function main (line 36) | func main() { function kitexInit (line 52) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch17/app/product/script/product.sql type `category` (line 1) | CREATE TABLE `category` type `product` (line 13) | CREATE TABLE `product` type `product_category` (line 46) | CREATE TABLE `product_category` FILE: gomall/tutorial/ch17/app/product/utils/constant.go constant ServiceName (line 17) | ServiceName = "shop-product" FILE: gomall/tutorial/ch17/app/user/biz/dal/init.go function Init (line 21) | func Init() { FILE: gomall/tutorial/ch17/app/user/biz/dal/mysql/init.go function Init (line 32) | func Init() { FILE: gomall/tutorial/ch17/app/user/biz/dal/redis/init.go function Init (line 26) | func Init() { FILE: gomall/tutorial/ch17/app/user/biz/model/base.go type Base (line 21) | type Base struct FILE: gomall/tutorial/ch17/app/user/biz/model/user.go type User (line 23) | type User struct method TableName (line 29) | func (u User) TableName() string { function GetByEmail (line 33) | func GetByEmail(db *gorm.DB, ctx context.Context, email string) (user *U... function Create (line 38) | func Create(db *gorm.DB, ctx context.Context, user *User) error { FILE: gomall/tutorial/ch17/app/user/biz/service/login.go type LoginService (line 27) | type LoginService struct method Run (line 35) | func (s *LoginService) Run(req *user.LoginReq) (resp *user.LoginResp, ... function NewLoginService (line 30) | func NewLoginService(ctx context.Context) *LoginService { FILE: gomall/tutorial/ch17/app/user/biz/service/login_test.go function TestLogin_Run (line 21) | func TestLogin_Run(t *testing.T) { FILE: gomall/tutorial/ch17/app/user/biz/service/register.go type RegisterService (line 27) | type RegisterService struct method Run (line 35) | func (s *RegisterService) Run(req *user.RegisterReq) (resp *user.Regis... function NewRegisterService (line 30) | func NewRegisterService(ctx context.Context) *RegisterService { FILE: gomall/tutorial/ch17/app/user/biz/service/register_test.go function TestRegister_Run (line 21) | func TestRegister_Run(t *testing.T) { FILE: gomall/tutorial/ch17/app/user/conf/conf.go type Config (line 33) | type Config struct type MySQL (line 41) | type MySQL struct type Redis (line 45) | type Redis struct type Kitex (line 52) | type Kitex struct type Registry (line 66) | type Registry struct function GetConf (line 73) | func GetConf() *Config { function initConf (line 78) | func initConf() { function GetEnv (line 99) | func GetEnv() string { function LogLevel (line 107) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch17/app/user/handler.go type UserServiceImpl (line 25) | type UserServiceImpl struct method Register (line 28) | func (s *UserServiceImpl) Register(ctx context.Context, req *user.Regi... method Login (line 35) | func (s *UserServiceImpl) Login(ctx context.Context, req *user.LoginRe... FILE: gomall/tutorial/ch17/app/user/main.go function main (line 36) | func main() { function kitexInit (line 52) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch17/common/clientsuite/client.go type CommonGrpcClientSuite (line 27) | type CommonGrpcClientSuite struct method Options (line 34) | func (s CommonGrpcClientSuite) Options() []client.Option { FILE: gomall/tutorial/ch17/common/mtl/log.go function InitLog (line 28) | func InitLog() { FILE: gomall/tutorial/ch17/common/mtl/metrics.go function InitMetric (line 31) | func InitMetric(serviceName string, metricsPort string, registryAddr str... FILE: gomall/tutorial/ch17/common/mtl/tracing.go function InitTracing (line 30) | func InitTracing(serviceName string) { FILE: gomall/tutorial/ch17/common/serversuite/server.go type CommonServerSuite (line 33) | type CommonServerSuite struct method Options (line 37) | func (s CommonServerSuite) Options() []server.Option { FILE: gomall/tutorial/ch17/common/utils/kitex.go function MustHandleError (line 20) | func MustHandleError(err error) { function ShouldHandleError (line 27) | func ShouldHandleError(err error) { FILE: gomall/tutorial/ch17/demo/demo_proto/biz/dal/init.go function Init (line 21) | func Init() { FILE: gomall/tutorial/ch17/demo/demo_proto/biz/dal/mysql/init.go function Init (line 33) | func Init() { FILE: gomall/tutorial/ch17/demo/demo_proto/biz/dal/redis/init.go function Init (line 28) | func Init() { FILE: gomall/tutorial/ch17/demo/demo_proto/biz/model/user.go type User (line 19) | type User struct method TableName (line 25) | func (u User) TableName() string { FILE: gomall/tutorial/ch17/demo/demo_proto/biz/service/echo.go type EchoService (line 23) | type EchoService struct method Run (line 31) | func (s *EchoService) Run(req *pbapi.Request) (resp *pbapi.Response, e... function NewEchoService (line 26) | func NewEchoService(ctx context.Context) *EchoService { FILE: gomall/tutorial/ch17/demo/demo_proto/biz/service/echo_test.go function TestEcho_Run (line 23) | func TestEcho_Run(t *testing.T) { FILE: gomall/tutorial/ch17/demo/demo_proto/cmd/client/client.go function main (line 32) | func main() { FILE: gomall/tutorial/ch17/demo/demo_proto/cmd/dbop/db.go function main (line 26) | func main() { FILE: gomall/tutorial/ch17/demo/demo_proto/conf/conf.go type Config (line 33) | type Config struct type MySQL (line 41) | type MySQL struct type Redis (line 45) | type Redis struct type Kitex (line 52) | type Kitex struct type Registry (line 65) | type Registry struct function GetConf (line 72) | func GetConf() *Config { function initConf (line 77) | func initConf() { function GetEnv (line 98) | func GetEnv() string { function LogLevel (line 106) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch17/demo/demo_proto/handler.go type EchoImpl (line 25) | type EchoImpl struct method Echo (line 28) | func (s *EchoImpl) Echo(ctx context.Context, req *pbapi.Request) (resp... FILE: gomall/tutorial/ch17/demo/demo_proto/kitex_gen/pbapi/echo.pb.fast.go method FastRead (line 15) | func (x *Request) FastRead(buf []byte, _type int8, number int32) (offset... method fastReadField1 (line 35) | func (x *Request) fastReadField1(buf []byte, _type int8) (offset int, er... method FastRead (line 40) | func (x *Response) FastRead(buf []byte, _type int8, number int32) (offse... method fastReadField1 (line 60) | func (x *Response) fastReadField1(buf []byte, _type int8) (offset int, e... method FastWrite (line 65) | func (x *Request) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 73) | func (x *Request) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 81) | func (x *Response) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 89) | func (x *Response) fastWriteField1(buf []byte) (offset int) { method Size (line 97) | func (x *Request) Size() (n int) { method sizeField1 (line 105) | func (x *Request) sizeField1() (n int) { method Size (line 113) | func (x *Response) Size() (n int) { method sizeField1 (line 121) | func (x *Response) sizeField1() (n int) { FILE: gomall/tutorial/ch17/demo/demo_proto/kitex_gen/pbapi/echo.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Request (line 24) | type Request struct method Reset (line 32) | func (x *Request) Reset() { method String (line 41) | func (x *Request) String() string { method ProtoMessage (line 45) | func (*Request) ProtoMessage() {} method ProtoReflect (line 47) | func (x *Request) ProtoReflect() protoreflect.Message { method Descriptor (line 60) | func (*Request) Descriptor() ([]byte, []int) { method GetMessage (line 64) | func (x *Request) GetMessage() string { type Response (line 71) | type Response struct method Reset (line 79) | func (x *Response) Reset() { method String (line 88) | func (x *Response) String() string { method ProtoMessage (line 92) | func (*Response) ProtoMessage() {} method ProtoReflect (line 94) | func (x *Response) ProtoReflect() protoreflect.Message { method Descriptor (line 107) | func (*Response) Descriptor() ([]byte, []int) { method GetMessage (line 111) | func (x *Response) GetMessage() string { function file_echo_proto_rawDescGZIP (line 143) | func file_echo_proto_rawDescGZIP() []byte { function init (line 165) | func init() { file_echo_proto_init() } function file_echo_proto_init (line 166) | func file_echo_proto_init() { type Echo (line 220) | type Echo interface FILE: gomall/tutorial/ch17/demo/demo_proto/kitex_gen/pbapi/echo/client.go type Client (line 13) | type Client interface function NewClient (line 18) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 34) | func MustNewClient(destService string, opts ...client.Option) Client { type kEchoClient (line 42) | type kEchoClient struct method Echo (line 46) | func (p *kEchoClient) Echo(ctx context.Context, Req *pbapi.Request, ca... FILE: gomall/tutorial/ch17/demo/demo_proto/kitex_gen/pbapi/echo/echo.go function serviceInfo (line 14) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 20) | func NewServiceInfo() *kitex.ServiceInfo { function echoHandler (line 41) | func echoHandler(ctx context.Context, handler interface{}, arg, result i... function newEchoArgs (line 66) | func newEchoArgs() interface{} { function newEchoResult (line 70) | func newEchoResult() interface{} { type EchoArgs (line 74) | type EchoArgs struct method FastRead (line 78) | func (p *EchoArgs) FastRead(buf []byte, _type int8, number int32) (n i... method FastWrite (line 85) | func (p *EchoArgs) FastWrite(buf []byte) (n int) { method Size (line 92) | func (p *EchoArgs) Size() (n int) { method Marshal (line 99) | func (p *EchoArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 106) | func (p *EchoArgs) Unmarshal(in []byte) error { method GetReq (line 117) | func (p *EchoArgs) GetReq() *pbapi.Request { method IsSetReq (line 124) | func (p *EchoArgs) IsSetReq() bool { method GetFirstArgument (line 128) | func (p *EchoArgs) GetFirstArgument() interface{} { type EchoResult (line 132) | type EchoResult struct method FastRead (line 138) | func (p *EchoResult) FastRead(buf []byte, _type int8, number int32) (n... method FastWrite (line 145) | func (p *EchoResult) FastWrite(buf []byte) (n int) { method Size (line 152) | func (p *EchoResult) Size() (n int) { method Marshal (line 159) | func (p *EchoResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 166) | func (p *EchoResult) Unmarshal(in []byte) error { method GetSuccess (line 175) | func (p *EchoResult) GetSuccess() *pbapi.Response { method SetSuccess (line 182) | func (p *EchoResult) SetSuccess(x interface{}) { method IsSetSuccess (line 186) | func (p *EchoResult) IsSetSuccess() bool { method GetResult (line 190) | func (p *EchoResult) GetResult() interface{} { type kClient (line 194) | type kClient struct method Echo (line 204) | func (p *kClient) Echo(ctx context.Context, Req *pbapi.Request) (r *pb... function newServiceClient (line 198) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch17/demo/demo_proto/kitex_gen/pbapi/echo/invoker.go function NewInvoker (line 11) | func NewInvoker(handler pbapi.Echo, opts ...server.Option) server.Invoker { FILE: gomall/tutorial/ch17/demo/demo_proto/kitex_gen/pbapi/echo/server.go function NewServer (line 10) | func NewServer(handler pbapi.Echo, opts ...server.Option) server.Server { FILE: gomall/tutorial/ch17/demo/demo_proto/main.go function main (line 35) | func main() { function kitexInit (line 53) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch17/demo/demo_thrift/biz/dal/init.go function Init (line 22) | func Init() { FILE: gomall/tutorial/ch17/demo/demo_thrift/biz/dal/mysql/init.go function Init (line 29) | func Init() { FILE: gomall/tutorial/ch17/demo/demo_thrift/biz/dal/redis/init.go function Init (line 28) | func Init() { FILE: gomall/tutorial/ch17/demo/demo_thrift/biz/service/echo.go type EchoService (line 23) | type EchoService struct method Run (line 31) | func (s *EchoService) Run(req *api.Request) (resp *api.Response, err e... function NewEchoService (line 26) | func NewEchoService(ctx context.Context) *EchoService { FILE: gomall/tutorial/ch17/demo/demo_thrift/biz/service/echo_test.go function TestEcho_Run (line 23) | func TestEcho_Run(t *testing.T) { FILE: gomall/tutorial/ch17/demo/demo_thrift/cmd/client/client.go function main (line 32) | func main() { FILE: gomall/tutorial/ch17/demo/demo_thrift/conf/conf.go type Config (line 34) | type Config struct type MySQL (line 42) | type MySQL struct type Redis (line 46) | type Redis struct type Kitex (line 53) | type Kitex struct type Registry (line 66) | type Registry struct function GetConf (line 73) | func GetConf() *Config { function initConf (line 78) | func initConf() { function GetEnv (line 99) | func GetEnv() string { function LogLevel (line 107) | func LogLevel() klog.Level { FILE: gomall/tutorial/ch17/demo/demo_thrift/handler.go type EchoImpl (line 25) | type EchoImpl struct method Echo (line 28) | func (s *EchoImpl) Echo(ctx context.Context, req *api.Request) (resp *... FILE: gomall/tutorial/ch17/demo/demo_thrift/kitex_gen/api/echo.go type Request (line 12) | type Request struct method InitDefault (line 20) | func (p *Request) InitDefault() { method GetMessage (line 24) | func (p *Request) GetMessage() (v string) { method SetMessage (line 27) | func (p *Request) SetMessage(val string) { method Read (line 35) | func (p *Request) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 94) | func (p *Request) ReadField1(iprot thrift.TProtocol) error { method Write (line 103) | func (p *Request) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 132) | func (p *Request) writeField1(oprot thrift.TProtocol) (err error) { method String (line 149) | func (p *Request) String() string { method DeepEqual (line 156) | func (p *Request) DeepEqual(ano *Request) bool { method Field1DeepEqual (line 168) | func (p *Request) Field1DeepEqual(src string) bool { function NewRequest (line 16) | func NewRequest() *Request { type Response (line 176) | type Response struct method InitDefault (line 184) | func (p *Response) InitDefault() { method GetMessage (line 188) | func (p *Response) GetMessage() (v string) { method SetMessage (line 191) | func (p *Response) SetMessage(val string) { method Read (line 199) | func (p *Response) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 258) | func (p *Response) ReadField1(iprot thrift.TProtocol) error { method Write (line 267) | func (p *Response) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 296) | func (p *Response) writeField1(oprot thrift.TProtocol) (err error) { method String (line 313) | func (p *Response) String() string { method DeepEqual (line 320) | func (p *Response) DeepEqual(ano *Response) bool { method Field1DeepEqual (line 332) | func (p *Response) Field1DeepEqual(src string) bool { function NewResponse (line 180) | func NewResponse() *Response { type Echo (line 340) | type Echo interface type EchoClient (line 344) | type EchoClient struct method Client_ (line 366) | func (p *EchoClient) Client_() thrift.TClient { method Echo (line 370) | func (p *EchoClient) Echo(ctx context.Context, req *Request) (r *Respo... function NewEchoClientFactory (line 348) | func NewEchoClientFactory(t thrift.TTransport, f thrift.TProtocolFactory... function NewEchoClientProtocol (line 354) | func NewEchoClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, ... function NewEchoClient (line 360) | func NewEchoClient(c thrift.TClient) *EchoClient { type EchoProcessor (line 380) | type EchoProcessor struct method AddToProcessorMap (line 385) | func (p *EchoProcessor) AddToProcessorMap(key string, processor thrift... method GetProcessorFunction (line 389) | func (p *EchoProcessor) GetProcessorFunction(key string) (processor th... method ProcessorMap (line 394) | func (p *EchoProcessor) ProcessorMap() map[string]thrift.TProcessorFun... method Process (line 403) | func (p *EchoProcessor) Process(ctx context.Context, iprot, oprot thri... function NewEchoProcessor (line 398) | func NewEchoProcessor(handler Echo) *EchoProcessor { type echoProcessorEcho (line 421) | type echoProcessorEcho struct method Process (line 425) | func (p *echoProcessorEcho) Process(ctx context.Context, seqId int32, ... type EchoEchoArgs (line 469) | type EchoEchoArgs struct method InitDefault (line 477) | func (p *EchoEchoArgs) InitDefault() { method GetReq (line 483) | func (p *EchoEchoArgs) GetReq() (v *Request) { method SetReq (line 489) | func (p *EchoEchoArgs) SetReq(val *Request) { method IsSetReq (line 497) | func (p *EchoEchoArgs) IsSetReq() bool { method Read (line 501) | func (p *EchoEchoArgs) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 560) | func (p *EchoEchoArgs) ReadField1(iprot thrift.TProtocol) error { method Write (line 568) | func (p *EchoEchoArgs) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 597) | func (p *EchoEchoArgs) writeField1(oprot thrift.TProtocol) (err error) { method String (line 614) | func (p *EchoEchoArgs) String() string { method DeepEqual (line 621) | func (p *EchoEchoArgs) DeepEqual(ano *EchoEchoArgs) bool { method Field1DeepEqual (line 633) | func (p *EchoEchoArgs) Field1DeepEqual(src *Request) bool { function NewEchoEchoArgs (line 473) | func NewEchoEchoArgs() *EchoEchoArgs { type EchoEchoResult (line 641) | type EchoEchoResult struct method InitDefault (line 649) | func (p *EchoEchoResult) InitDefault() { method GetSuccess (line 655) | func (p *EchoEchoResult) GetSuccess() (v *Response) { method SetSuccess (line 661) | func (p *EchoEchoResult) SetSuccess(x interface{}) { method IsSetSuccess (line 669) | func (p *EchoEchoResult) IsSetSuccess() bool { method Read (line 673) | func (p *EchoEchoResult) Read(iprot thrift.TProtocol) (err error) { method ReadField0 (line 732) | func (p *EchoEchoResult) ReadField0(iprot thrift.TProtocol) error { method Write (line 740) | func (p *EchoEchoResult) Write(oprot thrift.TProtocol) (err error) { method writeField0 (line 769) | func (p *EchoEchoResult) writeField0(oprot thrift.TProtocol) (err erro... method String (line 788) | func (p *EchoEchoResult) String() string { method DeepEqual (line 795) | func (p *EchoEchoResult) DeepEqual(ano *EchoEchoResult) bool { method Field0DeepEqual (line 807) | func (p *EchoEchoResult) Field0DeepEqual(src *Response) bool { function NewEchoEchoResult (line 645) | func NewEchoEchoResult() *EchoEchoResult { FILE: gomall/tutorial/ch17/demo/demo_thrift/kitex_gen/api/echo/client.go type Client (line 13) | type Client interface function NewClient (line 18) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 34) | func MustNewClient(destService string, opts ...client.Option) Client { type kEchoClient (line 42) | type kEchoClient struct method Echo (line 46) | func (p *kEchoClient) Echo(ctx context.Context, req *api.Request, call... FILE: gomall/tutorial/ch17/demo/demo_thrift/kitex_gen/api/echo/echo.go function serviceInfo (line 12) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 18) | func NewServiceInfo() *kitex.ServiceInfo { function echoHandler (line 39) | func echoHandler(ctx context.Context, handler interface{}, arg, result i... function newEchoEchoArgs (line 49) | func newEchoEchoArgs() interface{} { function newEchoEchoResult (line 53) | func newEchoEchoResult() interface{} { type kClient (line 57) | type kClient struct method Echo (line 67) | func (p *kClient) Echo(ctx context.Context, req *api.Request) (r *api.... function newServiceClient (line 61) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch17/demo/demo_thrift/kitex_gen/api/echo/invoker.go function NewInvoker (line 11) | func NewInvoker(handler api.Echo, opts ...server.Option) server.Invoker { FILE: gomall/tutorial/ch17/demo/demo_thrift/kitex_gen/api/echo/server.go function NewServer (line 10) | func NewServer(handler api.Echo, opts ...server.Option) server.Server { FILE: gomall/tutorial/ch17/demo/demo_thrift/kitex_gen/api/k-echo.go method FastRead (line 26) | func (p *Request) FastRead(buf []byte) (int, error) { method FastReadField1 (line 97) | func (p *Request) FastReadField1(buf []byte) (int, error) { method FastWrite (line 112) | func (p *Request) FastWrite(buf []byte) int { method FastWriteNocopy (line 116) | func (p *Request) FastWriteNocopy(buf []byte, binaryWriter bthrift.Binar... method BLength (line 127) | func (p *Request) BLength() int { method fastWriteField1 (line 138) | func (p *Request) fastWriteField1(buf []byte, binaryWriter bthrift.Binar... method field1Length (line 147) | func (p *Request) field1Length() int { method FastRead (line 156) | func (p *Response) FastRead(buf []byte) (int, error) { method FastReadField1 (line 227) | func (p *Response) FastReadField1(buf []byte) (int, error) { method FastWrite (line 242) | func (p *Response) FastWrite(buf []byte) int { method FastWriteNocopy (line 246) | func (p *Response) FastWriteNocopy(buf []byte, binaryWriter bthrift.Bina... method BLength (line 257) | func (p *Response) BLength() int { method fastWriteField1 (line 268) | func (p *Response) fastWriteField1(buf []byte, binaryWriter bthrift.Bina... method field1Length (line 277) | func (p *Response) field1Length() int { method FastRead (line 286) | func (p *EchoEchoArgs) FastRead(buf []byte) (int, error) { method FastReadField1 (line 357) | func (p *EchoEchoArgs) FastReadField1(buf []byte) (int, error) { method FastWrite (line 371) | func (p *EchoEchoArgs) FastWrite(buf []byte) int { method FastWriteNocopy (line 375) | func (p *EchoEchoArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.... method BLength (line 386) | func (p *EchoEchoArgs) BLength() int { method fastWriteField1 (line 397) | func (p *EchoEchoArgs) fastWriteField1(buf []byte, binaryWriter bthrift.... method field1Length (line 405) | func (p *EchoEchoArgs) field1Length() int { method FastRead (line 413) | func (p *EchoEchoResult) FastRead(buf []byte) (int, error) { method FastReadField0 (line 484) | func (p *EchoEchoResult) FastReadField0(buf []byte) (int, error) { method FastWrite (line 498) | func (p *EchoEchoResult) FastWrite(buf []byte) int { method FastWriteNocopy (line 502) | func (p *EchoEchoResult) FastWriteNocopy(buf []byte, binaryWriter bthrif... method BLength (line 513) | func (p *EchoEchoResult) BLength() int { method fastWriteField0 (line 524) | func (p *EchoEchoResult) fastWriteField0(buf []byte, binaryWriter bthrif... method field0Length (line 534) | func (p *EchoEchoResult) field0Length() int { method GetFirstArgument (line 544) | func (p *EchoEchoArgs) GetFirstArgument() interface{} { method GetResult (line 548) | func (p *EchoEchoResult) GetResult() interface{} { FILE: gomall/tutorial/ch17/demo/demo_thrift/main.go function main (line 33) | func main() { function kitexInit (line 44) | func kitexInit() (opts []server.Option) { FILE: gomall/tutorial/ch17/hello_world/main.go function main (line 25) | func main() { FILE: gomall/tutorial/ch17/rpc_gen/kitex_gen/cart/cart.pb.fast.go method FastRead (line 15) | func (x *CartItem) FastRead(buf []byte, _type int8, number int32) (offse... method fastReadField1 (line 40) | func (x *CartItem) fastReadField1(buf []byte, _type int8) (offset int, e... method fastReadField2 (line 45) | func (x *CartItem) fastReadField2(buf []byte, _type int8) (offset int, e... method FastRead (line 50) | func (x *AddItemReq) FastRead(buf []byte, _type int8, number int32) (off... method fastReadField1 (line 75) | func (x *AddItemReq) fastReadField1(buf []byte, _type int8) (offset int,... method fastReadField2 (line 80) | func (x *AddItemReq) fastReadField2(buf []byte, _type int8) (offset int,... method FastRead (line 90) | func (x *AddItemResp) FastRead(buf []byte, _type int8, number int32) (of... method FastRead (line 103) | func (x *EmptyCartReq) FastRead(buf []byte, _type int8, number int32) (o... method fastReadField1 (line 123) | func (x *EmptyCartReq) fastReadField1(buf []byte, _type int8) (offset in... method FastRead (line 128) | func (x *GetCartReq) FastRead(buf []byte, _type int8, number int32) (off... method fastReadField1 (line 148) | func (x *GetCartReq) fastReadField1(buf []byte, _type int8) (offset int,... method FastRead (line 153) | func (x *GetCartResp) FastRead(buf []byte, _type int8, number int32) (of... method fastReadField1 (line 173) | func (x *GetCartResp) fastReadField1(buf []byte, _type int8) (offset int... method FastRead (line 183) | func (x *Cart) FastRead(buf []byte, _type int8, number int32) (offset in... method fastReadField1 (line 208) | func (x *Cart) fastReadField1(buf []byte, _type int8) (offset int, err e... method fastReadField2 (line 213) | func (x *Cart) fastReadField2(buf []byte, _type int8) (offset int, err e... method FastRead (line 223) | func (x *EmptyCartResp) FastRead(buf []byte, _type int8, number int32) (... method FastWrite (line 236) | func (x *CartItem) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 245) | func (x *CartItem) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 253) | func (x *CartItem) fastWriteField2(buf []byte) (offset int) { method FastWrite (line 261) | func (x *AddItemReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 270) | func (x *AddItemReq) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 278) | func (x *AddItemReq) fastWriteField2(buf []byte) (offset int) { method FastWrite (line 286) | func (x *AddItemResp) FastWrite(buf []byte) (offset int) { method FastWrite (line 293) | func (x *EmptyCartReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 301) | func (x *EmptyCartReq) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 309) | func (x *GetCartReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 317) | func (x *GetCartReq) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 325) | func (x *GetCartResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 333) | func (x *GetCartResp) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 341) | func (x *Cart) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 350) | func (x *Cart) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 358) | func (x *Cart) fastWriteField2(buf []byte) (offset int) { method FastWrite (line 368) | func (x *EmptyCartResp) FastWrite(buf []byte) (offset int) { method Size (line 375) | func (x *CartItem) Size() (n int) { method sizeField1 (line 384) | func (x *CartItem) sizeField1() (n int) { method sizeField2 (line 392) | func (x *CartItem) sizeField2() (n int) { method Size (line 400) | func (x *AddItemReq) Size() (n int) { method sizeField1 (line 409) | func (x *AddItemReq) sizeField1() (n int) { method sizeField2 (line 417) | func (x *AddItemReq) sizeField2() (n int) { method Size (line 425) | func (x *AddItemResp) Size() (n int) { method Size (line 432) | func (x *EmptyCartReq) Size() (n int) { method sizeField1 (line 440) | func (x *EmptyCartReq) sizeField1() (n int) { method Size (line 448) | func (x *GetCartReq) Size() (n int) { method sizeField1 (line 456) | func (x *GetCartReq) sizeField1() (n int) { method Size (line 464) | func (x *GetCartResp) Size() (n int) { method sizeField1 (line 472) | func (x *GetCartResp) sizeField1() (n int) { method Size (line 480) | func (x *Cart) Size() (n int) { method sizeField1 (line 489) | func (x *Cart) sizeField1() (n int) { method sizeField2 (line 497) | func (x *Cart) sizeField2() (n int) { method Size (line 507) | func (x *EmptyCartResp) Size() (n int) { FILE: gomall/tutorial/ch17/rpc_gen/kitex_gen/cart/cart.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type CartItem (line 24) | type CartItem struct method Reset (line 33) | func (x *CartItem) Reset() { method String (line 42) | func (x *CartItem) String() string { method ProtoMessage (line 46) | func (*CartItem) ProtoMessage() {} method ProtoReflect (line 48) | func (x *CartItem) ProtoReflect() protoreflect.Message { method Descriptor (line 61) | func (*CartItem) Descriptor() ([]byte, []int) { method GetProductId (line 65) | func (x *CartItem) GetProductId() uint32 { method GetQuantity (line 72) | func (x *CartItem) GetQuantity() int32 { type AddItemReq (line 79) | type AddItemReq struct method Reset (line 88) | func (x *AddItemReq) Reset() { method String (line 97) | func (x *AddItemReq) String() string { method ProtoMessage (line 101) | func (*AddItemReq) ProtoMessage() {} method ProtoReflect (line 103) | func (x *AddItemReq) ProtoReflect() protoreflect.Message { method Descriptor (line 116) | func (*AddItemReq) Descriptor() ([]byte, []int) { method GetUserId (line 120) | func (x *AddItemReq) GetUserId() uint32 { method GetItem (line 127) | func (x *AddItemReq) GetItem() *CartItem { type AddItemResp (line 134) | type AddItemResp struct method Reset (line 140) | func (x *AddItemResp) Reset() { method String (line 149) | func (x *AddItemResp) String() string { method ProtoMessage (line 153) | func (*AddItemResp) ProtoMessage() {} method ProtoReflect (line 155) | func (x *AddItemResp) ProtoReflect() protoreflect.Message { method Descriptor (line 168) | func (*AddItemResp) Descriptor() ([]byte, []int) { type EmptyCartReq (line 172) | type EmptyCartReq struct method Reset (line 180) | func (x *EmptyCartReq) Reset() { method String (line 189) | func (x *EmptyCartReq) String() string { method ProtoMessage (line 193) | func (*EmptyCartReq) ProtoMessage() {} method ProtoReflect (line 195) | func (x *EmptyCartReq) ProtoReflect() protoreflect.Message { method Descriptor (line 208) | func (*EmptyCartReq) Descriptor() ([]byte, []int) { method GetUserId (line 212) | func (x *EmptyCartReq) GetUserId() uint32 { type GetCartReq (line 219) | type GetCartReq struct method Reset (line 227) | func (x *GetCartReq) Reset() { method String (line 236) | func (x *GetCartReq) String() string { method ProtoMessage (line 240) | func (*GetCartReq) ProtoMessage() {} method ProtoReflect (line 242) | func (x *GetCartReq) ProtoReflect() protoreflect.Message { method Descriptor (line 255) | func (*GetCartReq) Descriptor() ([]byte, []int) { method GetUserId (line 259) | func (x *GetCartReq) GetUserId() uint32 { type GetCartResp (line 266) | type GetCartResp struct method Reset (line 274) | func (x *GetCartResp) Reset() { method String (line 283) | func (x *GetCartResp) String() string { method ProtoMessage (line 287) | func (*GetCartResp) ProtoMessage() {} method ProtoReflect (line 289) | func (x *GetCartResp) ProtoReflect() protoreflect.Message { method Descriptor (line 302) | func (*GetCartResp) Descriptor() ([]byte, []int) { method GetCart (line 306) | func (x *GetCartResp) GetCart() *Cart { type Cart (line 313) | type Cart struct method Reset (line 322) | func (x *Cart) Reset() { method String (line 331) | func (x *Cart) String() string { method ProtoMessage (line 335) | func (*Cart) ProtoMessage() {} method ProtoReflect (line 337) | func (x *Cart) ProtoReflect() protoreflect.Message { method Descriptor (line 350) | func (*Cart) Descriptor() ([]byte, []int) { method GetUserId (line 354) | func (x *Cart) GetUserId() uint32 { method GetItems (line 361) | func (x *Cart) GetItems() []*CartItem { type EmptyCartResp (line 368) | type EmptyCartResp struct method Reset (line 374) | func (x *EmptyCartResp) Reset() { method String (line 383) | func (x *EmptyCartResp) String() string { method ProtoMessage (line 387) | func (*EmptyCartResp) ProtoMessage() {} method ProtoReflect (line 389) | func (x *EmptyCartResp) ProtoReflect() protoreflect.Message { method Descriptor (line 402) | func (*EmptyCartResp) Descriptor() ([]byte, []int) { function file_cart_proto_rawDescGZIP (line 456) | func file_cart_proto_rawDescGZIP() []byte { function init (line 491) | func init() { file_cart_proto_init() } function file_cart_proto_init (line 492) | func file_cart_proto_init() { type CartService (line 618) | type CartService interface FILE: gomall/tutorial/ch17/rpc_gen/kitex_gen/cart/cartservice/cartservice.go function serviceInfo (line 14) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 20) | func NewServiceInfo() *kitex.ServiceInfo { function addItemHandler (line 43) | func addItemHandler(ctx context.Context, handler interface{}, arg, resul... function newAddItemArgs (line 68) | func newAddItemArgs() interface{} { function newAddItemResult (line 72) | func newAddItemResult() interface{} { type AddItemArgs (line 76) | type AddItemArgs struct method FastRead (line 80) | func (p *AddItemArgs) FastRead(buf []byte, _type int8, number int32) (... method FastWrite (line 87) | func (p *AddItemArgs) FastWrite(buf []byte) (n int) { method Size (line 94) | func (p *AddItemArgs) Size() (n int) { method Marshal (line 101) | func (p *AddItemArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 108) | func (p *AddItemArgs) Unmarshal(in []byte) error { method GetReq (line 119) | func (p *AddItemArgs) GetReq() *cart.AddItemReq { method IsSetReq (line 126) | func (p *AddItemArgs) IsSetReq() bool { method GetFirstArgument (line 130) | func (p *AddItemArgs) GetFirstArgument() interface{} { type AddItemResult (line 134) | type AddItemResult struct method FastRead (line 140) | func (p *AddItemResult) FastRead(buf []byte, _type int8, number int32)... method FastWrite (line 147) | func (p *AddItemResult) FastWrite(buf []byte) (n int) { method Size (line 154) | func (p *AddItemResult) Size() (n int) { method Marshal (line 161) | func (p *AddItemResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 168) | func (p *AddItemResult) Unmarshal(in []byte) error { method GetSuccess (line 177) | func (p *AddItemResult) GetSuccess() *cart.AddItemResp { method SetSuccess (line 184) | func (p *AddItemResult) SetSuccess(x interface{}) { method IsSetSuccess (line 188) | func (p *AddItemResult) IsSetSuccess() bool { method GetResult (line 192) | func (p *AddItemResult) GetResult() interface{} { function getCartHandler (line 196) | func getCartHandler(ctx context.Context, handler interface{}, arg, resul... function newGetCartArgs (line 221) | func newGetCartArgs() interface{} { function newGetCartResult (line 225) | func newGetCartResult() interface{} { type GetCartArgs (line 229) | type GetCartArgs struct method FastRead (line 233) | func (p *GetCartArgs) FastRead(buf []byte, _type int8, number int32) (... method FastWrite (line 240) | func (p *GetCartArgs) FastWrite(buf []byte) (n int) { method Size (line 247) | func (p *GetCartArgs) Size() (n int) { method Marshal (line 254) | func (p *GetCartArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 261) | func (p *GetCartArgs) Unmarshal(in []byte) error { method GetReq (line 272) | func (p *GetCartArgs) GetReq() *cart.GetCartReq { method IsSetReq (line 279) | func (p *GetCartArgs) IsSetReq() bool { method GetFirstArgument (line 283) | func (p *GetCartArgs) GetFirstArgument() interface{} { type GetCartResult (line 287) | type GetCartResult struct method FastRead (line 293) | func (p *GetCartResult) FastRead(buf []byte, _type int8, number int32)... method FastWrite (line 300) | func (p *GetCartResult) FastWrite(buf []byte) (n int) { method Size (line 307) | func (p *GetCartResult) Size() (n int) { method Marshal (line 314) | func (p *GetCartResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 321) | func (p *GetCartResult) Unmarshal(in []byte) error { method GetSuccess (line 330) | func (p *GetCartResult) GetSuccess() *cart.GetCartResp { method SetSuccess (line 337) | func (p *GetCartResult) SetSuccess(x interface{}) { method IsSetSuccess (line 341) | func (p *GetCartResult) IsSetSuccess() bool { method GetResult (line 345) | func (p *GetCartResult) GetResult() interface{} { function emptyCartHandler (line 349) | func emptyCartHandler(ctx context.Context, handler interface{}, arg, res... function newEmptyCartArgs (line 374) | func newEmptyCartArgs() interface{} { function newEmptyCartResult (line 378) | func newEmptyCartResult() interface{} { type EmptyCartArgs (line 382) | type EmptyCartArgs struct method FastRead (line 386) | func (p *EmptyCartArgs) FastRead(buf []byte, _type int8, number int32)... method FastWrite (line 393) | func (p *EmptyCartArgs) FastWrite(buf []byte) (n int) { method Size (line 400) | func (p *EmptyCartArgs) Size() (n int) { method Marshal (line 407) | func (p *EmptyCartArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 414) | func (p *EmptyCartArgs) Unmarshal(in []byte) error { method GetReq (line 425) | func (p *EmptyCartArgs) GetReq() *cart.EmptyCartReq { method IsSetReq (line 432) | func (p *EmptyCartArgs) IsSetReq() bool { method GetFirstArgument (line 436) | func (p *EmptyCartArgs) GetFirstArgument() interface{} { type EmptyCartResult (line 440) | type EmptyCartResult struct method FastRead (line 446) | func (p *EmptyCartResult) FastRead(buf []byte, _type int8, number int3... method FastWrite (line 453) | func (p *EmptyCartResult) FastWrite(buf []byte) (n int) { method Size (line 460) | func (p *EmptyCartResult) Size() (n int) { method Marshal (line 467) | func (p *EmptyCartResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 474) | func (p *EmptyCartResult) Unmarshal(in []byte) error { method GetSuccess (line 483) | func (p *EmptyCartResult) GetSuccess() *cart.EmptyCartResp { method SetSuccess (line 490) | func (p *EmptyCartResult) SetSuccess(x interface{}) { method IsSetSuccess (line 494) | func (p *EmptyCartResult) IsSetSuccess() bool { method GetResult (line 498) | func (p *EmptyCartResult) GetResult() interface{} { type kClient (line 502) | type kClient struct method AddItem (line 512) | func (p *kClient) AddItem(ctx context.Context, Req *cart.AddItemReq) (... method GetCart (line 522) | func (p *kClient) GetCart(ctx context.Context, Req *cart.GetCartReq) (... method EmptyCart (line 532) | func (p *kClient) EmptyCart(ctx context.Context, Req *cart.EmptyCartRe... function newServiceClient (line 506) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch17/rpc_gen/kitex_gen/cart/cartservice/client.go type Client (line 13) | type Client interface function NewClient (line 20) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 36) | func MustNewClient(destService string, opts ...client.Option) Client { type kCartServiceClient (line 44) | type kCartServiceClient struct method AddItem (line 48) | func (p *kCartServiceClient) AddItem(ctx context.Context, Req *cart.Ad... method GetCart (line 53) | func (p *kCartServiceClient) GetCart(ctx context.Context, Req *cart.Ge... method EmptyCart (line 58) | func (p *kCartServiceClient) EmptyCart(ctx context.Context, Req *cart.... FILE: gomall/tutorial/ch17/rpc_gen/kitex_gen/cart/cartservice/invoker.go function NewInvoker (line 11) | func NewInvoker(handler cart.CartService, opts ...server.Option) server.... FILE: gomall/tutorial/ch17/rpc_gen/kitex_gen/cart/cartservice/server.go function NewServer (line 10) | func NewServer(handler cart.CartService, opts ...server.Option) server.S... FILE: gomall/tutorial/ch17/rpc_gen/kitex_gen/checkout/checkout.pb.fast.go method FastRead (line 16) | func (x *Address) FastRead(buf []byte, _type int8, number int32) (offset... method fastReadField1 (line 56) | func (x *Address) fastReadField1(buf []byte, _type int8) (offset int, er... method fastReadField2 (line 61) | func (x *Address) fastReadField2(buf []byte, _type int8) (offset int, er... method fastReadField3 (line 66) | func (x *Address) fastReadField3(buf []byte, _type int8) (offset int, er... method fastReadField4 (line 71) | func (x *Address) fastReadField4(buf []byte, _type int8) (offset int, er... method fastReadField5 (line 76) | func (x *Address) fastReadField5(buf []byte, _type int8) (offset int, er... method FastRead (line 81) | func (x *CheckoutReq) FastRead(buf []byte, _type int8, number int32) (of... method fastReadField1 (line 126) | func (x *CheckoutReq) fastReadField1(buf []byte, _type int8) (offset int... method fastReadField2 (line 131) | func (x *CheckoutReq) fastReadField2(buf []byte, _type int8) (offset int... method fastReadField3 (line 136) | func (x *CheckoutReq) fastReadField3(buf []byte, _type int8) (offset int... method fastReadField4 (line 141) | func (x *CheckoutReq) fastReadField4(buf []byte, _type int8) (offset int... method fastReadField5 (line 146) | func (x *CheckoutReq) fastReadField5(buf []byte, _type int8) (offset int... method fastReadField6 (line 156) | func (x *CheckoutReq) fastReadField6(buf []byte, _type int8) (offset int... method FastRead (line 166) | func (x *CheckoutResp) FastRead(buf []byte, _type int8, number int32) (o... method fastReadField1 (line 191) | func (x *CheckoutResp) fastReadField1(buf []byte, _type int8) (offset in... method fastReadField2 (line 196) | func (x *CheckoutResp) fastReadField2(buf []byte, _type int8) (offset in... method FastWrite (line 201) | func (x *Address) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 213) | func (x *Address) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 221) | func (x *Address) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 229) | func (x *Address) fastWriteField3(buf []byte) (offset int) { method fastWriteField4 (line 237) | func (x *Address) fastWriteField4(buf []byte) (offset int) { method fastWriteField5 (line 245) | func (x *Address) fastWriteField5(buf []byte) (offset int) { method FastWrite (line 253) | func (x *CheckoutReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 266) | func (x *CheckoutReq) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 274) | func (x *CheckoutReq) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 282) | func (x *CheckoutReq) fastWriteField3(buf []byte) (offset int) { method fastWriteField4 (line 290) | func (x *CheckoutReq) fastWriteField4(buf []byte) (offset int) { method fastWriteField5 (line 298) | func (x *CheckoutReq) fastWriteField5(buf []byte) (offset int) { method fastWriteField6 (line 306) | func (x *CheckoutReq) fastWriteField6(buf []byte) (offset int) { method FastWrite (line 314) | func (x *CheckoutResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 323) | func (x *CheckoutResp) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 331) | func (x *CheckoutResp) fastWriteField2(buf []byte) (offset int) { method Size (line 339) | func (x *Address) Size() (n int) { method sizeField1 (line 351) | func (x *Address) sizeField1() (n int) { method sizeField2 (line 359) | func (x *Address) sizeField2() (n int) { method sizeField3 (line 367) | func (x *Address) sizeField3() (n int) { method sizeField4 (line 375) | func (x *Address) sizeField4() (n int) { method sizeField5 (line 383) | func (x *Address) sizeField5() (n int) { method Size (line 391) | func (x *CheckoutReq) Size() (n int) { method sizeField1 (line 404) | func (x *CheckoutReq) sizeField1() (n int) { method sizeField2 (line 412) | func (x *CheckoutReq) sizeField2() (n int) { method sizeField3 (line 420) | func (x *CheckoutReq) sizeField3() (n int) { method sizeField4 (line 428) | func (x *CheckoutReq) sizeField4() (n int) { method sizeField5 (line 436) | func (x *CheckoutReq) sizeField5() (n int) { method sizeField6 (line 444) | func (x *CheckoutReq) sizeField6() (n int) { method Size (line 452) | func (x *CheckoutResp) Size() (n int) { method sizeField1 (line 461) | func (x *CheckoutResp) sizeField1() (n int) { method sizeField2 (line 469) | func (x *CheckoutResp) sizeField2() (n int) { FILE: gomall/tutorial/ch17/rpc_gen/kitex_gen/checkout/checkout.pb.go constant _ (line 20) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 22) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Address (line 25) | type Address struct method Reset (line 37) | func (x *Address) Reset() { method String (line 46) | func (x *Address) String() string { method ProtoMessage (line 50) | func (*Address) ProtoMessage() {} method ProtoReflect (line 52) | func (x *Address) ProtoReflect() protoreflect.Message { method Descriptor (line 65) | func (*Address) Descriptor() ([]byte, []int) { method GetStreetAddress (line 69) | func (x *Address) GetStreetAddress() string { method GetCity (line 76) | func (x *Address) GetCity() string { method GetState (line 83) | func (x *Address) GetState() string { method GetCountry (line 90) | func (x *Address) GetCountry() string { method GetZipCode (line 97) | func (x *Address) GetZipCode() string { type CheckoutReq (line 104) | type CheckoutReq struct method Reset (line 117) | func (x *CheckoutReq) Reset() { method String (line 126) | func (x *CheckoutReq) String() string { method ProtoMessage (line 130) | func (*CheckoutReq) ProtoMessage() {} method ProtoReflect (line 132) | func (x *CheckoutReq) ProtoReflect() protoreflect.Message { method Descriptor (line 145) | func (*CheckoutReq) Descriptor() ([]byte, []int) { method GetUserId (line 149) | func (x *CheckoutReq) GetUserId() uint32 { method GetFirstname (line 156) | func (x *CheckoutReq) GetFirstname() string { method GetLastname (line 163) | func (x *CheckoutReq) GetLastname() string { method GetEmail (line 170) | func (x *CheckoutReq) GetEmail() string { method GetAddress (line 177) | func (x *CheckoutReq) GetAddress() *Address { method GetCreditCard (line 184) | func (x *CheckoutReq) GetCreditCard() *payment.CreditCardInfo { type CheckoutResp (line 191) | type CheckoutResp struct method Reset (line 200) | func (x *CheckoutResp) Reset() { method String (line 209) | func (x *CheckoutResp) String() string { method ProtoMessage (line 213) | func (*CheckoutResp) ProtoMessage() {} method ProtoReflect (line 215) | func (x *CheckoutResp) ProtoReflect() protoreflect.Message { method Descriptor (line 228) | func (*CheckoutResp) Descriptor() ([]byte, []int) { method GetOrderId (line 232) | func (x *CheckoutResp) GetOrderId() string { method GetTransactionId (line 239) | func (x *CheckoutResp) GetTransactionId() string { function file_checkout_proto_rawDescGZIP (line 297) | func file_checkout_proto_rawDescGZIP() []byte { function init (line 323) | func init() { file_checkout_proto_init() } function file_checkout_proto_init (line 324) | func file_checkout_proto_init() { type CheckoutService (line 390) | type CheckoutService interface FILE: gomall/tutorial/ch17/rpc_gen/kitex_gen/checkout/checkoutservice/checkoutservice.go function serviceInfo (line 14) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 20) | func NewServiceInfo() *kitex.ServiceInfo { function checkoutHandler (line 41) | func checkoutHandler(ctx context.Context, handler interface{}, arg, resu... function newCheckoutArgs (line 66) | func newCheckoutArgs() interface{} { function newCheckoutResult (line 70) | func newCheckoutResult() interface{} { type CheckoutArgs (line 74) | type CheckoutArgs struct method FastRead (line 78) | func (p *CheckoutArgs) FastRead(buf []byte, _type int8, number int32) ... method FastWrite (line 85) | func (p *CheckoutArgs) FastWrite(buf []byte) (n int) { method Size (line 92) | func (p *CheckoutArgs) Size() (n int) { method Marshal (line 99) | func (p *CheckoutArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 106) | func (p *CheckoutArgs) Unmarshal(in []byte) error { method GetReq (line 117) | func (p *CheckoutArgs) GetReq() *checkout.CheckoutReq { method IsSetReq (line 124) | func (p *CheckoutArgs) IsSetReq() bool { method GetFirstArgument (line 128) | func (p *CheckoutArgs) GetFirstArgument() interface{} { type CheckoutResult (line 132) | type CheckoutResult struct method FastRead (line 138) | func (p *CheckoutResult) FastRead(buf []byte, _type int8, number int32... method FastWrite (line 145) | func (p *CheckoutResult) FastWrite(buf []byte) (n int) { method Size (line 152) | func (p *CheckoutResult) Size() (n int) { method Marshal (line 159) | func (p *CheckoutResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 166) | func (p *CheckoutResult) Unmarshal(in []byte) error { method GetSuccess (line 175) | func (p *CheckoutResult) GetSuccess() *checkout.CheckoutResp { method SetSuccess (line 182) | func (p *CheckoutResult) SetSuccess(x interface{}) { method IsSetSuccess (line 186) | func (p *CheckoutResult) IsSetSuccess() bool { method GetResult (line 190) | func (p *CheckoutResult) GetResult() interface{} { type kClient (line 194) | type kClient struct method Checkout (line 204) | func (p *kClient) Checkout(ctx context.Context, Req *checkout.Checkout... function newServiceClient (line 198) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch17/rpc_gen/kitex_gen/checkout/checkoutservice/client.go type Client (line 13) | type Client interface function NewClient (line 18) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 34) | func MustNewClient(destService string, opts ...client.Option) Client { type kCheckoutServiceClient (line 42) | type kCheckoutServiceClient struct method Checkout (line 46) | func (p *kCheckoutServiceClient) Checkout(ctx context.Context, Req *ch... FILE: gomall/tutorial/ch17/rpc_gen/kitex_gen/checkout/checkoutservice/invoker.go function NewInvoker (line 11) | func NewInvoker(handler checkout.CheckoutService, opts ...server.Option)... FILE: gomall/tutorial/ch17/rpc_gen/kitex_gen/checkout/checkoutservice/server.go function NewServer (line 10) | func NewServer(handler checkout.CheckoutService, opts ...server.Option) ... FILE: gomall/tutorial/ch17/rpc_gen/kitex_gen/email/email.pb.fast.go method FastRead (line 15) | func (x *EmailReq) FastRead(buf []byte, _type int8, number int32) (offse... method fastReadField1 (line 55) | func (x *EmailReq) fastReadField1(buf []byte, _type int8) (offset int, e... method fastReadField2 (line 60) | func (x *EmailReq) fastReadField2(buf []byte, _type int8) (offset int, e... method fastReadField3 (line 65) | func (x *EmailReq) fastReadField3(buf []byte, _type int8) (offset int, e... method fastReadField4 (line 70) | func (x *EmailReq) fastReadField4(buf []byte, _type int8) (offset int, e... method fastReadField5 (line 75) | func (x *EmailReq) fastReadField5(buf []byte, _type int8) (offset int, e... method FastRead (line 80) | func (x *EmailResp) FastRead(buf []byte, _type int8, number int32) (offs... method FastWrite (line 93) | func (x *EmailReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 105) | func (x *EmailReq) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 113) | func (x *EmailReq) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 121) | func (x *EmailReq) fastWriteField3(buf []byte) (offset int) { method fastWriteField4 (line 129) | func (x *EmailReq) fastWriteField4(buf []byte) (offset int) { method fastWriteField5 (line 137) | func (x *EmailReq) fastWriteField5(buf []byte) (offset int) { method FastWrite (line 145) | func (x *EmailResp) FastWrite(buf []byte) (offset int) { method Size (line 152) | func (x *EmailReq) Size() (n int) { method sizeField1 (line 164) | func (x *EmailReq) sizeField1() (n int) { method sizeField2 (line 172) | func (x *EmailReq) sizeField2() (n int) { method sizeField3 (line 180) | func (x *EmailReq) sizeField3() (n int) { method sizeField4 (line 188) | func (x *EmailReq) sizeField4() (n int) { method sizeField5 (line 196) | func (x *EmailReq) sizeField5() (n int) { method Size (line 204) | func (x *EmailResp) Size() (n int) { FILE: gomall/tutorial/ch17/rpc_gen/kitex_gen/email/email.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type EmailReq (line 24) | type EmailReq struct method Reset (line 36) | func (x *EmailReq) Reset() { method String (line 45) | func (x *EmailReq) String() string { method ProtoMessage (line 49) | func (*EmailReq) ProtoMessage() {} method ProtoReflect (line 51) | func (x *EmailReq) ProtoReflect() protoreflect.Message { method Descriptor (line 64) | func (*EmailReq) Descriptor() ([]byte, []int) { method GetFrom (line 68) | func (x *EmailReq) GetFrom() string { method GetTo (line 75) | func (x *EmailReq) GetTo() string { method GetContentType (line 82) | func (x *EmailReq) GetContentType() string { method GetSubject (line 89) | func (x *EmailReq) GetSubject() string { method GetContent (line 96) | func (x *EmailReq) GetContent() string { type EmailResp (line 103) | type EmailResp struct method Reset (line 109) | func (x *EmailResp) Reset() { method String (line 118) | func (x *EmailResp) String() string { method ProtoMessage (line 122) | func (*EmailResp) ProtoMessage() {} method ProtoReflect (line 124) | func (x *EmailResp) ProtoReflect() protoreflect.Message { method Descriptor (line 137) | func (*EmailResp) Descriptor() ([]byte, []int) { function file_email_proto_rawDescGZIP (line 170) | func file_email_proto_rawDescGZIP() []byte { function init (line 192) | func init() { file_email_proto_init() } function file_email_proto_init (line 193) | func file_email_proto_init() { type EmailService (line 247) | type EmailService interface FILE: gomall/tutorial/ch17/rpc_gen/kitex_gen/email/emailservice/client.go type Client (line 13) | type Client interface function NewClient (line 18) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 34) | func MustNewClient(destService string, opts ...client.Option) Client { type kEmailServiceClient (line 42) | type kEmailServiceClient struct method Send (line 46) | func (p *kEmailServiceClient) Send(ctx context.Context, Req *email.Ema... FILE: gomall/tutorial/ch17/rpc_gen/kitex_gen/email/emailservice/emailservice.go function serviceInfo (line 14) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 20) | func NewServiceInfo() *kitex.ServiceInfo { function sendHandler (line 41) | func sendHandler(ctx context.Context, handler interface{}, arg, result i... function newSendArgs (line 66) | func newSendArgs() interface{} { function newSendResult (line 70) | func newSendResult() interface{} { type SendArgs (line 74) | type SendArgs struct method FastRead (line 78) | func (p *SendArgs) FastRead(buf []byte, _type int8, number int32) (n i... method FastWrite (line 85) | func (p *SendArgs) FastWrite(buf []byte) (n int) { method Size (line 92) | func (p *SendArgs) Size() (n int) { method Marshal (line 99) | func (p *SendArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 106) | func (p *SendArgs) Unmarshal(in []byte) error { method GetReq (line 117) | func (p *SendArgs) GetReq() *email.EmailReq { method IsSetReq (line 124) | func (p *SendArgs) IsSetReq() bool { method GetFirstArgument (line 128) | func (p *SendArgs) GetFirstArgument() interface{} { type SendResult (line 132) | type SendResult struct method FastRead (line 138) | func (p *SendResult) FastRead(buf []byte, _type int8, number int32) (n... method FastWrite (line 145) | func (p *SendResult) FastWrite(buf []byte) (n int) { method Size (line 152) | func (p *SendResult) Size() (n int) { method Marshal (line 159) | func (p *SendResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 166) | func (p *SendResult) Unmarshal(in []byte) error { method GetSuccess (line 175) | func (p *SendResult) GetSuccess() *email.EmailResp { method SetSuccess (line 182) | func (p *SendResult) SetSuccess(x interface{}) { method IsSetSuccess (line 186) | func (p *SendResult) IsSetSuccess() bool { method GetResult (line 190) | func (p *SendResult) GetResult() interface{} { type kClient (line 194) | type kClient struct method Send (line 204) | func (p *kClient) Send(ctx context.Context, Req *email.EmailReq) (r *e... function newServiceClient (line 198) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch17/rpc_gen/kitex_gen/email/emailservice/invoker.go function NewInvoker (line 11) | func NewInvoker(handler email.EmailService, opts ...server.Option) serve... FILE: gomall/tutorial/ch17/rpc_gen/kitex_gen/email/emailservice/server.go function NewServer (line 10) | func NewServer(handler email.EmailService, opts ...server.Option) server... FILE: gomall/tutorial/ch17/rpc_gen/kitex_gen/order/order.pb.fast.go method FastRead (line 16) | func (x *Address) FastRead(buf []byte, _type int8, number int32) (offset... method fastReadField1 (line 56) | func (x *Address) fastReadField1(buf []byte, _type int8) (offset int, er... method fastReadField2 (line 61) | func (x *Address) fastReadField2(buf []byte, _type int8) (offset int, er... method fastReadField3 (line 66) | func (x *Address) fastReadField3(buf []byte, _type int8) (offset int, er... method fastReadField4 (line 71) | func (x *Address) fastReadField4(buf []byte, _type int8) (offset int, er... method fastReadField5 (line 76) | func (x *Address) fastReadField5(buf []byte, _type int8) (offset int, er... method FastRead (line 81) | func (x *PlaceOrderReq) FastRead(buf []byte, _type int8, number int32) (... method fastReadField1 (line 121) | func (x *PlaceOrderReq) fastReadField1(buf []byte, _type int8) (offset i... method fastReadField2 (line 126) | func (x *PlaceOrderReq) fastReadField2(buf []byte, _type int8) (offset i... method fastReadField3 (line 131) | func (x *PlaceOrderReq) fastReadField3(buf []byte, _type int8) (offset i... method fastReadField4 (line 141) | func (x *PlaceOrderReq) fastReadField4(buf []byte, _type int8) (offset i... method fastReadField5 (line 146) | func (x *PlaceOrderReq) fastReadField5(buf []byte, _type int8) (offset i... method FastRead (line 156) | func (x *OrderItem) FastRead(buf []byte, _type int8, number int32) (offs... method fastReadField1 (line 181) | func (x *OrderItem) fastReadField1(buf []byte, _type int8) (offset int, ... method fastReadField2 (line 191) | func (x *OrderItem) fastReadField2(buf []byte, _type int8) (offset int, ... method FastRead (line 196) | func (x *OrderResult) FastRead(buf []byte, _type int8, number int32) (of... method fastReadField1 (line 216) | func (x *OrderResult) fastReadField1(buf []byte, _type int8) (offset int... method FastRead (line 221) | func (x *PlaceOrderResp) FastRead(buf []byte, _type int8, number int32) ... method fastReadField1 (line 241) | func (x *PlaceOrderResp) fastReadField1(buf []byte, _type int8) (offset ... method FastRead (line 251) | func (x *ListOrderReq) FastRead(buf []byte, _type int8, number int32) (o... method fastReadField1 (line 271) | func (x *ListOrderReq) fastReadField1(buf []byte, _type int8) (offset in... method FastRead (line 276) | func (x *Order) FastRead(buf []byte, _type int8, number int32) (offset i... method fastReadField1 (line 326) | func (x *Order) fastReadField1(buf []byte, _type int8) (offset int, err ... method fastReadField2 (line 336) | func (x *Order) fastReadField2(buf []byte, _type int8) (offset int, err ... method fastReadField3 (line 341) | func (x *Order) fastReadField3(buf []byte, _type int8) (offset int, err ... method fastReadField4 (line 346) | func (x *Order) fastReadField4(buf []byte, _type int8) (offset int, err ... method fastReadField5 (line 351) | func (x *Order) fastReadField5(buf []byte, _type int8) (offset int, err ... method fastReadField6 (line 361) | func (x *Order) fastReadField6(buf []byte, _type int8) (offset int, err ... method fastReadField7 (line 366) | func (x *Order) fastReadField7(buf []byte, _type int8) (offset int, err ... method FastRead (line 371) | func (x *ListOrderResp) FastRead(buf []byte, _type int8, number int32) (... method fastReadField1 (line 391) | func (x *ListOrderResp) fastReadField1(buf []byte, _type int8) (offset i... method FastWrite (line 401) | func (x *Address) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 413) | func (x *Address) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 421) | func (x *Address) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 429) | func (x *Address) fastWriteField3(buf []byte) (offset int) { method fastWriteField4 (line 437) | func (x *Address) fastWriteField4(buf []byte) (offset int) { method fastWriteField5 (line 445) | func (x *Address) fastWriteField5(buf []byte) (offset int) { method FastWrite (line 453) | func (x *PlaceOrderReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 465) | func (x *PlaceOrderReq) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 473) | func (x *PlaceOrderReq) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 481) | func (x *PlaceOrderReq) fastWriteField3(buf []byte) (offset int) { method fastWriteField4 (line 489) | func (x *PlaceOrderReq) fastWriteField4(buf []byte) (offset int) { method fastWriteField5 (line 497) | func (x *PlaceOrderReq) fastWriteField5(buf []byte) (offset int) { method FastWrite (line 507) | func (x *OrderItem) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 516) | func (x *OrderItem) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 524) | func (x *OrderItem) fastWriteField2(buf []byte) (offset int) { method FastWrite (line 532) | func (x *OrderResult) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 540) | func (x *OrderResult) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 548) | func (x *PlaceOrderResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 556) | func (x *PlaceOrderResp) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 564) | func (x *ListOrderReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 572) | func (x *ListOrderReq) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 580) | func (x *Order) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 594) | func (x *Order) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 604) | func (x *Order) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 612) | func (x *Order) fastWriteField3(buf []byte) (offset int) { method fastWriteField4 (line 620) | func (x *Order) fastWriteField4(buf []byte) (offset int) { method fastWriteField5 (line 628) | func (x *Order) fastWriteField5(buf []byte) (offset int) { method fastWriteField6 (line 636) | func (x *Order) fastWriteField6(buf []byte) (offset int) { method fastWriteField7 (line 644) | func (x *Order) fastWriteField7(buf []byte) (offset int) { method FastWrite (line 652) | func (x *ListOrderResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 660) | func (x *ListOrderResp) fastWriteField1(buf []byte) (offset int) { method Size (line 670) | func (x *Address) Size() (n int) { method sizeField1 (line 682) | func (x *Address) sizeField1() (n int) { method sizeField2 (line 690) | func (x *Address) sizeField2() (n int) { method sizeField3 (line 698) | func (x *Address) sizeField3() (n int) { method sizeField4 (line 706) | func (x *Address) sizeField4() (n int) { method sizeField5 (line 714) | func (x *Address) sizeField5() (n int) { method Size (line 722) | func (x *PlaceOrderReq) Size() (n int) { method sizeField1 (line 734) | func (x *PlaceOrderReq) sizeField1() (n int) { method sizeField2 (line 742) | func (x *PlaceOrderReq) sizeField2() (n int) { method sizeField3 (line 750) | func (x *PlaceOrderReq) sizeField3() (n int) { method sizeField4 (line 758) | func (x *PlaceOrderReq) sizeField4() (n int) { method sizeField5 (line 766) | func (x *PlaceOrderReq) sizeField5() (n int) { method Size (line 776) | func (x *OrderItem) Size() (n int) { method sizeField1 (line 785) | func (x *OrderItem) sizeField1() (n int) { method sizeField2 (line 793) | func (x *OrderItem) sizeField2() (n int) { method Size (line 801) | func (x *OrderResult) Size() (n int) { method sizeField1 (line 809) | func (x *OrderResult) sizeField1() (n int) { method Size (line 817) | func (x *PlaceOrderResp) Size() (n int) { method sizeField1 (line 825) | func (x *PlaceOrderResp) sizeField1() (n int) { method Size (line 833) | func (x *ListOrderReq) Size() (n int) { method sizeField1 (line 841) | func (x *ListOrderReq) sizeField1() (n int) { method Size (line 849) | func (x *Order) Size() (n int) { method sizeField1 (line 863) | func (x *Order) sizeField1() (n int) { method sizeField2 (line 873) | func (x *Order) sizeField2() (n int) { method sizeField3 (line 881) | func (x *Order) sizeField3() (n int) { method sizeField4 (line 889) | func (x *Order) sizeField4() (n int) { method sizeField5 (line 897) | func (x *Order) sizeField5() (n int) { method sizeField6 (line 905) | func (x *Order) sizeField6() (n int) { method sizeField7 (line 913) | func (x *Order) sizeField7() (n int) { method Size (line 921) | func (x *ListOrderResp) Size() (n int) { method sizeField1 (line 929) | func (x *ListOrderResp) sizeField1() (n int) { FILE: gomall/tutorial/ch17/rpc_gen/kitex_gen/order/order.pb.go constant _ (line 20) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 22) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Address (line 25) | type Address struct method Reset (line 37) | func (x *Address) Reset() { method String (line 46) | func (x *Address) String() string { method ProtoMessage (line 50) | func (*Address) ProtoMessage() {} method ProtoReflect (line 52) | func (x *Address) ProtoReflect() protoreflect.Message { method Descriptor (line 65) | func (*Address) Descriptor() ([]byte, []int) { method GetStreetAddress (line 69) | func (x *Address) GetStreetAddress() string { method GetCity (line 76) | func (x *Address) GetCity() string { method GetState (line 83) | func (x *Address) GetState() string { method GetCountry (line 90) | func (x *Address) GetCountry() string { method GetZipCode (line 97) | func (x *Address) GetZipCode() int32 { type PlaceOrderReq (line 104) | type PlaceOrderReq struct method Reset (line 116) | func (x *PlaceOrderReq) Reset() { method String (line 125) | func (x *PlaceOrderReq) String() string { method ProtoMessage (line 129) | func (*PlaceOrderReq) ProtoMessage() {} method ProtoReflect (line 131) | func (x *PlaceOrderReq) ProtoReflect() protoreflect.Message { method Descriptor (line 144) | func (*PlaceOrderReq) Descriptor() ([]byte, []int) { method GetUserId (line 148) | func (x *PlaceOrderReq) GetUserId() uint32 { method GetUserCurrency (line 155) | func (x *PlaceOrderReq) GetUserCurrency() string { method GetAddress (line 162) | func (x *PlaceOrderReq) GetAddress() *Address { method GetEmail (line 169) | func (x *PlaceOrderReq) GetEmail() string { method GetOrderItems (line 176) | func (x *PlaceOrderReq) GetOrderItems() []*OrderItem { type OrderItem (line 183) | type OrderItem struct method Reset (line 192) | func (x *OrderItem) Reset() { method String (line 201) | func (x *OrderItem) String() string { method ProtoMessage (line 205) | func (*OrderItem) ProtoMessage() {} method ProtoReflect (line 207) | func (x *OrderItem) ProtoReflect() protoreflect.Message { method Descriptor (line 220) | func (*OrderItem) Descriptor() ([]byte, []int) { method GetItem (line 224) | func (x *OrderItem) GetItem() *cart.CartItem { method GetCost (line 231) | func (x *OrderItem) GetCost() float32 { type OrderResult (line 238) | type OrderResult struct method Reset (line 246) | func (x *OrderResult) Reset() { method String (line 255) | func (x *OrderResult) String() string { method ProtoMessage (line 259) | func (*OrderResult) ProtoMessage() {} method ProtoReflect (line 261) | func (x *OrderResult) ProtoReflect() protoreflect.Message { method Descriptor (line 274) | func (*OrderResult) Descriptor() ([]byte, []int) { method GetOrderId (line 278) | func (x *OrderResult) GetOrderId() string { type PlaceOrderResp (line 285) | type PlaceOrderResp struct method Reset (line 293) | func (x *PlaceOrderResp) Reset() { method String (line 302) | func (x *PlaceOrderResp) String() string { method ProtoMessage (line 306) | func (*PlaceOrderResp) ProtoMessage() {} method ProtoReflect (line 308) | func (x *PlaceOrderResp) ProtoReflect() protoreflect.Message { method Descriptor (line 321) | func (*PlaceOrderResp) Descriptor() ([]byte, []int) { method GetOrder (line 325) | func (x *PlaceOrderResp) GetOrder() *OrderResult { type ListOrderReq (line 332) | type ListOrderReq struct method Reset (line 340) | func (x *ListOrderReq) Reset() { method String (line 349) | func (x *ListOrderReq) String() string { method ProtoMessage (line 353) | func (*ListOrderReq) ProtoMessage() {} method ProtoReflect (line 355) | func (x *ListOrderReq) ProtoReflect() protoreflect.Message { method Descriptor (line 368) | func (*ListOrderReq) Descriptor() ([]byte, []int) { method GetUserId (line 372) | func (x *ListOrderReq) GetUserId() uint32 { type Order (line 379) | type Order struct method Reset (line 393) | func (x *Order) Reset() { method String (line 402) | func (x *Order) String() string { method ProtoMessage (line 406) | func (*Order) ProtoMessage() {} method ProtoReflect (line 408) | func (x *Order) ProtoReflect() protoreflect.Message { method Descriptor (line 421) | func (*Order) Descriptor() ([]byte, []int) { method GetOrderItems (line 425) | func (x *Order) GetOrderItems() []*OrderItem { method GetOrderId (line 432) | func (x *Order) GetOrderId() string { method GetUserId (line 439) | func (x *Order) GetUserId() uint32 { method GetUserCurrency (line 446) | func (x *Order) GetUserCurrency() string { method GetAddress (line 453) | func (x *Order) GetAddress() *Address { method GetEmail (line 460) | func (x *Order) GetEmail() string { method GetCreatedAt (line 467) | func (x *Order) GetCreatedAt() int32 { type ListOrderResp (line 474) | type ListOrderResp struct method Reset (line 482) | func (x *ListOrderResp) Reset() { method String (line 491) | func (x *ListOrderResp) String() string { method ProtoMessage (line 495) | func (*ListOrderResp) ProtoMessage() {} method ProtoReflect (line 497) | func (x *ListOrderResp) ProtoReflect() protoreflect.Message { method Descriptor (line 510) | func (*ListOrderResp) Descriptor() ([]byte, []int) { method GetOrders (line 514) | func (x *ListOrderResp) GetOrders() []*Order { function file_order_proto_rawDescGZIP (line 600) | func file_order_proto_rawDescGZIP() []byte { function init (line 638) | func init() { file_order_proto_init() } function file_order_proto_init (line 639) | func file_order_proto_init() { type OrderService (line 765) | type OrderService interface FILE: gomall/tutorial/ch17/rpc_gen/kitex_gen/order/orderservice/client.go type Client (line 13) | type Client interface function NewClient (line 19) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 35) | func MustNewClient(destService string, opts ...client.Option) Client { type kOrderServiceClient (line 43) | type kOrderServiceClient struct method PlaceOrder (line 47) | func (p *kOrderServiceClient) PlaceOrder(ctx context.Context, Req *ord... method ListOrder (line 52) | func (p *kOrderServiceClient) ListOrder(ctx context.Context, Req *orde... FILE: gomall/tutorial/ch17/rpc_gen/kitex_gen/order/orderservice/invoker.go function NewInvoker (line 11) | func NewInvoker(handler order.OrderService, opts ...server.Option) serve... FILE: gomall/tutorial/ch17/rpc_gen/kitex_gen/order/orderservice/orderservice.go function serviceInfo (line 14) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 20) | func NewServiceInfo() *kitex.ServiceInfo { function placeOrderHandler (line 42) | func placeOrderHandler(ctx context.Context, handler interface{}, arg, re... function newPlaceOrderArgs (line 67) | func newPlaceOrderArgs() interface{} { function newPlaceOrderResult (line 71) | func newPlaceOrderResult() interface{} { type PlaceOrderArgs (line 75) | type PlaceOrderArgs struct method FastRead (line 79) | func (p *PlaceOrderArgs) FastRead(buf []byte, _type int8, number int32... method FastWrite (line 86) | func (p *PlaceOrderArgs) FastWrite(buf []byte) (n int) { method Size (line 93) | func (p *PlaceOrderArgs) Size() (n int) { method Marshal (line 100) | func (p *PlaceOrderArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 107) | func (p *PlaceOrderArgs) Unmarshal(in []byte) error { method GetReq (line 118) | func (p *PlaceOrderArgs) GetReq() *order.PlaceOrderReq { method IsSetReq (line 125) | func (p *PlaceOrderArgs) IsSetReq() bool { method GetFirstArgument (line 129) | func (p *PlaceOrderArgs) GetFirstArgument() interface{} { type PlaceOrderResult (line 133) | type PlaceOrderResult struct method FastRead (line 139) | func (p *PlaceOrderResult) FastRead(buf []byte, _type int8, number int... method FastWrite (line 146) | func (p *PlaceOrderResult) FastWrite(buf []byte) (n int) { method Size (line 153) | func (p *PlaceOrderResult) Size() (n int) { method Marshal (line 160) | func (p *PlaceOrderResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 167) | func (p *PlaceOrderResult) Unmarshal(in []byte) error { method GetSuccess (line 176) | func (p *PlaceOrderResult) GetSuccess() *order.PlaceOrderResp { method SetSuccess (line 183) | func (p *PlaceOrderResult) SetSuccess(x interface{}) { method IsSetSuccess (line 187) | func (p *PlaceOrderResult) IsSetSuccess() bool { method GetResult (line 191) | func (p *PlaceOrderResult) GetResult() interface{} { function listOrderHandler (line 195) | func listOrderHandler(ctx context.Context, handler interface{}, arg, res... function newListOrderArgs (line 220) | func newListOrderArgs() interface{} { function newListOrderResult (line 224) | func newListOrderResult() interface{} { type ListOrderArgs (line 228) | type ListOrderArgs struct method FastRead (line 232) | func (p *ListOrderArgs) FastRead(buf []byte, _type int8, number int32)... method FastWrite (line 239) | func (p *ListOrderArgs) FastWrite(buf []byte) (n int) { method Size (line 246) | func (p *ListOrderArgs) Size() (n int) { method Marshal (line 253) | func (p *ListOrderArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 260) | func (p *ListOrderArgs) Unmarshal(in []byte) error { method GetReq (line 271) | func (p *ListOrderArgs) GetReq() *order.ListOrderReq { method IsSetReq (line 278) | func (p *ListOrderArgs) IsSetReq() bool { method GetFirstArgument (line 282) | func (p *ListOrderArgs) GetFirstArgument() interface{} { type ListOrderResult (line 286) | type ListOrderResult struct method FastRead (line 292) | func (p *ListOrderResult) FastRead(buf []byte, _type int8, number int3... method FastWrite (line 299) | func (p *ListOrderResult) FastWrite(buf []byte) (n int) { method Size (line 306) | func (p *ListOrderResult) Size() (n int) { method Marshal (line 313) | func (p *ListOrderResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 320) | func (p *ListOrderResult) Unmarshal(in []byte) error { method GetSuccess (line 329) | func (p *ListOrderResult) GetSuccess() *order.ListOrderResp { method SetSuccess (line 336) | func (p *ListOrderResult) SetSuccess(x interface{}) { method IsSetSuccess (line 340) | func (p *ListOrderResult) IsSetSuccess() bool { method GetResult (line 344) | func (p *ListOrderResult) GetResult() interface{} { type kClient (line 348) | type kClient struct method PlaceOrder (line 358) | func (p *kClient) PlaceOrder(ctx context.Context, Req *order.PlaceOrde... method ListOrder (line 368) | func (p *kClient) ListOrder(ctx context.Context, Req *order.ListOrderR... function newServiceClient (line 352) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch17/rpc_gen/kitex_gen/order/orderservice/server.go function NewServer (line 10) | func NewServer(handler order.OrderService, opts ...server.Option) server... FILE: gomall/tutorial/ch17/rpc_gen/kitex_gen/payment/payment.pb.fast.go method FastRead (line 15) | func (x *CreditCardInfo) FastRead(buf []byte, _type int8, number int32) ... method fastReadField1 (line 50) | func (x *CreditCardInfo) fastReadField1(buf []byte, _type int8) (offset ... method fastReadField2 (line 55) | func (x *CreditCardInfo) fastReadField2(buf []byte, _type int8) (offset ... method fastReadField3 (line 60) | func (x *CreditCardInfo) fastReadField3(buf []byte, _type int8) (offset ... method fastReadField4 (line 65) | func (x *CreditCardInfo) fastReadField4(buf []byte, _type int8) (offset ... method FastRead (line 70) | func (x *ChargeReq) FastRead(buf []byte, _type int8, number int32) (offs... method fastReadField1 (line 105) | func (x *ChargeReq) fastReadField1(buf []byte, _type int8) (offset int, ... method fastReadField2 (line 110) | func (x *ChargeReq) fastReadField2(buf []byte, _type int8) (offset int, ... method fastReadField3 (line 120) | func (x *ChargeReq) fastReadField3(buf []byte, _type int8) (offset int, ... method fastReadField4 (line 125) | func (x *ChargeReq) fastReadField4(buf []byte, _type int8) (offset int, ... method FastRead (line 130) | func (x *ChargeResp) FastRead(buf []byte, _type int8, number int32) (off... method fastReadField1 (line 150) | func (x *ChargeResp) fastReadField1(buf []byte, _type int8) (offset int,... method FastWrite (line 155) | func (x *CreditCardInfo) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 166) | func (x *CreditCardInfo) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 174) | func (x *CreditCardInfo) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 182) | func (x *CreditCardInfo) fastWriteField3(buf []byte) (offset int) { method fastWriteField4 (line 190) | func (x *CreditCardInfo) fastWriteField4(buf []byte) (offset int) { method FastWrite (line 198) | func (x *ChargeReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 209) | func (x *ChargeReq) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 217) | func (x *ChargeReq) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 225) | func (x *ChargeReq) fastWriteField3(buf []byte) (offset int) { method fastWriteField4 (line 233) | func (x *ChargeReq) fastWriteField4(buf []byte) (offset int) { method FastWrite (line 241) | func (x *ChargeResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 249) | func (x *ChargeResp) fastWriteField1(buf []byte) (offset int) { method Size (line 257) | func (x *CreditCardInfo) Size() (n int) { method sizeField1 (line 268) | func (x *CreditCardInfo) sizeField1() (n int) { method sizeField2 (line 276) | func (x *CreditCardInfo) sizeField2() (n int) { method sizeField3 (line 284) | func (x *CreditCardInfo) sizeField3() (n int) { method sizeField4 (line 292) | func (x *CreditCardInfo) sizeField4() (n int) { method Size (line 300) | func (x *ChargeReq) Size() (n int) { method sizeField1 (line 311) | func (x *ChargeReq) sizeField1() (n int) { method sizeField2 (line 319) | func (x *ChargeReq) sizeField2() (n int) { method sizeField3 (line 327) | func (x *ChargeReq) sizeField3() (n int) { method sizeField4 (line 335) | func (x *ChargeReq) sizeField4() (n int) { method Size (line 343) | func (x *ChargeResp) Size() (n int) { method sizeField1 (line 351) | func (x *ChargeResp) sizeField1() (n int) { FILE: gomall/tutorial/ch17/rpc_gen/kitex_gen/payment/payment.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type CreditCardInfo (line 24) | type CreditCardInfo struct method Reset (line 35) | func (x *CreditCardInfo) Reset() { method String (line 44) | func (x *CreditCardInfo) String() string { method ProtoMessage (line 48) | func (*CreditCardInfo) ProtoMessage() {} method ProtoReflect (line 50) | func (x *CreditCardInfo) ProtoReflect() protoreflect.Message { method Descriptor (line 63) | func (*CreditCardInfo) Descriptor() ([]byte, []int) { method GetCreditCardNumber (line 67) | func (x *CreditCardInfo) GetCreditCardNumber() string { method GetCreditCardCvv (line 74) | func (x *CreditCardInfo) GetCreditCardCvv() int32 { method GetCreditCardExpirationYear (line 81) | func (x *CreditCardInfo) GetCreditCardExpirationYear() int32 { method GetCreditCardExpirationMonth (line 88) | func (x *CreditCardInfo) GetCreditCardExpirationMonth() int32 { type ChargeReq (line 95) | type ChargeReq struct method Reset (line 106) | func (x *ChargeReq) Reset() { method String (line 115) | func (x *ChargeReq) String() string { method ProtoMessage (line 119) | func (*ChargeReq) ProtoMessage() {} method ProtoReflect (line 121) | func (x *ChargeReq) ProtoReflect() protoreflect.Message { method Descriptor (line 134) | func (*ChargeReq) Descriptor() ([]byte, []int) { method GetAmount (line 138) | func (x *ChargeReq) GetAmount() float32 { method GetCreditCard (line 145) | func (x *ChargeReq) GetCreditCard() *CreditCardInfo { method GetOrderId (line 152) | func (x *ChargeReq) GetOrderId() string { method GetUserId (line 159) | func (x *ChargeReq) GetUserId() uint32 { type ChargeResp (line 166) | type ChargeResp struct method Reset (line 174) | func (x *ChargeResp) Reset() { method String (line 183) | func (x *ChargeResp) String() string { method ProtoMessage (line 187) | func (*ChargeResp) ProtoMessage() {} method ProtoReflect (line 189) | func (x *ChargeResp) ProtoReflect() protoreflect.Message { method Descriptor (line 202) | func (*ChargeResp) Descriptor() ([]byte, []int) { method GetTransactionId (line 206) | func (x *ChargeResp) GetTransactionId() string { function file_payment_proto_rawDescGZIP (line 261) | func file_payment_proto_rawDescGZIP() []byte { function init (line 285) | func init() { file_payment_proto_init() } function file_payment_proto_init (line 286) | func file_payment_proto_init() { type PaymentService (line 352) | type PaymentService interface FILE: gomall/tutorial/ch17/rpc_gen/kitex_gen/payment/paymentservice/client.go type Client (line 13) | type Client interface function NewClient (line 18) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 34) | func MustNewClient(destService string, opts ...client.Option) Client { type kPaymentServiceClient (line 42) | type kPaymentServiceClient struct method Charge (line 46) | func (p *kPaymentServiceClient) Charge(ctx context.Context, Req *payme... FILE: gomall/tutorial/ch17/rpc_gen/kitex_gen/payment/paymentservice/invoker.go function NewInvoker (line 11) | func NewInvoker(handler payment.PaymentService, opts ...server.Option) s... FILE: gomall/tutorial/ch17/rpc_gen/kitex_gen/payment/paymentservice/paymentservice.go function serviceInfo (line 14) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 20) | func NewServiceInfo() *kitex.ServiceInfo { function chargeHandler (line 41) | func chargeHandler(ctx context.Context, handler interface{}, arg, result... function newChargeArgs (line 66) | func newChargeArgs() interface{} { function newChargeResult (line 70) | func newChargeResult() interface{} { type ChargeArgs (line 74) | type ChargeArgs struct method FastRead (line 78) | func (p *ChargeArgs) FastRead(buf []byte, _type int8, number int32) (n... method FastWrite (line 85) | func (p *ChargeArgs) FastWrite(buf []byte) (n int) { method Size (line 92) | func (p *ChargeArgs) Size() (n int) { method Marshal (line 99) | func (p *ChargeArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 106) | func (p *ChargeArgs) Unmarshal(in []byte) error { method GetReq (line 117) | func (p *ChargeArgs) GetReq() *payment.ChargeReq { method IsSetReq (line 124) | func (p *ChargeArgs) IsSetReq() bool { method GetFirstArgument (line 128) | func (p *ChargeArgs) GetFirstArgument() interface{} { type ChargeResult (line 132) | type ChargeResult struct method FastRead (line 138) | func (p *ChargeResult) FastRead(buf []byte, _type int8, number int32) ... method FastWrite (line 145) | func (p *ChargeResult) FastWrite(buf []byte) (n int) { method Size (line 152) | func (p *ChargeResult) Size() (n int) { method Marshal (line 159) | func (p *ChargeResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 166) | func (p *ChargeResult) Unmarshal(in []byte) error { method GetSuccess (line 175) | func (p *ChargeResult) GetSuccess() *payment.ChargeResp { method SetSuccess (line 182) | func (p *ChargeResult) SetSuccess(x interface{}) { method IsSetSuccess (line 186) | func (p *ChargeResult) IsSetSuccess() bool { method GetResult (line 190) | func (p *ChargeResult) GetResult() interface{} { type kClient (line 194) | type kClient struct method Charge (line 204) | func (p *kClient) Charge(ctx context.Context, Req *payment.ChargeReq) ... function newServiceClient (line 198) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch17/rpc_gen/kitex_gen/payment/paymentservice/server.go function NewServer (line 10) | func NewServer(handler payment.PaymentService, opts ...server.Option) se... FILE: gomall/tutorial/ch17/rpc_gen/kitex_gen/product/product.pb.fast.go method FastRead (line 15) | func (x *ListProductsReq) FastRead(buf []byte, _type int8, number int32)... method fastReadField1 (line 45) | func (x *ListProductsReq) fastReadField1(buf []byte, _type int8) (offset... method fastReadField2 (line 50) | func (x *ListProductsReq) fastReadField2(buf []byte, _type int8) (offset... method fastReadField3 (line 55) | func (x *ListProductsReq) fastReadField3(buf []byte, _type int8) (offset... method FastRead (line 60) | func (x *Product) FastRead(buf []byte, _type int8, number int32) (offset... method fastReadField1 (line 105) | func (x *Product) fastReadField1(buf []byte, _type int8) (offset int, er... method fastReadField2 (line 110) | func (x *Product) fastReadField2(buf []byte, _type int8) (offset int, er... method fastReadField3 (line 115) | func (x *Product) fastReadField3(buf []byte, _type int8) (offset int, er... method fastReadField4 (line 120) | func (x *Product) fastReadField4(buf []byte, _type int8) (offset int, er... method fastReadField5 (line 125) | func (x *Product) fastReadField5(buf []byte, _type int8) (offset int, er... method fastReadField6 (line 130) | func (x *Product) fastReadField6(buf []byte, _type int8) (offset int, er... method FastRead (line 140) | func (x *ListProductsResp) FastRead(buf []byte, _type int8, number int32... method fastReadField1 (line 160) | func (x *ListProductsResp) fastReadField1(buf []byte, _type int8) (offse... method FastRead (line 170) | func (x *GetProductReq) FastRead(buf []byte, _type int8, number int32) (... method fastReadField1 (line 190) | func (x *GetProductReq) fastReadField1(buf []byte, _type int8) (offset i... method FastRead (line 195) | func (x *GetProductResp) FastRead(buf []byte, _type int8, number int32) ... method fastReadField1 (line 215) | func (x *GetProductResp) fastReadField1(buf []byte, _type int8) (offset ... method FastRead (line 225) | func (x *SearchProductsReq) FastRead(buf []byte, _type int8, number int3... method fastReadField1 (line 245) | func (x *SearchProductsReq) fastReadField1(buf []byte, _type int8) (offs... method FastRead (line 250) | func (x *SearchProductsResp) FastRead(buf []byte, _type int8, number int... method fastReadField1 (line 270) | func (x *SearchProductsResp) fastReadField1(buf []byte, _type int8) (off... method FastWrite (line 280) | func (x *ListProductsReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 290) | func (x *ListProductsReq) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 298) | func (x *ListProductsReq) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 306) | func (x *ListProductsReq) fastWriteField3(buf []byte) (offset int) { method FastWrite (line 314) | func (x *Product) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 327) | func (x *Product) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 335) | func (x *Product) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 343) | func (x *Product) fastWriteField3(buf []byte) (offset int) { method fastWriteField4 (line 351) | func (x *Product) fastWriteField4(buf []byte) (offset int) { method fastWriteField5 (line 359) | func (x *Product) fastWriteField5(buf []byte) (offset int) { method fastWriteField6 (line 367) | func (x *Product) fastWriteField6(buf []byte) (offset int) { method FastWrite (line 377) | func (x *ListProductsResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 385) | func (x *ListProductsResp) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 395) | func (x *GetProductReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 403) | func (x *GetProductReq) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 411) | func (x *GetProductResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 419) | func (x *GetProductResp) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 427) | func (x *SearchProductsReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 435) | func (x *SearchProductsReq) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 443) | func (x *SearchProductsResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 451) | func (x *SearchProductsResp) fastWriteField1(buf []byte) (offset int) { method Size (line 461) | func (x *ListProductsReq) Size() (n int) { method sizeField1 (line 471) | func (x *ListProductsReq) sizeField1() (n int) { method sizeField2 (line 479) | func (x *ListProductsReq) sizeField2() (n int) { method sizeField3 (line 487) | func (x *ListProductsReq) sizeField3() (n int) { method Size (line 495) | func (x *Product) Size() (n int) { method sizeField1 (line 508) | func (x *Product) sizeField1() (n int) { method sizeField2 (line 516) | func (x *Product) sizeField2() (n int) { method sizeField3 (line 524) | func (x *Product) sizeField3() (n int) { method sizeField4 (line 532) | func (x *Product) sizeField4() (n int) { method sizeField5 (line 540) | func (x *Product) sizeField5() (n int) { method sizeField6 (line 548) | func (x *Product) sizeField6() (n int) { method Size (line 558) | func (x *ListProductsResp) Size() (n int) { method sizeField1 (line 566) | func (x *ListProductsResp) sizeField1() (n int) { method Size (line 576) | func (x *GetProductReq) Size() (n int) { method sizeField1 (line 584) | func (x *GetProductReq) sizeField1() (n int) { method Size (line 592) | func (x *GetProductResp) Size() (n int) { method sizeField1 (line 600) | func (x *GetProductResp) sizeField1() (n int) { method Size (line 608) | func (x *SearchProductsReq) Size() (n int) { method sizeField1 (line 616) | func (x *SearchProductsReq) sizeField1() (n int) { method Size (line 624) | func (x *SearchProductsResp) Size() (n int) { method sizeField1 (line 632) | func (x *SearchProductsResp) sizeField1() (n int) { FILE: gomall/tutorial/ch17/rpc_gen/kitex_gen/product/product.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type ListProductsReq (line 24) | type ListProductsReq struct method Reset (line 34) | func (x *ListProductsReq) Reset() { method String (line 43) | func (x *ListProductsReq) String() string { method ProtoMessage (line 47) | func (*ListProductsReq) ProtoMessage() {} method ProtoReflect (line 49) | func (x *ListProductsReq) ProtoReflect() protoreflect.Message { method Descriptor (line 62) | func (*ListProductsReq) Descriptor() ([]byte, []int) { method GetPage (line 66) | func (x *ListProductsReq) GetPage() int32 { method GetPageSize (line 73) | func (x *ListProductsReq) GetPageSize() int64 { method GetCategoryName (line 80) | func (x *ListProductsReq) GetCategoryName() string { type Product (line 87) | type Product struct method Reset (line 100) | func (x *Product) Reset() { method String (line 109) | func (x *Product) String() string { method ProtoMessage (line 113) | func (*Product) ProtoMessage() {} method ProtoReflect (line 115) | func (x *Product) ProtoReflect() protoreflect.Message { method Descriptor (line 128) | func (*Product) Descriptor() ([]byte, []int) { method GetId (line 132) | func (x *Product) GetId() uint32 { method GetName (line 139) | func (x *Product) GetName() string { method GetDescription (line 146) | func (x *Product) GetDescription() string { method GetPicture (line 153) | func (x *Product) GetPicture() string { method GetPrice (line 160) | func (x *Product) GetPrice() float32 { method GetCategories (line 167) | func (x *Product) GetCategories() []string { type ListProductsResp (line 174) | type ListProductsResp struct method Reset (line 182) | func (x *ListProductsResp) Reset() { method String (line 191) | func (x *ListProductsResp) String() string { method ProtoMessage (line 195) | func (*ListProductsResp) ProtoMessage() {} method ProtoReflect (line 197) | func (x *ListProductsResp) ProtoReflect() protoreflect.Message { method Descriptor (line 210) | func (*ListProductsResp) Descriptor() ([]byte, []int) { method GetProducts (line 214) | func (x *ListProductsResp) GetProducts() []*Product { type GetProductReq (line 221) | type GetProductReq struct method Reset (line 229) | func (x *GetProductReq) Reset() { method String (line 238) | func (x *GetProductReq) String() string { method ProtoMessage (line 242) | func (*GetProductReq) ProtoMessage() {} method ProtoReflect (line 244) | func (x *GetProductReq) ProtoReflect() protoreflect.Message { method Descriptor (line 257) | func (*GetProductReq) Descriptor() ([]byte, []int) { method GetId (line 261) | func (x *GetProductReq) GetId() uint32 { type GetProductResp (line 268) | type GetProductResp struct method Reset (line 276) | func (x *GetProductResp) Reset() { method String (line 285) | func (x *GetProductResp) String() string { method ProtoMessage (line 289) | func (*GetProductResp) ProtoMessage() {} method ProtoReflect (line 291) | func (x *GetProductResp) ProtoReflect() protoreflect.Message { method Descriptor (line 304) | func (*GetProductResp) Descriptor() ([]byte, []int) { method GetProduct (line 308) | func (x *GetProductResp) GetProduct() *Product { type SearchProductsReq (line 315) | type SearchProductsReq struct method Reset (line 323) | func (x *SearchProductsReq) Reset() { method String (line 332) | func (x *SearchProductsReq) String() string { method ProtoMessage (line 336) | func (*SearchProductsReq) ProtoMessage() {} method ProtoReflect (line 338) | func (x *SearchProductsReq) ProtoReflect() protoreflect.Message { method Descriptor (line 351) | func (*SearchProductsReq) Descriptor() ([]byte, []int) { method GetQuery (line 355) | func (x *SearchProductsReq) GetQuery() string { type SearchProductsResp (line 362) | type SearchProductsResp struct method Reset (line 370) | func (x *SearchProductsResp) Reset() { method String (line 379) | func (x *SearchProductsResp) String() string { method ProtoMessage (line 383) | func (*SearchProductsResp) ProtoMessage() {} method ProtoReflect (line 385) | func (x *SearchProductsResp) ProtoReflect() protoreflect.Message { method Descriptor (line 398) | func (*SearchProductsResp) Descriptor() ([]byte, []int) { method GetResults (line 402) | func (x *SearchProductsResp) GetResults() []*Product { function file_product_proto_rawDescGZIP (line 474) | func file_product_proto_rawDescGZIP() []byte { function init (line 508) | func init() { file_product_proto_init() } function file_product_proto_init (line 509) | func file_product_proto_init() { type ProductCatalogService (line 623) | type ProductCatalogService interface FILE: gomall/tutorial/ch17/rpc_gen/kitex_gen/product/productcatalogservice/client.go type Client (line 13) | type Client interface function NewClient (line 20) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 36) | func MustNewClient(destService string, opts ...client.Option) Client { type kProductCatalogServiceClient (line 44) | type kProductCatalogServiceClient struct method ListProducts (line 48) | func (p *kProductCatalogServiceClient) ListProducts(ctx context.Contex... method GetProduct (line 53) | func (p *kProductCatalogServiceClient) GetProduct(ctx context.Context,... method SearchProducts (line 58) | func (p *kProductCatalogServiceClient) SearchProducts(ctx context.Cont... FILE: gomall/tutorial/ch17/rpc_gen/kitex_gen/product/productcatalogservice/invoker.go function NewInvoker (line 11) | func NewInvoker(handler product.ProductCatalogService, opts ...server.Op... FILE: gomall/tutorial/ch17/rpc_gen/kitex_gen/product/productcatalogservice/productcatalogservice.go function serviceInfo (line 14) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 20) | func NewServiceInfo() *kitex.ServiceInfo { function listProductsHandler (line 43) | func listProductsHandler(ctx context.Context, handler interface{}, arg, ... function newListProductsArgs (line 68) | func newListProductsArgs() interface{} { function newListProductsResult (line 72) | func newListProductsResult() interface{} { type ListProductsArgs (line 76) | type ListProductsArgs struct method FastRead (line 80) | func (p *ListProductsArgs) FastRead(buf []byte, _type int8, number int... method FastWrite (line 87) | func (p *ListProductsArgs) FastWrite(buf []byte) (n int) { method Size (line 94) | func (p *ListProductsArgs) Size() (n int) { method Marshal (line 101) | func (p *ListProductsArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 108) | func (p *ListProductsArgs) Unmarshal(in []byte) error { method GetReq (line 119) | func (p *ListProductsArgs) GetReq() *product.ListProductsReq { method IsSetReq (line 126) | func (p *ListProductsArgs) IsSetReq() bool { method GetFirstArgument (line 130) | func (p *ListProductsArgs) GetFirstArgument() interface{} { type ListProductsResult (line 134) | type ListProductsResult struct method FastRead (line 140) | func (p *ListProductsResult) FastRead(buf []byte, _type int8, number i... method FastWrite (line 147) | func (p *ListProductsResult) FastWrite(buf []byte) (n int) { method Size (line 154) | func (p *ListProductsResult) Size() (n int) { method Marshal (line 161) | func (p *ListProductsResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 168) | func (p *ListProductsResult) Unmarshal(in []byte) error { method GetSuccess (line 177) | func (p *ListProductsResult) GetSuccess() *product.ListProductsResp { method SetSuccess (line 184) | func (p *ListProductsResult) SetSuccess(x interface{}) { method IsSetSuccess (line 188) | func (p *ListProductsResult) IsSetSuccess() bool { method GetResult (line 192) | func (p *ListProductsResult) GetResult() interface{} { function getProductHandler (line 196) | func getProductHandler(ctx context.Context, handler interface{}, arg, re... function newGetProductArgs (line 221) | func newGetProductArgs() interface{} { function newGetProductResult (line 225) | func newGetProductResult() interface{} { type GetProductArgs (line 229) | type GetProductArgs struct method FastRead (line 233) | func (p *GetProductArgs) FastRead(buf []byte, _type int8, number int32... method FastWrite (line 240) | func (p *GetProductArgs) FastWrite(buf []byte) (n int) { method Size (line 247) | func (p *GetProductArgs) Size() (n int) { method Marshal (line 254) | func (p *GetProductArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 261) | func (p *GetProductArgs) Unmarshal(in []byte) error { method GetReq (line 272) | func (p *GetProductArgs) GetReq() *product.GetProductReq { method IsSetReq (line 279) | func (p *GetProductArgs) IsSetReq() bool { method GetFirstArgument (line 283) | func (p *GetProductArgs) GetFirstArgument() interface{} { type GetProductResult (line 287) | type GetProductResult struct method FastRead (line 293) | func (p *GetProductResult) FastRead(buf []byte, _type int8, number int... method FastWrite (line 300) | func (p *GetProductResult) FastWrite(buf []byte) (n int) { method Size (line 307) | func (p *GetProductResult) Size() (n int) { method Marshal (line 314) | func (p *GetProductResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 321) | func (p *GetProductResult) Unmarshal(in []byte) error { method GetSuccess (line 330) | func (p *GetProductResult) GetSuccess() *product.GetProductResp { method SetSuccess (line 337) | func (p *GetProductResult) SetSuccess(x interface{}) { method IsSetSuccess (line 341) | func (p *GetProductResult) IsSetSuccess() bool { method GetResult (line 345) | func (p *GetProductResult) GetResult() interface{} { function searchProductsHandler (line 349) | func searchProductsHandler(ctx context.Context, handler interface{}, arg... function newSearchProductsArgs (line 374) | func newSearchProductsArgs() interface{} { function newSearchProductsResult (line 378) | func newSearchProductsResult() interface{} { type SearchProductsArgs (line 382) | type SearchProductsArgs struct method FastRead (line 386) | func (p *SearchProductsArgs) FastRead(buf []byte, _type int8, number i... method FastWrite (line 393) | func (p *SearchProductsArgs) FastWrite(buf []byte) (n int) { method Size (line 400) | func (p *SearchProductsArgs) Size() (n int) { method Marshal (line 407) | func (p *SearchProductsArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 414) | func (p *SearchProductsArgs) Unmarshal(in []byte) error { method GetReq (line 425) | func (p *SearchProductsArgs) GetReq() *product.SearchProductsReq { method IsSetReq (line 432) | func (p *SearchProductsArgs) IsSetReq() bool { method GetFirstArgument (line 436) | func (p *SearchProductsArgs) GetFirstArgument() interface{} { type SearchProductsResult (line 440) | type SearchProductsResult struct method FastRead (line 446) | func (p *SearchProductsResult) FastRead(buf []byte, _type int8, number... method FastWrite (line 453) | func (p *SearchProductsResult) FastWrite(buf []byte) (n int) { method Size (line 460) | func (p *SearchProductsResult) Size() (n int) { method Marshal (line 467) | func (p *SearchProductsResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 474) | func (p *SearchProductsResult) Unmarshal(in []byte) error { method GetSuccess (line 483) | func (p *SearchProductsResult) GetSuccess() *product.SearchProductsResp { method SetSuccess (line 490) | func (p *SearchProductsResult) SetSuccess(x interface{}) { method IsSetSuccess (line 494) | func (p *SearchProductsResult) IsSetSuccess() bool { method GetResult (line 498) | func (p *SearchProductsResult) GetResult() interface{} { type kClient (line 502) | type kClient struct method ListProducts (line 512) | func (p *kClient) ListProducts(ctx context.Context, Req *product.ListP... method GetProduct (line 522) | func (p *kClient) GetProduct(ctx context.Context, Req *product.GetProd... method SearchProducts (line 532) | func (p *kClient) SearchProducts(ctx context.Context, Req *product.Sea... function newServiceClient (line 506) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch17/rpc_gen/kitex_gen/product/productcatalogservice/server.go function NewServer (line 10) | func NewServer(handler product.ProductCatalogService, opts ...server.Opt... FILE: gomall/tutorial/ch17/rpc_gen/kitex_gen/user/user.pb.fast.go method FastRead (line 15) | func (x *RegisterReq) FastRead(buf []byte, _type int8, number int32) (of... method fastReadField1 (line 45) | func (x *RegisterReq) fastReadField1(buf []byte, _type int8) (offset int... method fastReadField2 (line 50) | func (x *RegisterReq) fastReadField2(buf []byte, _type int8) (offset int... method fastReadField3 (line 55) | func (x *RegisterReq) fastReadField3(buf []byte, _type int8) (offset int... method FastRead (line 60) | func (x *RegisterResp) FastRead(buf []byte, _type int8, number int32) (o... method fastReadField1 (line 80) | func (x *RegisterResp) fastReadField1(buf []byte, _type int8) (offset in... method FastRead (line 85) | func (x *LoginReq) FastRead(buf []byte, _type int8, number int32) (offse... method fastReadField1 (line 110) | func (x *LoginReq) fastReadField1(buf []byte, _type int8) (offset int, e... method fastReadField2 (line 115) | func (x *LoginReq) fastReadField2(buf []byte, _type int8) (offset int, e... method FastRead (line 120) | func (x *LoginResp) FastRead(buf []byte, _type int8, number int32) (offs... method fastReadField1 (line 140) | func (x *LoginResp) fastReadField1(buf []byte, _type int8) (offset int, ... method FastWrite (line 145) | func (x *RegisterReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 155) | func (x *RegisterReq) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 163) | func (x *RegisterReq) fastWriteField2(buf []byte) (offset int) { method fastWriteField3 (line 171) | func (x *RegisterReq) fastWriteField3(buf []byte) (offset int) { method FastWrite (line 179) | func (x *RegisterResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 187) | func (x *RegisterResp) fastWriteField1(buf []byte) (offset int) { method FastWrite (line 195) | func (x *LoginReq) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 204) | func (x *LoginReq) fastWriteField1(buf []byte) (offset int) { method fastWriteField2 (line 212) | func (x *LoginReq) fastWriteField2(buf []byte) (offset int) { method FastWrite (line 220) | func (x *LoginResp) FastWrite(buf []byte) (offset int) { method fastWriteField1 (line 228) | func (x *LoginResp) fastWriteField1(buf []byte) (offset int) { method Size (line 236) | func (x *RegisterReq) Size() (n int) { method sizeField1 (line 246) | func (x *RegisterReq) sizeField1() (n int) { method sizeField2 (line 254) | func (x *RegisterReq) sizeField2() (n int) { method sizeField3 (line 262) | func (x *RegisterReq) sizeField3() (n int) { method Size (line 270) | func (x *RegisterResp) Size() (n int) { method sizeField1 (line 278) | func (x *RegisterResp) sizeField1() (n int) { method Size (line 286) | func (x *LoginReq) Size() (n int) { method sizeField1 (line 295) | func (x *LoginReq) sizeField1() (n int) { method sizeField2 (line 303) | func (x *LoginReq) sizeField2() (n int) { method Size (line 311) | func (x *LoginResp) Size() (n int) { method sizeField1 (line 319) | func (x *LoginResp) sizeField1() (n int) { FILE: gomall/tutorial/ch17/rpc_gen/kitex_gen/user/user.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type RegisterReq (line 24) | type RegisterReq struct method Reset (line 34) | func (x *RegisterReq) Reset() { method String (line 43) | func (x *RegisterReq) String() string { method ProtoMessage (line 47) | func (*RegisterReq) ProtoMessage() {} method ProtoReflect (line 49) | func (x *RegisterReq) ProtoReflect() protoreflect.Message { method Descriptor (line 62) | func (*RegisterReq) Descriptor() ([]byte, []int) { method GetEmail (line 66) | func (x *RegisterReq) GetEmail() string { method GetPassword (line 73) | func (x *RegisterReq) GetPassword() string { method GetConfirmPassword (line 80) | func (x *RegisterReq) GetConfirmPassword() string { type RegisterResp (line 87) | type RegisterResp struct method Reset (line 95) | func (x *RegisterResp) Reset() { method String (line 104) | func (x *RegisterResp) String() string { method ProtoMessage (line 108) | func (*RegisterResp) ProtoMessage() {} method ProtoReflect (line 110) | func (x *RegisterResp) ProtoReflect() protoreflect.Message { method Descriptor (line 123) | func (*RegisterResp) Descriptor() ([]byte, []int) { method GetUserId (line 127) | func (x *RegisterResp) GetUserId() int32 { type LoginReq (line 134) | type LoginReq struct method Reset (line 143) | func (x *LoginReq) Reset() { method String (line 152) | func (x *LoginReq) String() string { method ProtoMessage (line 156) | func (*LoginReq) ProtoMessage() {} method ProtoReflect (line 158) | func (x *LoginReq) ProtoReflect() protoreflect.Message { method Descriptor (line 171) | func (*LoginReq) Descriptor() ([]byte, []int) { method GetEmail (line 175) | func (x *LoginReq) GetEmail() string { method GetPassword (line 182) | func (x *LoginReq) GetPassword() string { type LoginResp (line 189) | type LoginResp struct method Reset (line 197) | func (x *LoginResp) Reset() { method String (line 206) | func (x *LoginResp) String() string { method ProtoMessage (line 210) | func (*LoginResp) ProtoMessage() {} method ProtoReflect (line 212) | func (x *LoginResp) ProtoReflect() protoreflect.Message { method Descriptor (line 225) | func (*LoginResp) Descriptor() ([]byte, []int) { method GetUserId (line 229) | func (x *LoginResp) GetUserId() int32 { function file_user_proto_rawDescGZIP (line 275) | func file_user_proto_rawDescGZIP() []byte { function init (line 301) | func init() { file_user_proto_init() } function file_user_proto_init (line 302) | func file_user_proto_init() { type UserService (line 380) | type UserService interface FILE: gomall/tutorial/ch17/rpc_gen/kitex_gen/user/userservice/client.go type Client (line 13) | type Client interface function NewClient (line 19) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 35) | func MustNewClient(destService string, opts ...client.Option) Client { type kUserServiceClient (line 43) | type kUserServiceClient struct method Register (line 47) | func (p *kUserServiceClient) Register(ctx context.Context, Req *user.R... method Login (line 52) | func (p *kUserServiceClient) Login(ctx context.Context, Req *user.Logi... FILE: gomall/tutorial/ch17/rpc_gen/kitex_gen/user/userservice/invoker.go function NewInvoker (line 11) | func NewInvoker(handler user.UserService, opts ...server.Option) server.... FILE: gomall/tutorial/ch17/rpc_gen/kitex_gen/user/userservice/server.go function NewServer (line 10) | func NewServer(handler user.UserService, opts ...server.Option) server.S... FILE: gomall/tutorial/ch17/rpc_gen/kitex_gen/user/userservice/userservice.go function serviceInfo (line 14) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 20) | func NewServiceInfo() *kitex.ServiceInfo { function registerHandler (line 42) | func registerHandler(ctx context.Context, handler interface{}, arg, resu... function newRegisterArgs (line 67) | func newRegisterArgs() interface{} { function newRegisterResult (line 71) | func newRegisterResult() interface{} { type RegisterArgs (line 75) | type RegisterArgs struct method FastRead (line 79) | func (p *RegisterArgs) FastRead(buf []byte, _type int8, number int32) ... method FastWrite (line 86) | func (p *RegisterArgs) FastWrite(buf []byte) (n int) { method Size (line 93) | func (p *RegisterArgs) Size() (n int) { method Marshal (line 100) | func (p *RegisterArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 107) | func (p *RegisterArgs) Unmarshal(in []byte) error { method GetReq (line 118) | func (p *RegisterArgs) GetReq() *user.RegisterReq { method IsSetReq (line 125) | func (p *RegisterArgs) IsSetReq() bool { method GetFirstArgument (line 129) | func (p *RegisterArgs) GetFirstArgument() interface{} { type RegisterResult (line 133) | type RegisterResult struct method FastRead (line 139) | func (p *RegisterResult) FastRead(buf []byte, _type int8, number int32... method FastWrite (line 146) | func (p *RegisterResult) FastWrite(buf []byte) (n int) { method Size (line 153) | func (p *RegisterResult) Size() (n int) { method Marshal (line 160) | func (p *RegisterResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 167) | func (p *RegisterResult) Unmarshal(in []byte) error { method GetSuccess (line 176) | func (p *RegisterResult) GetSuccess() *user.RegisterResp { method SetSuccess (line 183) | func (p *RegisterResult) SetSuccess(x interface{}) { method IsSetSuccess (line 187) | func (p *RegisterResult) IsSetSuccess() bool { method GetResult (line 191) | func (p *RegisterResult) GetResult() interface{} { function loginHandler (line 195) | func loginHandler(ctx context.Context, handler interface{}, arg, result ... function newLoginArgs (line 220) | func newLoginArgs() interface{} { function newLoginResult (line 224) | func newLoginResult() interface{} { type LoginArgs (line 228) | type LoginArgs struct method FastRead (line 232) | func (p *LoginArgs) FastRead(buf []byte, _type int8, number int32) (n ... method FastWrite (line 239) | func (p *LoginArgs) FastWrite(buf []byte) (n int) { method Size (line 246) | func (p *LoginArgs) Size() (n int) { method Marshal (line 253) | func (p *LoginArgs) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 260) | func (p *LoginArgs) Unmarshal(in []byte) error { method GetReq (line 271) | func (p *LoginArgs) GetReq() *user.LoginReq { method IsSetReq (line 278) | func (p *LoginArgs) IsSetReq() bool { method GetFirstArgument (line 282) | func (p *LoginArgs) GetFirstArgument() interface{} { type LoginResult (line 286) | type LoginResult struct method FastRead (line 292) | func (p *LoginResult) FastRead(buf []byte, _type int8, number int32) (... method FastWrite (line 299) | func (p *LoginResult) FastWrite(buf []byte) (n int) { method Size (line 306) | func (p *LoginResult) Size() (n int) { method Marshal (line 313) | func (p *LoginResult) Marshal(out []byte) ([]byte, error) { method Unmarshal (line 320) | func (p *LoginResult) Unmarshal(in []byte) error { method GetSuccess (line 329) | func (p *LoginResult) GetSuccess() *user.LoginResp { method SetSuccess (line 336) | func (p *LoginResult) SetSuccess(x interface{}) { method IsSetSuccess (line 340) | func (p *LoginResult) IsSetSuccess() bool { method GetResult (line 344) | func (p *LoginResult) GetResult() interface{} { type kClient (line 348) | type kClient struct method Register (line 358) | func (p *kClient) Register(ctx context.Context, Req *user.RegisterReq)... method Login (line 368) | func (p *kClient) Login(ctx context.Context, Req *user.LoginReq) (r *u... function newServiceClient (line 352) | func newServiceClient(c client.Client) *kClient { FILE: gomall/tutorial/ch17/rpc_gen/rpc/cart/cart_client.go type RPCClient (line 12) | type RPCClient interface function NewRPCClient (line 20) | func NewRPCClient(dstService string, opts ...client.Option) (RPCClient, ... type clientImpl (line 33) | type clientImpl struct method Service (line 38) | func (c *clientImpl) Service() string { method KitexClient (line 42) | func (c *clientImpl) KitexClient() cartservice.Client { method AddItem (line 46) | func (c *clientImpl) AddItem(ctx context.Context, Req *cart.AddItemReq... method GetCart (line 50) | func (c *clientImpl) GetCart(ctx context.Context, Req *cart.GetCartReq... method EmptyCart (line 54) | func (c *clientImpl) EmptyCart(ctx context.Context, Req *cart.EmptyCar... FILE: gomall/tutorial/ch17/rpc_gen/rpc/cart/cart_default.go function AddItem (line 10) | func AddItem(ctx context.Context, req *cart.AddItemReq, callOptions ...c... function GetCart (line 19) | func GetCart(ctx context.Context, req *cart.GetCartReq, callOptions ...c... function EmptyCart (line 28) | func EmptyCart(ctx context.Context, req *cart.EmptyCartReq, callOptions ... FILE: gomall/tutorial/ch17/rpc_gen/rpc/cart/cart_init.go function init (line 19) | func init() { function DefaultClient (line 23) | func DefaultClient() RPCClient { function newClient (line 30) | func newClient(dstService string, opts ...client.Option) RPCClient { function InitClient (line 38) | func InitClient(dstService string, opts ...client.Option) { FILE: gomall/tutorial/ch17/rpc_gen/rpc/checkout/checkout_client.go type RPCClient (line 12) | type RPCClient interface function NewRPCClient (line 18) | func NewRPCClient(dstService string, opts ...client.Option) (RPCClient, ... type clientImpl (line 31) | type clientImpl struct method Service (line 36) | func (c *clientImpl) Service() string { method KitexClient (line 40) | func (c *clientImpl) KitexClient() checkoutservice.Client { method Checkout (line 44) | func (c *clientImpl) Checkout(ctx context.Context, Req *checkout.Check... FILE: gomall/tutorial/ch17/rpc_gen/rpc/checkout/checkout_default.go function Checkout (line 10) | func Checkout(ctx context.Context, req *checkout.CheckoutReq, callOption... FILE: gomall/tutorial/ch17/rpc_gen/rpc/checkout/checkout_init.go function init (line 19) | func init() { function DefaultClient (line 23) | func DefaultClient() RPCClient { function newClient (line 30) | func newClient(dstService string, opts ...client.Option) RPCClient { function InitClient (line 38) | func InitClient(dstService string, opts ...client.Option) { FILE: gomall/tutorial/ch17/rpc_gen/rpc/email/email_client.go type RPCClient (line 12) | type RPCClient interface function NewRPCClient (line 18) | func NewRPCClient(dstService string, opts ...client.Option) (RPCClient, ... type clientImpl (line 31) | type clientImpl struct method Service (line 36) | func (c *clientImpl) Service() string { method KitexClient (line 40) | func (c *clientImpl) KitexClient() emailservice.Client { method Send (line 44) | func (c *clientImpl) Send(ctx context.Context, Req *email.EmailReq, ca... FILE: gomall/tutorial/ch17/rpc_gen/rpc/email/email_default.go function Send (line 10) | func Send(ctx context.Context, req *email.EmailReq, callOptions ...callo... FILE: gomall/tutorial/ch17/rpc_gen/rpc/email/email_init.go function init (line 19) | func init() { function DefaultClient (line 23) | func DefaultClient() RPCClient { function newClient (line 30) | func newClient(dstService string, opts ...client.Option) RPCClient { function InitClient (line 38) | func InitClient(dstService string, opts ...client.Option) { FILE: gomall/tutorial/ch17/rpc_gen/rpc/order/order_client.go type RPCClient (line 12) | type RPCClient interface function NewRPCClient (line 19) | func NewRPCClient(dstService string, opts ...client.Option) (RPCClient, ... type clientImpl (line 32) | type clientImpl struct method Service (line 37) | func (c *clientImpl) Service() string { method KitexClient (line 41) | func (c *clientImpl) KitexClient() orderservice.Client { method PlaceOrder (line 45) | func (c *clientImpl) PlaceOrder(ctx context.Context, Req *order.PlaceO... method ListOrder (line 49) | func (c *clientImpl) ListOrder(ctx context.Context, Req *order.ListOrd... FILE: gomall/tutorial/ch17/rpc_gen/rpc/order/order_default.go function PlaceOrder (line 10) | func PlaceOrder(ctx context.Context, req *order.PlaceOrderReq, callOptio... function ListOrder (line 19) | func ListOrder(ctx context.Context, req *order.ListOrderReq, callOptions... FILE: gomall/tutorial/ch17/rpc_gen/rpc/order/order_init.go function init (line 19) | func init() { function DefaultClient (line 23) | func DefaultClient() RPCClient { function newClient (line 30) | func newClient(dstService string, opts ...client.Option) RPCClient { function InitClient (line 38) | func InitClient(dstService string, opts ...client.Option) { FILE: gomall/tutorial/ch17/rpc_gen/rpc/payment/payment_client.go type RPCClient (line 12) | type RPCClient interface function NewRPCClient (line 18) | func NewRPCClient(dstService string, opts ...client.Option) (RPCClient, ... type clientImpl (line 31) | type clientImpl struct method Service (line 36) | func (c *clientImpl) Service() string { method KitexClient (line 40) | func (c *clientImpl) KitexClient() paymentservice.Client { method Charge (line 44) | func (c *clientImpl) Charge(ctx context.Context, Req *payment.ChargeRe... FILE: gomall/tutorial/ch17/rpc_gen/rpc/payment/payment_default.go function Charge (line 10) | func Charge(ctx context.Context, req *payment.ChargeReq, callOptions ...... FILE: gomall/tutorial/ch17/rpc_gen/rpc/payment/payment_init.go function init (line 19) | func init() { function DefaultClient (line 23) | func DefaultClient() RPCClient { function newClient (line 30) | func newClient(dstService string, opts ...client.Option) RPCClient { function InitClient (line 38) | func InitClient(dstService string, opts ...client.Option) { FILE: gomall/tutorial/ch17/rpc_gen/rpc/product/product_client.go type RPCClient (line 12) | type RPCClient interface function NewRPCClient (line 20) | func NewRPCClient(dstService string, opts ...client.Option) (RPCClient, ... type clientImpl (line 33) | type clientImpl struct method Service (line 38) | func (c *clientImpl) Service() string { method KitexClient (line 42) | func (c *clientImpl) KitexClient() productcatalogservice.Client { method ListProducts (line 46) | func (c *clientImpl) ListProducts(ctx context.Context, Req *product.Li... method GetProduct (line 50) | func (c *clientImpl) GetProduct(ctx context.Context, Req *product.GetP... method SearchProducts (line 54) | func (c *clientImpl) SearchProducts(ctx context.Context, Req *product.... FILE: gomall/tutorial/ch17/rpc_gen/rpc/product/product_default.go function ListProducts (line 10) | func ListProducts(ctx context.Context, req *product.ListProductsReq, cal... function GetProduct (line 19) | func GetProduct(ctx context.Context, req *product.GetProductReq, callOpt... function SearchProducts (line 28) | func SearchProducts(ctx context.Context, req *product.SearchProductsReq,... FILE: gomall/tutorial/ch17/rpc_gen/rpc/product/product_init.go function init (line 19) | func init() { function DefaultClient (line 23) | func DefaultClient() RPCClient { function newClient (line 30) | func newClient(dstService string, opts ...client.Option) RPCClient { function InitClient (line 38) | func InitClient(dstService string, opts ...client.Option) { FILE: gomall/tutorial/ch17/rpc_gen/rpc/user/user_client.go type RPCClient (line 12) | type RPCClient interface function NewRPCClient (line 19) | func NewRPCClient(dstService string, opts ...client.Option) (RPCClient, ... type clientImpl (line 32) | type clientImpl struct method Service (line 37) | func (c *clientImpl) Service() string { method KitexClient (line 41) | func (c *clientImpl) KitexClient() userservice.Client { method Register (line 45) | func (c *clientImpl) Register(ctx context.Context, Req *user.RegisterR... method Login (line 49) | func (c *clientImpl) Login(ctx context.Context, Req *user.LoginReq, ca... FILE: gomall/tutorial/ch17/rpc_gen/rpc/user/user_default.go function Register (line 10) | func Register(ctx context.Context, req *user.RegisterReq, callOptions ..... function Login (line 19) | func Login(ctx context.Context, req *user.LoginReq, callOptions ...callo... FILE: gomall/tutorial/ch17/rpc_gen/rpc/user/user_init.go function init (line 19) | func init() { function DefaultClient (line 23) | func DefaultClient() RPCClient { function newClient (line 30) | func newClient(dstService string, opts ...client.Option) RPCClient { function InitClient (line 38) | func InitClient(dstService string, opts ...client.Option) { FILE: open-payment-platform/cmd/payment/main.go function main (line 29) | func main() { FILE: open-payment-platform/cmd/payment/wire.go function initHandler (line 30) | func initHandler() payment.PaymentSvc { FILE: open-payment-platform/cmd/payment/wire_gen.go function initHandler (line 17) | func initHandler() payment.PaymentSvc { FILE: open-payment-platform/hertz-gateway/biz/errors/errors.go type Err (line 22) | type Err struct method Error (line 35) | func (e Err) Error() string { function New (line 28) | func New(errCode common.Err) Err { FILE: open-payment-platform/hertz-gateway/biz/handler/gateway.go type requiredParams (line 34) | type requiredParams struct function Gateway (line 43) | func Gateway(ctx context.Context, c *app.RequestContext) { FILE: open-payment-platform/hertz-gateway/biz/middleware/gateway_auth.go type AuthParam (line 33) | type AuthParam struct function GatewayAuth (line 41) | func GatewayAuth() []app.HandlerFunc { FILE: open-payment-platform/hertz-gateway/biz/router/register.go function GeneratedRegister (line 23) | func GeneratedRegister(r *server.Hertz) { FILE: open-payment-platform/hertz-gateway/biz/types/response.go constant ResponseErrCode (line 19) | ResponseErrCode = "err_code" constant ResponseErrMessage (line 20) | ResponseErrMessage = "err_message" constant ResponseNonceStr (line 21) | ResponseNonceStr = "nonce_str" constant ResponseSignType (line 22) | ResponseSignType = "sign_type" constant ResponseSign (line 23) | ResponseSign = "sign" FILE: open-payment-platform/hertz-gateway/main.go function main (line 22) | func main() { FILE: open-payment-platform/hertz-gateway/router.go function customizedRegister (line 38) | func customizedRegister(r *server.Hertz) { function registerGateway (line 47) | func registerGateway(r *server.Hertz) { FILE: open-payment-platform/hertz-gateway/router_gen.go function register (line 24) | func register(r *server.Hertz) { FILE: open-payment-platform/internal/payment/entity/order.go type Order (line 18) | type Order struct function NewOrder (line 38) | func NewOrder() *Order { FILE: open-payment-platform/internal/payment/infrastructure/ent/client.go type Client (line 20) | type Client struct method init (line 37) | func (c *Client) init() { method Tx (line 60) | func (c *Client) Tx(ctx context.Context) (*Tx, error) { method BeginTx (line 78) | func (c *Client) BeginTx(ctx context.Context, opts *sql.TxOptions) (*T... method Debug (line 103) | func (c *Client) Debug() *Client { method Close (line 115) | func (c *Client) Close() error { method Use (line 121) | func (c *Client) Use(hooks ...Hook) { function NewClient (line 29) | func NewClient(opts ...Option) *Client { function Open (line 45) | func Open(driverName, dataSourceName string, options ...Option) (*Client... type OrderClient (line 126) | type OrderClient struct method Use (line 137) | func (c *OrderClient) Use(hooks ...Hook) { method Create (line 142) | func (c *OrderClient) Create() *OrderCreate { method CreateBulk (line 148) | func (c *OrderClient) CreateBulk(builders ...*OrderCreate) *OrderCreat... method Update (line 153) | func (c *OrderClient) Update() *OrderUpdate { method UpdateOne (line 159) | func (c *OrderClient) UpdateOne(o *Order) *OrderUpdateOne { method UpdateOneID (line 165) | func (c *OrderClient) UpdateOneID(id int) *OrderUpdateOne { method Delete (line 171) | func (c *OrderClient) Delete() *OrderDelete { method DeleteOne (line 177) | func (c *OrderClient) DeleteOne(o *Order) *OrderDeleteOne { method DeleteOneID (line 182) | func (c *OrderClient) DeleteOneID(id int) *OrderDeleteOne { method Query (line 190) | func (c *OrderClient) Query() *OrderQuery { method Get (line 197) | func (c *OrderClient) Get(ctx context.Context, id int) (*Order, error) { method GetX (line 202) | func (c *OrderClient) GetX(ctx context.Context, id int) *Order { method Hooks (line 211) | func (c *OrderClient) Hooks() []Hook { function NewOrderClient (line 131) | func NewOrderClient(c config) *OrderClient { FILE: open-payment-platform/internal/payment/infrastructure/ent/config.go type Option (line 11) | type Option type config (line 14) | type config struct method options (line 31) | func (c *config) options(opts ...Option) { type hooks (line 26) | type hooks struct function Debug (line 41) | func Debug() Option { function Log (line 48) | func Log(fn func(...any)) Option { function Driver (line 55) | func Driver(driver dialect.Driver) Option { FILE: open-payment-platform/internal/payment/infrastructure/ent/context.go type clientCtxKey (line 9) | type clientCtxKey struct function FromContext (line 12) | func FromContext(ctx context.Context) *Client { function NewContext (line 18) | func NewContext(parent context.Context, c *Client) context.Context { type txCtxKey (line 22) | type txCtxKey struct function TxFromContext (line 25) | func TxFromContext(ctx context.Context) *Tx { function NewTxContext (line 31) | func NewTxContext(parent context.Context, tx *Tx) context.Context { FILE: open-payment-platform/internal/payment/infrastructure/ent/ent.go type OrderFunc (line 29) | type OrderFunc function columnChecker (line 32) | func columnChecker(table string) func(string) error { function Asc (line 51) | func Asc(fields ...string) OrderFunc { function Desc (line 64) | func Desc(fields ...string) OrderFunc { type AggregateFunc (line 77) | type AggregateFunc function As (line 84) | func As(fn AggregateFunc, end string) AggregateFunc { function Count (line 91) | func Count() AggregateFunc { function Max (line 98) | func Max(field string) AggregateFunc { function Mean (line 110) | func Mean(field string) AggregateFunc { function Min (line 122) | func Min(field string) AggregateFunc { function Sum (line 134) | func Sum(field string) AggregateFunc { type ValidationError (line 146) | type ValidationError struct method Error (line 152) | func (e *ValidationError) Error() string { method Unwrap (line 157) | func (e *ValidationError) Unwrap() error { function IsValidationError (line 162) | func IsValidationError(err error) bool { type NotFoundError (line 171) | type NotFoundError struct method Error (line 176) | func (e *NotFoundError) Error() string { function IsNotFound (line 181) | func IsNotFound(err error) bool { function MaskNotFound (line 190) | func MaskNotFound(err error) error { type NotSingularError (line 198) | type NotSingularError struct method Error (line 203) | func (e *NotSingularError) Error() string { function IsNotSingular (line 208) | func IsNotSingular(err error) bool { type NotLoadedError (line 217) | type NotLoadedError struct method Error (line 222) | func (e *NotLoadedError) Error() string { function IsNotLoaded (line 227) | func IsNotLoaded(err error) bool { type ConstraintError (line 238) | type ConstraintError struct method Error (line 244) | func (e ConstraintError) Error() string { method Unwrap (line 249) | func (e *ConstraintError) Unwrap() error { function IsConstraintError (line 254) | func IsConstraintError(err error) bool { type selector (line 263) | type selector struct method ScanX (line 271) | func (s *selector) ScanX(ctx context.Context, v any) { method Strings (line 278) | func (s *selector) Strings(ctx context.Context) ([]string, error) { method StringsX (line 290) | func (s *selector) StringsX(ctx context.Context) []string { method String (line 299) | func (s *selector) String(ctx context.Context) (_ string, err error) { method StringX (line 316) | func (s *selector) StringX(ctx context.Context) string { method Ints (line 325) | func (s *selector) Ints(ctx context.Context) ([]int, error) { method IntsX (line 337) | func (s *selector) IntsX(ctx context.Context) []int { method Int (line 346) | func (s *selector) Int(ctx context.Context) (_ int, err error) { method IntX (line 363) | func (s *selector) IntX(ctx context.Context) int { method Float64s (line 372) | func (s *selector) Float64s(ctx context.Context) ([]float64, error) { method Float64sX (line 384) | func (s *selector) Float64sX(ctx context.Context) []float64 { method Float64 (line 393) | func (s *selector) Float64(ctx context.Context) (_ float64, err error) { method Float64X (line 410) | func (s *selector) Float64X(ctx context.Context) float64 { method Bools (line 419) | func (s *selector) Bools(ctx context.Context) ([]bool, error) { method BoolsX (line 431) | func (s *selector) BoolsX(ctx context.Context) []bool { method Bool (line 440) | func (s *selector) Bool(ctx context.Context) (_ bool, err error) { method BoolX (line 457) | func (s *selector) BoolX(ctx context.Context) bool { type queryHook (line 466) | type queryHook FILE: open-payment-platform/internal/payment/infrastructure/ent/enttest/enttest.go type TestingT (line 19) | type TestingT interface type Option (line 25) | type Option type options (line 27) | type options struct function WithOptions (line 34) | func WithOptions(opts ...ent.Option) Option { function WithMigrateOptions (line 41) | func WithMigrateOptions(opts ...schema.MigrateOption) Option { function newOptions (line 47) | func newOptions(opts []Option) *options { function Open (line 56) | func Open(t TestingT, driverName, dataSourceName string, opts ...Option)... function NewClient (line 68) | func NewClient(t TestingT, opts ...Option) *ent.Client { function migrateSchema (line 74) | func migrateSchema(t TestingT, c *ent.Client, o *options) { FILE: open-payment-platform/internal/payment/infrastructure/ent/hook/hook.go type OrderFunc (line 14) | type OrderFunc method Mutate (line 17) | func (f OrderFunc) Mutate(ctx context.Context, m ent.Mutation) (ent.Va... type Condition (line 26) | type Condition function And (line 29) | func And(first, second Condition, rest ...Condition) Condition { function Or (line 44) | func Or(first, second Condition, rest ...Condition) Condition { function Not (line 59) | func Not(cond Condition) Condition { function HasOp (line 66) | func HasOp(op ent.Op) Condition { function HasAddedFields (line 73) | func HasAddedFields(field string, fields ...string) Condition { function HasClearedFields (line 88) | func HasClearedFields(field string, fields ...string) Condition { function HasFields (line 103) | func HasFields(field string, fields ...string) Condition { function If (line 120) | func If(hk ent.Hook, cond Condition) ent.Hook { function On (line 134) | func On(hk ent.Hook, op ent.Op) ent.Hook { function Unless (line 141) | func Unless(hk ent.Hook, op ent.Op) ent.Hook { function FixedError (line 146) | func FixedError(err error) ent.Hook { function Reject (line 161) | func Reject(op ent.Op) ent.Hook { type Chain (line 168) | type Chain struct method Hook (line 178) | func (c Chain) Hook() ent.Hook { method Append (line 189) | func (c Chain) Append(hooks ...ent.Hook) Chain { method Extend (line 198) | func (c Chain) Extend(chain Chain) Chain { function NewChain (line 173) | func NewChain(hooks ...ent.Hook) Chain { FILE: open-payment-platform/internal/payment/infrastructure/ent/migrate/migrate.go type Schema (line 36) | type Schema struct method Create (line 44) | func (s *Schema) Create(ctx context.Context, opts ...schema.MigrateOpt... method WriteTo (line 62) | func (s *Schema) WriteTo(ctx context.Context, w io.Writer, opts ...sch... function NewSchema (line 41) | func NewSchema(drv dialect.Driver) *Schema { return &Schema{drv: drv} } function Create (line 49) | func Create(ctx context.Context, s *Schema, tables []*schema.Table, opts... FILE: open-payment-platform/internal/payment/infrastructure/ent/migrate/schema.go function init (line 43) | func init() { FILE: open-payment-platform/internal/payment/infrastructure/ent/mutation.go constant OpCreate (line 19) | OpCreate = ent.OpCreate constant OpDelete (line 20) | OpDelete = ent.OpDelete constant OpDeleteOne (line 21) | OpDeleteOne = ent.OpDeleteOne constant OpUpdate (line 22) | OpUpdate = ent.OpUpdate constant OpUpdateOne (line 23) | OpUpdateOne = ent.OpUpdateOne constant TypeOrder (line 26) | TypeOrder = "Order" type OrderMutation (line 30) | type OrderMutation struct method Client (line 112) | func (m OrderMutation) Client() *Client { method Tx (line 120) | func (m OrderMutation) Tx() (*Tx, error) { method ID (line 131) | func (m *OrderMutation) ID() (id int, exists bool) { method IDs (line 142) | func (m *OrderMutation) IDs(ctx context.Context) ([]int, error) { method SetMerchantID (line 158) | func (m *OrderMutation) SetMerchantID(s string) { method MerchantID (line 163) | func (m *OrderMutation) MerchantID() (r string, exists bool) { method OldMerchantID (line 174) | func (m *OrderMutation) OldMerchantID(ctx context.Context) (v string, ... method ResetMerchantID (line 189) | func (m *OrderMutation) ResetMerchantID() { method SetChannel (line 194) | func (m *OrderMutation) SetChannel(s string) { method Channel (line 199) | func (m *OrderMutation) Channel() (r string, exists bool) { method OldChannel (line 210) | func (m *OrderMutation) OldChannel(ctx context.Context) (v string, err... method ResetChannel (line 225) | func (m *OrderMutation) ResetChannel() { method SetPayWay (line 230) | func (m *OrderMutation) SetPayWay(s string) { method PayWay (line 235) | func (m *OrderMutation) PayWay() (r string, exists bool) { method OldPayWay (line 246) | func (m *OrderMutation) OldPayWay(ctx context.Context) (v string, err ... method ResetPayWay (line 261) | func (m *OrderMutation) ResetPayWay() { method SetOutOrderNo (line 266) | func (m *OrderMutation) SetOutOrderNo(s string) { method OutOrderNo (line 271) | func (m *OrderMutation) OutOrderNo() (r string, exists bool) { method OldOutOrderNo (line 282) | func (m *OrderMutation) OldOutOrderNo(ctx context.Context) (v string, ... method ResetOutOrderNo (line 297) | func (m *OrderMutation) ResetOutOrderNo() { method SetTotalAmount (line 302) | func (m *OrderMutation) SetTotalAmount(u uint64) { method TotalAmount (line 308) | func (m *OrderMutation) TotalAmount() (r uint64, exists bool) { method OldTotalAmount (line 319) | func (m *OrderMutation) OldTotalAmount(ctx context.Context) (v uint64,... method AddTotalAmount (line 334) | func (m *OrderMutation) AddTotalAmount(u int64) { method AddedTotalAmount (line 343) | func (m *OrderMutation) AddedTotalAmount() (r int64, exists bool) { method ResetTotalAmount (line 352) | func (m *OrderMutation) ResetTotalAmount() { method SetBody (line 358) | func (m *OrderMutation) SetBody(s string) { method Body (line 363) | func (m *OrderMutation) Body() (r string, exists bool) { method OldBody (line 374) | func (m *OrderMutation) OldBody(ctx context.Context) (v string, err er... method ResetBody (line 389) | func (m *OrderMutation) ResetBody() { method SetOrderStatus (line 394) | func (m *OrderMutation) SetOrderStatus(i int8) { method OrderStatus (line 400) | func (m *OrderMutation) OrderStatus() (r int8, exists bool) { method OldOrderStatus (line 411) | func (m *OrderMutation) OldOrderStatus(ctx context.Context) (v int8, e... method AddOrderStatus (line 426) | func (m *OrderMutation) AddOrderStatus(i int8) { method AddedOrderStatus (line 435) | func (m *OrderMutation) AddedOrderStatus() (r int8, exists bool) { method ResetOrderStatus (line 444) | func (m *OrderMutation) ResetOrderStatus() { method SetAuthCode (line 450) | func (m *OrderMutation) SetAuthCode(s string) { method AuthCode (line 455) | func (m *OrderMutation) AuthCode() (r string, exists bool) { method OldAuthCode (line 466) | func (m *OrderMutation) OldAuthCode(ctx context.Context) (v string, er... method ResetAuthCode (line 481) | func (m *OrderMutation) ResetAuthCode() { method SetWxAppid (line 486) | func (m *OrderMutation) SetWxAppid(s string) { method WxAppid (line 491) | func (m *OrderMutation) WxAppid() (r string, exists bool) { method OldWxAppid (line 502) | func (m *OrderMutation) OldWxAppid(ctx context.Context) (v string, err... method ResetWxAppid (line 517) | func (m *OrderMutation) ResetWxAppid() { method SetSubOpenid (line 522) | func (m *OrderMutation) SetSubOpenid(s string) { method SubOpenid (line 527) | func (m *OrderMutation) SubOpenid() (r string, exists bool) { method OldSubOpenid (line 538) | func (m *OrderMutation) OldSubOpenid(ctx context.Context) (v string, e... method ResetSubOpenid (line 553) | func (m *OrderMutation) ResetSubOpenid() { method SetJumpURL (line 558) | func (m *OrderMutation) SetJumpURL(s string) { method JumpURL (line 563) | func (m *OrderMutation) JumpURL() (r string, exists bool) { method OldJumpURL (line 574) | func (m *OrderMutation) OldJumpURL(ctx context.Context) (v string, err... method ResetJumpURL (line 589) | func (m *OrderMutation) ResetJumpURL() { method SetNotifyURL (line 594) | func (m *OrderMutation) SetNotifyURL(s string) { method NotifyURL (line 599) | func (m *OrderMutation) NotifyURL() (r string, exists bool) { method OldNotifyURL (line 610) | func (m *OrderMutation) OldNotifyURL(ctx context.Context) (v string, e... method ResetNotifyURL (line 625) | func (m *OrderMutation) ResetNotifyURL() { method SetClientIP (line 630) | func (m *OrderMutation) SetClientIP(s string) { method ClientIP (line 635) | func (m *OrderMutation) ClientIP() (r string, exists bool) { method OldClientIP (line 646) | func (m *OrderMutation) OldClientIP(ctx context.Context) (v string, er... method ResetClientIP (line 661) | func (m *OrderMutation) ResetClientIP() { method SetAttach (line 666) | func (m *OrderMutation) SetAttach(s string) { method Attach (line 671) | func (m *OrderMutation) Attach() (r string, exists bool) { method OldAttach (line 682) | func (m *OrderMutation) OldAttach(ctx context.Context) (v string, err ... method ResetAttach (line 697) | func (m *OrderMutation) ResetAttach() { method SetOrderExpiration (line 702) | func (m *OrderMutation) SetOrderExpiration(s string) { method OrderExpiration (line 707) | func (m *OrderMutation) OrderExpiration() (r string, exists bool) { method OldOrderExpiration (line 718) | func (m *OrderMutation) OldOrderExpiration(ctx context.Context) (v str... method ResetOrderExpiration (line 733) | func (m *OrderMutation) ResetOrderExpiration() { method SetExtendParams (line 738) | func (m *OrderMutation) SetExtendParams(s string) { method ExtendParams (line 743) | func (m *OrderMutation) ExtendParams() (r string, exists bool) { method OldExtendParams (line 754) | func (m *OrderMutation) OldExtendParams(ctx context.Context) (v string... method ResetExtendParams (line 769) | func (m *OrderMutation) ResetExtendParams() { method Where (line 774) | func (m *OrderMutation) Where(ps ...predicate.Order) { method Op (line 779) | func (m *OrderMutation) Op() Op { method Type (line 784) | func (m *OrderMutation) Type() string { method Fields (line 791) | func (m *OrderMutation) Fields() []string { method Field (line 847) | func (m *OrderMutation) Field(name string) (ent.Value, bool) { method OldField (line 888) | func (m *OrderMutation) OldField(ctx context.Context, name string) (en... method SetField (line 929) | func (m *OrderMutation) SetField(name string, value ent.Value) error { method AddedFields (line 1049) | func (m *OrderMutation) AddedFields() []string { method AddedField (line 1063) | func (m *OrderMutation) AddedField(name string) (ent.Value, bool) { method AddField (line 1076) | func (m *OrderMutation) AddField(name string, value ent.Value) error { method ClearedFields (line 1098) | func (m *OrderMutation) ClearedFields() []string { method FieldCleared (line 1104) | func (m *OrderMutation) FieldCleared(name string) bool { method ClearField (line 1111) | func (m *OrderMutation) ClearField(name string) error { method ResetField (line 1117) | func (m *OrderMutation) ResetField(name string) error { method AddedEdges (line 1172) | func (m *OrderMutation) AddedEdges() []string { method AddedIDs (line 1179) | func (m *OrderMutation) AddedIDs(name string) []ent.Value { method RemovedEdges (line 1184) | func (m *OrderMutation) RemovedEdges() []string { method RemovedIDs (line 1191) | func (m *OrderMutation) RemovedIDs(name string) []ent.Value { method ClearedEdges (line 1196) | func (m *OrderMutation) ClearedEdges() []string { method EdgeCleared (line 1203) | func (m *OrderMutation) EdgeCleared(name string) bool { method ClearEdge (line 1209) | func (m *OrderMutation) ClearEdge(name string) error { method ResetEdge (line 1215) | func (m *OrderMutation) ResetEdge(name string) error { type orderOption (line 62) | type orderOption function newOrderMutation (line 65) | func newOrderMutation(c config, op Op, opts ...orderOption) *OrderMutati... function withOrderID (line 79) | func withOrderID(id int) orderOption { function withOrder (line 101) | func withOrder(node *Order) orderOption { FILE: open-payment-platform/internal/payment/infrastructure/ent/order.go type Order (line 14) | type Order struct method scanValues (line 53) | func (*Order) scanValues(columns []string) ([]any, error) { method assignValues (line 70) | func (o *Order) assignValues(columns []string, values []any) error { method Update (line 186) | func (o *Order) Update() *OrderUpdateOne { method Unwrap (line 192) | func (o *Order) Unwrap() *Order { method String (line 202) | func (o *Order) String() string { type Orders (line 258) | type Orders method config (line 260) | func (o Orders) config(cfg config) { FILE: open-payment-platform/internal/payment/infrastructure/ent/order/order.go constant Label (line 7) | Label = "order" constant FieldID (line 9) | FieldID = "id" constant FieldMerchantID (line 11) | FieldMerchantID = "merchant_id" constant FieldChannel (line 13) | FieldChannel = "channel" constant FieldPayWay (line 15) | FieldPayWay = "pay_way" constant FieldOutOrderNo (line 17) | FieldOutOrderNo = "out_order_no" constant FieldTotalAmount (line 19) | FieldTotalAmount = "total_amount" constant FieldBody (line 21) | FieldBody = "body" constant FieldOrderStatus (line 23) | FieldOrderStatus = "order_status" constant FieldAuthCode (line 25) | FieldAuthCode = "auth_code" constant FieldWxAppid (line 27) | FieldWxAppid = "wx_appid" constant FieldSubOpenid (line 29) | FieldSubOpenid = "sub_openid" constant FieldJumpURL (line 31) | FieldJumpURL = "jump_url" constant FieldNotifyURL (line 33) | FieldNotifyURL = "notify_url" constant FieldClientIP (line 35) | FieldClientIP = "client_ip" constant FieldAttach (line 37) | FieldAttach = "attach" constant FieldOrderExpiration (line 39) | FieldOrderExpiration = "order_expiration" constant FieldExtendParams (line 41) | FieldExtendParams = "extend_params" constant Table (line 43) | Table = "orders" function ValidColumn (line 68) | func ValidColumn(column string) bool { FILE: open-payment-platform/internal/payment/infrastructure/ent/order/where.go function ID (line 11) | func ID(id int) predicate.Order { function IDEQ (line 18) | func IDEQ(id int) predicate.Order { function IDNEQ (line 25) | func IDNEQ(id int) predicate.Order { function IDIn (line 32) | func IDIn(ids ...int) predicate.Order { function IDNotIn (line 43) | func IDNotIn(ids ...int) predicate.Order { function IDGT (line 54) | func IDGT(id int) predicate.Order { function IDGTE (line 61) | func IDGTE(id int) predicate.Order { function IDLT (line 68) | func IDLT(id int) predicate.Order { function IDLTE (line 75) | func IDLTE(id int) predicate.Order { function MerchantID (line 82) | func MerchantID(v string) predicate.Order { function Channel (line 89) | func Channel(v string) predicate.Order { function PayWay (line 96) | func PayWay(v string) predicate.Order { function OutOrderNo (line 103) | func OutOrderNo(v string) predicate.Order { function TotalAmount (line 110) | func TotalAmount(v uint64) predicate.Order { function Body (line 117) | func Body(v string) predicate.Order { function OrderStatus (line 124) | func OrderStatus(v int8) predicate.Order { function AuthCode (line 131) | func AuthCode(v string) predicate.Order { function WxAppid (line 138) | func WxAppid(v string) predicate.Order { function SubOpenid (line 145) | func SubOpenid(v string) predicate.Order { function JumpURL (line 152) | func JumpURL(v string) predicate.Order { function NotifyURL (line 159) | func NotifyURL(v string) predicate.Order { function ClientIP (line 166) | func ClientIP(v string) predicate.Order { function Attach (line 173) | func Attach(v string) predicate.Order { function OrderExpiration (line 180) | func OrderExpiration(v string) predicate.Order { function ExtendParams (line 187) | func ExtendParams(v string) predicate.Order { function MerchantIDEQ (line 194) | func MerchantIDEQ(v string) predicate.Order { function MerchantIDNEQ (line 201) | func MerchantIDNEQ(v string) predicate.Order { function MerchantIDIn (line 208) | func MerchantIDIn(vs ...string) predicate.Order { function MerchantIDNotIn (line 219) | func MerchantIDNotIn(vs ...string) predicate.Order { function MerchantIDGT (line 230) | func MerchantIDGT(v string) predicate.Order { function MerchantIDGTE (line 237) | func MerchantIDGTE(v string) predicate.Order { function MerchantIDLT (line 244) | func MerchantIDLT(v string) predicate.Order { function MerchantIDLTE (line 251) | func MerchantIDLTE(v string) predicate.Order { function MerchantIDContains (line 258) | func MerchantIDContains(v string) predicate.Order { function MerchantIDHasPrefix (line 265) | func MerchantIDHasPrefix(v string) predicate.Order { function MerchantIDHasSuffix (line 272) | func MerchantIDHasSuffix(v string) predicate.Order { function MerchantIDEqualFold (line 279) | func MerchantIDEqualFold(v string) predicate.Order { function MerchantIDContainsFold (line 286) | func MerchantIDContainsFold(v string) predicate.Order { function ChannelEQ (line 293) | func ChannelEQ(v string) predicate.Order { function ChannelNEQ (line 300) | func ChannelNEQ(v string) predicate.Order { function ChannelIn (line 307) | func ChannelIn(vs ...string) predicate.Order { function ChannelNotIn (line 318) | func ChannelNotIn(vs ...string) predicate.Order { function ChannelGT (line 329) | func ChannelGT(v string) predicate.Order { function ChannelGTE (line 336) | func ChannelGTE(v string) predicate.Order { function ChannelLT (line 343) | func ChannelLT(v string) predicate.Order { function ChannelLTE (line 350) | func ChannelLTE(v string) predicate.Order { function ChannelContains (line 357) | func ChannelContains(v string) predicate.Order { function ChannelHasPrefix (line 364) | func ChannelHasPrefix(v string) predicate.Order { function ChannelHasSuffix (line 371) | func ChannelHasSuffix(v string) predicate.Order { function ChannelEqualFold (line 378) | func ChannelEqualFold(v string) predicate.Order { function ChannelContainsFold (line 385) | func ChannelContainsFold(v string) predicate.Order { function PayWayEQ (line 392) | func PayWayEQ(v string) predicate.Order { function PayWayNEQ (line 399) | func PayWayNEQ(v string) predicate.Order { function PayWayIn (line 406) | func PayWayIn(vs ...string) predicate.Order { function PayWayNotIn (line 417) | func PayWayNotIn(vs ...string) predicate.Order { function PayWayGT (line 428) | func PayWayGT(v string) predicate.Order { function PayWayGTE (line 435) | func PayWayGTE(v string) predicate.Order { function PayWayLT (line 442) | func PayWayLT(v string) predicate.Order { function PayWayLTE (line 449) | func PayWayLTE(v string) predicate.Order { function PayWayContains (line 456) | func PayWayContains(v string) predicate.Order { function PayWayHasPrefix (line 463) | func PayWayHasPrefix(v string) predicate.Order { function PayWayHasSuffix (line 470) | func PayWayHasSuffix(v string) predicate.Order { function PayWayEqualFold (line 477) | func PayWayEqualFold(v string) predicate.Order { function PayWayContainsFold (line 484) | func PayWayContainsFold(v string) predicate.Order { function OutOrderNoEQ (line 491) | func OutOrderNoEQ(v string) predicate.Order { function OutOrderNoNEQ (line 498) | func OutOrderNoNEQ(v string) predicate.Order { function OutOrderNoIn (line 505) | func OutOrderNoIn(vs ...string) predicate.Order { function OutOrderNoNotIn (line 516) | func OutOrderNoNotIn(vs ...string) predicate.Order { function OutOrderNoGT (line 527) | func OutOrderNoGT(v string) predicate.Order { function OutOrderNoGTE (line 534) | func OutOrderNoGTE(v string) predicate.Order { function OutOrderNoLT (line 541) | func OutOrderNoLT(v string) predicate.Order { function OutOrderNoLTE (line 548) | func OutOrderNoLTE(v string) predicate.Order { function OutOrderNoContains (line 555) | func OutOrderNoContains(v string) predicate.Order { function OutOrderNoHasPrefix (line 562) | func OutOrderNoHasPrefix(v string) predicate.Order { function OutOrderNoHasSuffix (line 569) | func OutOrderNoHasSuffix(v string) predicate.Order { function OutOrderNoEqualFold (line 576) | func OutOrderNoEqualFold(v string) predicate.Order { function OutOrderNoContainsFold (line 583) | func OutOrderNoContainsFold(v string) predicate.Order { function TotalAmountEQ (line 590) | func TotalAmountEQ(v uint64) predicate.Order { function TotalAmountNEQ (line 597) | func TotalAmountNEQ(v uint64) predicate.Order { function TotalAmountIn (line 604) | func TotalAmountIn(vs ...uint64) predicate.Order { function TotalAmountNotIn (line 615) | func TotalAmountNotIn(vs ...uint64) predicate.Order { function TotalAmountGT (line 626) | func TotalAmountGT(v uint64) predicate.Order { function TotalAmountGTE (line 633) | func TotalAmountGTE(v uint64) predicate.Order { function TotalAmountLT (line 640) | func TotalAmountLT(v uint64) predicate.Order { function TotalAmountLTE (line 647) | func TotalAmountLTE(v uint64) predicate.Order { function BodyEQ (line 654) | func BodyEQ(v string) predicate.Order { function BodyNEQ (line 661) | func BodyNEQ(v string) predicate.Order { function BodyIn (line 668) | func BodyIn(vs ...string) predicate.Order { function BodyNotIn (line 679) | func BodyNotIn(vs ...string) predicate.Order { function BodyGT (line 690) | func BodyGT(v string) predicate.Order { function BodyGTE (line 697) | func BodyGTE(v string) predicate.Order { function BodyLT (line 704) | func BodyLT(v string) predicate.Order { function BodyLTE (line 711) | func BodyLTE(v string) predicate.Order { function BodyContains (line 718) | func BodyContains(v string) predicate.Order { function BodyHasPrefix (line 725) | func BodyHasPrefix(v string) predicate.Order { function BodyHasSuffix (line 732) | func BodyHasSuffix(v string) predicate.Order { function BodyEqualFold (line 739) | func BodyEqualFold(v string) predicate.Order { function BodyContainsFold (line 746) | func BodyContainsFold(v string) predicate.Order { function OrderStatusEQ (line 753) | func OrderStatusEQ(v int8) predicate.Order { function OrderStatusNEQ (line 760) | func OrderStatusNEQ(v int8) predicate.Order { function OrderStatusIn (line 767) | func OrderStatusIn(vs ...int8) predicate.Order { function OrderStatusNotIn (line 778) | func OrderStatusNotIn(vs ...int8) predicate.Order { function OrderStatusGT (line 789) | func OrderStatusGT(v int8) predicate.Order { function OrderStatusGTE (line 796) | func OrderStatusGTE(v int8) predicate.Order { function OrderStatusLT (line 803) | func OrderStatusLT(v int8) predicate.Order { function OrderStatusLTE (line 810) | func OrderStatusLTE(v int8) predicate.Order { function AuthCodeEQ (line 817) | func AuthCodeEQ(v string) predicate.Order { function AuthCodeNEQ (line 824) | func AuthCodeNEQ(v string) predicate.Order { function AuthCodeIn (line 831) | func AuthCodeIn(vs ...string) predicate.Order { function AuthCodeNotIn (line 842) | func AuthCodeNotIn(vs ...string) predicate.Order { function AuthCodeGT (line 853) | func AuthCodeGT(v string) predicate.Order { function AuthCodeGTE (line 860) | func AuthCodeGTE(v string) predicate.Order { function AuthCodeLT (line 867) | func AuthCodeLT(v string) predicate.Order { function AuthCodeLTE (line 874) | func AuthCodeLTE(v string) predicate.Order { function AuthCodeContains (line 881) | func AuthCodeContains(v string) predicate.Order { function AuthCodeHasPrefix (line 888) | func AuthCodeHasPrefix(v string) predicate.Order { function AuthCodeHasSuffix (line 895) | func AuthCodeHasSuffix(v string) predicate.Order { function AuthCodeEqualFold (line 902) | func AuthCodeEqualFold(v string) predicate.Order { function AuthCodeContainsFold (line 909) | func AuthCodeContainsFold(v string) predicate.Order { function WxAppidEQ (line 916) | func WxAppidEQ(v string) predicate.Order { function WxAppidNEQ (line 923) | func WxAppidNEQ(v string) predicate.Order { function WxAppidIn (line 930) | func WxAppidIn(vs ...string) predicate.Order { function WxAppidNotIn (line 941) | func WxAppidNotIn(vs ...string) predicate.Order { function WxAppidGT (line 952) | func WxAppidGT(v string) predicate.Order { function WxAppidGTE (line 959) | func WxAppidGTE(v string) predicate.Order { function WxAppidLT (line 966) | func WxAppidLT(v string) predicate.Order { function WxAppidLTE (line 973) | func WxAppidLTE(v string) predicate.Order { function WxAppidContains (line 980) | func WxAppidContains(v string) predicate.Order { function WxAppidHasPrefix (line 987) | func WxAppidHasPrefix(v string) predicate.Order { function WxAppidHasSuffix (line 994) | func WxAppidHasSuffix(v string) predicate.Order { function WxAppidEqualFold (line 1001) | func WxAppidEqualFold(v string) predicate.Order { function WxAppidContainsFold (line 1008) | func WxAppidContainsFold(v string) predicate.Order { function SubOpenidEQ (line 1015) | func SubOpenidEQ(v string) predicate.Order { function SubOpenidNEQ (line 1022) | func SubOpenidNEQ(v string) predicate.Order { function SubOpenidIn (line 1029) | func SubOpenidIn(vs ...string) predicate.Order { function SubOpenidNotIn (line 1040) | func SubOpenidNotIn(vs ...string) predicate.Order { function SubOpenidGT (line 1051) | func SubOpenidGT(v string) predicate.Order { function SubOpenidGTE (line 1058) | func SubOpenidGTE(v string) predicate.Order { function SubOpenidLT (line 1065) | func SubOpenidLT(v string) predicate.Order { function SubOpenidLTE (line 1072) | func SubOpenidLTE(v string) predicate.Order { function SubOpenidContains (line 1079) | func SubOpenidContains(v string) predicate.Order { function SubOpenidHasPrefix (line 1086) | func SubOpenidHasPrefix(v string) predicate.Order { function SubOpenidHasSuffix (line 1093) | func SubOpenidHasSuffix(v string) predicate.Order { function SubOpenidEqualFold (line 1100) | func SubOpenidEqualFold(v string) predicate.Order { function SubOpenidContainsFold (line 1107) | func SubOpenidContainsFold(v string) predicate.Order { function JumpURLEQ (line 1114) | func JumpURLEQ(v string) predicate.Order { function JumpURLNEQ (line 1121) | func JumpURLNEQ(v string) predicate.Order { function JumpURLIn (line 1128) | func JumpURLIn(vs ...string) predicate.Order { function JumpURLNotIn (line 1139) | func JumpURLNotIn(vs ...string) predicate.Order { function JumpURLGT (line 1150) | func JumpURLGT(v string) predicate.Order { function JumpURLGTE (line 1157) | func JumpURLGTE(v string) predicate.Order { function JumpURLLT (line 1164) | func JumpURLLT(v string) predicate.Order { function JumpURLLTE (line 1171) | func JumpURLLTE(v string) predicate.Order { function JumpURLContains (line 1178) | func JumpURLContains(v string) predicate.Order { function JumpURLHasPrefix (line 1185) | func JumpURLHasPrefix(v string) predicate.Order { function JumpURLHasSuffix (line 1192) | func JumpURLHasSuffix(v string) predicate.Order { function JumpURLEqualFold (line 1199) | func JumpURLEqualFold(v string) predicate.Order { function JumpURLContainsFold (line 1206) | func JumpURLContainsFold(v string) predicate.Order { function NotifyURLEQ (line 1213) | func NotifyURLEQ(v string) predicate.Order { function NotifyURLNEQ (line 1220) | func NotifyURLNEQ(v string) predicate.Order { function NotifyURLIn (line 1227) | func NotifyURLIn(vs ...string) predicate.Order { function NotifyURLNotIn (line 1238) | func NotifyURLNotIn(vs ...string) predicate.Order { function NotifyURLGT (line 1249) | func NotifyURLGT(v string) predicate.Order { function NotifyURLGTE (line 1256) | func NotifyURLGTE(v string) predicate.Order { function NotifyURLLT (line 1263) | func NotifyURLLT(v string) predicate.Order { function NotifyURLLTE (line 1270) | func NotifyURLLTE(v string) predicate.Order { function NotifyURLContains (line 1277) | func NotifyURLContains(v string) predicate.Order { function NotifyURLHasPrefix (line 1284) | func NotifyURLHasPrefix(v string) predicate.Order { function NotifyURLHasSuffix (line 1291) | func NotifyURLHasSuffix(v string) predicate.Order { function NotifyURLEqualFold (line 1298) | func NotifyURLEqualFold(v string) predicate.Order { function NotifyURLContainsFold (line 1305) | func NotifyURLContainsFold(v string) predicate.Order { function ClientIPEQ (line 1312) | func ClientIPEQ(v string) predicate.Order { function ClientIPNEQ (line 1319) | func ClientIPNEQ(v string) predicate.Order { function ClientIPIn (line 1326) | func ClientIPIn(vs ...string) predicate.Order { function ClientIPNotIn (line 1337) | func ClientIPNotIn(vs ...string) predicate.Order { function ClientIPGT (line 1348) | func ClientIPGT(v string) predicate.Order { function ClientIPGTE (line 1355) | func ClientIPGTE(v string) predicate.Order { function ClientIPLT (line 1362) | func ClientIPLT(v string) predicate.Order { function ClientIPLTE (line 1369) | func ClientIPLTE(v string) predicate.Order { function ClientIPContains (line 1376) | func ClientIPContains(v string) predicate.Order { function ClientIPHasPrefix (line 1383) | func ClientIPHasPrefix(v string) predicate.Order { function ClientIPHasSuffix (line 1390) | func ClientIPHasSuffix(v string) predicate.Order { function ClientIPEqualFold (line 1397) | func ClientIPEqualFold(v string) predicate.Order { function ClientIPContainsFold (line 1404) | func ClientIPContainsFold(v string) predicate.Order { function AttachEQ (line 1411) | func AttachEQ(v string) predicate.Order { function AttachNEQ (line 1418) | func AttachNEQ(v string) predicate.Order { function AttachIn (line 1425) | func AttachIn(vs ...string) predicate.Order { function AttachNotIn (line 1436) | func AttachNotIn(vs ...string) predicate.Order { function AttachGT (line 1447) | func AttachGT(v string) predicate.Order { function AttachGTE (line 1454) | func AttachGTE(v string) predicate.Order { function AttachLT (line 1461) | func AttachLT(v string) predicate.Order { function AttachLTE (line 1468) | func AttachLTE(v string) predicate.Order { function AttachContains (line 1475) | func AttachContains(v string) predicate.Order { function AttachHasPrefix (line 1482) | func AttachHasPrefix(v string) predicate.Order { function AttachHasSuffix (line 1489) | func AttachHasSuffix(v string) predicate.Order { function AttachEqualFold (line 1496) | func AttachEqualFold(v string) predicate.Order { function AttachContainsFold (line 1503) | func AttachContainsFold(v string) predicate.Order { function OrderExpirationEQ (line 1510) | func OrderExpirationEQ(v string) predicate.Order { function OrderExpirationNEQ (line 1517) | func OrderExpirationNEQ(v string) predicate.Order { function OrderExpirationIn (line 1524) | func OrderExpirationIn(vs ...string) predicate.Order { function OrderExpirationNotIn (line 1535) | func OrderExpirationNotIn(vs ...string) predicate.Order { function OrderExpirationGT (line 1546) | func OrderExpirationGT(v string) predicate.Order { function OrderExpirationGTE (line 1553) | func OrderExpirationGTE(v string) predicate.Order { function OrderExpirationLT (line 1560) | func OrderExpirationLT(v string) predicate.Order { function OrderExpirationLTE (line 1567) | func OrderExpirationLTE(v string) predicate.Order { function OrderExpirationContains (line 1574) | func OrderExpirationContains(v string) predicate.Order { function OrderExpirationHasPrefix (line 1581) | func OrderExpirationHasPrefix(v string) predicate.Order { function OrderExpirationHasSuffix (line 1588) | func OrderExpirationHasSuffix(v string) predicate.Order { function OrderExpirationEqualFold (line 1595) | func OrderExpirationEqualFold(v string) predicate.Order { function OrderExpirationContainsFold (line 1602) | func OrderExpirationContainsFold(v string) predicate.Order { function ExtendParamsEQ (line 1609) | func ExtendParamsEQ(v string) predicate.Order { function ExtendParamsNEQ (line 1616) | func ExtendParamsNEQ(v string) predicate.Order { function ExtendParamsIn (line 1623) | func ExtendParamsIn(vs ...string) predicate.Order { function ExtendParamsNotIn (line 1634) | func ExtendParamsNotIn(vs ...string) predicate.Order { function ExtendParamsGT (line 1645) | func ExtendParamsGT(v string) predicate.Order { function ExtendParamsGTE (line 1652) | func ExtendParamsGTE(v string) predicate.Order { function ExtendParamsLT (line 1659) | func ExtendParamsLT(v string) predicate.Order { function ExtendParamsLTE (line 1666) | func ExtendParamsLTE(v string) predicate.Order { function ExtendParamsContains (line 1673) | func ExtendParamsContains(v string) predicate.Order { function ExtendParamsHasPrefix (line 1680) | func ExtendParamsHasPrefix(v string) predicate.Order { function ExtendParamsHasSuffix (line 1687) | func ExtendParamsHasSuffix(v string) predicate.Order { function ExtendParamsEqualFold (line 1694) | func ExtendParamsEqualFold(v string) predicate.Order { function ExtendParamsContainsFold (line 1701) | func ExtendParamsContainsFold(v string) predicate.Order { function And (line 1708) | func And(predicates ...predicate.Order) predicate.Order { function Or (line 1719) | func Or(predicates ...predicate.Order) predicate.Order { function Not (line 1733) | func Not(p predicate.Order) predicate.Order { FILE: open-payment-platform/internal/payment/infrastructure/ent/order_create.go type OrderCreate (line 16) | type OrderCreate struct method SetMerchantID (line 23) | func (oc *OrderCreate) SetMerchantID(s string) *OrderCreate { method SetChannel (line 29) | func (oc *OrderCreate) SetChannel(s string) *OrderCreate { method SetPayWay (line 35) | func (oc *OrderCreate) SetPayWay(s string) *OrderCreate { method SetOutOrderNo (line 41) | func (oc *OrderCreate) SetOutOrderNo(s string) *OrderCreate { method SetTotalAmount (line 47) | func (oc *OrderCreate) SetTotalAmount(u uint64) *OrderCreate { method SetBody (line 53) | func (oc *OrderCreate) SetBody(s string) *OrderCreate { method SetOrderStatus (line 59) | func (oc *OrderCreate) SetOrderStatus(i int8) *OrderCreate { method SetAuthCode (line 65) | func (oc *OrderCreate) SetAuthCode(s string) *OrderCreate { method SetWxAppid (line 71) | func (oc *OrderCreate) SetWxAppid(s string) *OrderCreate { method SetSubOpenid (line 77) | func (oc *OrderCreate) SetSubOpenid(s string) *OrderCreate { method SetJumpURL (line 83) | func (oc *OrderCreate) SetJumpURL(s string) *OrderCreate { method SetNotifyURL (line 89) | func (oc *OrderCreate) SetNotifyURL(s string) *OrderCreate { method SetClientIP (line 95) | func (oc *OrderCreate) SetClientIP(s string) *OrderCreate { method SetAttach (line 101) | func (oc *OrderCreate) SetAttach(s string) *OrderCreate { method SetOrderExpiration (line 107) | func (oc *OrderCreate) SetOrderExpiration(s string) *OrderCreate { method SetExtendParams (line 113) | func (oc *OrderCreate) SetExtendParams(s string) *OrderCreate { method Mutation (line 119) | func (oc *OrderCreate) Mutation() *OrderMutation { method Save (line 124) | func (oc *OrderCreate) Save(ctx context.Context) (*Order, error) { method SaveX (line 171) | func (oc *OrderCreate) SaveX(ctx context.Context) *Order { method Exec (line 180) | func (oc *OrderCreate) Exec(ctx context.Context) error { method ExecX (line 186) | func (oc *OrderCreate) ExecX(ctx context.Context) { method check (line 193) | func (oc *OrderCreate) check() error { method sqlSave (line 245) | func (oc *OrderCreate) sqlSave(ctx context.Context) (*Order, error) { method createSpec (line 258) | func (oc *OrderCreate) createSpec() (*Order, *sqlgraph.CreateSpec) { type OrderCreateBulk (line 337) | type OrderCreateBulk struct method Save (line 343) | func (ocb *OrderCreateBulk) Save(ctx context.Context) ([]*Order, error) { method SaveX (line 398) | func (ocb *OrderCreateBulk) SaveX(ctx context.Context) []*Order { method Exec (line 407) | func (ocb *OrderCreateBulk) Exec(ctx context.Context) error { method ExecX (line 413) | func (ocb *OrderCreateBulk) ExecX(ctx context.Context) { FILE: open-payment-platform/internal/payment/infrastructure/ent/order_delete.go type OrderDelete (line 17) | type OrderDelete struct method Where (line 24) | func (od *OrderDelete) Where(ps ...predicate.Order) *OrderDelete { method Exec (line 30) | func (od *OrderDelete) Exec(ctx context.Context) (int, error) { method ExecX (line 62) | func (od *OrderDelete) ExecX(ctx context.Context) int { method sqlExec (line 70) | func (od *OrderDelete) sqlExec(ctx context.Context) (int, error) { type OrderDeleteOne (line 95) | type OrderDeleteOne struct method Exec (line 100) | func (odo *OrderDeleteOne) Exec(ctx context.Context) error { method ExecX (line 113) | func (odo *OrderDeleteOne) ExecX(ctx context.Context) { FILE: open-payment-platform/internal/payment/infrastructure/ent/order_query.go type OrderQuery (line 18) | type OrderQuery struct method Where (line 32) | func (oq *OrderQuery) Where(ps ...predicate.Order) *OrderQuery { method Limit (line 38) | func (oq *OrderQuery) Limit(limit int) *OrderQuery { method Offset (line 44) | func (oq *OrderQuery) Offset(offset int) *OrderQuery { method Unique (line 51) | func (oq *OrderQuery) Unique(unique bool) *OrderQuery { method Order (line 57) | func (oq *OrderQuery) Order(o ...OrderFunc) *OrderQuery { method First (line 64) | func (oq *OrderQuery) First(ctx context.Context) (*Order, error) { method FirstX (line 76) | func (oq *OrderQuery) FirstX(ctx context.Context) *Order { method FirstID (line 86) | func (oq *OrderQuery) FirstID(ctx context.Context) (id int, err error) { method FirstIDX (line 99) | func (oq *OrderQuery) FirstIDX(ctx context.Context) int { method Only (line 110) | func (oq *OrderQuery) Only(ctx context.Context) (*Order, error) { method OnlyX (line 126) | func (oq *OrderQuery) OnlyX(ctx context.Context) *Order { method OnlyID (line 137) | func (oq *OrderQuery) OnlyID(ctx context.Context) (id int, err error) { method OnlyIDX (line 154) | func (oq *OrderQuery) OnlyIDX(ctx context.Context) int { method All (line 163) | func (oq *OrderQuery) All(ctx context.Context) ([]*Order, error) { method AllX (line 171) | func (oq *OrderQuery) AllX(ctx context.Context) []*Order { method IDs (line 180) | func (oq *OrderQuery) IDs(ctx context.Context) ([]int, error) { method IDsX (line 189) | func (oq *OrderQuery) IDsX(ctx context.Context) []int { method Count (line 198) | func (oq *OrderQuery) Count(ctx context.Context) (int, error) { method CountX (line 206) | func (oq *OrderQuery) CountX(ctx context.Context) int { method Exist (line 215) | func (oq *OrderQuery) Exist(ctx context.Context) (bool, error) { method ExistX (line 223) | func (oq *OrderQuery) ExistX(ctx context.Context) bool { method Clone (line 233) | func (oq *OrderQuery) Clone() *OrderQuery { method GroupBy (line 264) | func (oq *OrderQuery) GroupBy(field string, fields ...string) *OrderGr... method Select (line 290) | func (oq *OrderQuery) Select(fields ...string) *OrderSelect { method Aggregate (line 299) | func (oq *OrderQuery) Aggregate(fns ...AggregateFunc) *OrderSelect { method prepareQuery (line 303) | func (oq *OrderQuery) prepareQuery(ctx context.Context) error { method sqlAll (line 319) | func (oq *OrderQuery) sqlAll(ctx context.Context, hooks ...queryHook) ... method sqlCount (line 344) | func (oq *OrderQuery) sqlCount(ctx context.Context) (int, error) { method sqlExist (line 353) | func (oq *OrderQuery) sqlExist(ctx context.Context) (bool, error) { method querySpec (line 364) | func (oq *OrderQuery) querySpec() *sqlgraph.QuerySpec { method sqlQuery (line 412) | func (oq *OrderQuery) sqlQuery(ctx context.Context) *sql.Selector { type OrderGroupBy (line 445) | type OrderGroupBy struct method Aggregate (line 456) | func (ogb *OrderGroupBy) Aggregate(fns ...AggregateFunc) *OrderGroupBy { method Scan (line 462) | func (ogb *OrderGroupBy) Scan(ctx context.Context, v any) error { method sqlScan (line 471) | func (ogb *OrderGroupBy) sqlScan(ctx context.Context, v any) error { method sqlQuery (line 490) | func (ogb *OrderGroupBy) sqlQuery() *sql.Selector { type OrderSelect (line 508) | type OrderSelect struct method Aggregate (line 516) | func (os *OrderSelect) Aggregate(fns ...AggregateFunc) *OrderSelect { method Scan (line 522) | func (os *OrderSelect) Scan(ctx context.Context, v any) error { method sqlScan (line 530) | func (os *OrderSelect) sqlScan(ctx context.Context, v any) error { FILE: open-payment-platform/internal/payment/infrastructure/ent/order_update.go type OrderUpdate (line 18) | type OrderUpdate struct method Where (line 25) | func (ou *OrderUpdate) Where(ps ...predicate.Order) *OrderUpdate { method SetMerchantID (line 31) | func (ou *OrderUpdate) SetMerchantID(s string) *OrderUpdate { method SetChannel (line 37) | func (ou *OrderUpdate) SetChannel(s string) *OrderUpdate { method SetPayWay (line 43) | func (ou *OrderUpdate) SetPayWay(s string) *OrderUpdate { method SetOutOrderNo (line 49) | func (ou *OrderUpdate) SetOutOrderNo(s string) *OrderUpdate { method SetTotalAmount (line 55) | func (ou *OrderUpdate) SetTotalAmount(u uint64) *OrderUpdate { method AddTotalAmount (line 62) | func (ou *OrderUpdate) AddTotalAmount(u int64) *OrderUpdate { method SetBody (line 68) | func (ou *OrderUpdate) SetBody(s string) *OrderUpdate { method SetOrderStatus (line 74) | func (ou *OrderUpdate) SetOrderStatus(i int8) *OrderUpdate { method AddOrderStatus (line 81) | func (ou *OrderUpdate) AddOrderStatus(i int8) *OrderUpdate { method SetAuthCode (line 87) | func (ou *OrderUpdate) SetAuthCode(s string) *OrderUpdate { method SetWxAppid (line 93) | func (ou *OrderUpdate) SetWxAppid(s string) *OrderUpdate { method SetSubOpenid (line 99) | func (ou *OrderUpdate) SetSubOpenid(s string) *OrderUpdate { method SetJumpURL (line 105) | func (ou *OrderUpdate) SetJumpURL(s string) *OrderUpdate { method SetNotifyURL (line 111) | func (ou *OrderUpdate) SetNotifyURL(s string) *OrderUpdate { method SetClientIP (line 117) | func (ou *OrderUpdate) SetClientIP(s string) *OrderUpdate { method SetAttach (line 123) | func (ou *OrderUpdate) SetAttach(s string) *OrderUpdate { method SetOrderExpiration (line 129) | func (ou *OrderUpdate) SetOrderExpiration(s string) *OrderUpdate { method SetExtendParams (line 135) | func (ou *OrderUpdate) SetExtendParams(s string) *OrderUpdate { method Mutation (line 141) | func (ou *OrderUpdate) Mutation() *OrderMutation { method Save (line 146) | func (ou *OrderUpdate) Save(ctx context.Context) (int, error) { method SaveX (line 178) | func (ou *OrderUpdate) SaveX(ctx context.Context) int { method Exec (line 187) | func (ou *OrderUpdate) Exec(ctx context.Context) error { method ExecX (line 193) | func (ou *OrderUpdate) ExecX(ctx context.Context) { method sqlSave (line 199) | func (ou *OrderUpdate) sqlSave(ctx context.Context) (n int, err error) { type OrderUpdateOne (line 283) | type OrderUpdateOne struct method SetMerchantID (line 291) | func (ouo *OrderUpdateOne) SetMerchantID(s string) *OrderUpdateOne { method SetChannel (line 297) | func (ouo *OrderUpdateOne) SetChannel(s string) *OrderUpdateOne { method SetPayWay (line 303) | func (ouo *OrderUpdateOne) SetPayWay(s string) *OrderUpdateOne { method SetOutOrderNo (line 309) | func (ouo *OrderUpdateOne) SetOutOrderNo(s string) *OrderUpdateOne { method SetTotalAmount (line 315) | func (ouo *OrderUpdateOne) SetTotalAmount(u uint64) *OrderUpdateOne { method AddTotalAmount (line 322) | func (ouo *OrderUpdateOne) AddTotalAmount(u int64) *OrderUpdateOne { method SetBody (line 328) | func (ouo *OrderUpdateOne) SetBody(s string) *OrderUpdateOne { method SetOrderStatus (line 334) | func (ouo *OrderUpdateOne) SetOrderStatus(i int8) *OrderUpdateOne { method AddOrderStatus (line 341) | func (ouo *OrderUpdateOne) AddOrderStatus(i int8) *OrderUpdateOne { method SetAuthCode (line 347) | func (ouo *OrderUpdateOne) SetAuthCode(s string) *OrderUpdateOne { method SetWxAppid (line 353) | func (ouo *OrderUpdateOne) SetWxAppid(s string) *OrderUpdateOne { method SetSubOpenid (line 359) | func (ouo *OrderUpdateOne) SetSubOpenid(s string) *OrderUpdateOne { method SetJumpURL (line 365) | func (ouo *OrderUpdateOne) SetJumpURL(s string) *OrderUpdateOne { method SetNotifyURL (line 371) | func (ouo *OrderUpdateOne) SetNotifyURL(s string) *OrderUpdateOne { method SetClientIP (line 377) | func (ouo *OrderUpdateOne) SetClientIP(s string) *OrderUpdateOne { method SetAttach (line 383) | func (ouo *OrderUpdateOne) SetAttach(s string) *OrderUpdateOne { method SetOrderExpiration (line 389) | func (ouo *OrderUpdateOne) SetOrderExpiration(s string) *OrderUpdateOne { method SetExtendParams (line 395) | func (ouo *OrderUpdateOne) SetExtendParams(s string) *OrderUpdateOne { method Mutation (line 401) | func (ouo *OrderUpdateOne) Mutation() *OrderMutation { method Select (line 407) | func (ouo *OrderUpdateOne) Select(field string, fields ...string) *Ord... method Save (line 413) | func (ouo *OrderUpdateOne) Save(ctx context.Context) (*Order, error) { method SaveX (line 451) | func (ouo *OrderUpdateOne) SaveX(ctx context.Context) *Order { method Exec (line 460) | func (ouo *OrderUpdateOne) Exec(ctx context.Context) error { method ExecX (line 466) | func (ouo *OrderUpdateOne) ExecX(ctx context.Context) { method sqlSave (line 472) | func (ouo *OrderUpdateOne) sqlSave(ctx context.Context) (_node *Order,... FILE: open-payment-platform/internal/payment/infrastructure/ent/predicate/predicate.go type Order (line 10) | type Order FILE: open-payment-platform/internal/payment/infrastructure/ent/runtime.go function init (line 8) | func init() { FILE: open-payment-platform/internal/payment/infrastructure/ent/runtime/runtime.go constant Version (line 8) | Version = "v0.11.4" constant Sum (line 9) | Sum = "h1:grwVY0fp31BZ6oEo3YrXenAuv8VJmEw7F/Bi6WqeH3Q=" FILE: open-payment-platform/internal/payment/infrastructure/ent/schema/order.go type Order (line 9) | type Order struct method Fields (line 14) | func (Order) Fields() []ent.Field { method Edges (line 41) | func (Order) Edges() []ent.Edge { FILE: open-payment-platform/internal/payment/infrastructure/ent/tx.go type Tx (line 13) | type Tx struct method Commit (line 60) | func (tx *Tx) Commit() error { method OnCommit (line 75) | func (tx *Tx) OnCommit(f CommitHook) { method Rollback (line 116) | func (tx *Tx) Rollback() error { method OnRollback (line 131) | func (tx *Tx) OnRollback(f RollbackHook) { method Client (line 139) | func (tx *Tx) Client() *Client { method init (line 147) | func (tx *Tx) init() { type Committer (line 28) | type Committer interface type CommitFunc (line 35) | type CommitFunc method Commit (line 55) | func (f CommitFunc) Commit(ctx context.Context, tx *Tx) error { type CommitHook (line 51) | type CommitHook type Rollbacker (line 84) | type Rollbacker interface type RollbackFunc (line 91) | type RollbackFunc method Rollback (line 111) | func (f RollbackFunc) Rollback(ctx context.Context, tx *Tx) error { type RollbackHook (line 107) | type RollbackHook type txDriver (line 162) | type txDriver struct method Tx (line 184) | func (tx *txDriver) Tx(context.Context) (dialect.Tx, error) { return t... method Dialect (line 187) | func (tx *txDriver) Dialect() string { return tx.drv.Dialect() } method Close (line 190) | func (*txDriver) Close() error { return nil } method Commit (line 194) | func (*txDriver) Commit() error { return nil } method Rollback (line 198) | func (*txDriver) Rollback() error { return nil } method Exec (line 201) | func (tx *txDriver) Exec(ctx context.Context, query string, args, v an... method Query (line 206) | func (tx *txDriver) Query(ctx context.Context, query string, args, v a... function newTx (line 174) | func newTx(ctx context.Context, drv dialect.Driver) (*txDriver, error) { FILE: open-payment-platform/internal/payment/infrastructure/repository/order_sql.go constant _dataBase (line 33) | _dataBase = "payment" type OrderRepository (line 36) | type OrderRepository struct method GetByOutOrderNo (line 60) | func (o *OrderRepository) GetByOutOrderNo(ctx context.Context, outOrde... method Create (line 95) | func (o *OrderRepository) Create(ctx context.Context, order *entity.Or... method UpdateOrderStatus (line 122) | func (o *OrderRepository) UpdateOrderStatus(ctx context.Context, outOr... function NewEntClient (line 45) | func NewEntClient() *ent.Client { function NewOrderSQL (line 128) | func NewOrderSQL(dbClient *ent.Client) usecase.Repository { FILE: open-payment-platform/internal/payment/usecase/interface.go type Repository (line 26) | type Repository interface FILE: open-payment-platform/internal/payment/usecase/service.go type Service (line 33) | type Service struct method UnifyPay (line 38) | func (s *Service) UnifyPay(ctx context.Context, req *payment.UnifyPayR... method uniqueOutOrderNo (line 59) | func (s *Service) uniqueOutOrderNo(ctx context.Context, outOrderNo str... method QRPay (line 64) | func (s *Service) QRPay(ctx context.Context, req *payment.QRPayReq) (r... method QueryOrder (line 93) | func (s *Service) QueryOrder(ctx context.Context, req *payment.QueryOr... method CloseOrder (line 105) | func (s *Service) CloseOrder(ctx context.Context, req *payment.CloseOr... function NewService (line 113) | func NewService(r Repository) payment.PaymentSvc { FILE: open-payment-platform/kitex_gen/common/common.go type Err (line 11) | type Err method String (line 24) | func (p Err) String() string { method Scan (line 70) | func (p *Err) Scan(value interface{}) (err error) { method Value (line 77) | func (p *Err) Value() (driver.Value, error) { constant Err_BadRequest (line 14) | Err_BadRequest Err = 10001 constant Err_Unauthorized (line 15) | Err_Unauthorized Err = 10002 constant Err_ServerNotFound (line 16) | Err_ServerNotFound Err = 10003 constant Err_ServerMethodNotFound (line 17) | Err_ServerMethodNotFound Err = 10004 constant Err_RequestServerFail (line 18) | Err_RequestServerFail Err = 10005 constant Err_ServerHandleFail (line 19) | Err_ServerHandleFail Err = 10006 constant Err_ResponseUnableParse (line 20) | Err_ResponseUnableParse Err = 10007 constant Err_DuplicateOutOrderNo (line 21) | Err_DuplicateOutOrderNo Err = 20001 function ErrFromString (line 46) | func ErrFromString(s string) (Err, error) { function ErrPtr (line 68) | func ErrPtr(v Err) *Err { return &v } FILE: open-payment-platform/kitex_gen/payment/k-payment.go method FastRead (line 26) | func (p *UnifyPayReq) FastRead(buf []byte) (int, error) { method FastReadField1 (line 223) | func (p *UnifyPayReq) FastReadField1(buf []byte) (int, error) { method FastReadField2 (line 237) | func (p *UnifyPayReq) FastReadField2(buf []byte) (int, error) { method FastReadField3 (line 251) | func (p *UnifyPayReq) FastReadField3(buf []byte) (int, error) { method FastReadField4 (line 265) | func (p *UnifyPayReq) FastReadField4(buf []byte) (int, error) { method FastReadField5 (line 279) | func (p *UnifyPayReq) FastReadField5(buf []byte) (int, error) { method FastReadField6 (line 293) | func (p *UnifyPayReq) FastReadField6(buf []byte) (int, error) { method FastReadField7 (line 307) | func (p *UnifyPayReq) FastReadField7(buf []byte) (int, error) { method FastReadField8 (line 321) | func (p *UnifyPayReq) FastReadField8(buf []byte) (int, error) { method FastReadField9 (line 335) | func (p *UnifyPayReq) FastReadField9(buf []byte) (int, error) { method FastReadField10 (line 349) | func (p *UnifyPayReq) FastReadField10(buf []byte) (int, error) { method FastWrite (line 364) | func (p *UnifyPayReq) FastWrite(buf []byte) int { method FastWriteNocopy (line 368) | func (p *UnifyPayReq) FastWriteNocopy(buf []byte, binaryWriter bthrift.B... method BLength (line 388) | func (p *UnifyPayReq) BLength() int { method fastWriteField1 (line 408) | func (p *UnifyPayReq) fastWriteField1(buf []byte, binaryWriter bthrift.B... method fastWriteField2 (line 417) | func (p *UnifyPayReq) fastWriteField2(buf []byte, binaryWriter bthrift.B... method fastWriteField3 (line 426) | func (p *UnifyPayReq) fastWriteField3(buf []byte, binaryWriter bthrift.B... method fastWriteField4 (line 435) | func (p *UnifyPayReq) fastWriteField4(buf []byte, binaryWriter bthrift.B... method fastWriteField5 (line 444) | func (p *UnifyPayReq) fastWriteField5(buf []byte, binaryWriter bthrift.B... method fastWriteField6 (line 453) | func (p *UnifyPayReq) fastWriteField6(buf []byte, binaryWriter bthrift.B... method fastWriteField7 (line 462) | func (p *UnifyPayReq) fastWriteField7(buf []byte, binaryWriter bthrift.B... method fastWriteField8 (line 471) | func (p *UnifyPayReq) fastWriteField8(buf []byte, binaryWriter bthrift.B... method fastWriteField9 (line 480) | func (p *UnifyPayReq) fastWriteField9(buf []byte, binaryWriter bthrift.B... method fastWriteField10 (line 489) | func (p *UnifyPayReq) fastWriteField10(buf []byte, binaryWriter bthrift.... method field1Length (line 498) | func (p *UnifyPayReq) field1Length() int { method field2Length (line 507) | func (p *UnifyPayReq) field2Length() int { method field3Length (line 516) | func (p *UnifyPayReq) field3Length() int { method field4Length (line 525) | func (p *UnifyPayReq) field4Length() int { method field5Length (line 534) | func (p *UnifyPayReq) field5Length() int { method field6Length (line 543) | func (p *UnifyPayReq) field6Length() int { method field7Length (line 552) | func (p *UnifyPayReq) field7Length() int { method field8Length (line 561) | func (p *UnifyPayReq) field8Length() int { method field9Length (line 570) | func (p *UnifyPayReq) field9Length() int { method field10Length (line 579) | func (p *UnifyPayReq) field10Length() int { method FastRead (line 588) | func (p *UnifyPayResp) FastRead(buf []byte) (int, error) { method FastReadField1 (line 715) | func (p *UnifyPayResp) FastReadField1(buf []byte) (int, error) { method FastReadField2 (line 729) | func (p *UnifyPayResp) FastReadField2(buf []byte) (int, error) { method FastReadField3 (line 743) | func (p *UnifyPayResp) FastReadField3(buf []byte) (int, error) { method FastReadField4 (line 757) | func (p *UnifyPayResp) FastReadField4(buf []byte) (int, error) { method FastReadField5 (line 771) | func (p *UnifyPayResp) FastReadField5(buf []byte) (int, error) { method FastWrite (line 786) | func (p *UnifyPayResp) FastWrite(buf []byte) int { method FastWriteNocopy (line 790) | func (p *UnifyPayResp) FastWriteNocopy(buf []byte, binaryWriter bthrift.... method BLength (line 805) | func (p *UnifyPayResp) BLength() int { method fastWriteField1 (line 820) | func (p *UnifyPayResp) fastWriteField1(buf []byte, binaryWriter bthrift.... method fastWriteField2 (line 829) | func (p *UnifyPayResp) fastWriteField2(buf []byte, binaryWriter bthrift.... method fastWriteField3 (line 838) | func (p *UnifyPayResp) fastWriteField3(buf []byte, binaryWriter bthrift.... method fastWriteField4 (line 847) | func (p *UnifyPayResp) fastWriteField4(buf []byte, binaryWriter bthrift.... method fastWriteField5 (line 856) | func (p *UnifyPayResp) fastWriteField5(buf []byte, binaryWriter bthrift.... method field1Length (line 865) | func (p *UnifyPayResp) field1Length() int { method field2Length (line 874) | func (p *UnifyPayResp) field2Length() int { method field3Length (line 883) | func (p *UnifyPayResp) field3Length() int { method field4Length (line 892) | func (p *UnifyPayResp) field4Length() int { method field5Length (line 901) | func (p *UnifyPayResp) field5Length() int { method FastRead (line 910) | func (p *QRPayReq) FastRead(buf []byte) (int, error) { method FastReadField1 (line 1065) | func (p *QRPayReq) FastReadField1(buf []byte) (int, error) { method FastReadField2 (line 1079) | func (p *QRPayReq) FastReadField2(buf []byte) (int, error) { method FastReadField3 (line 1093) | func (p *QRPayReq) FastReadField3(buf []byte) (int, error) { method FastReadField4 (line 1107) | func (p *QRPayReq) FastReadField4(buf []byte) (int, error) { method FastReadField5 (line 1121) | func (p *QRPayReq) FastReadField5(buf []byte) (int, error) { method FastReadField6 (line 1135) | func (p *QRPayReq) FastReadField6(buf []byte) (int, error) { method FastReadField7 (line 1149) | func (p *QRPayReq) FastReadField7(buf []byte) (int, error) { method FastWrite (line 1164) | func (p *QRPayReq) FastWrite(buf []byte) int { method FastWriteNocopy (line 1168) | func (p *QRPayReq) FastWriteNocopy(buf []byte, binaryWriter bthrift.Bina... method BLength (line 1185) | func (p *QRPayReq) BLength() int { method fastWriteField1 (line 1202) | func (p *QRPayReq) fastWriteField1(buf []byte, binaryWriter bthrift.Bina... method fastWriteField2 (line 1211) | func (p *QRPayReq) fastWriteField2(buf []byte, binaryWriter bthrift.Bina... method fastWriteField3 (line 1220) | func (p *QRPayReq) fastWriteField3(buf []byte, binaryWriter bthrift.Bina... method fastWriteField4 (line 1229) | func (p *QRPayReq) fastWriteField4(buf []byte, binaryWriter bthrift.Bina... method fastWriteField5 (line 1238) | func (p *QRPayReq) fastWriteField5(buf []byte, binaryWriter bthrift.Bina... method fastWriteField6 (line 1247) | func (p *QRPayReq) fastWriteField6(buf []byte, binaryWriter bthrift.Bina... method fastWriteField7 (line 1256) | func (p *QRPayReq) fastWriteField7(buf []byte, binaryWriter bthrift.Bina... method field1Length (line 1265) | func (p *QRPayReq) field1Length() int { method field2Length (line 1274) | func (p *QRPayReq) field2Length() int { method field3Length (line 1283) | func (p *QRPayReq) field3Length() int { method field4Length (line 1292) | func (p *QRPayReq) field4Length() int { method field5Length (line 1301) | func (p *QRPayReq) field5Length() int { method field6Length (line 1310) | func (p *QRPayReq) field6Length() int { method field7Length (line 1319) | func (p *QRPayReq) field7Length() int { method FastRead (line 1328) | func (p *QRPayResp) FastRead(buf []byte) (int, error) { method FastReadField1 (line 1497) | func (p *QRPayResp) FastReadField1(buf []byte) (int, error) { method FastReadField2 (line 1511) | func (p *QRPayResp) FastReadField2(buf []byte) (int, error) { method FastReadField3 (line 1525) | func (p *QRPayResp) FastReadField3(buf []byte) (int, error) { method FastReadField4 (line 1539) | func (p *QRPayResp) FastReadField4(buf []byte) (int, error) { method FastReadField5 (line 1553) | func (p *QRPayResp) FastReadField5(buf []byte) (int, error) { method FastReadField6 (line 1567) | func (p *QRPayResp) FastReadField6(buf []byte) (int, error) { method FastReadField7 (line 1581) | func (p *QRPayResp) FastReadField7(buf []byte) (int, error) { method FastReadField8 (line 1595) | func (p *QRPayResp) FastReadField8(buf []byte) (int, error) { method FastWrite (line 1610) | func (p *QRPayResp) FastWrite(buf []byte) int { method FastWriteNocopy (line 1614) | func (p *QRPayResp) FastWriteNocopy(buf []byte, binaryWriter bthrift.Bin... method BLength (line 1632) | func (p *QRPayResp) BLength() int { method fastWriteField1 (line 1650) | func (p *QRPayResp) fastWriteField1(buf []byte, binaryWriter bthrift.Bin... method fastWriteField2 (line 1659) | func (p *QRPayResp) fastWriteField2(buf []byte, binaryWriter bthrift.Bin... method fastWriteField3 (line 1668) | func (p *QRPayResp) fastWriteField3(buf []byte, binaryWriter bthrift.Bin... method fastWriteField4 (line 1677) | func (p *QRPayResp) fastWriteField4(buf []byte, binaryWriter bthrift.Bin... method fastWriteField5 (line 1686) | func (p *QRPayResp) fastWriteField5(buf []byte, binaryWriter bthrift.Bin... method fastWriteField6 (line 1695) | func (p *QRPayResp) fastWriteField6(buf []byte, binaryWriter bthrift.Bin... method fastWriteField7 (line 1704) | func (p *QRPayResp) fastWriteField7(buf []byte, binaryWriter bthrift.Bin... method fastWriteField8 (line 1713) | func (p *QRPayResp) fastWriteField8(buf []byte, binaryWriter bthrift.Bin... method field1Length (line 1722) | func (p *QRPayResp) field1Length() int { method field2Length (line 1731) | func (p *QRPayResp) field2Length() int { method field3Length (line 1740) | func (p *QRPayResp) field3Length() int { method field4Length (line 1749) | func (p *QRPayResp) field4Length() int { method field5Length (line 1758) | func (p *QRPayResp) field5Length() int { method field6Length (line 1767) | func (p *QRPayResp) field6Length() int { method field7Length (line 1776) | func (p *QRPayResp) field7Length() int { method field8Length (line 1785) | func (p *QRPayResp) field8Length() int { method FastRead (line 1794) | func (p *QueryOrderReq) FastRead(buf []byte) (int, error) { method FastReadField1 (line 1865) | func (p *QueryOrderReq) FastReadField1(buf []byte) (int, error) { method FastWrite (line 1880) | func (p *QueryOrderReq) FastWrite(buf []byte) int { method FastWriteNocopy (line 1884) | func (p *QueryOrderReq) FastWriteNocopy(buf []byte, binaryWriter bthrift... method BLength (line 1895) | func (p *QueryOrderReq) BLength() int { method fastWriteField1 (line 1906) | func (p *QueryOrderReq) fastWriteField1(buf []byte, binaryWriter bthrift... method field1Length (line 1915) | func (p *QueryOrderReq) field1Length() int { method FastRead (line 1924) | func (p *QueryOrderResp) FastRead(buf []byte) (int, error) { method FastReadField1 (line 1995) | func (p *QueryOrderResp) FastReadField1(buf []byte) (int, error) { method FastWrite (line 2010) | func (p *QueryOrderResp) FastWrite(buf []byte) int { method FastWriteNocopy (line 2014) | func (p *QueryOrderResp) FastWriteNocopy(buf []byte, binaryWriter bthrif... method BLength (line 2025) | func (p *QueryOrderResp) BLength() int { method fastWriteField1 (line 2036) | func (p *QueryOrderResp) fastWriteField1(buf []byte, binaryWriter bthrif... method field1Length (line 2045) | func (p *QueryOrderResp) field1Length() int { method FastRead (line 2054) | func (p *CloseOrderReq) FastRead(buf []byte) (int, error) { method FastReadField1 (line 2125) | func (p *CloseOrderReq) FastReadField1(buf []byte) (int, error) { method FastWrite (line 2140) | func (p *CloseOrderReq) FastWrite(buf []byte) int { method FastWriteNocopy (line 2144) | func (p *CloseOrderReq) FastWriteNocopy(buf []byte, binaryWriter bthrift... method BLength (line 2155) | func (p *CloseOrderReq) BLength() int { method fastWriteField1 (line 2166) | func (p *CloseOrderReq) fastWriteField1(buf []byte, binaryWriter bthrift... method field1Length (line 2175) | func (p *CloseOrderReq) field1Length() int { method FastRead (line 2184) | func (p *CloseOrderResp) FastRead(buf []byte) (int, error) { method FastWrite (line 2238) | func (p *CloseOrderResp) FastWrite(buf []byte) int { method FastWriteNocopy (line 2242) | func (p *CloseOrderResp) FastWriteNocopy(buf []byte, binaryWriter bthrif... method BLength (line 2252) | func (p *CloseOrderResp) BLength() int { method FastRead (line 2262) | func (p *PaymentSvcUnifyPayArgs) FastRead(buf []byte) (int, error) { method FastReadField1 (line 2333) | func (p *PaymentSvcUnifyPayArgs) FastReadField1(buf []byte) (int, error) { method FastWrite (line 2347) | func (p *PaymentSvcUnifyPayArgs) FastWrite(buf []byte) int { method FastWriteNocopy (line 2351) | func (p *PaymentSvcUnifyPayArgs) FastWriteNocopy(buf []byte, binaryWrite... method BLength (line 2362) | func (p *PaymentSvcUnifyPayArgs) BLength() int { method fastWriteField1 (line 2373) | func (p *PaymentSvcUnifyPayArgs) fastWriteField1(buf []byte, binaryWrite... method field1Length (line 2381) | func (p *PaymentSvcUnifyPayArgs) field1Length() int { method FastRead (line 2389) | func (p *PaymentSvcUnifyPayResult) FastRead(buf []byte) (int, error) { method FastReadField0 (line 2460) | func (p *PaymentSvcUnifyPayResult) FastReadField0(buf []byte) (int, erro... method FastWrite (line 2474) | func (p *PaymentSvcUnifyPayResult) FastWrite(buf []byte) int { method FastWriteNocopy (line 2478) | func (p *PaymentSvcUnifyPayResult) FastWriteNocopy(buf []byte, binaryWri... method BLength (line 2489) | func (p *PaymentSvcUnifyPayResult) BLength() int { method fastWriteField0 (line 2500) | func (p *PaymentSvcUnifyPayResult) fastWriteField0(buf []byte, binaryWri... method field0Length (line 2510) | func (p *PaymentSvcUnifyPayResult) field0Length() int { method FastRead (line 2520) | func (p *PaymentSvcQRPayArgs) FastRead(buf []byte) (int, error) { method FastReadField1 (line 2591) | func (p *PaymentSvcQRPayArgs) FastReadField1(buf []byte) (int, error) { method FastWrite (line 2605) | func (p *PaymentSvcQRPayArgs) FastWrite(buf []byte) int { method FastWriteNocopy (line 2609) | func (p *PaymentSvcQRPayArgs) FastWriteNocopy(buf []byte, binaryWriter b... method BLength (line 2620) | func (p *PaymentSvcQRPayArgs) BLength() int { method fastWriteField1 (line 2631) | func (p *PaymentSvcQRPayArgs) fastWriteField1(buf []byte, binaryWriter b... method field1Length (line 2639) | func (p *PaymentSvcQRPayArgs) field1Length() int { method FastRead (line 2647) | func (p *PaymentSvcQRPayResult) FastRead(buf []byte) (int, error) { method FastReadField0 (line 2718) | func (p *PaymentSvcQRPayResult) FastReadField0(buf []byte) (int, error) { method FastWrite (line 2732) | func (p *PaymentSvcQRPayResult) FastWrite(buf []byte) int { method FastWriteNocopy (line 2736) | func (p *PaymentSvcQRPayResult) FastWriteNocopy(buf []byte, binaryWriter... method BLength (line 2747) | func (p *PaymentSvcQRPayResult) BLength() int { method fastWriteField0 (line 2758) | func (p *PaymentSvcQRPayResult) fastWriteField0(buf []byte, binaryWriter... method field0Length (line 2768) | func (p *PaymentSvcQRPayResult) field0Length() int { method FastRead (line 2778) | func (p *PaymentSvcQueryOrderArgs) FastRead(buf []byte) (int, error) { method FastReadField1 (line 2849) | func (p *PaymentSvcQueryOrderArgs) FastReadField1(buf []byte) (int, erro... method FastWrite (line 2863) | func (p *PaymentSvcQueryOrderArgs) FastWrite(buf []byte) int { method FastWriteNocopy (line 2867) | func (p *PaymentSvcQueryOrderArgs) FastWriteNocopy(buf []byte, binaryWri... method BLength (line 2878) | func (p *PaymentSvcQueryOrderArgs) BLength() int { method fastWriteField1 (line 2889) | func (p *PaymentSvcQueryOrderArgs) fastWriteField1(buf []byte, binaryWri... method field1Length (line 2897) | func (p *PaymentSvcQueryOrderArgs) field1Length() int { method FastRead (line 2905) | func (p *PaymentSvcQueryOrderResult) FastRead(buf []byte) (int, error) { method FastReadField0 (line 2976) | func (p *PaymentSvcQueryOrderResult) FastReadField0(buf []byte) (int, er... method FastWrite (line 2990) | func (p *PaymentSvcQueryOrderResult) FastWrite(buf []byte) int { method FastWriteNocopy (line 2994) | func (p *PaymentSvcQueryOrderResult) FastWriteNocopy(buf []byte, binaryW... method BLength (line 3005) | func (p *PaymentSvcQueryOrderResult) BLength() int { method fastWriteField0 (line 3016) | func (p *PaymentSvcQueryOrderResult) fastWriteField0(buf []byte, binaryW... method field0Length (line 3026) | func (p *PaymentSvcQueryOrderResult) field0Length() int { method FastRead (line 3036) | func (p *PaymentSvcCloseOrderArgs) FastRead(buf []byte) (int, error) { method FastReadField1 (line 3107) | func (p *PaymentSvcCloseOrderArgs) FastReadField1(buf []byte) (int, erro... method FastWrite (line 3121) | func (p *PaymentSvcCloseOrderArgs) FastWrite(buf []byte) int { method FastWriteNocopy (line 3125) | func (p *PaymentSvcCloseOrderArgs) FastWriteNocopy(buf []byte, binaryWri... method BLength (line 3136) | func (p *PaymentSvcCloseOrderArgs) BLength() int { method fastWriteField1 (line 3147) | func (p *PaymentSvcCloseOrderArgs) fastWriteField1(buf []byte, binaryWri... method field1Length (line 3155) | func (p *PaymentSvcCloseOrderArgs) field1Length() int { method FastRead (line 3163) | func (p *PaymentSvcCloseOrderResult) FastRead(buf []byte) (int, error) { method FastReadField0 (line 3234) | func (p *PaymentSvcCloseOrderResult) FastReadField0(buf []byte) (int, er... method FastWrite (line 3248) | func (p *PaymentSvcCloseOrderResult) FastWrite(buf []byte) int { method FastWriteNocopy (line 3252) | func (p *PaymentSvcCloseOrderResult) FastWriteNocopy(buf []byte, binaryW... method BLength (line 3263) | func (p *PaymentSvcCloseOrderResult) BLength() int { method fastWriteField0 (line 3274) | func (p *PaymentSvcCloseOrderResult) fastWriteField0(buf []byte, binaryW... method field0Length (line 3284) | func (p *PaymentSvcCloseOrderResult) field0Length() int { method GetFirstArgument (line 3294) | func (p *PaymentSvcUnifyPayArgs) GetFirstArgument() interface{} { method GetResult (line 3298) | func (p *PaymentSvcUnifyPayResult) GetResult() interface{} { method GetFirstArgument (line 3302) | func (p *PaymentSvcQRPayArgs) GetFirstArgument() interface{} { method GetResult (line 3306) | func (p *PaymentSvcQRPayResult) GetResult() interface{} { method GetFirstArgument (line 3310) | func (p *PaymentSvcQueryOrderArgs) GetFirstArgument() interface{} { method GetResult (line 3314) | func (p *PaymentSvcQueryOrderResult) GetResult() interface{} { method GetFirstArgument (line 3318) | func (p *PaymentSvcCloseOrderArgs) GetFirstArgument() interface{} { method GetResult (line 3322) | func (p *PaymentSvcCloseOrderResult) GetResult() interface{} { FILE: open-payment-platform/kitex_gen/payment/payment.go type UnifyPayReq (line 13) | type UnifyPayReq struct method GetOutOrderNo (line 30) | func (p *UnifyPayReq) GetOutOrderNo() (v string) { method GetTotalAmount (line 34) | func (p *UnifyPayReq) GetTotalAmount() (v int64) { method GetSubject (line 38) | func (p *UnifyPayReq) GetSubject() (v string) { method GetMerchantId (line 42) | func (p *UnifyPayReq) GetMerchantId() (v string) { method GetPayWay (line 46) | func (p *UnifyPayReq) GetPayWay() (v string) { method GetAppId (line 50) | func (p *UnifyPayReq) GetAppId() (v string) { method GetSubOpenId (line 54) | func (p *UnifyPayReq) GetSubOpenId() (v string) { method GetNotifyUrl (line 58) | func (p *UnifyPayReq) GetNotifyUrl() (v string) { method GetClientIp (line 62) | func (p *UnifyPayReq) GetClientIp() (v string) { method GetOrderExpiration (line 66) | func (p *UnifyPayReq) GetOrderExpiration() (v int32) { method SetOutOrderNo (line 69) | func (p *UnifyPayReq) SetOutOrderNo(val string) { method SetTotalAmount (line 72) | func (p *UnifyPayReq) SetTotalAmount(val int64) { method SetSubject (line 75) | func (p *UnifyPayReq) SetSubject(val string) { method SetMerchantId (line 78) | func (p *UnifyPayReq) SetMerchantId(val string) { method SetPayWay (line 81) | func (p *UnifyPayReq) SetPayWay(val string) { method SetAppId (line 84) | func (p *UnifyPayReq) SetAppId(val string) { method SetSubOpenId (line 87) | func (p *UnifyPayReq) SetSubOpenId(val string) { method SetNotifyUrl (line 90) | func (p *UnifyPayReq) SetNotifyUrl(val string) { method SetClientIp (line 93) | func (p *UnifyPayReq) SetClientIp(val string) { method SetOrderExpiration (line 96) | func (p *UnifyPayReq) SetOrderExpiration(val int32) { method Read (line 113) | func (p *UnifyPayReq) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 262) | func (p *UnifyPayReq) ReadField1(iprot thrift.TProtocol) error { method ReadField2 (line 271) | func (p *UnifyPayReq) ReadField2(iprot thrift.TProtocol) error { method ReadField3 (line 280) | func (p *UnifyPayReq) ReadField3(iprot thrift.TProtocol) error { method ReadField4 (line 289) | func (p *UnifyPayReq) ReadField4(iprot thrift.TProtocol) error { method ReadField5 (line 298) | func (p *UnifyPayReq) ReadField5(iprot thrift.TProtocol) error { method ReadField6 (line 307) | func (p *UnifyPayReq) ReadField6(iprot thrift.TProtocol) error { method ReadField7 (line 316) | func (p *UnifyPayReq) ReadField7(iprot thrift.TProtocol) error { method ReadField8 (line 325) | func (p *UnifyPayReq) ReadField8(iprot thrift.TProtocol) error { method ReadField9 (line 334) | func (p *UnifyPayReq) ReadField9(iprot thrift.TProtocol) error { method ReadField10 (line 343) | func (p *UnifyPayReq) ReadField10(iprot thrift.TProtocol) error { method Write (line 352) | func (p *UnifyPayReq) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 417) | func (p *UnifyPayReq) writeField1(oprot thrift.TProtocol) (err error) { method writeField2 (line 434) | func (p *UnifyPayReq) writeField2(oprot thrift.TProtocol) (err error) { method writeField3 (line 451) | func (p *UnifyPayReq) writeField3(oprot thrift.TProtocol) (err error) { method writeField4 (line 468) | func (p *UnifyPayReq) writeField4(oprot thrift.TProtocol) (err error) { method writeField5 (line 485) | func (p *UnifyPayReq) writeField5(oprot thrift.TProtocol) (err error) { method writeField6 (line 502) | func (p *UnifyPayReq) writeField6(oprot thrift.TProtocol) (err error) { method writeField7 (line 519) | func (p *UnifyPayReq) writeField7(oprot thrift.TProtocol) (err error) { method writeField8 (line 536) | func (p *UnifyPayReq) writeField8(oprot thrift.TProtocol) (err error) { method writeField9 (line 553) | func (p *UnifyPayReq) writeField9(oprot thrift.TProtocol) (err error) { method writeField10 (line 570) | func (p *UnifyPayReq) writeField10(oprot thrift.TProtocol) (err error) { method String (line 587) | func (p *UnifyPayReq) String() string { method DeepEqual (line 594) | func (p *UnifyPayReq) DeepEqual(ano *UnifyPayReq) bool { method Field1DeepEqual (line 633) | func (p *UnifyPayReq) Field1DeepEqual(src string) bool { method Field2DeepEqual (line 640) | func (p *UnifyPayReq) Field2DeepEqual(src int64) bool { method Field3DeepEqual (line 647) | func (p *UnifyPayReq) Field3DeepEqual(src string) bool { method Field4DeepEqual (line 654) | func (p *UnifyPayReq) Field4DeepEqual(src string) bool { method Field5DeepEqual (line 661) | func (p *UnifyPayReq) Field5DeepEqual(src string) bool { method Field6DeepEqual (line 668) | func (p *UnifyPayReq) Field6DeepEqual(src string) bool { method Field7DeepEqual (line 675) | func (p *UnifyPayReq) Field7DeepEqual(src string) bool { method Field8DeepEqual (line 682) | func (p *UnifyPayReq) Field8DeepEqual(src string) bool { method Field9DeepEqual (line 689) | func (p *UnifyPayReq) Field9DeepEqual(src string) bool { method Field10DeepEqual (line 696) | func (p *UnifyPayReq) Field10DeepEqual(src int32) bool { function NewUnifyPayReq (line 26) | func NewUnifyPayReq() *UnifyPayReq { type UnifyPayResp (line 704) | type UnifyPayResp struct method GetMerchantId (line 716) | func (p *UnifyPayResp) GetMerchantId() (v string) { method GetSubMerchantId (line 720) | func (p *UnifyPayResp) GetSubMerchantId() (v string) { method GetOutOrderNo (line 724) | func (p *UnifyPayResp) GetOutOrderNo() (v string) { method GetJspayInfo (line 728) | func (p *UnifyPayResp) GetJspayInfo() (v string) { method GetPayWay (line 732) | func (p *UnifyPayResp) GetPayWay() (v string) { method SetMerchantId (line 735) | func (p *UnifyPayResp) SetMerchantId(val string) { method SetSubMerchantId (line 738) | func (p *UnifyPayResp) SetSubMerchantId(val string) { method SetOutOrderNo (line 741) | func (p *UnifyPayResp) SetOutOrderNo(val string) { method SetJspayInfo (line 744) | func (p *UnifyPayResp) SetJspayInfo(val string) { method SetPayWay (line 747) | func (p *UnifyPayResp) SetPayWay(val string) { method Read (line 759) | func (p *UnifyPayResp) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 858) | func (p *UnifyPayResp) ReadField1(iprot thrift.TProtocol) error { method ReadField2 (line 867) | func (p *UnifyPayResp) ReadField2(iprot thrift.TProtocol) error { method ReadField3 (line 876) | func (p *UnifyPayResp) ReadField3(iprot thrift.TProtocol) error { method ReadField4 (line 885) | func (p *UnifyPayResp) ReadField4(iprot thrift.TProtocol) error { method ReadField5 (line 894) | func (p *UnifyPayResp) ReadField5(iprot thrift.TProtocol) error { method Write (line 903) | func (p *UnifyPayResp) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 948) | func (p *UnifyPayResp) writeField1(oprot thrift.TProtocol) (err error) { method writeField2 (line 965) | func (p *UnifyPayResp) writeField2(oprot thrift.TProtocol) (err error) { method writeField3 (line 982) | func (p *UnifyPayResp) writeField3(oprot thrift.TProtocol) (err error) { method writeField4 (line 999) | func (p *UnifyPayResp) writeField4(oprot thrift.TProtocol) (err error) { method writeField5 (line 1016) | func (p *UnifyPayResp) writeField5(oprot thrift.TProtocol) (err error) { method String (line 1033) | func (p *UnifyPayResp) String() string { method DeepEqual (line 1040) | func (p *UnifyPayResp) DeepEqual(ano *UnifyPayResp) bool { method Field1DeepEqual (line 1064) | func (p *UnifyPayResp) Field1DeepEqual(src string) bool { method Field2DeepEqual (line 1071) | func (p *UnifyPayResp) Field2DeepEqual(src string) bool { method Field3DeepEqual (line 1078) | func (p *UnifyPayResp) Field3DeepEqual(src string) bool { method Field4DeepEqual (line 1085) | func (p *UnifyPayResp) Field4DeepEqual(src string) bool { method Field5DeepEqual (line 1092) | func (p *UnifyPayResp) Field5DeepEqual(src string) bool { function NewUnifyPayResp (line 712) | func NewUnifyPayResp() *UnifyPayResp { type QRPayReq (line 1100) | type QRPayReq struct method GetOutOrderNo (line 1114) | func (p *QRPayReq) GetOutOrderNo() (v string) { method GetTotalAmount (line 1118) | func (p *QRPayReq) GetTotalAmount() (v int64) { method GetSubject (line 1122) | func (p *QRPayReq) GetSubject() (v string) { method GetMerchantId (line 1126) | func (p *QRPayReq) GetMerchantId() (v string) { method GetAuthCode (line 1130) | func (p *QRPayReq) GetAuthCode() (v string) { method GetNotifyUrl (line 1134) | func (p *QRPayReq) GetNotifyUrl() (v string) { method GetClientIp (line 1138) | func (p *QRPayReq) GetClientIp() (v string) { method SetOutOrderNo (line 1141) | func (p *QRPayReq) SetOutOrderNo(val string) { method SetTotalAmount (line 1144) | func (p *QRPayReq) SetTotalAmount(val int64) { method SetSubject (line 1147) | func (p *QRPayReq) SetSubject(val string) { method SetMerchantId (line 1150) | func (p *QRPayReq) SetMerchantId(val string) { method SetAuthCode (line 1153) | func (p *QRPayReq) SetAuthCode(val string) { method SetNotifyUrl (line 1156) | func (p *QRPayReq) SetNotifyUrl(val string) { method SetClientIp (line 1159) | func (p *QRPayReq) SetClientIp(val string) { method Read (line 1173) | func (p *QRPayReq) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 1292) | func (p *QRPayReq) ReadField1(iprot thrift.TProtocol) error { method ReadField2 (line 1301) | func (p *QRPayReq) ReadField2(iprot thrift.TProtocol) error { method ReadField3 (line 1310) | func (p *QRPayReq) ReadField3(iprot thrift.TProtocol) error { method ReadField4 (line 1319) | func (p *QRPayReq) ReadField4(iprot thrift.TProtocol) error { method ReadField5 (line 1328) | func (p *QRPayReq) ReadField5(iprot thrift.TProtocol) error { method ReadField6 (line 1337) | func (p *QRPayReq) ReadField6(iprot thrift.TProtocol) error { method ReadField7 (line 1346) | func (p *QRPayReq) ReadField7(iprot thrift.TProtocol) error { method Write (line 1355) | func (p *QRPayReq) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 1408) | func (p *QRPayReq) writeField1(oprot thrift.TProtocol) (err error) { method writeField2 (line 1425) | func (p *QRPayReq) writeField2(oprot thrift.TProtocol) (err error) { method writeField3 (line 1442) | func (p *QRPayReq) writeField3(oprot thrift.TProtocol) (err error) { method writeField4 (line 1459) | func (p *QRPayReq) writeField4(oprot thrift.TProtocol) (err error) { method writeField5 (line 1476) | func (p *QRPayReq) writeField5(oprot thrift.TProtocol) (err error) { method writeField6 (line 1493) | func (p *QRPayReq) writeField6(oprot thrift.TProtocol) (err error) { method writeField7 (line 1510) | func (p *QRPayReq) writeField7(oprot thrift.TProtocol) (err error) { method String (line 1527) | func (p *QRPayReq) String() string { method DeepEqual (line 1534) | func (p *QRPayReq) DeepEqual(ano *QRPayReq) bool { method Field1DeepEqual (line 1564) | func (p *QRPayReq) Field1DeepEqual(src string) bool { method Field2DeepEqual (line 1571) | func (p *QRPayReq) Field2DeepEqual(src int64) bool { method Field3DeepEqual (line 1578) | func (p *QRPayReq) Field3DeepEqual(src string) bool { method Field4DeepEqual (line 1585) | func (p *QRPayReq) Field4DeepEqual(src string) bool { method Field5DeepEqual (line 1592) | func (p *QRPayReq) Field5DeepEqual(src string) bool { method Field6DeepEqual (line 1599) | func (p *QRPayReq) Field6DeepEqual(src string) bool { method Field7DeepEqual (line 1606) | func (p *QRPayReq) Field7DeepEqual(src string) bool { function NewQRPayReq (line 1110) | func NewQRPayReq() *QRPayReq { type QRPayResp (line 1614) | type QRPayResp struct method GetMerchantId (line 1629) | func (p *QRPayResp) GetMerchantId() (v string) { method GetSubMerchantId (line 1633) | func (p *QRPayResp) GetSubMerchantId() (v string) { method GetOutOrderNo (line 1637) | func (p *QRPayResp) GetOutOrderNo() (v string) { method GetOrderStatus (line 1641) | func (p *QRPayResp) GetOrderStatus() (v int8) { method GetPayWay (line 1645) | func (p *QRPayResp) GetPayWay() (v string) { method GetOpenId (line 1649) | func (p *QRPayResp) GetOpenId() (v string) { method GetOutTransactionId (line 1653) | func (p *QRPayResp) GetOutTransactionId() (v string) { method GetSubOpenid (line 1657) | func (p *QRPayResp) GetSubOpenid() (v string) { method SetMerchantId (line 1660) | func (p *QRPayResp) SetMerchantId(val string) { method SetSubMerchantId (line 1663) | func (p *QRPayResp) SetSubMerchantId(val string) { method SetOutOrderNo (line 1666) | func (p *QRPayResp) SetOutOrderNo(val string) { method SetOrderStatus (line 1669) | func (p *QRPayResp) SetOrderStatus(val int8) { method SetPayWay (line 1672) | func (p *QRPayResp) SetPayWay(val string) { method SetOpenId (line 1675) | func (p *QRPayResp) SetOpenId(val string) { method SetOutTransactionId (line 1678) | func (p *QRPayResp) SetOutTransactionId(val string) { method SetSubOpenid (line 1681) | func (p *QRPayResp) SetSubOpenid(val string) { method Read (line 1696) | func (p *QRPayResp) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 1825) | func (p *QRPayResp) ReadField1(iprot thrift.TProtocol) error { method ReadField2 (line 1834) | func (p *QRPayResp) ReadField2(iprot thrift.TProtocol) error { method ReadField3 (line 1843) | func (p *QRPayResp) ReadField3(iprot thrift.TProtocol) error { method ReadField4 (line 1852) | func (p *QRPayResp) ReadField4(iprot thrift.TProtocol) error { method ReadField5 (line 1861) | func (p *QRPayResp) ReadField5(iprot thrift.TProtocol) error { method ReadField6 (line 1870) | func (p *QRPayResp) ReadField6(iprot thrift.TProtocol) error { method ReadField7 (line 1879) | func (p *QRPayResp) ReadField7(iprot thrift.TProtocol) error { method ReadField8 (line 1888) | func (p *QRPayResp) ReadField8(iprot thrift.TProtocol) error { method Write (line 1897) | func (p *QRPayResp) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 1954) | func (p *QRPayResp) writeField1(oprot thrift.TProtocol) (err error) { method writeField2 (line 1971) | func (p *QRPayResp) writeField2(oprot thrift.TProtocol) (err error) { method writeField3 (line 1988) | func (p *QRPayResp) writeField3(oprot thrift.TProtocol) (err error) { method writeField4 (line 2005) | func (p *QRPayResp) writeField4(oprot thrift.TProtocol) (err error) { method writeField5 (line 2022) | func (p *QRPayResp) writeField5(oprot thrift.TProtocol) (err error) { method writeField6 (line 2039) | func (p *QRPayResp) writeField6(oprot thrift.TProtocol) (err error) { method writeField7 (line 2056) | func (p *QRPayResp) writeField7(oprot thrift.TProtocol) (err error) { method writeField8 (line 2073) | func (p *QRPayResp) writeField8(oprot thrift.TProtocol) (err error) { method String (line 2090) | func (p *QRPayResp) String() string { method DeepEqual (line 2097) | func (p *QRPayResp) DeepEqual(ano *QRPayResp) bool { method Field1DeepEqual (line 2130) | func (p *QRPayResp) Field1DeepEqual(src string) bool { method Field2DeepEqual (line 2137) | func (p *QRPayResp) Field2DeepEqual(src string) bool { method Field3DeepEqual (line 2144) | func (p *QRPayResp) Field3DeepEqual(src string) bool { method Field4DeepEqual (line 2151) | func (p *QRPayResp) Field4DeepEqual(src int8) bool { method Field5DeepEqual (line 2158) | func (p *QRPayResp) Field5DeepEqual(src string) bool { method Field6DeepEqual (line 2165) | func (p *QRPayResp) Field6DeepEqual(src string) bool { method Field7DeepEqual (line 2172) | func (p *QRPayResp) Field7DeepEqual(src string) bool { method Field8DeepEqual (line 2179) | func (p *QRPayResp) Field8DeepEqual(src string) bool { function NewQRPayResp (line 1625) | func NewQRPayResp() *QRPayResp { type QueryOrderReq (line 2187) | type QueryOrderReq struct method GetOutOrderNo (line 2195) | func (p *QueryOrderReq) GetOutOrderNo() (v string) { method SetOutOrderNo (line 2198) | func (p *QueryOrderReq) SetOutOrderNo(val string) { method Read (line 2206) | func (p *QueryOrderReq) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 2265) | func (p *QueryOrderReq) ReadField1(iprot thrift.TProtocol) error { method Write (line 2274) | func (p *QueryOrderReq) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 2303) | func (p *QueryOrderReq) writeField1(oprot thrift.TProtocol) (err error) { method String (line 2320) | func (p *QueryOrderReq) String() string { method DeepEqual (line 2327) | func (p *QueryOrderReq) DeepEqual(ano *QueryOrderReq) bool { method Field1DeepEqual (line 2339) | func (p *QueryOrderReq) Field1DeepEqual(src string) bool { function NewQueryOrderReq (line 2191) | func NewQueryOrderReq() *QueryOrderReq { type QueryOrderResp (line 2347) | type QueryOrderResp struct method GetOrderStatus (line 2355) | func (p *QueryOrderResp) GetOrderStatus() (v int8) { method SetOrderStatus (line 2358) | func (p *QueryOrderResp) SetOrderStatus(val int8) { method Read (line 2366) | func (p *QueryOrderResp) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 2425) | func (p *QueryOrderResp) ReadField1(iprot thrift.TProtocol) error { method Write (line 2434) | func (p *QueryOrderResp) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 2463) | func (p *QueryOrderResp) writeField1(oprot thrift.TProtocol) (err erro... method String (line 2480) | func (p *QueryOrderResp) String() string { method DeepEqual (line 2487) | func (p *QueryOrderResp) DeepEqual(ano *QueryOrderResp) bool { method Field1DeepEqual (line 2499) | func (p *QueryOrderResp) Field1DeepEqual(src int8) bool { function NewQueryOrderResp (line 2351) | func NewQueryOrderResp() *QueryOrderResp { type CloseOrderReq (line 2507) | type CloseOrderReq struct method GetOutOrderNo (line 2515) | func (p *CloseOrderReq) GetOutOrderNo() (v string) { method SetOutOrderNo (line 2518) | func (p *CloseOrderReq) SetOutOrderNo(val string) { method Read (line 2526) | func (p *CloseOrderReq) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 2585) | func (p *CloseOrderReq) ReadField1(iprot thrift.TProtocol) error { method Write (line 2594) | func (p *CloseOrderReq) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 2623) | func (p *CloseOrderReq) writeField1(oprot thrift.TProtocol) (err error) { method String (line 2640) | func (p *CloseOrderReq) String() string { method DeepEqual (line 2647) | func (p *CloseOrderReq) DeepEqual(ano *CloseOrderReq) bool { method Field1DeepEqual (line 2659) | func (p *CloseOrderReq) Field1DeepEqual(src string) bool { function NewCloseOrderReq (line 2511) | func NewCloseOrderReq() *CloseOrderReq { type CloseOrderResp (line 2667) | type CloseOrderResp struct method Read (line 2676) | func (p *CloseOrderResp) Read(iprot thrift.TProtocol) (err error) { method Write (line 2719) | func (p *CloseOrderResp) Write(oprot thrift.TProtocol) (err error) { method String (line 2741) | func (p *CloseOrderResp) String() string { method DeepEqual (line 2748) | func (p *CloseOrderResp) DeepEqual(ano *CloseOrderResp) bool { function NewCloseOrderResp (line 2670) | func NewCloseOrderResp() *CloseOrderResp { type PaymentSvc (line 2757) | type PaymentSvc interface type PaymentSvcClient (line 2767) | type PaymentSvcClient struct method Client_ (line 2789) | func (p *PaymentSvcClient) Client_() thrift.TClient { method UnifyPay (line 2793) | func (p *PaymentSvcClient) UnifyPay(ctx context.Context, req *UnifyPay... method QRPay (line 2803) | func (p *PaymentSvcClient) QRPay(ctx context.Context, req *QRPayReq) (... method QueryOrder (line 2813) | func (p *PaymentSvcClient) QueryOrder(ctx context.Context, req *QueryO... method CloseOrder (line 2823) | func (p *PaymentSvcClient) CloseOrder(ctx context.Context, req *CloseO... function NewPaymentSvcClientFactory (line 2771) | func NewPaymentSvcClientFactory(t thrift.TTransport, f thrift.TProtocolF... function NewPaymentSvcClientProtocol (line 2777) | func NewPaymentSvcClientProtocol(t thrift.TTransport, iprot thrift.TProt... function NewPaymentSvcClient (line 2783) | func NewPaymentSvcClient(c thrift.TClient) *PaymentSvcClient { type PaymentSvcProcessor (line 2833) | type PaymentSvcProcessor struct method AddToProcessorMap (line 2838) | func (p *PaymentSvcProcessor) AddToProcessorMap(key string, processor ... method GetProcessorFunction (line 2842) | func (p *PaymentSvcProcessor) GetProcessorFunction(key string) (proces... method ProcessorMap (line 2847) | func (p *PaymentSvcProcessor) ProcessorMap() map[string]thrift.TProces... method Process (line 2859) | func (p *PaymentSvcProcessor) Process(ctx context.Context, iprot, opro... function NewPaymentSvcProcessor (line 2851) | func NewPaymentSvcProcessor(handler PaymentSvc) *PaymentSvcProcessor { type paymentSvcProcessorUnifyPay (line 2877) | type paymentSvcProcessorUnifyPay struct method Process (line 2881) | func (p *paymentSvcProcessorUnifyPay) Process(ctx context.Context, seq... type paymentSvcProcessorQRPay (line 2925) | type paymentSvcProcessorQRPay struct method Process (line 2929) | func (p *paymentSvcProcessorQRPay) Process(ctx context.Context, seqId ... type paymentSvcProcessorQueryOrder (line 2973) | type paymentSvcProcessorQueryOrder struct method Process (line 2977) | func (p *paymentSvcProcessorQueryOrder) Process(ctx context.Context, s... type paymentSvcProcessorCloseOrder (line 3021) | type paymentSvcProcessorCloseOrder struct method Process (line 3025) | func (p *paymentSvcProcessorCloseOrder) Process(ctx context.Context, s... type PaymentSvcUnifyPayArgs (line 3069) | type PaymentSvcUnifyPayArgs struct method GetReq (line 3079) | func (p *PaymentSvcUnifyPayArgs) GetReq() (v *UnifyPayReq) { method SetReq (line 3085) | func (p *PaymentSvcUnifyPayArgs) SetReq(val *UnifyPayReq) { method IsSetReq (line 3093) | func (p *PaymentSvcUnifyPayArgs) IsSetReq() bool { method Read (line 3097) | func (p *PaymentSvcUnifyPayArgs) Read(iprot thrift.TProtocol) (err err... method ReadField1 (line 3156) | func (p *PaymentSvcUnifyPayArgs) ReadField1(iprot thrift.TProtocol) er... method Write (line 3164) | func (p *PaymentSvcUnifyPayArgs) Write(oprot thrift.TProtocol) (err er... method writeField1 (line 3193) | func (p *PaymentSvcUnifyPayArgs) writeField1(oprot thrift.TProtocol) (... method String (line 3210) | func (p *PaymentSvcUnifyPayArgs) String() string { method DeepEqual (line 3217) | func (p *PaymentSvcUnifyPayArgs) DeepEqual(ano *PaymentSvcUnifyPayArgs... method Field1DeepEqual (line 3229) | func (p *PaymentSvcUnifyPayArgs) Field1DeepEqual(src *UnifyPayReq) bool { function NewPaymentSvcUnifyPayArgs (line 3073) | func NewPaymentSvcUnifyPayArgs() *PaymentSvcUnifyPayArgs { type PaymentSvcUnifyPayResult (line 3237) | type PaymentSvcUnifyPayResult struct method GetSuccess (line 3247) | func (p *PaymentSvcUnifyPayResult) GetSuccess() (v *UnifyPayResp) { method SetSuccess (line 3253) | func (p *PaymentSvcUnifyPayResult) SetSuccess(x interface{}) { method IsSetSuccess (line 3261) | func (p *PaymentSvcUnifyPayResult) IsSetSuccess() bool { method Read (line 3265) | func (p *PaymentSvcUnifyPayResult) Read(iprot thrift.TProtocol) (err e... method ReadField0 (line 3324) | func (p *PaymentSvcUnifyPayResult) ReadField0(iprot thrift.TProtocol) ... method Write (line 3332) | func (p *PaymentSvcUnifyPayResult) Write(oprot thrift.TProtocol) (err ... method writeField0 (line 3361) | func (p *PaymentSvcUnifyPayResult) writeField0(oprot thrift.TProtocol)... method String (line 3380) | func (p *PaymentSvcUnifyPayResult) String() string { method DeepEqual (line 3387) | func (p *PaymentSvcUnifyPayResult) DeepEqual(ano *PaymentSvcUnifyPayRe... method Field0DeepEqual (line 3399) | func (p *PaymentSvcUnifyPayResult) Field0DeepEqual(src *UnifyPayResp) ... function NewPaymentSvcUnifyPayResult (line 3241) | func NewPaymentSvcUnifyPayResult() *PaymentSvcUnifyPayResult { type PaymentSvcQRPayArgs (line 3407) | type PaymentSvcQRPayArgs struct method GetReq (line 3417) | func (p *PaymentSvcQRPayArgs) GetReq() (v *QRPayReq) { method SetReq (line 3423) | func (p *PaymentSvcQRPayArgs) SetReq(val *QRPayReq) { method IsSetReq (line 3431) | func (p *PaymentSvcQRPayArgs) IsSetReq() bool { method Read (line 3435) | func (p *PaymentSvcQRPayArgs) Read(iprot thrift.TProtocol) (err error) { method ReadField1 (line 3494) | func (p *PaymentSvcQRPayArgs) ReadField1(iprot thrift.TProtocol) error { method Write (line 3502) | func (p *PaymentSvcQRPayArgs) Write(oprot thrift.TProtocol) (err error) { method writeField1 (line 3531) | func (p *PaymentSvcQRPayArgs) writeField1(oprot thrift.TProtocol) (err... method String (line 3548) | func (p *PaymentSvcQRPayArgs) String() string { method DeepEqual (line 3555) | func (p *PaymentSvcQRPayArgs) DeepEqual(ano *PaymentSvcQRPayArgs) bool { method Field1DeepEqual (line 3567) | func (p *PaymentSvcQRPayArgs) Field1DeepEqual(src *QRPayReq) bool { function NewPaymentSvcQRPayArgs (line 3411) | func NewPaymentSvcQRPayArgs() *PaymentSvcQRPayArgs { type PaymentSvcQRPayResult (line 3575) | type PaymentSvcQRPayResult struct method GetSuccess (line 3585) | func (p *PaymentSvcQRPayResult) GetSuccess() (v *QRPayResp) { method SetSuccess (line 3591) | func (p *PaymentSvcQRPayResult) SetSuccess(x interface{}) { method IsSetSuccess (line 3599) | func (p *PaymentSvcQRPayResult) IsSetSuccess() bool { method Read (line 3603) | func (p *PaymentSvcQRPayResult) Read(iprot thrift.TProtocol) (err erro... method ReadField0 (line 3662) | func (p *PaymentSvcQRPayResult) ReadField0(iprot thrift.TProtocol) err... method Write (line 3670) | func (p *PaymentSvcQRPayResult) Write(oprot thrift.TProtocol) (err err... method writeField0 (line 3699) | func (p *PaymentSvcQRPayResult) writeField0(oprot thrift.TProtocol) (e... method String (line 3718) | func (p *PaymentSvcQRPayResult) String() string { method DeepEqual (line 3725) | func (p *PaymentSvcQRPayResult) DeepEqual(ano *PaymentSvcQRPayResult) ... method Field0DeepEqual (line 3737) | func (p *PaymentSvcQRPayResult) Field0DeepEqual(src *QRPayResp) bool { function NewPaymentSvcQRPayResult (line 3579) | func NewPaymentSvcQRPayResult() *PaymentSvcQRPayResult { type PaymentSvcQueryOrderArgs (line 3745) | type PaymentSvcQueryOrderArgs struct method GetReq (line 3755) | func (p *PaymentSvcQueryOrderArgs) GetReq() (v *QueryOrderReq) { method SetReq (line 3761) | func (p *PaymentSvcQueryOrderArgs) SetReq(val *QueryOrderReq) { method IsSetReq (line 3769) | func (p *PaymentSvcQueryOrderArgs) IsSetReq() bool { method Read (line 3773) | func (p *PaymentSvcQueryOrderArgs) Read(iprot thrift.TProtocol) (err e... method ReadField1 (line 3832) | func (p *PaymentSvcQueryOrderArgs) ReadField1(iprot thrift.TProtocol) ... method Write (line 3840) | func (p *PaymentSvcQueryOrderArgs) Write(oprot thrift.TProtocol) (err ... method writeField1 (line 3869) | func (p *PaymentSvcQueryOrderArgs) writeField1(oprot thrift.TProtocol)... method String (line 3886) | func (p *PaymentSvcQueryOrderArgs) String() string { method DeepEqual (line 3893) | func (p *PaymentSvcQueryOrderArgs) DeepEqual(ano *PaymentSvcQueryOrder... method Field1DeepEqual (line 3905) | func (p *PaymentSvcQueryOrderArgs) Field1DeepEqual(src *QueryOrderReq)... function NewPaymentSvcQueryOrderArgs (line 3749) | func NewPaymentSvcQueryOrderArgs() *PaymentSvcQueryOrderArgs { type PaymentSvcQueryOrderResult (line 3913) | type PaymentSvcQueryOrderResult struct method GetSuccess (line 3923) | func (p *PaymentSvcQueryOrderResult) GetSuccess() (v *QueryOrderResp) { method SetSuccess (line 3929) | func (p *PaymentSvcQueryOrderResult) SetSuccess(x interface{}) { method IsSetSuccess (line 3937) | func (p *PaymentSvcQueryOrderResult) IsSetSuccess() bool { method Read (line 3941) | func (p *PaymentSvcQueryOrderResult) Read(iprot thrift.TProtocol) (err... method ReadField0 (line 4000) | func (p *PaymentSvcQueryOrderResult) ReadField0(iprot thrift.TProtocol... method Write (line 4008) | func (p *PaymentSvcQueryOrderResult) Write(oprot thrift.TProtocol) (er... method writeField0 (line 4037) | func (p *PaymentSvcQueryOrderResult) writeField0(oprot thrift.TProtoco... method String (line 4056) | func (p *PaymentSvcQueryOrderResult) String() string { method DeepEqual (line 4063) | func (p *PaymentSvcQueryOrderResult) DeepEqual(ano *PaymentSvcQueryOrd... method Field0DeepEqual (line 4075) | func (p *PaymentSvcQueryOrderResult) Field0DeepEqual(src *QueryOrderRe... function NewPaymentSvcQueryOrderResult (line 3917) | func NewPaymentSvcQueryOrderResult() *PaymentSvcQueryOrderResult { type PaymentSvcCloseOrderArgs (line 4083) | type PaymentSvcCloseOrderArgs struct method GetReq (line 4093) | func (p *PaymentSvcCloseOrderArgs) GetReq() (v *CloseOrderReq) { method SetReq (line 4099) | func (p *PaymentSvcCloseOrderArgs) SetReq(val *CloseOrderReq) { method IsSetReq (line 4107) | func (p *PaymentSvcCloseOrderArgs) IsSetReq() bool { method Read (line 4111) | func (p *PaymentSvcCloseOrderArgs) Read(iprot thrift.TProtocol) (err e... method ReadField1 (line 4170) | func (p *PaymentSvcCloseOrderArgs) ReadField1(iprot thrift.TProtocol) ... method Write (line 4178) | func (p *PaymentSvcCloseOrderArgs) Write(oprot thrift.TProtocol) (err ... method writeField1 (line 4207) | func (p *PaymentSvcCloseOrderArgs) writeField1(oprot thrift.TProtocol)... method String (line 4224) | func (p *PaymentSvcCloseOrderArgs) String() string { method DeepEqual (line 4231) | func (p *PaymentSvcCloseOrderArgs) DeepEqual(ano *PaymentSvcCloseOrder... method Field1DeepEqual (line 4243) | func (p *PaymentSvcCloseOrderArgs) Field1DeepEqual(src *CloseOrderReq)... function NewPaymentSvcCloseOrderArgs (line 4087) | func NewPaymentSvcCloseOrderArgs() *PaymentSvcCloseOrderArgs { type PaymentSvcCloseOrderResult (line 4251) | type PaymentSvcCloseOrderResult struct method GetSuccess (line 4261) | func (p *PaymentSvcCloseOrderResult) GetSuccess() (v *CloseOrderResp) { method SetSuccess (line 4267) | func (p *PaymentSvcCloseOrderResult) SetSuccess(x interface{}) { method IsSetSuccess (line 4275) | func (p *PaymentSvcCloseOrderResult) IsSetSuccess() bool { method Read (line 4279) | func (p *PaymentSvcCloseOrderResult) Read(iprot thrift.TProtocol) (err... method ReadField0 (line 4338) | func (p *PaymentSvcCloseOrderResult) ReadField0(iprot thrift.TProtocol... method Write (line 4346) | func (p *PaymentSvcCloseOrderResult) Write(oprot thrift.TProtocol) (er... method writeField0 (line 4375) | func (p *PaymentSvcCloseOrderResult) writeField0(oprot thrift.TProtoco... method String (line 4394) | func (p *PaymentSvcCloseOrderResult) String() string { method DeepEqual (line 4401) | func (p *PaymentSvcCloseOrderResult) DeepEqual(ano *PaymentSvcCloseOrd... method Field0DeepEqual (line 4413) | func (p *PaymentSvcCloseOrderResult) Field0DeepEqual(src *CloseOrderRe... function NewPaymentSvcCloseOrderResult (line 4255) | func NewPaymentSvcCloseOrderResult() *PaymentSvcCloseOrderResult { FILE: open-payment-platform/kitex_gen/payment/paymentsvc/client.go type Client (line 14) | type Client interface function NewClient (line 22) | func NewClient(destService string, opts ...client.Option) (Client, error) { function MustNewClient (line 38) | func MustNewClient(destService string, opts ...client.Option) Client { type kPaymentSvcClient (line 46) | type kPaymentSvcClient struct method UnifyPay (line 50) | func (p *kPaymentSvcClient) UnifyPay(ctx context.Context, req *payment... method QRPay (line 55) | func (p *kPaymentSvcClient) QRPay(ctx context.Context, req *payment.QR... method QueryOrder (line 60) | func (p *kPaymentSvcClient) QueryOrder(ctx context.Context, req *payme... method CloseOrder (line 65) | func (p *kPaymentSvcClient) CloseOrder(ctx context.Context, req *payme... FILE: open-payment-platform/kitex_gen/payment/paymentsvc/invoker.go function NewInvoker (line 11) | func NewInvoker(handler payment.PaymentSvc, opts ...server.Option) serve... FILE: open-payment-platform/kitex_gen/payment/paymentsvc/paymentsvc.go function serviceInfo (line 13) | func serviceInfo() *kitex.ServiceInfo { function NewServiceInfo (line 19) | func NewServiceInfo() *kitex.ServiceInfo { function unifyPayHandler (line 42) | func unifyPayHandler(ctx context.Context, handler interface{}, arg, resu... function newPaymentSvcUnifyPayArgs (line 52) | func newPaymentSvcUnifyPayArgs() interface{} { function newPaymentSvcUnifyPayResult (line 56) | func newPaymentSvcUnifyPayResult() interface{} { function qRPayHandler (line 60) | func qRPayHandler(ctx context.Context, handler interface{}, arg, result ... function newPaymentSvcQRPayArgs (line 70) | func newPaymentSvcQRPayArgs() interface{} { function newPaymentSvcQRPayResult (line 74) | func newPaymentSvcQRPayResult() interface{} { function queryOrderHandler (line 78) | func queryOrderHandler(ctx context.Context, handler interface{}, arg, re... function newPaymentSvcQueryOrderArgs (line 88) | func newPaymentSvcQueryOrderArgs() interface{} { function newPaymentSvcQueryOrderResult (line 92) | func newPaymentSvcQueryOrderResult() interface{} { function closeOrderHandler (line 96) | func closeOrderHandler(ctx context.Context, handler interface{}, arg, re... function newPaymentSvcCloseOrderArgs (line 106) | func newPaymentSvcCloseOrderArgs() interface{} { function newPaymentSvcCloseOrderResult (line 110) | func newPaymentSvcCloseOrderResult() interface{} { type kClient (line 114) | type kClient struct method UnifyPay (line 124) | func (p *kClient) UnifyPay(ctx context.Context, req *payment.UnifyPayR... method QRPay (line 134) | func (p *kClient) QRPay(ctx context.Context, req *payment.QRPayReq) (r... method QueryOrder (line 144) | func (p *kClient) QueryOrder(ctx context.Context, req *payment.QueryOr... method CloseOrder (line 154) | func (p *kClient) CloseOrder(ctx context.Context, req *payment.CloseOr... function newServiceClient (line 118) | func newServiceClient(c client.Client) *kClient { FILE: open-payment-platform/kitex_gen/payment/paymentsvc/server.go function NewServer (line 10) | func NewServer(handler payment.PaymentSvc, opts ...server.Option) server... FILE: open-payment-platform/pkg/auth/auth.go type SignType (line 24) | type SignType type IAuth (line 28) | type IAuth interface function NewSignProvider (line 34) | func NewSignProvider(signType string, key string) (IAuth, error) { type authSM3 (line 43) | type authSM3 struct method GetSignType (line 47) | func (a *authSM3) GetSignType() SignType { method Verify (line 51) | func (a *authSM3) Verify(sign string, data map[string]interface{}) bool { method Sign (line 55) | func (a *authSM3) Sign(data map[string]interface{}) string {