github.com/inklabsfoundation/inkchain@v0.17.1-0.20181025012015-c3cef8062f19/examples/creative/conf/conf.go (about)

     1  package conf
     2  
     3  // type symbol
     4  const (
     5  	UserPrefix       string = "USER_"
     6  	ArtistPrefix     string = "ARTIST_"
     7  	ProductionPrefix string = "PRODUCTION_"
     8  	StateSplitSymbol string = ":"
     9  	StateStartSymbol string = "0*"
    10  	StateEndSymbol   string = "z*"
    11  )
    12  
    13  // invoke func name
    14  const (
    15  	AddUser    string = "AddUser"
    16  	DeleteUser string = "DeleteUser"
    17  	ModifyUser string = "ModifyUser"
    18  	QueryUser  string = "QueryUser"
    19  	ListOfUser string = "ListOfUser"
    20  
    21  	AddArtist    string = "AddArtist"
    22  	DeleteArtist string = "DeleteArtist"
    23  	ModifyArtist string = "ModifyArtist"
    24  	QueryArtist  string = "QueryArtist"
    25  	ListOfArtist string = "ListOfArtist"
    26  
    27  	AddProduction     string = "AddProduction"
    28  	DeleteProduction  string = "DeleteProduction"
    29  	ModifyProduction  string = "ModifyProduction"
    30  	QueryProduction   string = "QueryProduction"
    31  	ListOfProduction  string = "ListOfProduction"
    32  	ListOfProduction2 string = "ListOfProduction2"
    33  
    34  	ListOfSupporter string = "ListOfSupporter"
    35  	AddSupporter    string = "AddSupporter"
    36  
    37  	AddBuyer    string = "AddBuyer"
    38  	ListOfBuyer string = "ListOfBuyer"
    39  
    40  	// TODO
    41  	DeleteBuyer string = "DeleteBuyer"
    42  	ModifyBuyer string = "ModifyBuyer"
    43  )