Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
ListenAddr string `json:"listen_addr" yaml:"listen_addr" env:"CONTENT_SERVICE_SERVER_LISTEN_ADDR"`
}
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func New ¶
func New(fileMessagesChan chan minioHandler.FileMessage, minioHandler *minioHandler.MinioHandler, authHandler *authHandler.AuthHandler) *Server
func (*Server) AuthenticationMiddleware ¶
func (*Server) LoggingMiddleware ¶
type StatusRecorder ¶
type StatusRecorder struct { http.ResponseWriter Status int }
func (*StatusRecorder) WriteHeader ¶
func (sr *StatusRecorder) WriteHeader(status int)
Click to show internal directories.
Click to hide internal directories.