notify

package
v0.3.3-alpha-1 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

* @Author: LinkLeong link@icewhale.com * @Date: 2022-05-27 15:01:58 * @LastEditors: LinkLeong * @LastEditTime: 2022-05-31 14:51:21 * @FilePath: /CasaOS/model/notify/application.go * @Description: * @Website: https://www.casaos.io * Copyright (c) 2022 by icewhale, All Rights Reserved.

* @Author: LinkLeong link@icewhale.com * @Date: 2022-05-26 14:21:57 * @LastEditors: LinkLeong * @LastEditTime: 2022-06-02 11:14:15 * @FilePath: /CasaOS/model/notify/file.go * @Description: * @Website: https://www.casaos.io * Copyright (c) 2022 by icewhale, All Rights Reserved.

* @Author: LinkLeong link@icewhale.com * @Date: 2022-05-26 14:39:22 * @LastEditors: LinkLeong * @LastEditTime: 2022-05-26 19:08:52 * @FilePath: /CasaOS/model/notify/message.go * @Description: * @Website: https://www.casaos.io * Copyright (c) 2022 by icewhale, All Rights Reserved.

* @Author: LinkLeong link@icewhale.com * @Date: 2022-05-27 18:42:42 * @LastEditors: LinkLeong * @LastEditTime: 2022-05-27 18:43:08 * @FilePath: /CasaOS/model/notify/person.go * @Description: * @Website: https://www.casaos.io * Copyright (c) 2022 by icewhale, All Rights Reserved.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

type Application struct {
	Name     string `json:"name"`
	State    string `json:"state"`
	Type     string `json:"type"`
	Icon     string `json:"icon"`
	Message  string `json:"message"`
	Finished bool   `json:"finished"`
	Success  bool   `json:"success"`
}

type File

type File struct {
	Finished       bool   `json:"finished"`
	ProcessedSize  int64  `json:"processed_size"`
	ProcessingPath string `json:"processing_path"`
	Status         string `json:"status"`
	TotalSize      int64  `json:"total_size"`
	Id             string `json:"id"`
	To             string `json:"to"`
	Type           string `json:"type"`
}

type Message

type Message struct {
	Path string    `json:"path"`
	Msg  f.Message `json:"msg"`
}

type NotifyModel

type NotifyModel struct {
	Data  interface{} `json:"data"`
	State string      `json:"state"`
}

Notify struct for Notify

type Person

type Person struct {
	ShareId string `json:"share_id"`
	Type    string `json:"type"`
}

Jump to

Keyboard shortcuts

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