Documentation ¶
Index ¶
- type GetLogRequest
- type GetPerformanceRequest
- type LiveVisitors
- type LiveVisitorsRequest
- type Log
- type Performance
- type SwetrixRestClient
- func (swetrixClient *SwetrixRestClient) GetLiveVisitors(ctx context.Context, request *LiveVisitorsRequest) (*LiveVisitors, error)
- func (swetrixClient *SwetrixRestClient) GetLog(ctx context.Context, request *GetLogRequest) (*Log, error)
- func (swetrixClient *SwetrixRestClient) GetPerformance(ctx context.Context, request *GetPerformanceRequest) (*Performance, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetLogRequest ¶
type GetPerformanceRequest ¶
type LiveVisitors ¶
type LiveVisitors struct {
LiveVisitors []any
}
type LiveVisitorsRequest ¶
type LiveVisitorsRequest struct {
ProjectId string
}
type Performance ¶
type SwetrixRestClient ¶
func NewSetrixClient ¶
func NewSetrixClient(apiKey string) SwetrixRestClient
func (*SwetrixRestClient) GetLiveVisitors ¶
func (swetrixClient *SwetrixRestClient) GetLiveVisitors(ctx context.Context, request *LiveVisitorsRequest) (*LiveVisitors, error)
func (*SwetrixRestClient) GetLog ¶
func (swetrixClient *SwetrixRestClient) GetLog(ctx context.Context, request *GetLogRequest) (*Log, error)
func (*SwetrixRestClient) GetPerformance ¶
func (swetrixClient *SwetrixRestClient) GetPerformance(ctx context.Context, request *GetPerformanceRequest) (*Performance, error)
Click to show internal directories.
Click to hide internal directories.