package
Version:
v0.0.0-...-4dec195
Opens a new window with list of versions in this module.
Published: Apr 28, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
- Constants
-
type Client
-
func (c *Client) AutoPush(message, source, category, logtype string) (result PushResult, err error)
-
func (c *Client) Push(message, source, category, logtype, eventid string, logtime time.Time, ...) (result PushResult, err error)
-
type PushResult
View Source
const (
PostActionURL = "https://api.logpusher.com/api/agent/savelog"
)
Client all parameter about log or exceptions.
New Get API key from logpusher.com
AutoPush quick push. will Date,Time and EventID fields auto generate by function
Push save log over logpusher
type PushResult struct {
Message string `json:"message"`
}
PushResult model
Source Files
¶
Click to show internal directories.
Click to hide internal directories.