コード例 #1
0
ファイル: client.go プロジェクト: irregular/atlantis-manager
func NewManagerRPCClient(hostAndPort string) *atlantis.RPCClient {
	return atlantis.NewRPCClient(hostAndPort, "ManagerRPC", ManagerRPCVersion, true)
}
コード例 #2
0
ファイル: client.go プロジェクト: budhrg/atlantis-supervisor
func NewSupervisorRPCClient(hostAndPort string) *common.RPCClient {
	return common.NewRPCClient(hostAndPort, "Supervisor", SupervisorRPCVersion, false)
}