parent
40808d69ca
commit
e1ed806ef6
|
@ -8,9 +8,9 @@ package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"go.etztech.xyz/go-mcm"
|
"git.birbmc.com/Etzelia/go-mcm"
|
||||||
"go.etztech.xyz/go-mcm/model"
|
"git.birbmc.com/Etzelia/go-mcm/model"
|
||||||
"go.etztech.xyz/go-mcm/model/django"
|
"git.birbmc.com/Etzelia/go-mcm/model/django"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|
4
mcm.go
4
mcm.go
|
@ -4,8 +4,8 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"go.etztech.xyz/go-mcm/model"
|
"git.birbmc.com/Etzelia/go-mcm/model"
|
||||||
"go.etztech.xyz/go-mcm/web"
|
"git.birbmc.com/Etzelia/go-mcm/web"
|
||||||
)
|
)
|
||||||
|
|
||||||
type MCM struct {
|
type MCM struct {
|
||||||
|
|
|
@ -3,8 +3,8 @@ package model
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
|
|
||||||
"go.etztech.xyz/go-mcm/internal"
|
"git.birbmc.com/Etzelia/go-mcm/internal"
|
||||||
"go.etztech.xyz/go-mcm/model/django"
|
"git.birbmc.com/Etzelia/go-mcm/model/django"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Alert struct {
|
type Alert struct {
|
||||||
|
|
|
@ -3,8 +3,8 @@ package model
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
|
|
||||||
"go.etztech.xyz/go-mcm/internal"
|
"git.birbmc.com/Etzelia/go-mcm/internal"
|
||||||
"go.etztech.xyz/go-mcm/model/django"
|
"git.birbmc.com/Etzelia/go-mcm/model/django"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Application struct {
|
type Application struct {
|
||||||
|
|
|
@ -3,8 +3,8 @@ package model
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
|
|
||||||
"go.etztech.xyz/go-mcm/internal"
|
"git.birbmc.com/Etzelia/go-mcm/internal"
|
||||||
"go.etztech.xyz/go-mcm/model/django"
|
"git.birbmc.com/Etzelia/go-mcm/model/django"
|
||||||
)
|
)
|
||||||
|
|
||||||
type IP struct {
|
type IP struct {
|
||||||
|
|
|
@ -6,7 +6,7 @@ import (
|
||||||
"reflect"
|
"reflect"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"go.etztech.xyz/go-mcm/model/django"
|
"git.birbmc.com/Etzelia/go-mcm/model/django"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Model struct {
|
type Model struct {
|
||||||
|
|
|
@ -3,8 +3,8 @@ package model
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
|
|
||||||
"go.etztech.xyz/go-mcm/internal"
|
"git.birbmc.com/Etzelia/go-mcm/internal"
|
||||||
"go.etztech.xyz/go-mcm/model/django"
|
"git.birbmc.com/Etzelia/go-mcm/model/django"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Importance string
|
type Importance string
|
||||||
|
|
|
@ -3,8 +3,8 @@ package model
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
|
|
||||||
"go.etztech.xyz/go-mcm/internal"
|
"git.birbmc.com/Etzelia/go-mcm/internal"
|
||||||
"go.etztech.xyz/go-mcm/model/django"
|
"git.birbmc.com/Etzelia/go-mcm/model/django"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Player struct {
|
type Player struct {
|
||||||
|
|
|
@ -3,8 +3,8 @@ package model
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
|
|
||||||
"go.etztech.xyz/go-mcm/internal"
|
"git.birbmc.com/Etzelia/go-mcm/internal"
|
||||||
"go.etztech.xyz/go-mcm/model/django"
|
"git.birbmc.com/Etzelia/go-mcm/model/django"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Priority string
|
type Priority string
|
||||||
|
|
|
@ -3,8 +3,8 @@ package model
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
|
|
||||||
"go.etztech.xyz/go-mcm/internal"
|
"git.birbmc.com/Etzelia/go-mcm/internal"
|
||||||
"go.etztech.xyz/go-mcm/model/django"
|
"git.birbmc.com/Etzelia/go-mcm/model/django"
|
||||||
)
|
)
|
||||||
|
|
||||||
type TicketNote struct {
|
type TicketNote struct {
|
||||||
|
|
|
@ -3,8 +3,8 @@ package model
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
|
|
||||||
"go.etztech.xyz/go-mcm/internal"
|
"git.birbmc.com/Etzelia/go-mcm/internal"
|
||||||
"go.etztech.xyz/go-mcm/model/django"
|
"git.birbmc.com/Etzelia/go-mcm/model/django"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Results int64
|
type Results int64
|
||||||
|
|
|
@ -3,7 +3,7 @@ package web
|
||||||
import (
|
import (
|
||||||
"net/url"
|
"net/url"
|
||||||
|
|
||||||
"go.etztech.xyz/go-mcm/internal"
|
"git.birbmc.com/Etzelia/go-mcm/internal"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (web *Web) Alert(message string, ping bool) (*internal.Status, error) {
|
func (web *Web) Alert(message string, ping bool) (*internal.Status, error) {
|
||||||
|
|
|
@ -3,7 +3,7 @@ package web
|
||||||
import (
|
import (
|
||||||
"net/url"
|
"net/url"
|
||||||
|
|
||||||
"go.etztech.xyz/go-mcm/internal"
|
"git.birbmc.com/Etzelia/go-mcm/internal"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (web *Web) Discord(message string, ping bool) (*internal.Status, error) {
|
func (web *Web) Discord(message string, ping bool) (*internal.Status, error) {
|
||||||
|
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"go.etztech.xyz/go-mcm/internal"
|
"git.birbmc.com/Etzelia/go-mcm/internal"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Log struct {
|
type Log struct {
|
||||||
|
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"go.etztech.xyz/go-mcm/internal"
|
"git.birbmc.com/Etzelia/go-mcm/internal"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Online struct {
|
type Online struct {
|
||||||
|
|
Loading…
Reference in New Issue