Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ShutdownServer ¶
func StartServer ¶
func StartServer(srv *http.Server, l *zap.SugaredLogger, errchan chan error)
Types ¶
type TransportHttp ¶
type TransportHttp struct {
// contains filtered or unexported fields
}
func NewTransportHttp ¶
func NewTransportHttp(ctx context.Context, postgresCli *postgres.PostgresClient, fanInEvent <-chan eventbus.Topic) (*TransportHttp, error)
func (*TransportHttp) ServeHTTP ¶
func (tr *TransportHttp) ServeHTTP(w http.ResponseWriter, r *http.Request)
ServeHTTP faz o TransportHttp implementar a interface http.Handler
Click to show internal directories.
Click to hide internal directories.