Documentation ¶
Index ¶
- func InitializeBucket(nc *nats.Conn) error
- func StartEmbeddedNATS(nc *nats.Conn, store string) (*nats.Conn, error)
- type Link
- type Server
- func (s *Server) GetPage(w http.ResponseWriter, r *http.Request)
- func (s *Server) GetPages(w http.ResponseWriter, r *http.Request)
- func (s *Server) Serve() error
- func (s *Server) SetNatsConn(nc *nats.Conn) *Server
- func (s *Server) SetPort(p int) *Server
- func (s *Server) SetRouter(r *mux.Router) *Server
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitializeBucket ¶
func InitializeBucket(nc *nats.Conn) error
func StartEmbeddedNATS ¶
Types ¶
type Server ¶
func (*Server) SetNatsConn ¶
Click to show internal directories.
Click to hide internal directories.