Documentation
¶
Index ¶
- type RESTServer
- func (s *RESTServer) AddGetHandlers(handlers map[string]interface{})
- func (s *RESTServer) GetAllIDTickets(c echo.Context) error
- func (s *RESTServer) GetAllMNIDTickets(c echo.Context) error
- func (s *RESTServer) GetIDTicket(c echo.Context) error
- func (s *RESTServer) GetMNIDTicket(c echo.Context) error
- func (s *RESTServer) GetMyIDTickets(c echo.Context) error
- func (s *RESTServer) GetMyMNIDTickets(c echo.Context) error
- func (s *RESTServer) GetPastelIDs(c echo.Context) error
- func (s *RESTServer) Getinfo(c echo.Context) error
- func (s *RESTServer) Start(ctx context.Context, app *common.Application) func() error
- type RESTServerContext
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RESTServer ¶
type RESTServer struct {
// contains filtered or unexported fields
}
func New ¶
func New(psl *pastelclient.PslNode, cfg *common.Config, log *common.Logger) *RESTServer
func (*RESTServer) AddGetHandlers ¶
func (s *RESTServer) AddGetHandlers(handlers map[string]interface{})
func (*RESTServer) GetAllIDTickets ¶
func (s *RESTServer) GetAllIDTickets(c echo.Context) error
func (*RESTServer) GetAllMNIDTickets ¶
func (s *RESTServer) GetAllMNIDTickets(c echo.Context) error
func (*RESTServer) GetIDTicket ¶
func (s *RESTServer) GetIDTicket(c echo.Context) error
func (*RESTServer) GetMNIDTicket ¶
func (s *RESTServer) GetMNIDTicket(c echo.Context) error
func (*RESTServer) GetMyIDTickets ¶
func (s *RESTServer) GetMyIDTickets(c echo.Context) error
func (*RESTServer) GetMyMNIDTickets ¶
func (s *RESTServer) GetMyMNIDTickets(c echo.Context) error
func (*RESTServer) GetPastelIDs ¶
func (s *RESTServer) GetPastelIDs(c echo.Context) error
func (*RESTServer) Getinfo ¶
func (s *RESTServer) Getinfo(c echo.Context) error
func (*RESTServer) Start ¶
func (s *RESTServer) Start(ctx context.Context, app *common.Application) func() error
type RESTServerContext ¶
Click to show internal directories.
Click to hide internal directories.