MCPcopy Create free account

hub / github.com/cloud-native-go/examples / functions

Functions493 in github.com/cloud-native-go/examples

FunctionhelloGoHandler
(w http.ResponseWriter, r *http.Request)
ch05/ch05_02/corehttp.go:24
FunctionhelloMuxHandler
(w http.ResponseWriter, r *http.Request)
ch05/ch05_02/gorillamux.go:26
FunctionhelloWorldFunc
(cmd *cobra.Command, args []string)
ch10/cobra/hello.go:33
Functioninit
()
ch08/grpc/keyvalue/keyvalue.pb.go:393
Functioninit
()
ch10/cobra/main.go:31
Functioninit
()
ch10/flags-cobra/main.go:42
Functioninit
()
ch11/zap/main.go:26
Functioninit
()
ch11/otel-metric/main.go:50
Functioninit
()
ch07/lru/main.go:27
FunctionkeyFunc
(token *jwt.Token)
ch12/jwt/token.go:50
FunctionkeyValueDeleteHandler
(w http.ResponseWriter, r *http.Request)
ch05/ch05_0X_docker-non-root/service.go:85
FunctionkeyValueDeleteHandler
(w http.ResponseWriter, r *http.Request)
ch05/ch05_06/service.go:85
FunctionkeyValueDeleteHandler
(w http.ResponseWriter, r *http.Request)
ch05/ch05_05/service.go:85
FunctionkeyValueDeleteHandler
(w http.ResponseWriter, r *http.Request)
ch05/ch05_07/service.go:85
FunctionkeyValueDeleteHandler
(w http.ResponseWriter, r *http.Request)
ch05/ch05_08/service.go:85
FunctionkeyValueDeleteHandler
(w http.ResponseWriter, r *http.Request)
ch05/ch05_0X_pems/service.go:85
FunctionkeyValueDeleteHandler
(w http.ResponseWriter, r *http.Request)
ch05/ch05_03/service.go:80
FunctionkeyValueDeleteHandler
(w http.ResponseWriter, r *http.Request)
ch05/ch05_0X_dockerbuild/service.go:85
MethodkeyValueDeleteHandler
(w http.ResponseWriter, r *http.Request)
ch08/hexarch/frontend/rest.go:102
FunctionkeyValueGetHandler
(w http.ResponseWriter, r *http.Request)
ch05/ch05_0X_docker-non-root/service.go:66
FunctionkeyValueGetHandler
(w http.ResponseWriter, r *http.Request)
ch05/ch05_06/service.go:66
FunctionkeyValueGetHandler
(w http.ResponseWriter, r *http.Request)
ch05/ch05_05/service.go:66
FunctionkeyValueGetHandler
(w http.ResponseWriter, r *http.Request)
ch05/ch05_07/service.go:66
FunctionkeyValueGetHandler
(w http.ResponseWriter, r *http.Request)
ch05/ch05_08/service.go:66
FunctionkeyValueGetHandler
(w http.ResponseWriter, r *http.Request)
ch05/ch05_0X_pems/service.go:66
FunctionkeyValueGetHandler
(w http.ResponseWriter, r *http.Request)
ch05/ch05_03/service.go:61
FunctionkeyValueGetHandler
(w http.ResponseWriter, r *http.Request)
ch05/ch05_0X_dockerbuild/service.go:66
MethodkeyValueGetHandler
(w http.ResponseWriter, r *http.Request)
ch08/hexarch/frontend/rest.go:83
FunctionkeyValuePutHandler
(w http.ResponseWriter, r *http.Request)
ch05/ch05_0X_docker-non-root/service.go:42
FunctionkeyValuePutHandler
(w http.ResponseWriter, r *http.Request)
ch05/ch05_06/service.go:42
FunctionkeyValuePutHandler
(w http.ResponseWriter, r *http.Request)
ch05/ch05_05/service.go:42
FunctionkeyValuePutHandler
(w http.ResponseWriter, r *http.Request)
ch05/ch05_07/service.go:42
FunctionkeyValuePutHandler
(w http.ResponseWriter, r *http.Request)
ch05/ch05_08/service.go:42
FunctionkeyValuePutHandler
(w http.ResponseWriter, r *http.Request)
ch05/ch05_0X_pems/service.go:42
FunctionkeyValuePutHandler
(w http.ResponseWriter, r *http.Request)
ch05/ch05_03/service.go:39
FunctionkeyValuePutHandler
(w http.ResponseWriter, r *http.Request)
ch05/ch05_0X_dockerbuild/service.go:42
MethodkeyValuePutHandler
(w http.ResponseWriter, r *http.Request)
ch08/hexarch/frontend/rest.go:61
FunctionloggingMiddleware
(next http.Handler)
ch05/ch05_0X_docker-non-root/service.go:31
FunctionloggingMiddleware
(next http.Handler)
ch05/ch05_06/service.go:31
FunctionloggingMiddleware
(next http.Handler)
ch05/ch05_05/service.go:31
FunctionloggingMiddleware
(next http.Handler)
ch05/ch05_07/service.go:31
FunctionloggingMiddleware
(next http.Handler)
ch05/ch05_08/service.go:31
FunctionloggingMiddleware
(next http.Handler)
ch05/ch05_0X_pems/service.go:31
FunctionloggingMiddleware
(next http.Handler)
ch05/ch05_03/service.go:28
FunctionloggingMiddleware
(next http.Handler)
ch05/ch05_0X_dockerbuild/service.go:31
MethodloggingMiddleware
(next http.Handler)
ch08/hexarch/frontend/rest.go:50
Functionmain
()
ch12/symmetric/main.go:90
Functionmain
()
ch12/asymmetric/main.go:81
Functionmain
()
ch12/jwt/main.go:25
Functionmain
()
ch08/grpc/keyvalue_client/client.go:30
Functionmain
()
ch08/grpc/keyvalue_server/service.go:46
Functionmain
()
ch08/hexarch/main.go:27
Functionmain
()
ch08/go-plugin/main/main.go:30
Functionmain
()
ch08/hashicorp-plugin/main/main.go:28
Functionmain
()
ch08/hashicorp-plugin/duck/duck.go:31
Functionmain
()
ch09/graceful-shutdown/main.go:28
Functionmain
()
ch09/backoff-simulator/main.go:53
Functionmain
()
ch09/tokenbucketv2/main.go:56
Functionmain
()
ch09/http-healthz/main.go:26
Functionmain
()
ch05/ch05_0X_docker-non-root/service.go:134
Functionmain
()
ch05/ch05_06/service.go:134
Functionmain
()
ch05/ch05_05/service.go:134
Functionmain
()
ch05/ch05_07/service.go:134
Functionmain
()
ch05/ch05_08/service.go:145
Functionmain
()
ch05/gen_certs/main.go:41
Functionmain
()
ch05/ch05_0X_pems/service.go:134
Functionmain
()
ch05/ch05_03/service.go:93
Functionmain
()
ch05/ch05_02/gorillamux.go:30
Functionmain
()
ch05/ch05_02/corehttp.go:28
Functionmain
()
ch05/ch05_0X_dockerbuild/service.go:134
Functionmain
()
ch10/flags/main.go:24
Functionmain
()
ch10/cobra/main.go:40
Functionmain
()
ch10/flags-cobra/main.go:57
Functionmain
()
ch11/zap/main.go:46
Functionmain
()
ch11/otel-metric/main.go:54
Functionmain
()
ch11/otel-trace/main.go:86
Functionmain
()
ch07/lru/main.go:35
MethodmustEmbedUnimplementedKeyValueServer
()
ch08/grpc/keyvalue/keyvalue_grpc.pb.go:84
MethodmustEmbedUnimplementedKeyValueServer
()
ch08/grpc/keyvalue/keyvalue_grpc.pb.go:100
FunctionnotAllowedHandler
(w http.ResponseWriter, r *http.Request)
ch05/ch05_0X_docker-non-root/service.go:38
FunctionnotAllowedHandler
(w http.ResponseWriter, r *http.Request)
ch05/ch05_06/service.go:38
FunctionnotAllowedHandler
(w http.ResponseWriter, r *http.Request)
ch05/ch05_05/service.go:38
FunctionnotAllowedHandler
(w http.ResponseWriter, r *http.Request)
ch05/ch05_07/service.go:38
FunctionnotAllowedHandler
(w http.ResponseWriter, r *http.Request)
ch05/ch05_08/service.go:38
FunctionnotAllowedHandler
(w http.ResponseWriter, r *http.Request)
ch05/ch05_0X_pems/service.go:38
FunctionnotAllowedHandler
(w http.ResponseWriter, r *http.Request)
ch05/ch05_03/service.go:35
FunctionnotAllowedHandler
(w http.ResponseWriter, r *http.Request)
ch05/ch05_0X_dockerbuild/service.go:38
MethodnotAllowedHandler
(w http.ResponseWriter, r *http.Request)
ch08/hexarch/frontend/rest.go:57
FunctionthrottledHandler
(w http.ResponseWriter, r *http.Request)
ch09/tokenbucketv2/main.go:39
FunctionwithDelayedBackoff
Using withDelayedBackoff as the backoff function sends retries after a two-second delay.
ch09/backoff-simulator/main.go:105
FunctionwithExponentialBackoff
Using withExponentialBackoff as the backoff function sends retries initially with a 1-second delay, but doubling after each attempt to a maximum delay
ch09/backoff-simulator/main.go:118
FunctionwithExponentialBackoffAndJitter
Using withExponentialBackoff as the backoff function sends retries initially with a 1-second delay, but doubling after each attempt to a maximum delay
ch09/backoff-simulator/main.go:136
FunctionwithNoBackoff
Using withNoBackoff as the backoff function sends retries as quickly as possible, with no backoff of any kind.
ch09/backoff-simulator/main.go:94
← previous401–493 of 493, ranked by callers