package templates import ( "converge/pkg/models" "time" _ "time/tzdata" ) templ Sessions(state *models.State, loc *time.Location) {
-
} else {rendez-vous id | start time | expiry time | username | host | OS | shell |
---|---|---|---|---|---|---|
{agent.PublicId} | {agent.StartTime.In(location).Format(time.DateTime)} | {agent.ExpiryTime.In(location).Format(time.DateTime)} | {agent.AgentInfo.Username} | {agent.AgentInfo.Hostname} | {agent.AgentInfo.OS} | {agent.AgentInfo.Shell} |
-
} else {id | start time | session type | rendez-vous id |
---|---|---|---|
{client.ClientId} | {client.StartTime.In(location).Format(time.DateTime)} | {client.SessionType} | {client.PublicId} |