GetServiceReadOnlyName return the default name of the service that is used for read-only transactions (excluding the primary)
()
| 708 | // GetServiceReadOnlyName return the default name of the service that is used for |
| 709 | // read-only transactions (excluding the primary) |
| 710 | func (cluster *Cluster) GetServiceReadOnlyName() string { |
| 711 | return fmt.Sprintf("%v%v", cluster.Name, ServiceReadOnlySuffix) |
| 712 | } |
| 713 | |
| 714 | // GetServiceReadWriteName return the default name of the service that is used for |
| 715 | // read-write transactions |
no outgoing calls
no test coverage detected