MCPcopy Create free account

hub / github.com/Ayiga/go-kit-middlewarer / functions

Functions164 in github.com/Ayiga/go-kit-middlewarer

MethodError
implements the error interface.
mux/adapter/gorilla/router.go:18
MethodGetMime
()
encoding/request_response_test.go:12
FunctionGobGenerateDecoder
GobGenerateDecoder returns a GOB Decoder
encoding/gob.go:16
FunctionGobGenerateEncoder
GobGenerateEncoder returns a GOB Encoder
encoding/gob.go:21
MethodHandle
Handle registers the handler for the given pattern. According to net/http.ServeMux If a handler already exists for pattern, the Handle invocation pani
mux/adapter/gorilla/router.go:32
MethodHandleFunc
HandleFunc registers the handler function for the given pattern.
mux/adapter/gorilla/router.go:37
FunctionJSONGenerateDecoder
JSONGenerateDecoder returns a JSON Decoder
encoding/json.go:17
FunctionJSONGenerateEncoder
JSONGenerateEncoder returns a JSON Encoder
encoding/json.go:22
FunctionMakeErrorEncoder
MakeErrorEncoder will take a generic GenerateEncoder function and will return an ErrorEncoder
encoding/encoder.go:54
FunctionNewRouter
NewRouter returns a new Router, wrapping the given gorilla mux Router.
mux/adapter/gorilla/router.go:23
FunctionRegisterError
RegisterError will attempt to register the given Error with the encoders / decoders and will make it available for Decoding errors for the encoders /
encoding/wrapper_error.go:173
MethodServeHTTP
ServerHTTP implements net/http.Handler
mux/adapter/gorilla/router.go:42
MethodSetMime
(mime string)
encoding/request_response_test.go:20
FunctionTestAcceptParsing1
(t *testing.T)
encoding/accept_mime_preference_test.go:13
FunctionTestDecodeCustomDecodableErrorGob
(t *testing.T)
encoding/wrapper_error_test.go:271
FunctionTestDecodeCustomDecodableErrorJSON
(t *testing.T)
encoding/wrapper_error_test.go:163
FunctionTestDecodeCustomDecodableErrorXML
(t *testing.T)
encoding/wrapper_error_test.go:217
FunctionTestDecodeErrorGob
(t *testing.T)
encoding/wrapper_error_test.go:105
FunctionTestDecodeErrorJSON
(t *testing.T)
encoding/wrapper_error_test.go:17
FunctionTestDecodeErrorXML
(t *testing.T)
encoding/wrapper_error_test.go:61
FunctionTestDefaultErrorEncodingDecode
(t *testing.T)
encoding/default_error_test.go:15
FunctionTestDefaultErrorEncodingDecodeWithDefinitiveTypeDecoder
(t *testing.T)
encoding/default_error_test.go:46
FunctionTestEncodeDecodeHTTPErrorJSON
(t *testing.T)
encoding/wrapper_error_test.go:325
FunctionTestEncodeDecodeHTTPErrorXML
(t *testing.T)
encoding/wrapper_error_test.go:395
FunctionTestGobEncodeDecodeRequest
(t *testing.T)
encoding/encode_decode_test.go:140
FunctionTestGobEncodeDecodeResponse
(t *testing.T)
encoding/encode_decode_test.go:282
FunctionTestGobRequestSniff1
(t *testing.T)
encoding/sniff_test.go:110
FunctionTestGobResponseSniff1
(t *testing.T)
encoding/sniff_test.go:264
FunctionTestJSONEncodeDecodeRequest
(t *testing.T)
encoding/encode_decode_test.go:15
FunctionTestJSONRequestSniff1
(t *testing.T)
encoding/sniff_test.go:14
FunctionTestJSONResponseSniff1
(t *testing.T)
encoding/sniff_test.go:164
FunctionTestXMLEncodeDecodeRequest
(t *testing.T)
encoding/encode_decode_test.go:77
FunctionTestXMLEncodeDecodeResponse
(t *testing.T)
encoding/encode_decode_test.go:219
FunctionTestXMLRequestSniff1
(t *testing.T)
encoding/sniff_test.go:62
FunctionTestXMLResponseSniff1
(t *testing.T)
encoding/sniff_test.go:214
MethodTypeName
()
type.go:31
MethodUnmarshalJSON
implements encoding/json.Unmarshaler
encoding/wrapper_error.go:34
MethodUnmarshalXML
implements encoding/xml.Unmarshaler
encoding/wrapper_error.go:96
MethodUppercase
Uppercase implements StringService
examples/stringsvc/cmd/stringsvc2/implementation.go:13
MethodUppercase
Uppercase implements StringService
examples/stringsvc/cmd/stringsvc/main.go:20
FunctionUsage
Usage is a replacement usage function for the flags package
main.go:30
FunctionXMLGenerateDecoder
XMLGenerateDecoder returns an XML Decoder
encoding/xml.go:17
FunctionXMLGenerateEncoder
XMLGenerateEncoder returns an XML Encoder
encoding/xml.go:22
FunctioncreateTemplateParam
(p Param)
template-structures.go:26
FunctionfilteredExtraImports
(i Interface, imps []Import)
template-structures.go:228
Methodformat
format returns gofmt-ed contents of the Generator's buffer.
generator.go:152
MethodgenImportsAndTypes
genImportsAndTypes, false says we've consumed the entry down, and not to inform us of sub-entries
file.go:24
Functioninit
()
logging.go:10
Functioninit
()
process-logging.go:50
Functioninit
()
process-endpoint.go:41
Functioninit
()
process-transport.go:156
Functioninit
()
main.go:20
Functioninit
()
encoding/gob.go:10
Functioninit
()
encoding/xml.go:10
Functioninit
()
encoding/wrapper_error.go:13
Functioninit
()
encoding/wrapper_error_test.go:158
Functioninit
()
encoding/json.go:10
Functioninit
()
examples/stringsvc/cmd/stringsvc2/main.go:23
Functionmain
()
main.go:35
Functionmain
()
examples/stringsvc/cmd/stringsvc2/main.go:32
Functionmain
()
examples/stringsvc/cmd/stringsvc/main.go:29
FunctionprocessEndpoint
(g *Generator, f *File)
process-endpoint.go:12
FunctionprocessLogging
(g *Generator, f *File)
process-logging.go:12
FunctionprocessTransport
(g *Generator, f *File)
process-transport.go:137
← previous101–164 of 164, ranked by callers