Documentation ¶
Index ¶
- type EndpointsDb
- func (edb *EndpointsDb) Close() error
- func (edb *EndpointsDb) DeleteAllRest() error
- func (edb *EndpointsDb) DeleteOneRest(method string, path string) error
- func (edb *EndpointsDb) GetAllRest() ([]models.RestEndpoint, error)
- func (edb *EndpointsDb) GetOneRest(method string, path string) (*models.RestEndpoint, error)
- func (edb *EndpointsDb) InsertOneRest(endpoint models.RestEndpoint) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EndpointsDb ¶
type EndpointsDb struct {
// contains filtered or unexported fields
}
func NewEndpointsDb ¶
func NewEndpointsDb() (*EndpointsDb, error)
func (*EndpointsDb) Close ¶
func (edb *EndpointsDb) Close() error
func (*EndpointsDb) DeleteAllRest ¶
func (edb *EndpointsDb) DeleteAllRest() error
func (*EndpointsDb) DeleteOneRest ¶
func (edb *EndpointsDb) DeleteOneRest(method string, path string) error
func (*EndpointsDb) GetAllRest ¶
func (edb *EndpointsDb) GetAllRest() ([]models.RestEndpoint, error)
func (*EndpointsDb) GetOneRest ¶
func (edb *EndpointsDb) GetOneRest(method string, path string) (*models.RestEndpoint, error)
func (*EndpointsDb) InsertOneRest ¶
func (edb *EndpointsDb) InsertOneRest(endpoint models.RestEndpoint) error
Click to show internal directories.
Click to hide internal directories.