Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Request ¶
Request allows for making REST-like requests to a RestServer using connect.Connection Can be used as stateful or declared inline without state
func (*Request) AsyncRequest ¶
func (s *Request) AsyncRequest(method restlike.Method, path restlike.URI, content restlike.Data, headers *restlike.Headers, cb restlike.RequestCallback, e2eParams e2e.Params) error
AsyncRequest provides several Method of sending Data to the given URI and will return the Message to the given Callback when received
type Server ¶
type Server struct { ConnectServer *connect.ConnectionServer // contains filtered or unexported fields }
Server implements the RestServer interface using connect.Connection
func NewServer ¶
func NewServer(identity xxdk.ReceptionIdentity, net *xxdk.Cmix, p xxdk.E2EParams, clParams connect.ConnectionListParams) (*Server, error)
NewServer builds a RestServer with connect.Connection and the provided arguments, then registers necessary external services
func (*Server) Close ¶
func (c *Server) Close()
Close the internal RestServer endpoints and external services
func (*Server) GetEndpoints ¶
GetEndpoints returns the association of a Callback with a specific URI and a variety of different REST Method