MCPcopy Create free account

hub / github.com/ardanlabs/kit / types & classes

Types & classes115 in github.com/ardanlabs/kit

↓ 1 callersTypeAliasTraceID
TraceID is represents the trace id.
examples/pool/main.go:27
StructAPointerError
mapstructure/mapstructure_test.go:1058
StructAddress
Address contains information about a user's address.
examples/web/internal/user/model.go:9
StructAnError
mapstructure/mapstructure_test.go:1030
StructAnimal
mapstructure/mapstructure_test.go:980
StructAnimal
mapstructure/mapstructure_examples_test.go:276
StructAnimal
examples/mapstructure/main.go:126
StructApp
App is the entrypoint into our application and what configures our context object for each of our http handlers. Feel free to add any configuration da
web/web.go:73
StructBasic
mapstructure/mapstructure_test.go:10
TypeAliasCltError
CltError provides support for multi client operations that might error.
tcp/tcp.go:42
StructCobrandContext
mapstructure/mapstructure_examples_test.go:309
StructConfig
Config provides a data structure of required configuration parameters.
udp/udp_config.go:9
StructConfig
Config provides configuration for the pool.
pool/pool.go:55
StructConfig
Config is a goroutine safe configuration store, with a map of values set from a config Provider.
cfg/cfg.go:15
StructConfig
Config provides a data structure of required configuration parameters.
tcp/tcp_config.go:17
InterfaceConnHandler
ConnHandler is implemented by the user to bind the listener to a reader and writer for processing.
udp/handlers.go:28
InterfaceConnHandler
ConnHandler is implemented by the user to bind the connection to a reader and writer for processing.
tcp/handlers.go:30
StructContext
mapstructure/mapstructure_test.go:1034
FuncTypeDecodeHookFunc
DecodeHookFunc declares a function to help with decoding.
mapstructure/mapstructure.go:13
StructDecoder
A Decoder takes a raw interface value and turns it into structured data, keeping track of rich error information along the way in case anything goes w
mapstructure/mapstructure.go:64
StructDecoderConfig
DecoderConfig is the configuration that is used to create a new decoder and allows customization of various aspects of decoding.
mapstructure/mapstructure.go:17
StructEmbedded
mapstructure/mapstructure_test.go:21
StructEmbeddedPointer
mapstructure/mapstructure_test.go:26
StructEmbeddedSquash
mapstructure/mapstructure_test.go:31
StructEnvProvider
EnvProvider provides configuration from the environment. All keys will be made uppercase.
cfg/env_provider.go:12
StructError
Error implements the error interface and can represents multiple errors that occur in the course of a single decode.
mapstructure/error.go:10
StructFileProvider
FileProvider describes a file based loader which loads the configuration from a file listed.
cfg/file_provider.go:11
StructGeoNamesTimezone
GeoNamesTimezone is the repsonse from the GeoNames timezone API.
timezone/timezone.go:27
StructGoogleTimezone
GoogleTimezone is the repsonse from the Google timezone API.
timezone/timezone.go:18
StructGroup
Group allows a segment of middleware to be shared amongst handlers.
web/web.go:141
FuncTypeHandler
A Handler is a type that handles an http request within our own little mini framework.
web/web.go:64
StructInvalid
Invalid describes a validation error belonging to a specific field.
web/reponse.go:41
TypeAliasInvalidError
InvalidError is a custom error type for invalid fields.
web/reponse.go:47
StructItems
mapstructure/mapstructure_test.go:989
StructItems
mapstructure/mapstructure_examples_test.go:285
StructItems
examples/mapstructure/main.go:136
StructJSONError
JSONError is the response for errors that occur within the API.
web/reponse.go:59
InterfaceJobber
Jobber defines an interface for providing the implementation details for processing a user job.
runner/runner.go:22
StructLogger
Logger contains a standard logger for all logging.
log/log.go:38
StructMap
mapstructure/mapstructure_test.go:36
StructMapOfStruct
mapstructure/mapstructure_test.go:41
StructMapProvider
MapProvider provides a simple implementation of the Provider whereby it just returns a stored map.
cfg/map_provider.go:5
StructMetadata
Metadata contains information about decoding a structure that is tedious or difficult to get otherwise.
mapstructure/mapstructure.go:70
FuncTypeMiddleware
A Middleware is a type that wraps a handler to remove boilerplate or other concerns not direct to any given Handler.
web/web.go:68
StructNameDoc
mapstructure/mapstructure_test.go:903
StructNameDoc
mapstructure/mapstructure_examples_test.go:225
StructNameDoc
examples/mapstructure/main.go:97
StructNested
mapstructure/mapstructure_test.go:45
StructNumberFormat
mapstructure/mapstructure_test.go:835
StructNumberFormat
mapstructure/mapstructure_examples_test.go:196
StructNumberFormat
examples/mapstructure/main.go:27
StructOptEvent
OptEvent defines an handler used to provide events.
udp/udp_config.go:4
StructOptEvent
OptEvent defines an handler used to provide events.
pool/pool.go:50
StructOptEvent
OptEvent defines an handler used to provide events.
tcp/tcp_config.go:12
StructOptRateLimit
OptRateLimit declares fields for the user to provide configuration for connection rate limit.
tcp/tcp_config.go:7
StructPeople
mapstructure/mapstructure_test.go:984
StructPeople
mapstructure/mapstructure_examples_test.go:280
StructPeople
examples/mapstructure/main.go:130
StructPerson
mapstructure/mapstructure_benchmark_test.go:8
StructPerson
mapstructure/mapstructure_examples_test.go:9
StructPool
Pool provides a pool of routines that can execute any Worker tasks that are submitted.
pool/pool.go:75
InterfaceProvider
Provider is implemented by the user to provide the configuration as a map. There are currently two Providers implemented, EnvProvider and MapProvider.
cfg/cfg.go:22
StructProxyResponseWriter
ProxyResponseWriter records the status code written by a call to the WriteHeader function on a http.ResponseWriter interface. This type also implement
web/proxy.go:8
InterfaceReqHandler
ReqHandler is implemented by the user to implement the processing of request messages from the client.
udp/handlers.go:36
InterfaceReqHandler
ReqHandler is implemented by the user to implement the processing of request messages from the client.
tcp/handlers.go:38
StructRequest
Request is the message received by the client.
udp/handlers.go:10
StructRequest
Request is the message received by the client.
tcp/handlers.go:11
InterfaceRespHandler
RespHandler is implemented by the user to implement the processing of the response messages to the client.
udp/handlers.go:50
InterfaceRespHandler
RespHandler is implemented by the user to implement the processing of the response messages to the client.
tcp/handlers.go:56
StructResponse
Response is message to send to the client.
udp/handlers.go:20
StructResponse
Response is message to send to the client.
tcp/handlers.go:22
StructRunner
Runner maintains state for the running process.
runner/runner.go:27
StructSlice
mapstructure/mapstructure_test.go:50
StructSliceOfStruct
mapstructure/mapstructure_test.go:55
StructStat
Stat contains information about the pool.
pool/pool.go:41
StructStat
Stat represents a client statistic.
tcp/tcp.go:386
StructTCP
TCP contains a set of networked client connections.
tcp/tcp.go:55
StructTagged
mapstructure/mapstructure_test.go:59
StructTask
============================================================================== Task represents a task we need to run.
examples/runner/main.go:49
StructTask
Task represents a task we need to run.
examples/pool/main.go:65
TypeAliasTraceIDKey
TraceIDKey is the type of value to use for the key. The key is type specific and only values of the same type will match.
examples/pool/main.go:31
StructTypeConversionResult
mapstructure/mapstructure_test.go:64
StructUDP
UDP manages message to a specific ip address and port.
udp/udp.go:29
StructUser
mapstructure/mapstructure_test.go:841
StructUser
mapstructure/mapstructure_examples_test.go:202
StructUser
examples/mapstructure/main.go:33
StructUser
User contains information about a user.
examples/web/internal/user/model.go:22
StructUserType
mapstructure/mapstructure_test.go:830
StructUserType
mapstructure/mapstructure_examples_test.go:191
StructUserType
examples/mapstructure/main.go:22
StructValues
============================================================================== Values extends the kit's value type stored inside the context.
examples/web/internal/sys/app/values.go:18
StructValues
Values represent state for each request.
web/web.go:56
InterfaceWorker
Worker must be implemented by types that want to use this worker processes.
pool/pool.go:30
StructYodleeError
mapstructure/mapstructure_examples_test.go:305
Structclient
client represents a single networked connection.
tcp/client.go:14
TypeAliasctxKey
Key represents the type of value for the context key.
examples/web/internal/sys/app/values.go:9
TypeAliasctxKey
Key represents the type of value for the context key.
web/web.go:50
StructdoWork
doWork is used internally to route work to the pool.
pool/pool.go:35
Structtask
============================================================================== task represents a test task.
runner/runner_test.go:22
StructtcpConnHandler
tcpConnHandler is required to process data.
examples/tcp/handlers.go:14
next →1–100 of 115, ranked by callers