db

package
v0.0.0-...-1b82b6c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 15, 2024 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL