Documentation ¶
Index ¶
Constants ¶
View Source
const ( MetaTableName = "go_metadata_db_schema" CountMetaSQL = "SELECT COUNT(*) as num FROM go_metadata_db_schema;" CreateMetaTable = `` /* 637-byte string literal not displayed */ )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶ added in v0.0.6
func (*Service) CreateMetadataTableIfNeeded ¶ added in v0.0.6
CreateMetadataTableIfNeeded create the metadata table if needed in the db
func (*Service) GetServiceVersion ¶ added in v0.0.6
GetServiceVersion allows to retrieve the version of the microservice registered (if any) in the metadata table of the db
func (*Service) SetServiceVersion ¶ added in v0.0.6
SetServiceVersion allows to insert/update the version of the microservice registered (if any) in the metadata table of the db
Click to show internal directories.
Click to hide internal directories.