Documentation ¶
Index ¶
- Constants
- func RemoveConditionActionV2(actionReason string, conditionType api.ConditionType) api.Action
- func RemoveMemberConditionActionV2(actionReason string, conditionType api.ConditionType, group api.ServerGroup, ...) api.Action
- func UpdateConditionActionV2(actionReason string, conditionType api.ConditionType, status bool, ...) api.Action
- func UpdateMemberConditionActionV2(actionReason string, conditionType api.ConditionType, group api.ServerGroup, ...) api.Action
- func WithPredefinedMember(id string) api.MemberStatus
Constants ¶
View Source
const ( SetConditionActionV2KeyTypeAdd string = "add" SetConditionActionV2KeyTypeRemove string = "remove" SetConditionActionV2KeyType string = "type" SetConditionActionV2KeyAction string = "action" SetConditionActionV2KeyStatus string = "status" SetConditionActionV2KeyReason string = "reason" SetConditionActionV2KeyMessage string = "message" SetConditionActionV2KeyHash string = "hash" )
Variables ¶
This section is empty.
Functions ¶
func RemoveConditionActionV2 ¶
func RemoveConditionActionV2(actionReason string, conditionType api.ConditionType) api.Action
func RemoveMemberConditionActionV2 ¶
func RemoveMemberConditionActionV2(actionReason string, conditionType api.ConditionType, group api.ServerGroup, member string) api.Action
func UpdateConditionActionV2 ¶
func UpdateMemberConditionActionV2 ¶
func UpdateMemberConditionActionV2(actionReason string, conditionType api.ConditionType, group api.ServerGroup, member string, status bool, reason, message, hash string) api.Action
func WithPredefinedMember ¶
func WithPredefinedMember(id string) api.MemberStatus
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.