Documentation ¶
Index ¶
- type Foo2Service
- type FooService
- func (s *FooService) GetDynamic(ctx context.Context, req *v2pb.Bar1Req) (resp interface{}, err error)
- func (s *FooService) GetInfo(ctx context.Context, req *v2pb.GetInfoReq) (resp *v2pb.GetInfoResp, err error)
- func (s *FooService) JsonReq(ctx context.Context, req *v2pb.JsonReq) (resp *v2pb.JsonResp, err error)
- func (s *FooService) Nointerface(ctx context.Context, req *v2pb.Bar1Req) (resp *v2pb.Bar1Resp, err error)
- func (s *FooService) UnameByUid(ctx context.Context, req *v2pb.Bar1Req) (resp *v2pb.Bar1Resp, err error)
- func (s *FooService) UnameByUid3(ctx context.Context, req *v2pb.Bar1Req) (resp *v2pb.Bar1Resp, err error)
- func (s *FooService) UnameByUid4(ctx context.Context, req *v2pb.Bar1Req) (resp *v2pb.Bar1Resp, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Foo2Service ¶
type Foo2Service struct {
// contains filtered or unexported fields
}
Foo2Service struct
type FooService ¶
type FooService struct {
// contains filtered or unexported fields
}
FooService struct
func (*FooService) GetDynamic ¶
func (s *FooService) GetDynamic(ctx context.Context, req *v2pb.Bar1Req) (resp interface{}, err error)
GetDynamic implementation `dynamic_resp:"true"`
func (*FooService) GetInfo ¶
func (s *FooService) GetInfo(ctx context.Context, req *v2pb.GetInfoReq) (resp *v2pb.GetInfoResp, err error)
GetInfo implementation 获取房间信息
func (*FooService) JsonReq ¶
func (s *FooService) JsonReq(ctx context.Context, req *v2pb.JsonReq) (resp *v2pb.JsonResp, err error)
JsonReq implementation
func (*FooService) Nointerface ¶
func (s *FooService) Nointerface(ctx context.Context, req *v2pb.Bar1Req) (resp *v2pb.Bar1Resp, err error)
Nointerface implementation `dynamic:"true"`
func (*FooService) UnameByUid ¶
func (s *FooService) UnameByUid(ctx context.Context, req *v2pb.Bar1Req) (resp *v2pb.Bar1Resp, err error)
UnameByUid implementation 根据uid得到uname `method:"post" midware:"auth,verify"`
这是详细说明
func (*FooService) UnameByUid3 ¶
func (s *FooService) UnameByUid3(ctx context.Context, req *v2pb.Bar1Req) (resp *v2pb.Bar1Resp, err error)
UnameByUid3 implementation 根据uid得到uname v3
func (*FooService) UnameByUid4 ¶
func (s *FooService) UnameByUid4(ctx context.Context, req *v2pb.Bar1Req) (resp *v2pb.Bar1Resp, err error)
UnameByUid4 implementation test comment
Click to show internal directories.
Click to hide internal directories.