Documentation ¶
Index ¶
Constants ¶
View Source
const ( AuthBasicSelfObjectType = "AUTH_BASIC_SELF" AuthBasicObjectType = "AUTH_BASIC" )
Object types
View Source
const ( ABAddAction = "ADD_USER" ABUpdateAction = "UPDATE_USER" ABEnableAction = "ENABLE_USER" ABDisableAction = "DISABLE_USER" ABGetAction = "GET_ALL" ABDropAction = "DROP_USER" ABImpersonateAction = "IMPERSONATE" )
Actions
View Source
const ( OpABAddUseCluster = "SecurityATCB_add_use_cluster" OpABUpdateUseCluster = "SecurityATCB_update_use_cluster" OpABEnableUseCluster = "SecurityATCB_enable_use_cluster" OpABDisableUseCluster = "SecurityATCB_disable_use_cluster" OpABDropUseCluster = "SecurityATCB_drop_use_cluster" OpABGetUseCluster = "SecurityATCB_get_use_cluster" )
operations
View Source
const ( AAddUserAction = "ADD_USER" ASetUserAdminAction = "SET_USER_ADMIN" ADropUserAction = "DROP_USER" AUserRuleSetAction = "USER_RULE_SET" AUserRuleDropAction = "USER_RULE_DROP" AGetAction = "GET_USER" )
Actions
View Source
const ( OpAAddUserUseCluster = "SecurityATRZ_add_user" OpASetUserAdminUseCluster = "SecurityATRZ_set_user_admin" OpADropUserUseCluster = "SecurityATRZ_drop_user" OpAUserRuleUseCluster = "SecurityATRZ_user_role_set" OpAUserRuleDropCluster = "SecurityATRZ_user_role_drop" OpAGetUseCluster = "SecurityATRZ_get" )
operations
View Source
const ( ClusterSelfObjectType = "CLUSTER_SELF" QueueObjectType = "QUEUE" ExternalClusterObjectType = "EXTERNAL_CLUSTER" HandlerObjectType = "HANDLER" )
Object types
View Source
const ( GetNameAction = "GET_NAME" SetNameAction = "SET_NAME" PingAction = "PING" GetNextIdAction = "GET_NEXT_ID" GetNextIdsAction = "GET_NEXT_IDS" AddQueueAction = "ADD_QUEUE" DropQueueAction = "DROP_QUEUE" GetQueueDescrAction = "GET_QUEUE_DESCR" GetQueueAction = "GET_QUEUE" AddExternalClusterAction = "ADD_EXT_CLUSTER" DropExternalClusterAction = "DROP_EXT_CLUSTER" GetExternalClusterDescrAction = "GET_EXT_CLUSTER_DESCR" GetExternalClusterAction = "GET_EXT_CLUSTER" AddHandlerAction = "ADD_HANDLER" DropHandlerAction = "DROP_HANDLER" GetHandlerDescrAction = "GET_HANDLER_DESCR" GetHandlerAction = "GET_HANDLER" )
Actions
View Source
const ( OpGetName = "get_name" OpSetName = "set_name" OpPing = "ping" OpGetNextId = "get_next_id" OpGetNextIds = "get_next_ids" OpAddQueue = "add_q" OpDropQueue = "drop_q" OpGetQueueDescription = "gd_q" OpGetQueuesList = "list_q" OpAddExternalCluster = "add_ec" OpDropExternalCluster = "drop_ec" OpGetExternalClusterDescription = "gd_ec" OpGetExternalClustersList = "list_ec" OpNestedCall = "nested_call" OpAddHandler = "add_h" OpDropHandler = "drop_h" OpGetHandlerDescription = "gd_h" OpGetHandlersList = "list_h" OpCheckPermission = "check_perms" OpGetFullStruct = "full_struct_get" OpLoadFullStruct = "full_struct_set" OpQueueAdd = "q_add" OpQueueAddList = "q_add_list" OpQueueGet = "q_get" OpQueueGetSegment = "q_get_segment" OpQueueSaveAll = "q_save_all" OpQueueAddUnique = "q_add_unique" OpQueueAddUniqueList = "q_add_unique_list" OpQueueSubscriberSetLastRead = "q_subs_set_last" OpQueueSubscriberGetLastRead = "q_subs_get_last" OpQueueSubscriberAddReplicaMember = "q_subs_add_r_m" OpQueueSubscriberRemoveReplicaMember = "q_subs_rm_r_m" OpQueueSubscriberGetReplicaCount = "q_subs_get_r_m_cnt" OpHandlerStart = "h_start" OpHandlerStop = "h_stop" OpHandlerLastComplete = "h_last_complete" OpHandlerLastError = "h_last_error" OpHandlerIsStarted = "h_is_started" )
Operation names
View Source
const (
AuthorizationSelfObjectType = "AUTHORIZATION_SELF"
)
Object types
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CapUserName ¶
type CapUserName string
func (CapUserName) GetName ¶
func (cun CapUserName) GetName() string
type SaveMode ¶
type SaveMode int
const ( // NotSaveSaveMode - not save message to storage (not mark queue as need changed) NotSaveSaveMode SaveMode = 0 // SaveImmediatelySaveMode - save message immediatly after add element SaveImmediatelySaveMode SaveMode = 1 // SaveMarkSaveMode - not wait save message after add element (saving do on schedule) SaveMarkSaveMode SaveMode = 2 // SaveWaitSaveMode - wait save message after add element (saving do on schedule) SaveWaitSaveMode SaveMode = 3 // QueueSetDefaultMode - save mode setted in queue as DefaultSaveMode QueueSetDefaultMode SaveMode = 4 )
Click to show internal directories.
Click to hide internal directories.