Documentation ¶
Index ¶
Constants ¶
View Source
const ROUTE_DEBUG_INFOV1 = "/debug/v1/info"
View Source
const ROUTE_DEBUG_VERSIONV1 = "/debug/v1/info"
View Source
const ROUTE_RELAY_MESSAGESV1 = "/relay/v1/messages/{topic}"
View Source
const ROUTE_RELAY_SUBSCRIPTIONSV1 = "/relay/v1/subscriptions"
View Source
const ROUTE_STORE_MESSAGESV1 = "/store/v1/messages"
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 HistoryCursor ¶ added in v0.6.0
type RelayService ¶
type RelayService struct {
// contains filtered or unexported fields
}
func NewRelayService ¶
func (*RelayService) Start ¶
func (r *RelayService) Start(ctx context.Context)
func (*RelayService) Stop ¶
func (r *RelayService) Stop()
type StoreResponse ¶ added in v0.6.0
type StoreResponse struct { Messages []StoreWakuMessage `json:"messages"` Cursor *HistoryCursor `json:"cursor,omitempty"` ErrorMessage string `json:"error_message,omitempty"` }
type StoreService ¶ added in v0.6.0
type StoreService struct {
// contains filtered or unexported fields
}
func NewStoreService ¶ added in v0.6.0
func NewStoreService(node *node.WakuNode, m *chi.Mux) *StoreService
type StoreWakuMessage ¶ added in v0.6.0
type VersionResponse ¶
type VersionResponse string
type WakuRest ¶
type WakuRest struct {
// contains filtered or unexported fields
}
func NewWakuRest ¶
Click to show internal directories.
Click to hide internal directories.