GetServiceReadName return the default name of the service that is used for read transactions (including the primary)
()
| 702 | // GetServiceReadName return the default name of the service that is used for |
| 703 | // read transactions (including the primary) |
| 704 | func (cluster *Cluster) GetServiceReadName() string { |
| 705 | return fmt.Sprintf("%v%v", cluster.Name, ServiceReadSuffix) |
| 706 | } |
| 707 | |
| 708 | // GetServiceReadOnlyName return the default name of the service that is used for |
| 709 | // read-only transactions (excluding the primary) |
no outgoing calls
no test coverage detected