Documentation ¶
Index ¶
- type BytesBytesService
- type BytesReaderService
- type BytesStringService
- type Custom
- type ObjObjService
- func (svc *ObjObjService) AllRequest(ctx context.Context, req *demo.AllRequestReq) (*demo.AllRequestResp, error)
- func (svc *ObjObjService) FormBindingJSONRender(ctx context.Context, req *demo.FormBindingReq) (*demo.JSONRenderResp, error)
- func (svc *ObjObjService) FormMultipartBindingAsciiJSONRender(ctx context.Context, req *demo.FormMultipartBindingReq) (*demo.AsciiJSONRenderResp, error)
- func (svc *ObjObjService) FormPostBindingPureJSONRender(ctx context.Context, req *demo.FormPostBindingReq) (*demo.PureJSONRenderResp, error)
- func (svc *ObjObjService) HeaderBindingJsonpJSONRender(ctx context.Context, req *demo.HeaderBindingReq) (*demo.JsonpJSONRenderResp, error)
- func (svc *ObjObjService) JSONBindingJSONRender(ctx context.Context, req *demo.JSONBindingReq) (*demo.JSONRenderResp, error)
- func (svc *ObjObjService) MsgPackBindingMsgPackRender(ctx context.Context, req *demo.MsgPackBindingReq) (*demo.MsgPackRenderResp, error)
- func (svc *ObjObjService) ProtoBufBindingProtoBufRender(ctx context.Context, req *pb.ProtoBufReq) (*pb.ProtoBufResp, error)
- func (svc *ObjObjService) ProtoJSONBindingProtoJSONRender(ctx context.Context, req *pb.ProtoBufReq) (*pb.ProtoBufResp, error)
- func (svc *ObjObjService) QueryBindingSecureJSONRender(ctx context.Context, req *demo.QueryBindingReq) (*demo.SecureJSONRenderResp, error)
- func (svc *ObjObjService) TOMLBindingTOMLRender(ctx context.Context, req *demo.TOMLBindingReq) (*demo.TOMLRenderResp, error)
- func (svc *ObjObjService) UriBindingIndentedJSONRender(ctx context.Context, req *demo.UriBindingReq) (*demo.IndentedJSONRenderResp, error)
- func (svc *ObjObjService) XMLBindingXMLRender(ctx context.Context, req *demo.XMLBindingReq) (*demo.XMLRenderResp, error)
- func (svc *ObjObjService) YAMLBindingYAMLRender(ctx context.Context, req *demo.YAMLBindingReq) (*demo.YAMLRenderResp, error)
- type ProtoDemoServer
- func (svc *ProtoDemoServer) DELETEUriBindingJSONRender(ctx context.Context, request *protodemo.HelloRequest) (*protodemo.HelloReply, error)
- func (svc *ProtoDemoServer) GETUriBindingIndentedJSONRender(ctx context.Context, request *protodemo.HelloRequest) (*protodemo.HelloReply, error)
- func (svc *ProtoDemoServer) GETUriQueryBindingSecureJSONRender(ctx context.Context, request *protodemo.HelloRequest) (*protodemo.HelloReply, error)
- func (svc *ProtoDemoServer) HeaderMsgPackBindingMsgPackRender(ctx context.Context, request *protodemo.HelloRequest) (*protodemo.HelloReply, error)
- func (svc *ProtoDemoServer) NotDefine(ctx context.Context, request *protodemo.HelloRequest) (*protodemo.HelloReply, error)
- func (svc *ProtoDemoServer) PATCHHeaderProtoFormBindingPureJSONRender(ctx context.Context, request *protodemo.HelloRequest) (*protodemo.HelloReply, error)
- func (svc *ProtoDemoServer) POSTCustomBindingCustomRender(ctx context.Context, request *protodemo.HelloRequest) (*protodemo.HelloReply, error)
- func (svc *ProtoDemoServer) POSTError(ctx context.Context, request *protodemo.HelloRequest) (*protodemo.HelloReply, error)
- func (svc *ProtoDemoServer) POSTGRPCStatus(ctx context.Context, request *protodemo.HelloRequest) (*protodemo.HelloReply, error)
- func (svc *ProtoDemoServer) POSTHeaderFormPostBindingJSONPJSONRender(ctx context.Context, request *protodemo.HelloRequest) (*protodemo.HelloReply, error)
- func (svc *ProtoDemoServer) POSTProtoBufBindingProtoBufRender(ctx context.Context, request *protodemo.HelloRequest) (*protodemo.HelloReply, error)
- func (svc *ProtoDemoServer) POSTProtoJSONBindingProtoJSONRender(ctx context.Context, request *protodemo.HelloRequest) (*protodemo.HelloReply, error)
- func (svc *ProtoDemoServer) POSTSetHeaderTrailer(ctx context.Context, request *protodemo.HelloRequest) (*protodemo.HelloReply, error)
- func (svc *ProtoDemoServer) PUTHeaderJSONBindingAsciiJSONRender(ctx context.Context, request *protodemo.HelloRequest) (*protodemo.HelloReply, error)
- type ProtoService
- type ReaderBytesService
- type ReaderReaderService
- type ReaderStringService
- type Service
- type StringBytesService
- type StringReaderService
- type StringStringService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BytesBytesService ¶
type BytesBytesService struct { }
func (*BytesBytesService) GetBytesBytes ¶
func (*BytesBytesService) PostBytesBytes ¶
type BytesReaderService ¶
type BytesReaderService struct { }
func (*BytesReaderService) GetBytesReader ¶
func (*BytesReaderService) PatchBytesReader ¶
type BytesStringService ¶
type BytesStringService struct { }
func (*BytesStringService) GetBytesString ¶
func (*BytesStringService) PutBytesString ¶
type ObjObjService ¶ added in v1.3.0
type ObjObjService struct { }
func (*ObjObjService) AllRequest ¶ added in v1.5.0
func (svc *ObjObjService) AllRequest(ctx context.Context, req *demo.AllRequestReq) (*demo.AllRequestResp, error)
func (*ObjObjService) FormBindingJSONRender ¶ added in v1.3.0
func (svc *ObjObjService) FormBindingJSONRender(ctx context.Context, req *demo.FormBindingReq) (*demo.JSONRenderResp, error)
func (*ObjObjService) FormMultipartBindingAsciiJSONRender ¶ added in v1.3.0
func (svc *ObjObjService) FormMultipartBindingAsciiJSONRender(ctx context.Context, req *demo.FormMultipartBindingReq) (*demo.AsciiJSONRenderResp, error)
func (*ObjObjService) FormPostBindingPureJSONRender ¶ added in v1.3.0
func (svc *ObjObjService) FormPostBindingPureJSONRender(ctx context.Context, req *demo.FormPostBindingReq) (*demo.PureJSONRenderResp, error)
func (*ObjObjService) HeaderBindingJsonpJSONRender ¶ added in v1.3.0
func (svc *ObjObjService) HeaderBindingJsonpJSONRender(ctx context.Context, req *demo.HeaderBindingReq) (*demo.JsonpJSONRenderResp, error)
func (*ObjObjService) JSONBindingJSONRender ¶ added in v1.3.0
func (svc *ObjObjService) JSONBindingJSONRender(ctx context.Context, req *demo.JSONBindingReq) (*demo.JSONRenderResp, error)
func (*ObjObjService) MsgPackBindingMsgPackRender ¶ added in v1.3.0
func (svc *ObjObjService) MsgPackBindingMsgPackRender(ctx context.Context, req *demo.MsgPackBindingReq) (*demo.MsgPackRenderResp, error)
func (*ObjObjService) ProtoBufBindingProtoBufRender ¶ added in v1.3.0
func (svc *ObjObjService) ProtoBufBindingProtoBufRender(ctx context.Context, req *pb.ProtoBufReq) (*pb.ProtoBufResp, error)
func (*ObjObjService) ProtoJSONBindingProtoJSONRender ¶ added in v1.3.0
func (svc *ObjObjService) ProtoJSONBindingProtoJSONRender(ctx context.Context, req *pb.ProtoBufReq) (*pb.ProtoBufResp, error)
func (*ObjObjService) QueryBindingSecureJSONRender ¶ added in v1.3.0
func (svc *ObjObjService) QueryBindingSecureJSONRender(ctx context.Context, req *demo.QueryBindingReq) (*demo.SecureJSONRenderResp, error)
func (*ObjObjService) TOMLBindingTOMLRender ¶ added in v1.3.0
func (svc *ObjObjService) TOMLBindingTOMLRender(ctx context.Context, req *demo.TOMLBindingReq) (*demo.TOMLRenderResp, error)
func (*ObjObjService) UriBindingIndentedJSONRender ¶ added in v1.3.0
func (svc *ObjObjService) UriBindingIndentedJSONRender(ctx context.Context, req *demo.UriBindingReq) (*demo.IndentedJSONRenderResp, error)
func (*ObjObjService) XMLBindingXMLRender ¶ added in v1.3.0
func (svc *ObjObjService) XMLBindingXMLRender(ctx context.Context, req *demo.XMLBindingReq) (*demo.XMLRenderResp, error)
func (*ObjObjService) YAMLBindingYAMLRender ¶ added in v1.3.0
func (svc *ObjObjService) YAMLBindingYAMLRender(ctx context.Context, req *demo.YAMLBindingReq) (*demo.YAMLRenderResp, error)
type ProtoDemoServer ¶ added in v1.3.0
type ProtoDemoServer struct {
protodemo.UnsafeProtoDemoServer
}
func (*ProtoDemoServer) DELETEUriBindingJSONRender ¶ added in v1.3.0
func (svc *ProtoDemoServer) DELETEUriBindingJSONRender(ctx context.Context, request *protodemo.HelloRequest) (*protodemo.HelloReply, error)
func (*ProtoDemoServer) GETUriBindingIndentedJSONRender ¶ added in v1.3.0
func (svc *ProtoDemoServer) GETUriBindingIndentedJSONRender(ctx context.Context, request *protodemo.HelloRequest) (*protodemo.HelloReply, error)
func (*ProtoDemoServer) GETUriQueryBindingSecureJSONRender ¶ added in v1.3.0
func (svc *ProtoDemoServer) GETUriQueryBindingSecureJSONRender(ctx context.Context, request *protodemo.HelloRequest) (*protodemo.HelloReply, error)
func (*ProtoDemoServer) HeaderMsgPackBindingMsgPackRender ¶ added in v1.3.0
func (svc *ProtoDemoServer) HeaderMsgPackBindingMsgPackRender(ctx context.Context, request *protodemo.HelloRequest) (*protodemo.HelloReply, error)
func (*ProtoDemoServer) NotDefine ¶ added in v1.3.0
func (svc *ProtoDemoServer) NotDefine(ctx context.Context, request *protodemo.HelloRequest) (*protodemo.HelloReply, error)
func (*ProtoDemoServer) PATCHHeaderProtoFormBindingPureJSONRender ¶ added in v1.3.0
func (svc *ProtoDemoServer) PATCHHeaderProtoFormBindingPureJSONRender(ctx context.Context, request *protodemo.HelloRequest) (*protodemo.HelloReply, error)
func (*ProtoDemoServer) POSTCustomBindingCustomRender ¶ added in v1.3.0
func (svc *ProtoDemoServer) POSTCustomBindingCustomRender(ctx context.Context, request *protodemo.HelloRequest) (*protodemo.HelloReply, error)
func (*ProtoDemoServer) POSTError ¶ added in v1.3.0
func (svc *ProtoDemoServer) POSTError(ctx context.Context, request *protodemo.HelloRequest) (*protodemo.HelloReply, error)
func (*ProtoDemoServer) POSTGRPCStatus ¶ added in v1.3.0
func (svc *ProtoDemoServer) POSTGRPCStatus(ctx context.Context, request *protodemo.HelloRequest) (*protodemo.HelloReply, error)
func (*ProtoDemoServer) POSTHeaderFormPostBindingJSONPJSONRender ¶ added in v1.3.0
func (svc *ProtoDemoServer) POSTHeaderFormPostBindingJSONPJSONRender(ctx context.Context, request *protodemo.HelloRequest) (*protodemo.HelloReply, error)
func (*ProtoDemoServer) POSTProtoBufBindingProtoBufRender ¶ added in v1.3.0
func (svc *ProtoDemoServer) POSTProtoBufBindingProtoBufRender(ctx context.Context, request *protodemo.HelloRequest) (*protodemo.HelloReply, error)
func (*ProtoDemoServer) POSTProtoJSONBindingProtoJSONRender ¶ added in v1.3.0
func (svc *ProtoDemoServer) POSTProtoJSONBindingProtoJSONRender(ctx context.Context, request *protodemo.HelloRequest) (*protodemo.HelloReply, error)
func (*ProtoDemoServer) POSTSetHeaderTrailer ¶ added in v1.3.0
func (svc *ProtoDemoServer) POSTSetHeaderTrailer(ctx context.Context, request *protodemo.HelloRequest) (*protodemo.HelloReply, error)
func (*ProtoDemoServer) PUTHeaderJSONBindingAsciiJSONRender ¶ added in v1.3.0
func (svc *ProtoDemoServer) PUTHeaderJSONBindingAsciiJSONRender(ctx context.Context, request *protodemo.HelloRequest) (*protodemo.HelloReply, error)
type ProtoService ¶ added in v1.3.0
type ProtoService struct {
protoservice.UnimplementedProtoServiceServer
}
func (ProtoService) Method ¶ added in v1.3.0
func (p ProtoService) Method(ctx context.Context, request *protoservice.HelloRequest) (*protoservice.HelloReply, error)
type ReaderBytesService ¶
type ReaderBytesService struct { }
func (*ReaderBytesService) GetReaderBytes ¶
func (*ReaderBytesService) PostReaderBytes ¶
type ReaderReaderService ¶
type ReaderReaderService struct { }
func (*ReaderReaderService) GetReaderReader ¶
func (*ReaderReaderService) HeadReaderReader ¶
type ReaderStringService ¶
type ReaderStringService struct { }
func (*ReaderStringService) GetReaderString ¶
func (*ReaderStringService) PostReaderString ¶
type StringBytesService ¶
type StringBytesService struct { }
func (*StringBytesService) GetStringBytes ¶
func (*StringBytesService) OptionsStringBytes ¶
type StringReaderService ¶
type StringReaderService struct { }
func (*StringReaderService) GetStringRender ¶
func (*StringReaderService) OptionsStringReader ¶
type StringStringService ¶
type StringStringService struct { }
func (*StringStringService) GetStringString ¶
func (*StringStringService) PatchStringString ¶
Click to show internal directories.
Click to hide internal directories.