Documentation ¶
Index ¶
- type Foo2Service
- type FooService
- func (s *FooService) GetDynamic(ctx context.Context, req *pb.Bar1Req) (resp interface{}, err error)
- func (s *FooService) GetInfo(ctx context.Context, req *pb.GetInfoReq) (resp *pb.GetInfoResp, err error)
- func (s *FooService) Nointerface(ctx context.Context, req *pb.Bar1Req) (resp *pb.Bar1Resp, err error)
- func (s *FooService) UnameByUid(ctx context.Context, req *pb.Bar1Req) (resp *pb.Bar1Resp, err error)
- func (s *FooService) UnameByUid3(ctx context.Context, req *pb.Bar1Req) (resp *pb.Bar1Resp, err error)
- func (s *FooService) UnameByUid4(ctx context.Context, req *pb.Bar1Req) (resp *pb.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 ¶
GetDynamic implementation `dynamic_resp:"true"`
func (*FooService) GetInfo ¶
func (s *FooService) GetInfo(ctx context.Context, req *pb.GetInfoReq) (resp *pb.GetInfoResp, err error)
GetInfo implementation 获取房间信息 `midware:"guest"`
func (*FooService) Nointerface ¶
func (s *FooService) Nointerface(ctx context.Context, req *pb.Bar1Req) (resp *pb.Bar1Resp, err error)
Nointerface implementation `dynamic:"true"`
func (*FooService) UnameByUid ¶
func (s *FooService) UnameByUid(ctx context.Context, req *pb.Bar1Req) (resp *pb.Bar1Resp, err error)
UnameByUid implementation 根据uid得到uname `method:"post" midware:"auth,verify"`
这是详细说明
func (*FooService) UnameByUid3 ¶
func (s *FooService) UnameByUid3(ctx context.Context, req *pb.Bar1Req) (resp *pb.Bar1Resp, err error)
UnameByUid3 implementation 根据uid得到uname v3
func (*FooService) UnameByUid4 ¶
func (s *FooService) UnameByUid4(ctx context.Context, req *pb.Bar1Req) (resp *pb.Bar1Resp, err error)
UnameByUid4 implementation test comment `internal:"true"`
Click to show internal directories.
Click to hide internal directories.