Documentation ¶
Index ¶
Constants ¶
View Source
const RELAY_MAILBOX_REQUEST_TYPE = "mailbox"
View Source
const RELAY_REGISTRATION_DID_TYPE = "https://impervious.ai/didcomm/relay-registration/1.0"
View Source
const RELAY_REGISTRATION_REQUEST_TYPE = "registration"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RegistrationConfig ¶
type RelayMailboxRequestData ¶
type RelayRegistrationBody ¶
type RelayRegistrationBody struct { Type string `json:"type"` Data interface{} `json:"data"` }
type RelayRegistrationService ¶
type RelayRegistrationService interface { service.Service // SendRegistrationRequest reqeusts a relay node to delegate them as a relay SendRegistrationRequest(toDID string, amt int64, data *RelayRegistrationRequestData) (string, error) // SendMailboxRequest requests a relay node to send stored messages to them now SendMailboxRequest(toDID string, amt int64, data *RelayMailboxRequestData) (string, error) }
func NewRelayRegistrationService ¶
func NewRelayRegistrationService(cfg RegistrationConfig) (RelayRegistrationService, error)
type RelayService ¶
func NewRelayService ¶
func NewRelayService(cfg Config) (RelayService, error)
Click to show internal directories.
Click to hide internal directories.