Documentation ¶
Overview ¶
Run a simulated Sync Gateway that ignores requests
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BulkDocsHandler ¶
func BulkDocsHandler(w http.ResponseWriter, req *http.Request)
func DoNothingHandler ¶
func DoNothingHandler(w http.ResponseWriter, req *http.Request)
func HomeHandler ¶
func HomeHandler(w http.ResponseWriter, req *http.Request)
Types ¶
type BulkDocsResponse ¶
type SGSimulator ¶
type SGSimulator struct {
Db string // the name of the database to serve
}
func NewSGSimulator ¶
func NewSGSimulator(db string) *SGSimulator
func (*SGSimulator) Run ¶
func (sg *SGSimulator) Run()
Click to show internal directories.
Click to hide internal directories.