Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DebugService ¶
type DebugService struct {
// contains filtered or unexported fields
}
func NewDebugService ¶
func NewDebugService(node *node.WakuNode, m *chi.Mux) *DebugService
type HealthResponse ¶
type HealthResponse string
type HealthService ¶
type HealthService struct {
// contains filtered or unexported fields
}
func NewHealthService ¶
func NewHealthService(node *node.WakuNode, m *chi.Mux) *HealthService
type HistoryCursor ¶
type RelayService ¶
type RelayService struct {
// contains filtered or unexported fields
}
RelayService represents the REST service for WakuRelay
func NewRelayService ¶
func NewRelayService(node *node.WakuNode, m *chi.Mux, cacheCapacity int, log *zap.Logger) *RelayService
NewRelayService returns an instance of RelayService
func (*RelayService) Start ¶
func (r *RelayService) Start(ctx context.Context)
Start starts the RelayService
type StoreResponse ¶
type StoreResponse struct { Messages []StoreWakuMessage `json:"messages"` Cursor *HistoryCursor `json:"cursor,omitempty"` ErrorMessage string `json:"error_message,omitempty"` }
type StoreService ¶
type StoreService struct {
// contains filtered or unexported fields
}
func NewStoreService ¶
func NewStoreService(node *node.WakuNode, m *chi.Mux) *StoreService
type StoreWakuMessage ¶
type VersionResponse ¶
type VersionResponse string
type WakuRest ¶
type WakuRest struct {
// contains filtered or unexported fields
}
func NewWakuRest ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.