Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( AdminPrefix = "/__admin/" APIPrefix = mustJoinURLPath(AdminPrefix, "/api/") UIPrefix = mustJoinURLPath(AdminPrefix, "/ui/") SnapshotPrefix = mustJoinURLPath(APIPrefix, "/snapshot/") Endpoints = struct { Base string API string UI string Echo string SnapshotStream string }{ Base: AdminPrefix, API: APIPrefix, UI: UIPrefix, Echo: mustJoinURLPath(APIPrefix, "echo"), SnapshotStream: mustJoinURLPath(SnapshotPrefix, "stream"), } )
Functions ¶
Types ¶
type AdminServer ¶
type AdminServer struct {
// contains filtered or unexported fields
}
func NewAdminServer ¶
func NewAdminServer(snapshotTopic spec.SnapshotMessageTopic) *AdminServer
func (*AdminServer) SnapshotStream ¶
func (s *AdminServer) SnapshotStream(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.