Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Ayiga/go-kit-middlewarer
/ functions
Functions
164 in github.com/Ayiga/go-kit-middlewarer
⨍
Functions
164
◇
Types & classes
39
Method
Error
implements the error interface.
mux/adapter/gorilla/router.go:18
Method
GetMime
()
encoding/request_response_test.go:12
Function
GobGenerateDecoder
GobGenerateDecoder returns a GOB Decoder
encoding/gob.go:16
Function
GobGenerateEncoder
GobGenerateEncoder returns a GOB Encoder
encoding/gob.go:21
Method
Handle
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
Method
HandleFunc
HandleFunc registers the handler function for the given pattern.
mux/adapter/gorilla/router.go:37
Function
JSONGenerateDecoder
JSONGenerateDecoder returns a JSON Decoder
encoding/json.go:17
Function
JSONGenerateEncoder
JSONGenerateEncoder returns a JSON Encoder
encoding/json.go:22
Function
MakeErrorEncoder
MakeErrorEncoder will take a generic GenerateEncoder function and will return an ErrorEncoder
encoding/encoder.go:54
Function
NewRouter
NewRouter returns a new Router, wrapping the given gorilla mux Router.
mux/adapter/gorilla/router.go:23
Function
RegisterError
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
Method
ServeHTTP
ServerHTTP implements net/http.Handler
mux/adapter/gorilla/router.go:42
Method
SetMime
(mime string)
encoding/request_response_test.go:20
Function
TestAcceptParsing1
(t *testing.T)
encoding/accept_mime_preference_test.go:13
Function
TestDecodeCustomDecodableErrorGob
(t *testing.T)
encoding/wrapper_error_test.go:271
Function
TestDecodeCustomDecodableErrorJSON
(t *testing.T)
encoding/wrapper_error_test.go:163
Function
TestDecodeCustomDecodableErrorXML
(t *testing.T)
encoding/wrapper_error_test.go:217
Function
TestDecodeErrorGob
(t *testing.T)
encoding/wrapper_error_test.go:105
Function
TestDecodeErrorJSON
(t *testing.T)
encoding/wrapper_error_test.go:17
Function
TestDecodeErrorXML
(t *testing.T)
encoding/wrapper_error_test.go:61
Function
TestDefaultErrorEncodingDecode
(t *testing.T)
encoding/default_error_test.go:15
Function
TestDefaultErrorEncodingDecodeWithDefinitiveTypeDecoder
(t *testing.T)
encoding/default_error_test.go:46
Function
TestEncodeDecodeHTTPErrorJSON
(t *testing.T)
encoding/wrapper_error_test.go:325
Function
TestEncodeDecodeHTTPErrorXML
(t *testing.T)
encoding/wrapper_error_test.go:395
Function
TestGobEncodeDecodeRequest
(t *testing.T)
encoding/encode_decode_test.go:140
Function
TestGobEncodeDecodeResponse
(t *testing.T)
encoding/encode_decode_test.go:282
Function
TestGobRequestSniff1
(t *testing.T)
encoding/sniff_test.go:110
Function
TestGobResponseSniff1
(t *testing.T)
encoding/sniff_test.go:264
Function
TestJSONEncodeDecodeRequest
(t *testing.T)
encoding/encode_decode_test.go:15
Function
TestJSONRequestSniff1
(t *testing.T)
encoding/sniff_test.go:14
Function
TestJSONResponseSniff1
(t *testing.T)
encoding/sniff_test.go:164
Function
TestXMLEncodeDecodeRequest
(t *testing.T)
encoding/encode_decode_test.go:77
Function
TestXMLEncodeDecodeResponse
(t *testing.T)
encoding/encode_decode_test.go:219
Function
TestXMLRequestSniff1
(t *testing.T)
encoding/sniff_test.go:62
Function
TestXMLResponseSniff1
(t *testing.T)
encoding/sniff_test.go:214
Method
TypeName
()
type.go:31
Method
UnmarshalJSON
implements encoding/json.Unmarshaler
encoding/wrapper_error.go:34
Method
UnmarshalXML
implements encoding/xml.Unmarshaler
encoding/wrapper_error.go:96
Method
Uppercase
Uppercase implements StringService
examples/stringsvc/cmd/stringsvc2/implementation.go:13
Method
Uppercase
Uppercase implements StringService
examples/stringsvc/cmd/stringsvc/main.go:20
Function
Usage
Usage is a replacement usage function for the flags package
main.go:30
Function
XMLGenerateDecoder
XMLGenerateDecoder returns an XML Decoder
encoding/xml.go:17
Function
XMLGenerateEncoder
XMLGenerateEncoder returns an XML Encoder
encoding/xml.go:22
Function
createTemplateParam
(p Param)
template-structures.go:26
Function
filteredExtraImports
(i Interface, imps []Import)
template-structures.go:228
Method
format
format returns gofmt-ed contents of the Generator's buffer.
generator.go:152
Method
genImportsAndTypes
genImportsAndTypes, false says we've consumed the entry down, and not to inform us of sub-entries
file.go:24
Function
init
()
logging.go:10
Function
init
()
process-logging.go:50
Function
init
()
process-endpoint.go:41
Function
init
()
process-transport.go:156
Function
init
()
main.go:20
Function
init
()
encoding/gob.go:10
Function
init
()
encoding/xml.go:10
Function
init
()
encoding/wrapper_error.go:13
Function
init
()
encoding/wrapper_error_test.go:158
Function
init
()
encoding/json.go:10
Function
init
()
examples/stringsvc/cmd/stringsvc2/main.go:23
Function
main
()
main.go:35
Function
main
()
examples/stringsvc/cmd/stringsvc2/main.go:32
Function
main
()
examples/stringsvc/cmd/stringsvc/main.go:29
Function
processEndpoint
(g *Generator, f *File)
process-endpoint.go:12
Function
processLogging
(g *Generator, f *File)
process-logging.go:12
Function
processTransport
(g *Generator, f *File)
process-transport.go:137
← previous
101–164 of 164, ranked by callers