MCPcopy Create free account

hub / github.com/cloud-native-go/examples / types & classes

Types & classes72 in github.com/cloud-native-go/examples

FuncTypeCircuit
func(context.Context) (string, error)
ch04/circuitbreaker.go:26
StructCustomClaims
ch12/jwt/token.go:26
StructDeleteRequest
DeleteRequest represents a request to the key-value store to delete the record associated with a key
ch08/grpc/keyvalue/keyvalue.pb.go:242
StructDeleteResponse
DeleteResponse represents a response from the key-value store for a Delete action.
ch08/grpc/keyvalue/keyvalue.pb.go:291
StructDuck
Here is a real implementation of Sayer
ch08/hashicorp-plugin/duck/duck.go:25
FuncTypeEffector
Effector is the function that you want to subject to throttling.
ch09/tokenbucketv2/throttle.go:25
FuncTypeEffector
func(context.Context) (string, error)
ch04/throttle.go:26
StructEvent
ch08/hexarch/core/plug_transact.go:27
StructEvent
ch05/ch05_0X_docker-non-root/transact.go:35
StructEvent
ch05/ch05_06/transact.go:35
StructEvent
ch05/ch05_05/transact.go:35
StructEvent
ch05/ch05_07/transact.go:35
StructEvent
ch05/ch05_08/logger.go:27
StructEvent
ch05/ch05_0X_pems/transact.go:35
StructEvent
ch05/ch05_0X_dockerbuild/transact.go:35
TypeAliasEventType
ch08/hexarch/core/plug_transact.go:19
TypeAliasEventType
ch05/ch05_0X_docker-non-root/transact.go:27
TypeAliasEventType
ch05/ch05_06/transact.go:27
TypeAliasEventType
ch05/ch05_05/transact.go:27
TypeAliasEventType
ch05/ch05_07/transact.go:27
TypeAliasEventType
ch05/ch05_08/logger.go:19
TypeAliasEventType
ch05/ch05_0X_pems/transact.go:27
TypeAliasEventType
ch05/ch05_0X_dockerbuild/transact.go:27
StructFileTransactionLogger
ch08/hexarch/transact/filelogger.go:29
StructFileTransactionLogger
ch05/ch05_08/filelogger.go:27
InterfaceFrontEnd
ch08/hexarch/frontend/frontend.go:23
InterfaceFuture
ch04/future.go:25
StructGetRequest
GetRequest represents a request to the key-value store for the value associated with a particular key
ch08/grpc/keyvalue/keyvalue.pb.go:47
StructGetResponse
GetResponse represents a response from the key-value store for a particular value
ch08/grpc/keyvalue/keyvalue.pb.go:96
StructHealth
ch09/http-healthz/compound.go:28
StructInnerFuture
ch04/future.go:29
InterfaceKeyValueClient
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
InterfaceKeyValueServer
KeyValueServer is the server API for KeyValue service. All implementations must embed UnimplementedKeyValueServer for forward compatibility
ch08/grpc/keyvalue/keyvalue_grpc.pb.go:80
StructKeyValueStore
ch08/hexarch/core/core.go:25
StructPostgresDbParams
ch08/hexarch/transact/pglogger.go:29
StructPostgresDbParams
ch05/ch05_08/pglogger.go:28
StructPostgresTransactionLogger
ch08/hexarch/transact/pglogger.go:36
StructPostgresTransactionLogger
ch05/ch05_08/pglogger.go:35
StructPutRequest
PutRequest represents a request to the key-value store for the value associated with a particular key
ch08/grpc/keyvalue/keyvalue.pb.go:145
StructPutResponse
PutResponse represents a response from the key-value store for a Put action.
ch08/grpc/keyvalue/keyvalue.pb.go:202
InterfaceSayer
Sayer says what an animal says.
ch08/go-plugin/main/main.go:26
InterfaceSayer
Sayer says what an animal says.
ch08/hashicorp-plugin/commons/commons.go:26
StructSayerPlugin
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
StructSayerRPC
Here is an implementation that talks over RPC
ch08/hashicorp-plugin/commons/commons.go:31
StructSayerRPCServer
Here is the RPC server that SayerRPC talks to, conforming to the requirements of net/rpc
ch08/hashicorp-plugin/commons/commons.go:47
StructService
ch09/http-healthz/deep.go:41
StructShard
ch04/sharding.go:25
TypeAliasShardedMap
ch04/sharding.go:30
StructTestTransactionLogger
ch08/hexarch/transact/testlogger.go:23
FuncTypeThrottled
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
FuncTypeTimeoutFunction
func(string) (string, error)
ch04/timeout.go:21
InterfaceTransactionLogger
ch08/hexarch/core/plug_transact.go:34
InterfaceTransactionLogger
ch05/ch05_08/logger.go:34
StructTransactionLogger
ch05/ch05_0X_docker-non-root/transact.go:42
StructTransactionLogger
ch05/ch05_06/transact.go:42
StructTransactionLogger
ch05/ch05_05/transact.go:42
StructTransactionLogger
ch05/ch05_07/transact.go:42
StructTransactionLogger
ch05/ch05_0X_pems/transact.go:42
StructTransactionLogger
ch05/ch05_0X_dockerbuild/transact.go:42
StructUnimplementedKeyValueServer
UnimplementedKeyValueServer must be embedded to have forward compatible implementations.
ch08/grpc/keyvalue/keyvalue_grpc.pb.go:88
FuncTypeWithContext
func(context.Context, string) (string, error)
ch04/timeout.go:23
StructZeroTransactionLogger
ch08/hexarch/core/core.go:112
Structbucket
A bucket tracks the requests associated with a uid.
ch09/tokenbucketv2/throttle.go:33
Structduck
ch08/go-plugin/duck/duck.go:19
Structfox
ch08/go-plugin/fox/fox.go:19
Structfrog
ch08/go-plugin/frog/frog.go:19
Structinput
ch04/chord.go:22
StructkeyValueClient
ch08/grpc/keyvalue/keyvalue_grpc.pb.go:42
StructrestFrontEnd
ch08/hexarch/frontend/rest.go:29
Structserver
ch08/grpc/keyvalue_server/service.go:28
Structx
ch08/grpc/keyvalue/keyvalue.pb.go:472
StructzeroFrontEnd
ch08/hexarch/frontend/frontend.go:27