github.com/kaleido-io/firefly@v0.0.0-20210622132723-8b4b6aacb971/pkg/fftypes/constants.go (about)

     1  // Copyright © 2021 Kaleido, Inc.
     2  //
     3  // SPDX-License-Identifier: Apache-2.0
     4  //
     5  // Licensed under the Apache License, Version 2.0 (the "License");
     6  // you may not use this file except in compliance with the License.
     7  // You may obtain a copy of the License at
     8  //
     9  //     http://www.apache.org/licenses/LICENSE-2.0
    10  //
    11  // Unless required by applicable law or agreed to in writing, software
    12  // distributed under the License is distributed on an "AS IS" BASIS,
    13  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    14  // See the License for the specific language governing permissions and
    15  // limitations under the License.
    16  
    17  package fftypes
    18  
    19  const (
    20  
    21  	// SystemNamespace is the system reserved namespace name
    22  	SystemNamespace = "ff_system"
    23  )
    24  
    25  type SystemTag string
    26  
    27  const (
    28  
    29  	// SystemTagDefineDatatype is the topic for messages that broadcast data definitions
    30  	SystemTagDefineDatatype SystemTag = "ff_define_datatype"
    31  
    32  	// SystemTagDefineNamespace is the topic for messages that broadcast namespace definitions
    33  	SystemTagDefineNamespace SystemTag = "ff_define_namespace"
    34  
    35  	// SystemTagDefineOrganization is the topic for messages that broadcast organization definitions
    36  	SystemTagDefineOrganization SystemTag = "ff_define_organization"
    37  
    38  	// SystemTagDefineNode is the topic for messages that broadcast node definitions
    39  	SystemTagDefineNode SystemTag = "ff_define_node"
    40  
    41  	// SystemTagDefineGroup is the topic for messages that send the definition of a group, to all parties in that group
    42  	SystemTagDefineGroup SystemTag = "ff_define_group"
    43  )