Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloud-native-go/examples
/ types & classes
Types & classes
72 in github.com/cloud-native-go/examples
⨍
Functions
493
◇
Types & classes
72
FuncType
Circuit
func(context.Context) (string, error)
ch04/circuitbreaker.go:26
Struct
CustomClaims
ch12/jwt/token.go:26
Struct
DeleteRequest
DeleteRequest represents a request to the key-value store to delete the record associated with a key
ch08/grpc/keyvalue/keyvalue.pb.go:242
Struct
DeleteResponse
DeleteResponse represents a response from the key-value store for a Delete action.
ch08/grpc/keyvalue/keyvalue.pb.go:291
Struct
Duck
Here is a real implementation of Sayer
ch08/hashicorp-plugin/duck/duck.go:25
FuncType
Effector
Effector is the function that you want to subject to throttling.
ch09/tokenbucketv2/throttle.go:25
FuncType
Effector
func(context.Context) (string, error)
ch04/throttle.go:26
Struct
Event
ch08/hexarch/core/plug_transact.go:27
Struct
Event
ch05/ch05_0X_docker-non-root/transact.go:35
Struct
Event
ch05/ch05_06/transact.go:35
Struct
Event
ch05/ch05_05/transact.go:35
Struct
Event
ch05/ch05_07/transact.go:35
Struct
Event
ch05/ch05_08/logger.go:27
Struct
Event
ch05/ch05_0X_pems/transact.go:35
Struct
Event
ch05/ch05_0X_dockerbuild/transact.go:35
TypeAlias
EventType
ch08/hexarch/core/plug_transact.go:19
TypeAlias
EventType
ch05/ch05_0X_docker-non-root/transact.go:27
TypeAlias
EventType
ch05/ch05_06/transact.go:27
TypeAlias
EventType
ch05/ch05_05/transact.go:27
TypeAlias
EventType
ch05/ch05_07/transact.go:27
TypeAlias
EventType
ch05/ch05_08/logger.go:19
TypeAlias
EventType
ch05/ch05_0X_pems/transact.go:27
TypeAlias
EventType
ch05/ch05_0X_dockerbuild/transact.go:27
Struct
FileTransactionLogger
ch08/hexarch/transact/filelogger.go:29
Struct
FileTransactionLogger
ch05/ch05_08/filelogger.go:27
Interface
FrontEnd
ch08/hexarch/frontend/frontend.go:23
Interface
Future
ch04/future.go:25
Struct
GetRequest
GetRequest represents a request to the key-value store for the value associated with a particular key
ch08/grpc/keyvalue/keyvalue.pb.go:47
Struct
GetResponse
GetResponse represents a response from the key-value store for a particular value
ch08/grpc/keyvalue/keyvalue.pb.go:96
Struct
Health
ch09/http-healthz/compound.go:28
Struct
InnerFuture
ch04/future.go:29
Interface
KeyValueClient
KeyValueClient is the client API for KeyValue service. For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go
ch08/grpc/keyvalue/keyvalue_grpc.pb.go:36
Interface
KeyValueServer
KeyValueServer is the server API for KeyValue service. All implementations must embed UnimplementedKeyValueServer for forward compatibility
ch08/grpc/keyvalue/keyvalue_grpc.pb.go:80
Struct
KeyValueStore
ch08/hexarch/core/core.go:25
Struct
PostgresDbParams
ch08/hexarch/transact/pglogger.go:29
Struct
PostgresDbParams
ch05/ch05_08/pglogger.go:28
Struct
PostgresTransactionLogger
ch08/hexarch/transact/pglogger.go:36
Struct
PostgresTransactionLogger
ch05/ch05_08/pglogger.go:35
Struct
PutRequest
PutRequest represents a request to the key-value store for the value associated with a particular key
ch08/grpc/keyvalue/keyvalue.pb.go:145
Struct
PutResponse
PutResponse represents a response from the key-value store for a Put action.
ch08/grpc/keyvalue/keyvalue.pb.go:202
Interface
Sayer
Sayer says what an animal says.
ch08/go-plugin/main/main.go:26
Interface
Sayer
Sayer says what an animal says.
ch08/hashicorp-plugin/commons/commons.go:26
Struct
SayerPlugin
This is the implementation of plugin.Plugin so we can serve/consume this This has two methods: Server must return an RPC server for this plugin type.
ch08/hashicorp-plugin/commons/commons.go:67
Struct
SayerRPC
Here is an implementation that talks over RPC
ch08/hashicorp-plugin/commons/commons.go:31
Struct
SayerRPCServer
Here is the RPC server that SayerRPC talks to, conforming to the requirements of net/rpc
ch08/hashicorp-plugin/commons/commons.go:47
Struct
Service
ch09/http-healthz/deep.go:41
Struct
Shard
ch04/sharding.go:25
TypeAlias
ShardedMap
ch04/sharding.go:30
Struct
TestTransactionLogger
ch08/hexarch/transact/testlogger.go:23
FuncType
Throttled
Throttled wraps an Effector. It accepts the same parameters, plus a "uid" string that represents a caller identity. It returns the same, plus a bool t
ch09/tokenbucketv2/throttle.go:30
FuncType
TimeoutFunction
func(string) (string, error)
ch04/timeout.go:21
Interface
TransactionLogger
ch08/hexarch/core/plug_transact.go:34
Interface
TransactionLogger
ch05/ch05_08/logger.go:34
Struct
TransactionLogger
ch05/ch05_0X_docker-non-root/transact.go:42
Struct
TransactionLogger
ch05/ch05_06/transact.go:42
Struct
TransactionLogger
ch05/ch05_05/transact.go:42
Struct
TransactionLogger
ch05/ch05_07/transact.go:42
Struct
TransactionLogger
ch05/ch05_0X_pems/transact.go:42
Struct
TransactionLogger
ch05/ch05_0X_dockerbuild/transact.go:42
Struct
UnimplementedKeyValueServer
UnimplementedKeyValueServer must be embedded to have forward compatible implementations.
ch08/grpc/keyvalue/keyvalue_grpc.pb.go:88
FuncType
WithContext
func(context.Context, string) (string, error)
ch04/timeout.go:23
Struct
ZeroTransactionLogger
ch08/hexarch/core/core.go:112
Struct
bucket
A bucket tracks the requests associated with a uid.
ch09/tokenbucketv2/throttle.go:33
Struct
duck
ch08/go-plugin/duck/duck.go:19
Struct
fox
ch08/go-plugin/fox/fox.go:19
Struct
frog
ch08/go-plugin/frog/frog.go:19
Struct
input
ch04/chord.go:22
Struct
keyValueClient
ch08/grpc/keyvalue/keyvalue_grpc.pb.go:42
Struct
restFrontEnd
ch08/hexarch/frontend/rest.go:29
Struct
server
ch08/grpc/keyvalue_server/service.go:28
Struct
x
ch08/grpc/keyvalue/keyvalue.pb.go:472
Struct
zeroFrontEnd
ch08/hexarch/frontend/frontend.go:27