svc

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BindingRenderService

type BindingRenderService struct {
}

func (*BindingRenderService) FormBindingJSONRender

func (svc *BindingRenderService) FormBindingJSONRender(ctx context.Context, req *demo.FormBindingReq) (*demo.JSONRenderResp, error)

func (*BindingRenderService) FormMultipartBindingAsciiJSONRender

func (svc *BindingRenderService) FormMultipartBindingAsciiJSONRender(ctx context.Context, req *demo.FormMultipartBindingReq) (*demo.AsciiJSONRenderResp, error)

func (*BindingRenderService) FormPostBindingPureJSONRender

func (svc *BindingRenderService) FormPostBindingPureJSONRender(ctx context.Context, req *demo.FormPostBindingReq) (*demo.PureJSONRenderResp, error)

func (*BindingRenderService) HeaderBindingJsonpJSONRender

func (svc *BindingRenderService) HeaderBindingJsonpJSONRender(ctx context.Context, req *demo.HeaderBindingReq) (*demo.JsonpJSONRenderResp, error)

func (*BindingRenderService) JSONBindingJSONRender

func (svc *BindingRenderService) JSONBindingJSONRender(ctx context.Context, req *demo.JSONBindingReq) (*demo.JSONRenderResp, error)

func (*BindingRenderService) MsgPackBindingMsgPackRender

func (svc *BindingRenderService) MsgPackBindingMsgPackRender(ctx context.Context, req *demo.MsgPackBindingReq) (*demo.MsgPackRenderResp, error)

func (*BindingRenderService) ProtoBufBindingProtoBufRender

func (svc *BindingRenderService) ProtoBufBindingProtoBufRender(ctx context.Context, req *pb.ProtoBufReq) (*pb.ProtoBufResp, error)

func (*BindingRenderService) QueryBindingSecureJSONRender

func (svc *BindingRenderService) QueryBindingSecureJSONRender(ctx context.Context, req *demo.QueryBindingReq) (*demo.SecureJSONRenderResp, error)

func (*BindingRenderService) TOMLBindingTOMLRender

func (svc *BindingRenderService) TOMLBindingTOMLRender(ctx context.Context, req *demo.TOMLBindingReq) (*demo.TOMLRenderResp, error)

func (*BindingRenderService) UriBindingIndentedJSONRender

func (svc *BindingRenderService) UriBindingIndentedJSONRender(ctx context.Context, req *demo.UriBindingReq) (*demo.IndentedJSONRenderResp, error)

func (*BindingRenderService) XMLBindingXMLRender

func (svc *BindingRenderService) XMLBindingXMLRender(ctx context.Context, req *demo.XMLBindingReq) (*demo.XMLRenderResp, error)

func (*BindingRenderService) YAMLBindingYAMLRender

func (svc *BindingRenderService) YAMLBindingYAMLRender(ctx context.Context, req *demo.YAMLBindingReq) (*demo.YAMLRenderResp, error)

type BytesBytesService

type BytesBytesService struct {
}

func (*BytesBytesService) GetBytesBytes

func (svc *BytesBytesService) GetBytesBytes(ctx context.Context, req []byte) ([]byte, error)

func (*BytesBytesService) PostBytesBytes

func (svc *BytesBytesService) PostBytesBytes(ctx context.Context, req []byte) ([]byte, error)

type BytesReaderService

type BytesReaderService struct {
}

func (*BytesReaderService) GetBytesReader

func (svc *BytesReaderService) GetBytesReader(ctx context.Context, req []byte) (io.Reader, error)

func (*BytesReaderService) PatchBytesReader

func (svc *BytesReaderService) PatchBytesReader(ctx context.Context, req []byte) (io.Reader, error)

type BytesStringService

type BytesStringService struct {
}

func (*BytesStringService) GetBytesString

func (svc *BytesStringService) GetBytesString(ctx context.Context, req []byte) (string, error)

func (*BytesStringService) PutBytesString

func (svc *BytesStringService) PutBytesString(ctx context.Context, req []byte) (string, error)

type ReaderBytesService

type ReaderBytesService struct {
}

func (*ReaderBytesService) GetReaderBytes

func (svc *ReaderBytesService) GetReaderBytes(ctx context.Context, reader io.Reader) ([]byte, error)

func (*ReaderBytesService) PostReaderBytes

func (svc *ReaderBytesService) PostReaderBytes(ctx context.Context, reader io.Reader) ([]byte, error)

type ReaderReaderService

type ReaderReaderService struct {
}

func (*ReaderReaderService) GetReaderReader

func (svc *ReaderReaderService) GetReaderReader(ctx context.Context, reader io.Reader) (io.Reader, error)

func (*ReaderReaderService) HeadReaderReader

func (svc *ReaderReaderService) HeadReaderReader(ctx context.Context, reader io.Reader) (io.Reader, error)

type ReaderStringService

type ReaderStringService struct {
}

func (*ReaderStringService) GetReaderString

func (svc *ReaderStringService) GetReaderString(ctx context.Context, reader io.Reader) (string, error)

func (*ReaderStringService) PostReaderString

func (svc *ReaderStringService) PostReaderString(ctx context.Context, reader io.Reader) (string, error)

type Service

type Service struct{}

func (*Service) Method

func (svc *Service) Method(ctx context.Context, req *demo.MethodReq) (*demo.MethodResp, error)

type StringBytesService

type StringBytesService struct {
}

func (*StringBytesService) GetStringBytes

func (svc *StringBytesService) GetStringBytes(ctx context.Context, s string) ([]byte, error)

func (*StringBytesService) OptionsStringBytes

func (svc *StringBytesService) OptionsStringBytes(ctx context.Context, s string) ([]byte, error)

type StringReaderService

type StringReaderService struct {
}

func (*StringReaderService) GetStringRender

func (svc *StringReaderService) GetStringRender(ctx context.Context, s string) (io.Reader, error)

func (*StringReaderService) OptionsStringReader

func (svc *StringReaderService) OptionsStringReader(ctx context.Context, s string) (io.Reader, error)

type StringStringService

type StringStringService struct {
}

func (*StringStringService) GetStringString

func (svc *StringStringService) GetStringString(ctx context.Context, s string) (string, error)

func (*StringStringService) PatchStringString

func (svc *StringStringService) PatchStringString(ctx context.Context, s string) (string, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL