Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminServer ¶
type AdminServer struct {
// contains filtered or unexported fields
}
AdminServer answers to administration requests.
func NewAdminServer ¶
func NewAdminServer() *AdminServer
NewAdminServer creates a new administration server.
func (*AdminServer) ServeHTTP ¶
func (s *AdminServer) ServeHTTP(w http.ResponseWriter, r *http.Request)
type MinioAdapter ¶
type NotifyAdapter ¶
type NotifyAdapter struct {
NotifierClient pb.NotifierClient
}
type ServiceServer ¶
type ServiceServer struct { Storage *MinioAdapter Notify *NotifyAdapter FrontendURL string Upgrader websocket.Upgrader }
ServiceServer executes the users requests.
func NewServiceServer ¶
func NewServiceServer() *ServiceServer
NewServiceServer creates a new service server and initiates the routes.
func (*ServiceServer) ServeHTTP ¶
func (s *ServiceServer) ServeHTTP(w http.ResponseWriter, r *http.Request)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.