package
1.0.1-rc2
Repository: https://github.com/stack-labs/stack.git
Documentation: pkg.go.dev

# Packages

Package grpc provides a grpc server.
Package http implements a go-micro.Server.
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

Address to bind to - host:port.
The address to advertise for discovery - host:port.
Broker to use for pub/sub.
Codec to use to encode/decode requests for a given content type.
DisableAutoAck will disable auto acking of messages after they have been handled.
No description provided by the author
EndpointMetadata is a Handler option that allows metadata to be added to individual endpoints.
Unique server id.
Internal Handler options specifies that a handler is not advertised to the discovery system.
Internal Subscriber options specifies that a subscriber is not advertised to the discovery system.
Metadata associated with the server.
Server name.
No description provided by the author
Unique server id.
RegisterCheck run func before registry service.
Register the service with at interval.
Register the service with a TTL.
Registry used for discovery.
SubscriberContext set context options to allow broker SubscriberOption passed.
Shared queue name distributed messages across subscribers.
Transport mechanism for communication e.g http, rabbitmq, etc.
Version of the service.
Wait tells the server to wait for requests to finish before exiting If `wg` is nil, server only wait for completion of rpc handler.
WithRouter sets the request router.
Adds a handler Wrapper to a list of options passed into the server.
Adds a subscriber Wrapper to a list of options passed into the server.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

Handler interface represents a request handler.
Message is an async message interface.
Request is a synchronous request interface.
Response is the response writer for unencoded messages.
Router handle serving messages.
Server is a simple stack server abstraction.
Stream represents a stream established with a client.
Subscriber interface represents a subscription to a given topic using a specific subscriber function or object with endpoints.

# Type aliases

HandlerFunc represents a single method of a handler.
No description provided by the author
HandlerWrapper wraps the HandlerFunc and returns the equivalent.
No description provided by the author
StreamWrapper wraps a Stream interface and returns the equivalent.
SubscriberFunc represents a single method of a subscriber.
No description provided by the author
SubscriberWrapper wraps the SubscriberFunc and returns the equivalent.