Documentation ¶
Overview ¶
Package rest implements the rest driver
Index ¶
Constants ¶
View Source
const (
QUOTE_ROUTE = "/quote"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIServer ¶
type APIServer struct {
// contains filtered or unexported fields
}
APIServer is the server object. TODO: this should be an interface.
func NewRestAPIServer ¶
NewRestAPIServer creates a new instance of the rest api server.
func (*APIServer) Authenticate ¶
Authenticate checks request header for EIP191 signature for a valid relayer. TODO: this should be moved to a middleware package.
Click to show internal directories.
Click to hide internal directories.