feilian_sdk

package module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 31, 2024 License: MIT Imports: 10 Imported by: 0

README

feilian-sdk

feilian sdk for golang

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FeilianClient

type FeilianClient interface {
	GetToken() string
	ListSecurityEvents(startTime, endTime int64) ([]*SecurityEvent, error)
	ListSecurityFileUrl(fileType, eventId string) ([]string, error)
	ListRoleIdsByRoleName(name string) ([]string, error)
	ListUserIdsByRoleId(roleId string) ([]string, error)
}

func NewClient

func NewClient(address, appId, appKey string) FeilianClient

type SecurityEvent

type SecurityEvent struct {
	EventId        string
	UserId         string
	UserName       string
	FileName       string
	FileType       string
	DepartmentPath string
	EventType      string
	EventUnixTime  int64
	EventTime      string
	DeviceName     string
	FilePath       string
	ActionDesc     string
	StrategyName   string
}

Jump to

Keyboard shortcuts

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