AccessEntry represents an access token entry with user and access information.
| 12 | |
| 13 | // AccessEntry represents an access token entry with user and access information. |
| 14 | type AccessEntry struct { |
| 15 | User *common.AgentUser |
| 16 | SrcAddrs []*common.NetAddress |
| 17 | DstAddrs []*common.NetAddress |
| 18 | OpenTime int |
| 19 | ExpireTime time.Time |
| 20 | } |
| 21 | |
| 22 | // GetExpireTime implements the common.TokenEntry interface. |
| 23 | func (e *AccessEntry) GetExpireTime() time.Time { |
nothing calls this directly
no outgoing calls
no test coverage detected