Documentation
¶
Index ¶
Constants ¶
View Source
const ( PhenoOntology = "Dicty Phenotypes" EnvOntology = "Dicty Environment" AssayOntology = "Dictyostelium Assay" MutagenesisOntology = "Dd Mutagenesis Method" DictyAnnoOntology = "dicty_annotation" StrainCharOnto = "dicty_strain_characteristics" StrainInvOnto = "strain_inventory" PlasmidInvOnto = "plasmid_inventory" StrainInvTag = "strain_inventory" PlasmidInvTag = "plasmid inventory" DictyStrainPropOntology = "dicty_strain_property" DictyPlasmidPropOntology = "dicty_plasmid_keyword" InvLocationTag = "location" GwdiStrainTag = "REMI-seq" GeneralStrainTag = "general strain" BacterialStrainTag = "bacterial strain" BacterialFoodSourceTag = "bacterial food source" LiteratureTag = "pubmed id" NoteTag = "public note" SysnameTag = "systematic name" MutmethodTag = "mutagenesis method" MuttypeTag = "mutant type" GenoTag = "genotype" GoldenBraidPlasmidTag = "GB vector" RegularPlasmidTag = "vector" SynTag = "synonym" EmptyValue = "novalue" S3Bucket = "s3bucket" S3BucketPath = "s3bucket_path" )
constants used with modware-annotation
View Source
const ( USER = "user" ROLE = "role" PERMISSION = "permission" STOCK = "stock" ORDER = "order" CONTENT = "content" FeatAnno = "feature-annotation" ANNOTATION = "annotation" AUTH = "auth" IDENTITY = "identity" ORGANISM = "organism" REDISREPO = "redis" S3CLIENT = "s3client" S3STORAGE = "s3storage" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Registry ¶
type Registry interface {
ServiceMap() map[string]string
AddAPIEndpoint(key, endpoint string)
AddAPIConnection(key string, conn *grpc.ClientConn)
AddRepository(key string, st repository.Repository)
AddAuthClient(key string, auth authentication.LogtoClient)
AddS3Client(key string, client *minio.Client)
GetS3Client(key string) *minio.Client
GetAuthClient(key string) authentication.LogtoClient
GetAPIConnection(key string) (conn *grpc.ClientConn)
GetAPIEndpoint(key string) string
GetUserClient(key string) user.UserServiceClient
GetRoleClient(key string) user.RoleServiceClient
GetPermissionClient(key string) user.PermissionServiceClient
GetStockClient(key string) stock.StockServiceClient
GetOrderClient(key string) order.OrderServiceClient
GetContentClient(key string) content.ContentServiceClient
GetAnnotationClient(key string) annotation.TaggedAnnotationServiceClient
GetFeatAnnotationClient(key string) feature.FeatureAnnotationServiceClient
GetIdentityClient(key string) identity.IdentityServiceClient
GetRedisRepository(key string) repository.Repository
AddRecord(string, string)
GetRecord(string) string
}
func NewRegistry ¶
func NewRegistry() Registry
NewRegistry constructs a hashmap for our grpc clients
Click to show internal directories.
Click to hide internal directories.