Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToSizeUnit ¶
Types ¶
type RequestAnalytic ¶
type RequestAnalytic struct {
Method string
ReceivedAt time.Time
TimeTaken time.Duration
From string
RequestBodySize int64
ResponseBodySize int64
ResponseCode int
}
func (RequestAnalytic) String ¶
func (r RequestAnalytic) String() string
type TunnelSession ¶
type WebhookConfig ¶
type WebhookConfig struct {
PubKey string
ID string
ClientSocket Socket
InternalServerSocket Socket
Path string
PublicURL string
InternalURL string
ActiveSession *TunnelSession
}
func (WebhookConfig) String ¶
func (w WebhookConfig) String() string
func (WebhookConfig) TunnelCommand ¶
func (w WebhookConfig) TunnelCommand() string
Click to show internal directories.
Click to hide internal directories.