package
Version:
v0.0.0-...-8ac8335
Opens a new window with list of versions in this module.
Published: Apr 11, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func NewAbuseRepo(db *sql.DB) *abuseRepo
NewAbuseRepo returns a struct that implements abuse repo
with a database connection
NewRouter returns a mux router
type Abuse struct {
Id int `json:"id,omitempty"`
Name string `json:"name"`
Created string `json:"created,omitempty"`
}
Abuse represents an abuse address
AbuseRepo is the interface to implements in order to manage
abuse address
Source Files
¶
Click to show internal directories.
Click to hide internal directories.